Use generic lowlevellock-futex.h in x86_64 lowlevellock.h.
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2
3         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
5         (__lll_private_flag): Remove.
6         (lll_futex_wait): Likewise.
7         (lll_futex_timed_wait): Likewise.
8         (lll_futex_wake): Likewise.
9         (lll_futex_requeue): Likewise.
10         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11         (__lll_timedwait_tid): Spell out argument names.
12         (lll_timedwait_tid): Add comments and parentheses around macro
13         arguments.
14         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
15         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16
17 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18
19         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
20         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
27         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
28         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
29         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
32         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
33         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
34         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
35         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
37         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
38
39 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40
41         * sysdeps/x86_64/x32/Makefile: New file.
42
43 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
44
45         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
46         1L with (mp_limb_t) 1.
47
48 2014-12-17  Roland McGrath  <roland@hack.frob.com>
49
50         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
51         * nptl/libc_pthread_init.c: ... here.
52         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
53         * nptl/register-atfork.c: ... here.
54
55         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
56         Use pthread_sigmask rather than INTERNAL_SYSCALL.
57         Use assert_perror to check its return value.
58         (__gai_create_helper_thread): Likewise.
59
60         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
61
62         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
63
64 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
65
66         [BZ #17725]
67         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
68         __profil_counter.
69         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
70         Likewise.
71         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
72         Likewise.
73         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
74         Likewise.
75         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
76         (profil_counter): Likewise.
77         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
78         (profil_counter): Likewise.
79         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
80         Likewise.
81         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
82         Likewise.
83         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
84         (profil_counter): Likewise.
85         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
86         Likewise.
87         [!__profil_counter] (profil_counter): Define as weak alias of
88         __profil_counter.
89         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
90         (profil_counter): Rename to __profil_counter.
91         [!__profil_counter] (profil_counter): Define as weak alias of
92         __profil_counter.
93         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
94         (profil_counter): Rename to __profil_counter.
95         [!__profil_counter] (profil_counter): Define as weak alias of
96         __profil_counter.
97         * sysdeps/posix/profil.c: Update comment referring to
98         profil_counter.
99         (__profil): Use __profil_counter instead of profil_counter.
100         * sysdeps/posix/sprofil.c (profil_counter): Rename to
101         __profil_counter.  Use __profil_counter_ushort and
102         __profil_counter_uint in definitions.
103         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
104         instead of profil_counter_uint and profil_counter_ushort.
105
106         [BZ #17722]
107         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
108         define as weak alias of __inet_makeaddr.
109         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
110         as weak alias of __inet_addr.
111         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
112         as weak alias of __inet_pton.  Use libc_hidden_weak.
113         * include/arpa/inet.h (__inet_pton): Declare.  Use
114         libc_hidden_proto.
115         (inet_makeaddr): Don't use libc_hidden_proto.
116         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
117         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
118         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
119         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
120         Remove variable.
121         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
122         (test-xfail-POSIX/time.h/linknamespace): Likewise.
123
124 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
125
126         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
127
128 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
129
130         * stdio-common/bug-vfprintf-nargs.c (do_test):
131         Cast value to intptr_t to avoid format warning
132         for usage with PRIdPTR printing macro.
133
134 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
135
136         * libio/tst-widetext.c (do_test):
137         Use format type %td instead of %Zd for ptrdiff_t
138         in order to avoid format warning.
139
140 2014-12-17  Andreas Schwab  <schwab@suse.de>
141
142         * nscd/mem.c (gc): Add size_t cast to match printf format.
143
144 2014-12-16  Roland McGrath  <roland@hack.frob.com>
145
146         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
147         (init): Apply PTR_MANGLE to pointers before storing them.
148         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
149         before using them.
150
151 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
152
153         [BZ #17719]
154         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
155         define as weak alias of __memrchr.
156         (__memrchr): Do not define as strong alias of memrchr.
157         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
158         Remove variable.
159         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
160         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
161         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
162
163         [BZ #17717]
164         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
165         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
166         (if_indextoname): Rename to __if_indextoname and define as weak
167         alias of __if_indextoname.  Use libc_hidden_weak.
168         (if_freenameindex): Rename to __if_freenameindex and define as
169         weak alias of __if_freenameindex.
170         (if_nameindex): Rename to __if_nameindex and define as weak alias
171         of __if_nameindex.
172         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
173         __if_nametoindex and define as weak alias of __if_nametoindex.
174         Use libc_hidden_weak.
175         (if_freenameindex): Rename to __if_freenameindex and define as
176         weak alias of __if_freenameindex.
177         (if_nameindex): Rename to __if_nameindex and define as weak alias
178         of __if_nameindex.
179         (if_indextoname): Rename to __if_indextoname and define as weak
180         alias of __if_indextoname.  Use libc_hidden_weak.
181         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
182         __if_nametoindex and define as weak alias of __if_nametoindex.
183         Use libc_hidden_weak.
184         (if_freenameindex): Rename to __if_freenameindex and define as
185         weak alias of __if_freenameindex.  Use libc_hidden_weak.
186         (if_nameindex_netlink): Use __if_freenameindex instead of
187         if_freenameindex.
188         (if_nameindex): Rename to __if_nameindex and define as weak alias
189         of __if_nameindex.  Use libc_hidden_weak.
190         (if_indextoname): Rename to __if_indextoname and define as weak
191         alias of __if_indextoname.  Use libc_hidden_weak.
192         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
193         libc_hidden_proto.
194         [!_ISOMAC] (__if_freenameindex): Likewise.
195         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
196         if_nametoindex.
197         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
198         variable.
199         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
200         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
201         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
202         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
203         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
204         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
205         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
206
207         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
208         Remove variable.
209         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
210         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
211
212 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
213
214         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
215         subscript above bounds'
216
217         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
218         bounds.
219
220 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
221
222         * libio/tst-fopenloc.c: Use test-skeleton.c.
223
224         * stdlib/tst-bsearch.c: Use test-skeleton.c.
225         (entry): Rename to ITEM.
226         (do_test, comp): Adjust.
227
228         * stdio-common/tst-fseek.c: Use test-skeleton.c.
229
230 2014-12-16  Torvald Riegel  <triegel@redhat.com>
231
232         * string/tester.c: Include <libc-internal.h>.
233         (test_memset): Ignore -Wmemset-transposed-args.
234
235 2014-12-16  Torvald Riegel  <triegel@redhat.com>
236
237         * misc/tst-mntent2.c (do_test): Fix warning.
238
239 2014-12-16  Torvald Riegel  <triegel@redhat.com>
240
241         * elf/tst-unique4lib.cc(a): Mark as used.
242
243 2014-12-16  Florian Weimer  <fweimer@redhat.com>
244
245         [BZ #17630]
246         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
247         names.
248
249 2014-12-16  Allan McRae  <allan@archlinux.org>
250
251         * stdio-common/Makefile (tests): Re-add bug26.
252
253 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
254
255         [BZ #17657]
256         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
257         static array.
258
259 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
260
261         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
262         (__lll_lock_wait): Likewise.
263         (__lll_timedlock_wait): Likewise.
264         (__lll_timedwait_tid): Likewise.
265         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
266         (__lll_robust_timedlock_wait): Likewise.
267         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
268         (lll_cond_trylock): Likewise.
269         (__lll_lock): Likewise.
270         (__lll_robust_lock): Likewise.
271         (__lll_cond_lock): Likewise.
272         (lll_robust_cond_lock): Likewise.
273         (__lll_timedlock): Likewise.
274         (__lll_robust_timedlock): Likewise.
275         (__lll_unlock): Likewise.
276         (__lll_robust_unlock): Likewise.
277         (lll_wait_tid): Likewise.
278         (lll_timedwait_tid): Likewise.
279
280 2014-12-15  Torvald Riegel  <triegel@redhat.com>
281
282         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
283
284 2014-12-15  Torvald Riegel  <triegel@redhat.com>
285
286         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
287
288 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
289
290         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
291         * stdio-common/tst-sprintf.c: Likewise.
292
293 2014-12-15  Torvald Riegel  <triegel@redhat.com>
294
295         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
296
297 2014-12-15  Jeff Law  <law@redhat.com>
298
299         [BZ #16617]
300         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
301         on the heap.  (CVE-2012-3406)
302         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
303         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
304         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
305
306 2014-12-15  Will Newton  <will.newton@linaro.org>
307
308         * manual/install.texi: Bump required version of texinfo
309         to 4.7 from 4.5.
310         * INSTALL: Regenerated.
311         * configure.ac: Check for makeinfo version 4.7 and above.
312         * configure: Regenerated.
313
314 2014-12-12  Roland McGrath  <roland@hack.frob.com>
315
316         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
317         PREFIX, string constant to insert between directory and name.
318         * sysdeps/posix/shm_open.c: Update caller.
319         * sysdeps/posix/shm_unlink.c: Likewise.
320         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
321         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
322         (SEM_SHM_PREFIX): New macro.
323         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
324         [$(have-thread-library) = no].
325         * nptl/Makefile (libpthread-routines): Add shm-directory.
326         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
327         * sysdeps/nptl/shm-directory.h: New file.
328         * sysdeps/posix/shm-directory.c
329         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
330         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
331         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
332         INTERNAL_SYSCALL.
333         (__where_is_shmfs): Function removed.
334         (mountpoint, defaultmount, defaultdir, __namedsem_once):
335         Variables removed.
336         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
337         Use SHM_GET_NAME.
338         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
339
340         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
341         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
342         unconditional for use inside libpthread.
343         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
344
345 2014-12-12  Roland McGrath  <roland@hack.frob.com>
346
347         * nptl/pthread_getaffinity.c: New file.
348         * nptl/pthread_setaffinity.c: New file.
349         * nptl/pthread_getname.c: New file.
350         * nptl/pthread_setname.c: New file.
351
352         * nptl/pthread_create.c (START_THREAD_DEFN)
353         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
354
355 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
356             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
357
358         * resolv/res_send.c (send_vc): Disable warning resplen may
359         be used uninitialized.
360
361 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
362
363         * nptl/tst-mutex6.c
364         (ATTR_NULL): New define checks ATTR against NULL.
365         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
366         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
367
368 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
369
370         [BZ #17581]
371         * malloc/hooks.c
372         (mem2mem_check): Revert my previous change.
373         (malloc_check_get_size): Revert my previous change.
374         (mem2chunk_check): Revert my previous change.
375
376 2014-12-11  Roland McGrath  <roland@hack.frob.com>
377
378         * sysdeps/posix/shm-directory.c: New file.
379         * sysdeps/posix/shm-directory.h: New file.
380         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
381         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
382         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
383         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
384         Transmute EPERM to EACCES.
385         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
386         from ...
387         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
388         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
389
390 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
391
392         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
393         pointer and cast to uintptr_t.
394         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
395         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
396         Add cast to avoid warning.
397         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
398
399 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
400
401         * nptl/semaphore.h: Move to ...
402         * sysdeps/pthread/semaphore.h: ... here.
403         * Makefile (installed-headers): Change nptl/semaphore.h to
404         sysdeps/pthread/semaphore.h.
405
406 2014-12-11  Roland McGrath  <roland@hack.frob.com>
407
408         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
409         generated error format strings.
410
411         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
412         -Wformat-extra-args warnings for scanf formats.
413         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
414         test of zero-length format (duh).
415         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
416         corner-case scanf format test.
417         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
418         generated fprintf format string.
419         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
420         corner-case sprintf format tests.
421         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
422         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
423         -Wformat-extra-args warnings throughout.
424         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
425         (CFLAGS-scanf4.c): Likewise.
426         (CFLAGS-scanf7.c): Likewise.
427         (CFLAGS-tst-sprintf.c): Likewise.
428         (CFLAGS-tst-printf.c): Likewise.
429         (CFLAGS-tst-printfsz.c): Likewise.
430
431 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
432
433         * include/cpio.h: New file.
434         * include/fmtmsg.h: Likewise.
435
436         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
437         corresponding format argument to size_t.
438         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
439         arguments.
440         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
441         corresponding format argument to size_t.
442         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
443         arguments.
444         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
445         corresponding format argument to size_t.
446         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
447         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
448         (CFLAGS-tst-mbswcs2.c): Likewise.
449         (CFLAGS-tst-mbswcs3.c): Likewise.
450         (CFLAGS-tst-mbswcs4.c): Likewise.
451         (CFLAGS-tst-mbswcs5.c): Likewise.
452         (CFLAGS-tst-trans.c): Likewise
453
454 2014-12-11  Roland McGrath  <roland@hack.frob.com>
455
456         * posix/regexbug1.c (main): Use "%s" format with regerror results,
457         rather than assuming they won't contain any '%'s.
458
459 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
460
461         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
462         inhibit_loop_to_libcall to avoid recursive calls.
463         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
464         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
465
466 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
467
468         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
469         prototype.
470
471 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
472
473         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
474         integer value instead of boolean.
475
476 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
477
478         * malloc/malloc.c: Fix powerof2 check.
479
480 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
481
482         * locale/programs/locfile.h (maybe_swap_uint32):
483         Remove inline and add unused attribute.
484
485 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
486
487         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
488         Truncating assembler expression to a .long expression.
489
490 2014-12-11  Andreas Schwab  <schwab@suse.de>
491
492         * elf/rtld.c (struct map_args): Constify str member.
493         (do_preload): Constify fname argument.
494
495 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
496
497         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
498         constants definition.
499
500 2014-12-11  Andreas Schwab  <schwab@suse.de>
501
502         [BZ #16657]
503         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
504         FORCE_ELISION instead of DO_ELISION.
505         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
506         Remove.
507         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
508         Likewise.
509
510         * iconvdata/gconv-modules: Remove duplicate entry.
511
512 2014-12-11  Will Newton  <will.newton@linaro.org>
513
514         Merge gettext 0.19.3 into intl/.
515
516         This involves a number of cosmetic changes to comments
517         and ANSI function definitions and prototypes throughout
518         all the files. The gettext copyright header is used but
519         with the date ranges taken from the glibc copy.
520
521         * NEWS: Add gettext merge to 2.21.
522         * intl/bindtextdom.c: Switch to gettext copyright.
523         Use ANSI definitions and prototypes.
524         Use gl_* locking primitives rather than __libc_* ones.
525         Use __builtin_expect rather than __glibc_likely/unlikely.
526         * intl/dcgettext.c: Switch to gettext copyright.
527         Use ANSI definitions and prototypes.
528         * intl/dcigettext.c: Switch to gettext copyright.
529         Use ANSI definitions and prototypes.
530         (INTDIV0_RAISES_SIGFPE): New define.
531         Use gl_* locking primitives rather than __libc_* ones.
532         Include eval-plural.h instead of plural-eval.c.
533         Use __builtin_expect rather than __glibc_likely/unlikely.
534         * intl/dcngettext.c: Switch to gettext copyright.
535         Use ANSI definitions and prototypes.
536         * intl/dgettext.c: Likewise.
537         * intl/dngettext.c: Likewise.
538         * intl/plural-eval.c: Renamed to...
539         * intl/eval-plural.h: ...this.
540         * intl/explodename.c: Switch to gettext copyright.
541         Use ANSI definitions and prototypes.
542         (_nl_explode_name): Use strchr instead of __rawmemchr.
543         * intl/finddomain.c: Switch to gettext copyright.
544         Use ANSI definitions and prototypes.
545         Use gl_* locking primitives rather than __libc_* ones.
546         (_nl_find_domain): Use malloc rather than alloca for
547         allocation of temporary locale name.
548         * intl/gettext.c: Switch to gettext copyright.
549         Use ANSI definitions and prototypes.
550         * intl/gettextP.h: Switch to gettext copyright.
551         Use ANSI definitions and prototypes.
552         Use gl_* locking primitives rather than __libc_* ones.
553         * intl/gmo.h: Switch to gettext copyright.
554         (struct sysdep_string): Move struct segment_pair outside of
555         struct definition.
556         * intl/hash-string.c: Use ANSI definitions and prototypes.
557         * intl/hash-string.h: Switch to gettext copyright.
558         Use ANSI definitions and prototypes.
559         * intl/l10nflist.c: Switch to gettext copyright.
560         Use ANSI definitions and prototypes.
561         (_nl_normalize_codeset): Avoid integer overflow.
562         * intl/loadinfo.h: Switch to gettext copyright.
563         Use ANSI definitions and prototypes.
564         (LIBINTL_DLL_EXPORTED): New define.
565         (PATH_SEPARATOR): New define.
566         * intl/loadmsgcat.c: Switch to gettext copyright.
567         * intl/localealias.c: Switch to gettext copyright.
568         Use ANSI definitions and prototypes.
569         (_nl_expand_alias): Use PATH_SEPARATOR.
570         * intl/ngettext.c: Switch to gettext copyright.
571         Use ANSI definitions and prototypes.
572         * intl/plural-exp.c: Likewise.
573         * intl/plural-exp.h: Switch to gettext copyright.
574         Use ANSI definitions and prototypes.
575         (struct expression): Move definition of enum operator outside
576         of struct definition.
577         * intl/plural.c: Regenerate.
578         * intl/plural.y: Switch to gettext copyright.
579         Use ANSI definitions and prototypes.
580         Port to bison 3.0.
581         * intl/textdomain.c: Switch to gettext copyright.
582         Use ANSI definitions and prototypes.
583         Use gl_* locking primitives rather than __libc_* ones.
584
585 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
586
587         * debug/warning-nop.c: Add used atrribute.
588
589 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
590
591         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
592
593         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
594         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
595         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
596
597 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
598             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
599
600         [BZ #17634]
601         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
602         Undefine after defining function.  Define as weak alias of
603         __wcschr.  Use libc_hidden_weak.
604         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
605         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
606         (libc_hidden_def): Also define __GI___wcschr alias.
607         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
608         __wcschr and define as weak alias of __wcschr.
609         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
610         __wcschr.
611         [!WCSCHR] (DEFAULT_WCSCHR): Define.
612         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
613         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
614         libc_hidden_weak.  Do not use libc_hidden_def.
615         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
616         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
617         __GI___wcschr alias.
618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
619         [IS_IN (libc)] (wcschr): Define as macro expanding to
620         __redirect_wcschr.
621         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
622         [IS_IN (libc)] (__wcschr_power6): Likewise.
623         [IS_IN (libc)] (__wcschr_power7): Likewise.
624         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
625         instead of wcschr.
626         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
627         __libc_wcschr.
628         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
629         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
630         __wcschr and define as weak alias of __wcschr.  Use
631         libc_hidden_builtin_def.
632         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
633         as weak alias of __wcschr.  Use libc_hidden_weak.
634         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
635         wcschr.
636         * time/era.c (_nl_init_era_entries): Likewise.
637         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
638         variable.
639         (test-xfail-XPG3/time.h/linknamespace): Likewise.
640         (test-xfail-XPG4/time.h/linknamespace): Likewise.
641
642 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
643
644         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
645         format for long int variable.
646
647 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
648
649         [BZ #10672]
650         * manual/search.texi: (Array Sort Function): Remove claim how to make
651         qsort stable.
652
653 2014-12-10  Andreas Schwab  <schwab@suse.de>
654
655         [BZ #12847]
656         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
657         user-controlled locks.
658
659 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
660
661         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
662         register.
663
664 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
665
666         * configure.ac (--disable-werror): New configure option.
667         (enable_werror): New AC_SUBST.
668         * configure: Regenerated.
669         * config.make.in (enable-werror): New variable.
670         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
671         -Wno-error=undef.
672         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
673         * manual/install.texi (Configuring and compiling): Document
674         --disable-werror.
675         * INSTALL: Regenerated.
676         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
677         (CFLAGS-tst-chk2.c): Likewise.
678         (CFLAGS-tst-chk3.c): Likewise.
679         (CFLAGS-tst-chk4.cc): Likewise.
680         (CFLAGS-tst-chk5.cc): Likewise.
681         (CFLAGS-tst-chk6.cc): Likewise.
682         (CFLAGS-tst-lfschk1.c): Likewise.
683         (CFLAGS-tst-lfschk2.c): Likewise.
684         (CFLAGS-tst-lfschk3.c): Likewise.
685         (CFLAGS-tst-lfschk4.cc): Likewise.
686         (CFLAGS-tst-lfschk5.cc): Likewise.
687         (CFLAGS-tst-lfschk6.cc): Likewise.
688
689         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
690         (main): Disable -Wdeprecated-declarations around calls to
691         register_printf_function.
692
693         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
694         (do_test): Disable -Wdiv-by-zero around some calls to
695         fwrite_unlocked and fread_unlocked.
696
697         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
698         (DIAG_POP_NEEDS_COMMENT): Likewise.
699         (_DIAG_STR1): Likewise.
700         (_DIAG_STR): Likewise.
701         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
702         * stdio-common/bug21.c: Include <libc-internal.h>.
703         (do_test): Disable -Wformat around call to sscanf.
704         * stdio-common/scanf14.c: Include <libc-internal.h>.
705         (main): Disable -Wformat around some calls to scanf functions.
706
707 2014-12-09  Torvald Riegel  <triegel@redhat.com>
708
709         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
710
711 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
712
713         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
714         stack variable alignment.
715
716 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
717
718         [BZ #17682]
719         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
720         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
721         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
722         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
723         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
724         __getrlimit instead of getrlimit.
725         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
726         __gettimeofday instead of gettimeofday.
727         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
728         Likewise.
729         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
730         Likewise.
731         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
732         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
733         Remove variable.
734         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
735         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
736
737 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
738
739         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
740         for wide-character tests.
741
742 2014-12-04  Roland McGrath  <roland@hack.frob.com>
743
744         * io/openat64.c: #include <libc-internal.h>
745         (__openat64): Prototypify.  Use ignore_value on MODE.
746         * io/openat.c: Likewise.
747         * misc/reboot.c: #include <libc-internal.h>
748         (reboot): Prototypify.  Use ignore_value on HOWTO.
749         * misc/ptrace.c: #include <libc-internal.h>
750         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
751
752 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
753
754         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
755         XPG4, UNIX98 and XOPEN2K.
756         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
757         Remove variable.
758         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
759
760 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
761
762         * libio/fileops.c: Use ISO C style for function definitions.
763         * libio/iofopen.c: Likewise.
764         * libio/wfileops.c: Likewise.
765
766         [BZ #17653]
767         * libio/fileops.c (_IO_new_file_underflow): Unset cached
768         offset on EOF.
769         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
770         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
771         (fgets_func): Function pointer to fgets and fgetws.
772         (do_ftell_test): Add test to verify ftell value after read
773         EOF.
774         (do_test): Set fgets_func.
775
776         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
777         O_TRUNC flag for w and w+ modes.
778         (do_rewind_test): Likewise.
779         (do_ftell_test): Likewise.
780         (do_write_test): Likewise.
781
782         [BZ #17647]
783         * libio/fileops.c (do_ftell): Seek only when there are
784         unflushed writes.
785         * libio/wfileops.c (do_ftell_wide): Likewise.
786         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
787         test case.
788         (do_one_test): Call it.
789
790 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
791
792         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
793         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
794         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
795         Remove variable.
796         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
797         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
798         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
799
800 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
801
802         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
803         Remove variable.
804         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
805
806         [BZ #17668]
807         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
808         as weak alias of __getifaddrs.  Use libc_hidden_weak.
809         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
810         __freeifaddrs.  Use libc_hidden_weak.
811         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
812         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
813         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
814         __freeifaddrs.  Use libc_hidden_weak.
815         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
816         __getifaddrs and define as weak alias of __getifaddrs.  Use
817         libc_hidden_weak.
818         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
819         __freeifaddrs.  Use libc_hidden_weak.
820         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
821         Remove variable.
822         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
823         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
824
825 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
826
827         [BZ #17601]
828         * sysdeps/mips/start.S (__start): Use indirect jump to call
829         __libc_start_main.
830
831 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
832
833         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
834
835         * nptl/tst-mutex1.c: Include <stdbool.h>.
836         [!ATTR] (ATTR_NULL): New macro.
837         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
838         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
839         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
840
841         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
842         to char *.
843
844         [BZ #17665]
845         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
846         Change conditional to [__USE_MISC].
847
848         [BZ #17664]
849         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
850         fgets_unlocked.
851         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
852         __fgets_unlocked.
853         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
854         fgets_unlocked.
855         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
856         Remove variable.
857         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
858         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
859         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
860         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
861         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
862         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
863         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
864         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
865         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
866
867         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
868
869 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
870
871         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
872         Remove strpbrk objects.
873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
874         (__libc_ifunc_impl_list): Remove strpbrk implementation.
875         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
876         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
877         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
878         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
879
880         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
881         Remove strcspn objects.
882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
883         (__libc_ifunc_impl_list): Remove strcspn implementation.
884         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
885         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
886         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
887         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
888
889         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
890         Remove strspn objetcs.
891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
892         (__libc_ifunc_impl_list): Remove strspn implementation.
893         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
894         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
895         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
896         * sysdeps/powerpc/powerpc64/strspn.S: New file.
897
898 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
899
900         [BZ #17581]
901         * malloc/hooks.c
902         (mem2mem_check): Add a terminator to the chain of checking blocks.
903         (malloc_check_get_size): Use it here.
904         (mem2chunk_check): Ditto.
905
906 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
907
908         * sysdeps/powerpc/powerpc64/strtok.S: New file.
909         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
910
911 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
912
913         * bits/ioctl-types.h: Indent preprocessor directives correctly.
914
915         * nptl/nptl-init.c: Include libc-internal.h.
916         (__pthread_initialize_minimal_internal): Use ROUND_UP.
917
918         * elf/ldconfig.c (search_dir): Expand comment.
919
920 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
921
922         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
923         variable.
924         (linknamespace-symlist-stdlibs-tests): Likewise.
925         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
926         instead of $(objpfx)symlist-stdlibs.
927         (linknamespace-libs-isoc): New variable.
928         (linknamespace-libs): Use $(linknamespace-libs-isoc).
929         (linknamespace-libs-ISO): New variable.
930         (linknamespace-libs-ISO99): Likewise.
931         (linknamespace-libs-ISO11): Likewise.
932         (linknamespace-libs-XPG3): Likewise.
933         (linknamespace-libs-XPG4): Likewise.
934         (linknamespace-libs-POSIX): Likewise.
935         (linknamespace-libs-UNIX98): Likewise.
936         (linknamespace-libs-XOPEN2K): Likewise.
937         (linknamespace-libs-POSIX2008): Likewise.
938         (linknamespace-libs-XOPEN2K8): Likewise.
939         ($(objpfx)symlist-stdlibs): Replace by
940         $(linknamespace-symlist-stdlibs-tests).  Use
941         $(linknamespace-libs-$*) as set of libraries.
942         ($(linknamespace-header-tests)): Update dependencies.  Use
943         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
944         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
945         * conform/linknamespace.pl: Remove comment about considering
946         definitions of symbols from irrelevant libraries.
947
948 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
949
950         [BZ #13862]
951         * elf/dl-tls.c: Include <atomic.h>.
952         (oom): Remove #ifdef SHARED/#endif.
953         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
954         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
955         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
956         big enough.
957         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
958         * nptl/Makefile (tests): Add tst-stack4.
959         (modules-names): Add tst-stack4mod.
960         ($(objpfx)tst-stack4): New.
961         (tst-stack4mod.sos): Likewise.
962         ($(objpfx)tst-stack4.out): Likewise.
963         ($(tst-stack4mod.sos)): Likewise.
964         (clean): Likewise.
965         * nptl/tst-stack4.c: New file.
966         * nptl/tst-stack4mod.c: Likewise.
967
968 2014-11-27  J. Brown  <jb999@gmx.de>
969
970         * sysdeps/x86/bits/string.h: Add recent CPUs.
971
972 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
973
974         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
975         sigblock.
976
977         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
978         feof.
979
980         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
981         variable.
982
983 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
984
985         * nscd/connections.c: Include libc-internal.h because of macro
986         usage ignore_value.
987
988 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
989
990         * string/bits/string3.h (__warn_memset_zero_len): Don't
991         declare for gcc newer than 5.0.
992         (memset): Don't test for zero-length __LEN for gcc newer than
993         5.0.
994
995 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
996
997         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
998         size_t for %zu format.
999
1000         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1001         difference, not %ju.
1002
1003 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1004
1005         * include/libc-internal.h (ignore_value): New macro.
1006         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1007         with ignore_value.
1008
1009         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1010         definition.
1011
1012         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1013         pthread_cleanup_push to void *.
1014
1015         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1016         Undefine.
1017
1018         [BZ #16619]
1019         [BZ #16740]
1020         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1021         instead of 1L << 52.
1022
1023         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1024         * libio/bug-rewind2.c (do_test): Likewise.
1025
1026         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1027         * debug/test-strcpy_chk-ifunc.c: Likewise.
1028         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1029         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1030         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1031         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1032         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1033         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1034         * Rules [$(multi-arch) = no] (tests): Do not filter out
1035         $(tests-ifunc).
1036         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1037         * debug/Makefile (tests-ifunc): Remove variable.
1038         (tests): Do not add $(tests-ifunc).
1039         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1040         (tests): Do not add $(tests-ifunc).
1041         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1042         [TEST_IFUNC]: Remove conditionals.
1043         * string/test-string.h (TEST_IFUNC): Remove macro.
1044         [TEST_IFUNC]: Remove conditionals.
1045
1046         * string/test-strchr.c [!WIDE] (L): New macro.
1047         [WIDE] (L): Likewise.
1048         (check1): Use CHAR instead of char.  Use L on string and character
1049         constants.
1050
1051 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1052
1053         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1054         tests.
1055         * sysdeps/powerpc/bits/atomic.h
1056         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1057         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1058         (atomic_exchange_and_add_acq): Likewise.
1059         (atomic_exchange_and_add_rel): Likewise.
1060         * sysdeps/powerpc/powerpc32/bits/atomic.h
1061         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1062         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1063         * sysdeps/powerpc/powerpc64/bits/atomic.h
1064         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1065         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1066
1067 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1068
1069         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1070         Change synchronization of __sched_fifo_min_prio and
1071         __sched_fifo_max_prio.
1072         * nptl/pthread_mutexattr_getprioceiling.c
1073         (pthread_mutexattr_getprioceiling): Likewise.
1074         * nptl/pthread_mutexattr_setprioceiling.c
1075         (pthread_mutexattr_setprioceiling): Likewise.
1076         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1077         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1078         Likewise.
1079
1080 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1081
1082         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1083         void.
1084
1085 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1086
1087         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1088         third argument const.
1089
1090 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1091
1092         fnmatch: work around GCC compiler warning bug with uninit var
1093         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1094         This works around a bug with x86-64 GCC 4.9.2 and earlier
1095         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1096         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1097         used uninitialized in this function [-Wmaybe-uninitialized]".
1098
1099 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1100
1101         * posix/bug-regex31.c (main): Return RES not 0.
1102
1103 2014-11-25  Anton Blanchard <anton@samba.org>
1104
1105         * sysdeps/powerpc/bits/atomic.h
1106         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1107
1108 2014-11-24  Sterling Augustine  <saugustine@google.com>
1109
1110         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1111
1112 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1113
1114         [BZ #17608]
1115         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1116
1117 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1118
1119         [BZ #17633]
1120         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1121         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1122         variable.
1123         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1124         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1125
1126 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1127
1128         * string/strncpy.c (strncpy): Improve performance by using memset.
1129
1130 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1131
1132         * string/strcpy.c (strcpy):
1133         Improve performance by using strlen and memcpy.
1134
1135 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1136
1137         * string/strcoll_l.c (get_next_seq): __always_inline.
1138         * string/strcoll_l.c (do_compare): __always_inline.
1139
1140 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1141
1142         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1143         defined.
1144         * include/mqueue.h: Likewise.
1145         * include/stdlib.h: Likewise.
1146
1147         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1148         (get_null_defines): Adjust.
1149         * sunrpc/Makefile: Adjust comment.
1150         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1151         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1152         (CFLAGS-interp.c): Likewise.
1153         (CFLAGS-ldconfig.c): Likewise.
1154         (CPPFLAGS-.os): Likewise.
1155         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1156         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1157         * extra-modules.mk (extra-modules.mk): Likewise.
1158         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1159         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1160         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1161         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1162         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1163         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1164         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1165         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1166         * iconvdata/Makefile (CPPFLAGS): Likewise.
1167         (cpp-srcs-left): Add libof for all iconvdata routines.
1168         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1169         * include/assert.h: Likewise.
1170         * include/ctype.h: Likewise.
1171         * include/errno.h: Likewise.
1172         * include/libc-symbols.h: Likewise.
1173         * include/math.h: Likewise.
1174         * include/netdb.h: Likewise.
1175         * include/resolv.h: Likewise.
1176         * include/stdio.h: Likewise.
1177         * include/stdlib.h: Likewise.
1178         * include/string.h: Likewise.
1179         * include/sys/stat.h: Likewise.
1180         * include/wctype.h: Likewise.
1181         * intl/l10nflist.c: Likewise.
1182         * libidn/idn-stub.c: Likewise.
1183         * libio/libioP.h: Likewise.
1184         * nptl/libc_multiple_threads.c: Likewise.
1185         * nptl/pthreadP.h: Likewise.
1186         * posix/regex_internal.h: Likewise.
1187         * resolv/res_hconf.c: Likewise.
1188         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1189         * sysdeps/arm/memmove.S: Likewise.
1190         * sysdeps/arm/sysdep.h: Likewise.
1191         * sysdeps/generic/_itoa.h: Likewise.
1192         * sysdeps/generic/symbol-hacks.h: Likewise.
1193         * sysdeps/gnu/errlist.awk: Likewise.
1194         * sysdeps/gnu/errlist.c: Likewise.
1195         * sysdeps/i386/i586/memcpy.S: Likewise.
1196         * sysdeps/i386/i586/memset.S: Likewise.
1197         * sysdeps/i386/i686/memcpy.S: Likewise.
1198         * sysdeps/i386/i686/memmove.S: Likewise.
1199         * sysdeps/i386/i686/mempcpy.S: Likewise.
1200         * sysdeps/i386/i686/memset.S: Likewise.
1201         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1202         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1203         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1204         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1205         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1206         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1207         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1208         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1209         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1210         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1211         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1212         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1213         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1214         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1215         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1216         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1217         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1218         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1219         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1220         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1221         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1222         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1223         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1224         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1225         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1226         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1227         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1228         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1229         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1230         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1231         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1232         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1233         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1234         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1235         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1236         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1237         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1238         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1239         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1240         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1241         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1242         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1243         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1244         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1245         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1246         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1247         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1248         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1249         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1250         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1251         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1252         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1253         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1254         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1255         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1256         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1257         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1258         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1259         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1260         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1261         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1262         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1263         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1264         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1265         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1266         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1267         * sysdeps/posix/closedir.c: Likewise.
1268         * sysdeps/posix/opendir.c: Likewise.
1269         * sysdeps/posix/readdir.c: Likewise.
1270         * sysdeps/posix/rewinddir.c: Likewise.
1271         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1272         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1273         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1274         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1275         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1276         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1277         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1278         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1279         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1280         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1281         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1282         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1283         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1284         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1285         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1286         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1287         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1288         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1289         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1290         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1291         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1292         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1293         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1294         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1295         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1296         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1297         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1298         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1299         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1300         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1301         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1302         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1304         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1305         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1306         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1307         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1308         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1309         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1310         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1311         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1312         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1313         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1314         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1315         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1316         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1317         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1318         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1319         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1320         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1321         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1322         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1323         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1324         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1325         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1326         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1327         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1328         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1329         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1330         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1331         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1332         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1333         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1334         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1335         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1336         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1337         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1338         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1339         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1340         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1341         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1342         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1343         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1344         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1345         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1346         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1347         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1348         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1349         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1350         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1351         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1352         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1353         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1354         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1355         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1356         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1357         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1358         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1359         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1360         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1361         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1362         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1363         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1364         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1365         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1366         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1367         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1368         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1369         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1370         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1371         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1372         * sysdeps/unix/alpha/sysdep.S: Likewise.
1373         * sysdeps/unix/alpha/sysdep.h: Likewise.
1374         * sysdeps/unix/make-syscalls.sh: Likewise.
1375         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1376         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1377         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1378         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1379         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1380         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1381         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1382         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1383         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1384         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1385         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1386         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1387         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1388         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1389         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1390         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1391         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1392         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1393         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1394         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1395         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1396         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1397         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1398         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1399         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1400         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1401         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1404         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1405         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1406         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1407         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1408         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1409         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1410         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1411         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1412         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1413         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1414         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1415         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1416         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1417         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1418         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1419         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1420         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1421         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1422         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1423         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1424         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1425         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1426         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1427         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1428         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1429         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1430         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1431         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1432         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1433         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1434         * sysdeps/x86_64/memcpy.S: Likewise.
1435         * sysdeps/x86_64/memmove.c: Likewise.
1436         * sysdeps/x86_64/memset.S: Likewise.
1437         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1438         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1439         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1440         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1441         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1442         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1443         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1444         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1445         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1446         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1447         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1448         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1449         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1450         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1451         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1452         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1453         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1454         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1455         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1456         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1457         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1458         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1459         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1460         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1461         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1462         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1463         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1464         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1465         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1466         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1467         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1468         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1469         * sysdeps/x86_64/strcmp.S: Likewise.
1470
1471         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1472
1473         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1474         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1475         * elf/rtld-Rules: Likewise.
1476         * elf/setup-vdso.h: Likewise.
1477         * include/assert.h: Likewise.
1478         * include/bits/stdlib-float.h: Likewise.
1479         * include/errno.h: Likewise.
1480         * include/sys/stat.h: Likewise.
1481         * include/unistd.h: Likewise.
1482         * sysdeps/aarch64/setjmp.S: Likewise.
1483         * sysdeps/alpha/setjmp.S: Likewise.
1484         * sysdeps/arm/__longjmp.S: Likewise.
1485         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1486         * sysdeps/arm/setjmp.S: Likewise.
1487         * sysdeps/arm/sysdep.h: Likewise.
1488         * sysdeps/generic/_itoa.h: Likewise.
1489         * sysdeps/generic/dl-sysdep.h: Likewise.
1490         * sysdeps/generic/ldsodefs.h: Likewise.
1491         * sysdeps/i386/dl-tls.h: Likewise.
1492         * sysdeps/i386/setjmp.S: Likewise.
1493         * sysdeps/m68k/setjmp.c: Likewise.
1494         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1495         * sysdeps/mach/hurd/opendir.c: Likewise.
1496         * sysdeps/posix/getcwd.c: Likewise.
1497         * sysdeps/posix/opendir.c: Likewise.
1498         * sysdeps/posix/profil.c: Likewise.
1499         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1500         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1501         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1502         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1503         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1504         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1505         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1506         * sysdeps/s390/dl-tls.h: Likewise.
1507         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1508         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1509         * sysdeps/sh/sh3/setjmp.S: Likewise.
1510         * sysdeps/sh/sh4/setjmp.S: Likewise.
1511         * sysdeps/unix/alpha/sysdep.h: Likewise.
1512         * sysdeps/unix/arm/sysdep.S: Likewise.
1513         * sysdeps/unix/i386/sysdep.S: Likewise.
1514         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1515         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1516         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1517         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1518         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1519         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1520         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1521         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1522         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1523         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1524         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1525         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1526         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1529         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1530         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1531         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1532         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1533         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1534         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1535         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1536         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1537         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1538         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1539         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1540         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1541         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1542         * sysdeps/x86_64/setjmp.S: Likewise.
1543
1544         * include/math.h: Use IS_IN instead of IS_IN_libm.
1545         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1546         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1547         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1548         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1549         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1550         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1551         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1552         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1553         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1554         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1555         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1556         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1557         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1558         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1559         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1560         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1561         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1562         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1563         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1564         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1565         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1566         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1567         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1568         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1569         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1570         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1571         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1572         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1573         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1574         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1575         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1576         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1577         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1579         Likewise.
1580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1581         Likewise.
1582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1583         Likewise.
1584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1585         Likewise.
1586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1587         Likewise.
1588         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1589         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1590         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1591         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1592         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1593         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1599         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1600         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1601         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1602         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1603         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1604         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1605         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1606         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1607         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1608         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1609         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1610         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1611         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1612         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1614         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1615
1616         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1617         * nptl/pthreadP.h: Likewise.
1618         * nptl_db/structs.def: Likewise.
1619         * sysdeps/arm/sysdep.h: Likewise.
1620         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1621         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1622         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1623         * sysdeps/unix/alpha/sysdep.h: Likewise.
1624         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1625         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1626         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1627         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1628         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1629         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1630         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1631         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1632         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1633         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1634         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1635         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1636         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1637         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1640         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1641         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1642         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1643         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1644         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1645         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1646         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1647         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1648         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1649         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1650
1651         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1652         * nptl/pthreadP.h: Likewise.
1653         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1654         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1655         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1656         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1657         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1658         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1659         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1660         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1661         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1662         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1663         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1664         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1666         Likewise.
1667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1668         Likewise.
1669         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1671         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1672         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1673         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1674         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1675         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1676         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1677
1678         * dlfcn/dladdr.c: Use IS_IN.
1679         * dlfcn/dladdr1.c: Likewise.
1680         * dlfcn/dlclose.c: Likewise.
1681         * dlfcn/dlerror.c: Likewise.
1682         * dlfcn/dlinfo.c: Likewise.
1683         * dlfcn/dlmopen.c: Likewise.
1684         * dlfcn/dlopen.c: Likewise.
1685         * dlfcn/dlsym.c: Likewise.
1686         * dlfcn/dlvsym.c: Likewise.
1687
1688         * include/ifaddrs.h: Use IS_IN.
1689         * inet/check_pf.c: Likewise.
1690         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1691         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1692
1693         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1694         IS_IN_ldconfig.
1695         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1696         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1697
1698         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1699         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1700         IS_IN (libc).
1701
1702         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1703
1704         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1705         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1706         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1707         * include/libc-symbols.h (IS_IN_LIB): New macro.
1708         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1709         * include/netdb.h: Likewise.
1710         * include/stap-probe.h: Remove all uses of IN_LIB.
1711
1712         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1713         instead of IN_MODULE.
1714         * include/libc-symbols.h (IN_MODULE): Define using
1715         MODULE_NAME.
1716         (PASTE_NAME, PASTE_NAME1): New macros.
1717         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1718         of IN_LIB.
1719         (STAP_PROBE_ASM): Likewise.
1720
1721 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1722
1723         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1724         __mach_init in dlopened libc.
1725
1726 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1727
1728         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1729         * sysdeps/arm/preconfigure: Regenerate.
1730
1731 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1732
1733         * nptl/pthread_create.c (__pthread_create_2_1): Set
1734         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1735         when copying values from IATTR into PD.
1736
1737 2014-11-21  Will Newton  <will.newton@linaro.org>
1738             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1739
1740         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1741         Refactor inline-asm.  Also add comment.
1742
1743         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1744         ElfW macro instead of hardcoded Elf64 types.
1745         (la_aarch64_gnu_pltenter): Likewise.
1746         * sysdeps/aarch64/dl-machine.h
1747         (elf_machine_runtime_setup): Use ElfW(Addr).
1748
1749         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1750         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1751         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1752         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1753         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1754         (R_AARCH64_TLS_DTPMOD64): Rename to ..
1755         (R_AARCH64_TLS_DTPMOD): This.
1756         (R_AARCH64_TLS_DTPREL64): Rename to ...
1757         (R_AARCH64_TLS_DTPREL): This.
1758         (R_AARCH64_TLS_TPREL64): Rename to ...
1759         (R_AARCH64_TLS_TPREL): This.
1760         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1761         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1762         R_AARCH64_TLS_TPREL64.
1763         (elf_machine_rela): Likewise.
1764
1765 2014-11-21  Torvald Riegel  <triegel@redhat.com>
1766
1767         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1768         by setting it to 0.  64b atomics are not supported currently.
1769
1770 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1771
1772         [BZ #16469]
1773         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1774         search domain names.
1775
1776 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1777
1778         [BZ #16469]
1779         * NEWS: Update.
1780         * resolv/res_query.c (__libc_res_nquerydomain): Retain
1781         trailing dot.
1782         * posix/tst-getaddrinfo5.c: New.
1783         * posix/Makefile (tests): Add it.
1784
1785 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1786
1787         [BZ #14498]
1788         * NEWS: Fixed.
1789         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1790         after parsing line but before break_if_match.
1791         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1792         if there is a protocol mismatch.
1793
1794 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1795
1796         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1797         because the potential race is on the user-supplied stream.
1798
1799 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1800
1801         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1802         string literal if not passed a buffer.
1803         * manual/job.texi (ctermid): Update reasoning, note deviation
1804         from posix, suggest mtasurace when not passed a buffer, for
1805         future non-preliminary safety notes.
1806
1807 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1808
1809         * manual/users.texi (cuserid): Fix MT-Safety note for the case
1810         of not passing it a buffer.
1811         Reported by Peng Haitao.
1812
1813 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1814
1815         * manual/Makefile ($(objpfx)stamp-summary): Require
1816         check-safety.sh to pass.
1817         * manual/check-safety.sh: Wish for verification that every
1818         @deftypefn and @deftypefun is followed by a @safety remark.
1819
1820 2014-11-20  Roland McGrath  <roland@hack.frob.com>
1821
1822         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1823
1824         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1825         PTHREAD_CANCEL_ASYNCHRONOUS.
1826         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1827         send SIGCANCEL.
1828
1829         * nptl/default-sched.h: New file.
1830         * sysdeps/unix/sysv/linux/default-sched.h: New file.
1831         * nptl/pthread_create.c: Include it.
1832         (__pthread_create_2_1): Use collect_default_sched instead of making
1833         Linux syscalls here directly.
1834
1835 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1836
1837         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1838         __pthread_once): Use C11 atomics.
1839
1840 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1841
1842         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1843
1844 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1845
1846         * include/atomic.h (__atomic_link_error, __atomic_check_size,
1847         atomic_thread_fence_acquire, atomic_thread_fence_release,
1848         atomic_thread_fence_seq_cst, atomic_load_relaxed,
1849         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1850         atomic_compare_exchange_weak_relaxed,
1851         atomic_compare_exchange_weak_acquire,
1852         atomic_compare_exchange_weak_release,
1853         atomic_exchange_acquire, atomic_exchange_release,
1854         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1855         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1856         atomic_fetch_and_acquire,
1857         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1858
1859 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1860
1861         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1862         USE_ATOMIC_COMPILER_BUILTINS): Define.
1863         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1864         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1865         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1866         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1867         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1868         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1869         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1870         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1871         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1872         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1873         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1874         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1875         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1876         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1877         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1878         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1879         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1880         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1881         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1882         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1883         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1884         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1885         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1886         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1887         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1888         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1889         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1890         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1891         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1892         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1893         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1894         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1895         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1896         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1897         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1898         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1899         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1900         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1901         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1902         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1903
1904 2014-11-19  Roland McGrath  <roland@hack.frob.com>
1905
1906         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1907         the sched_priority value here.  It was already checked when the user
1908         called pthread_attr_setschedparam.
1909
1910         * nptl/tst-bad-schedattr.c: New file.
1911         * nptl/Makefile (tests): Add it.
1912
1913 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
1914             Florian Weimer  <fweimer@redhat.com>
1915             Joseph Myers  <joseph@codesourcery.com>
1916             Adam Conrad  <adconrad@0c3.net>
1917             Andreas Schwab  <schwab@suse.de>
1918             Brooks  <bmoses@google.com>
1919
1920         [BZ #17625]
1921         * wordexp-test.c (__dso_handle): Add prototype.
1922         (__register_atfork): Likewise.
1923         (__app_register_atfork): New function.
1924         (registered_forks): New global.
1925         (register_fork): New function.
1926         (test_case): Add 3 new tests for WRDE_CMDSUB.
1927         (main): Call __app_register_atfork.
1928         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1929         fork count is non-zero fail the test.
1930         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1931         is set.
1932         (parse_dollars): Remove check for WRDE_NOCMD.
1933         (parse_dquote): Likewise.
1934
1935 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1936
1937         * Makeconfig (built-modules): List non-library modules to be
1938         built.
1939         (module-cppflags): Include libc-modules.h for
1940         everything except shlib-versions.v.i.
1941         (CPPFLAGS): Use it.
1942         (before-compile): Add libc-modules.h.
1943         ($(common-objpfx)libc-modules.h,
1944         $(common-objpfx)libc-modules.stmp): New targets.
1945         (common-generated): Add libc-modules.h and libc-modules.stmp.
1946         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1947         * include/libc-symbols.h: Don't include libc-modules.h.
1948         * include/libc-modules.h: Remove file.
1949         * scripts/gen-libc-modules.awk: New script to generate
1950         libc-modules.h.
1951         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1952         Depend on libc-modules.stmp.
1953
1954         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1955
1956         * Makeconfig (in-module): Get value of libof set for the
1957         translation unit.
1958         (CPPFLAGS): Use $(in-module).
1959         * Makerules: Don't suffix routine names for nonlib.
1960         * include/libc-modules.h: New file.
1961         * include/libc-symbols.h: Include libc-modules.h
1962         (IS_IN): New macro to replace IS_IN_* macros.
1963         * elf/Makefile: Set libof-* for each routine.
1964         * elf/rtld-Rules: Likewise.
1965         * extra-modules.mk: Likewise.
1966         * iconv/Makefile: Likewise.
1967         * iconvdata/Makefile: Likewise.
1968         * locale/Makefile: Likewise.
1969         * malloc/Makefile: Likewise.
1970         * nss/Makefile: Likewise.
1971         * sysdeps/gnu/Makefile: Likewise.
1972         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1973         * sysdeps/unix/sysv/linux/Makefile: Likewise.
1974         * sysdeps/s390/s390-64/Makefile: Likewise.
1975         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
1976         CPPFLAGS for nscd instead of nonlib.
1977
1978 2014-11-18  Roland McGrath  <roland@hack.frob.com>
1979
1980         * nptl/createthread.c: New file.
1981
1982         * nptl/createthread.c: Moved ...
1983         * sysdeps/unix/sysv/linux/createthread.c: ... here.
1984
1985         * nptl/createthread.c: Add proper top-line comment.
1986         (do_clone): Folded into ...
1987         (create_thread): ... here.  Take new arguments STOPPED_START and
1988         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
1989         increment __nptl_threads, do event-reporting logic, do
1990         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1991         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
1992         resource cleanup if sched_setaffinity or sched_setscheduler fails,
1993         just send SIGCANCEL.
1994         * nptl/pthread_create.c: Forward-declare create_thread before
1995         including createthread.c.
1996         (start_thread): Use new macro START_THREAD_DEFN to replace defining
1997         declaration, and new macro START_THREAD_SELF to replace argument.
1998         Remove return statement.
1999         (report_thread_creation): New function.
2000         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2001         synchronization logic, and __nptl_nthreads increment here, around
2002         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2003         PD->parent_cancelhandling here, before create_thread.  When
2004         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2005         __deallocate_stack, and ENOMEM translation here.
2006
2007 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2008
2009         [BZ #17616]
2010         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2011         (mptwo): Rename to __mptwo.
2012         (__inv): Use __mptwo instead of mptwo.
2013         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2014         (mptwo): Rename to __mptwo.
2015         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2016         of mpone and __mptwo instead of mptwo.
2017         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2018         instead of mpone.
2019         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2020         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2021         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2022         of mpone and __mptwo instead of mptwo.
2023         (__mpranred): Use __mpone instead of mpone.
2024         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2025         variable.
2026         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2027         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2028         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2029         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2030         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2031         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2032         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2033         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2034         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2035         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2036         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2037         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2038         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2039         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2040         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2041         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2042         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2043         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2044         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2045
2046 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2047
2048         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2049         replace BSD Handler xref with BSD Signal Handling.
2050
2051 2014-11-17  Richard Henderson  <rth@redhat.com>
2052
2053         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2054         (_FP_PACK_RAW_2): Remove.
2055         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2056         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2057         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2058         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2059         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2060         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2061         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2062         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2063         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2064         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2065         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2066         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2067         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2068         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2069         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2070         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2071
2072 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2073
2074         * signal/signal.h [__USE_MISC]
2075         (struct sigvec): Remove type.
2076         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2077         (sigvec): Remove declaration.
2078         * sysdeps/posix/sigvec.c: Moved ...
2079         * signal/sigvec.c: ... here, replacing old file.
2080         (struct sigvec): New type, copied from old signal.h definition.
2081         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2082         (__sigvec): Convert definition to prototype.
2083         (sigvec): Replace weak_alias with compat_symbol.
2084         * signal/Versions (libc: GLIBC_2.21): New version set.
2085         * include/signal.h: Remove __sigvec declaration.
2086         * sysdeps/unix/bsd/sigvec.c: Remove file.
2087         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2088         * manual/signal.texi (BSD Handler): Remove subsection.
2089         Move siginterrupt up to ...
2090         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2091         (Blocking in BSD): Fold subsection into its parent.
2092         * NEWS: Mention sigvec removal.
2093
2094 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2095
2096         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2097         (DLA_FMS): Make definition conditional only on [__FMA4__].
2098         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2099         definition.
2100
2101         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2102         Make definition conditional only on [PROF].
2103         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2104         definition.
2105         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2106         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2107
2108         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2109         !__GNUC__].
2110         * include/signal.h (__sigpause): Move declaration above call to
2111         libc_hidden_proto.
2112         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2113         variable.
2114         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2115         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2116
2117 2014-11-14  David S. Miller  <davem@davemloft.net>
2118
2119         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2120         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2121
2122 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2123
2124         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2125         * configure: Regenerated.
2126         * manual/install.texi (Tools for Compilation): Document a
2127         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2128         compiler verified to work.
2129         * INSTALL: Regenerated.
2130
2131         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2132         redeclare with asm name.
2133         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2134         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2135         including <string.h>.
2136         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2137         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2138         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2139         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2140         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2141         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2142         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2143
2144 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2145
2146         * stdlib/strtol.c (__strtol): Use prototype definition.
2147
2148         [BZ #17594]
2149         * stdlib/strtol.c (SYM__): New macro.
2150         (SYM__1): Likewise.
2151         (__strtol): Likewise.
2152         (strtol): Rename to __strtol and define as weak alias of
2153         __strtol.  Use libc_hidden_weak.
2154
2155 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2156
2157         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2158         Use numbered labels in inline assembly.
2159
2160 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2161
2162         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2163         Add setjmp LIBC_PROBE.
2164         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2165         Likewise.
2166         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2167         Add longjmp, longjmp_target LIBC_PROBE.
2168         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2169         Likewise.
2170
2171 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2172
2173         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2174         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2175         to get rid of unused variable warning.
2176
2177 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2178
2179         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2180         Check for unwind_backtrace ==  NULL only in SHARED case.
2181         (__backchain_backtrace): Compile only in SHARED case.
2182         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2183         Likewise.
2184         (__backchain_backtrace): Declare as static.
2185
2186 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2187
2188         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2189         (__libc_multiple_threads_ptr): Variable moved ...
2190         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2191
2192 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2193
2194         * conform/GlibcConform.pm: New file.
2195         * conform/conformtest.pl: Use GlibcConform module.
2196         * conform/linknamespace.pl: New file.
2197         * conform/list-header-symbols.pl: Likewise.
2198         * conform/Makefile (linknamespace-symlists-base): New variable.
2199         (linknamespace-symlists-tests): Likewise.
2200         (linknamespace-header-base): Likewise.
2201         (linknamespace-header-tests): Likewise.
2202         (tests-special): Add new tests.
2203         ($(linknamespace-symlists-tests)): New rule.
2204         (linknamespace-libs): New variable.
2205         ($(objpfx)symlist-stdlibs): New rule.
2206         ($(linknamespace-header-tests)): Likewise.
2207         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2208         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2209         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2210         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2211         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2212         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2213         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2214         (test-xfail-ISO/math.h/linknamespace): Likewise.
2215         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2216         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2217         (test-xfail-ISO/time.h/linknamespace): Likewise.
2218         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2219         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2220         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2221         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2222         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2223         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2224         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2225         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2226         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2227         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2228         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2229         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2230         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2231         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2232         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2233         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2234         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2235         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2236         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2237         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2238         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2239         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2240         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2241         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2242         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2243         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2244         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2245         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2246         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2247         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2248         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2249         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2250         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2251         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2252         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2253         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2254         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2255         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2256         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2257         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2258         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2259         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2260         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2261         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2262         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2263         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2264         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2265         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2266         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2267         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2268         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2269         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2270         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2271         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2272         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2273         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2274         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2275         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2276         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2277         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2278         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2279         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2280         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2281         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2282         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2283         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2284         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2285         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2286         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2287         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2288         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2289         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2290         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2291         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2292         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2293         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2294         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2295         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2296         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2297         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2298         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2299         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2300         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2301         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2302         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2303         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2304         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2305         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2306         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2307         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2308         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2309         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2310         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2311         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2312         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2313         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2314         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2315         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2316         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2317         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2318         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2319         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2320         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2321         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2322         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2323         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2324         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2325         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2326         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2327         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2328         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2329         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2330         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2331         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2332         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2333         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2334         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2335         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2336         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2337         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2338         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2339         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2340         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2341         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2342         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2343         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2344         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2345         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2346         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2347         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2348         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2349         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2350         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2351         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2352         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2353         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2354         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2355         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2356         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2357         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2358         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2359         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2360         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2361         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2362         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2363         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2364         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2365         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2366         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2367         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2368
2369         [BZ #17589]
2370         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2371         of fgets_unlocked.
2372
2373         [BZ #17585]
2374         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2375         (memmem): Rename to __memmem and define as weak alias of
2376         __memmem.  Use libc_hidden_weak.
2377         (__memmem): Use libc_hidden_def.
2378         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2379         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2380         memmem.
2381
2382         [BZ #17582]
2383         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2384         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2385         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2386         and define as weak alias of __fgets_unlocked.  Use
2387         libc_hidden_weak.
2388         (__fgets_unlocked): Use libc_hidden_def.
2389         * include/stdio.h (__fgets_unlocked): Declare.  Use
2390         libc_hidden_proto.
2391         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2392         __fgets_unlocked instead of fgets_unlocked.
2393         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2394         (GET_NPROCS_CONF_PARSER): Likewise.
2395         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2396         (GET_NPROCS_CONF_PARSER): Likewise.
2397
2398         [BZ #17574]
2399         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2400         weak alias of __wmemset.  Use libc_hidden_weak.
2401         (__wmemset): Use libc_hidden_def.
2402         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2403         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2404         of wmemset.
2405
2406         [BZ #17573]
2407         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2408         with asm name __mempcpy.
2409         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2410
2411         [BZ #17572]
2412         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2413         and define as weak alias of __rawmemchr.
2414         (__rawmemchr): Do not define as strong alias of rawmemchr.
2415
2416         [BZ #17571]
2417         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2418         alias of __qsort_r.
2419         (qsort): Call __qsort_r instead of qsort_r.
2420         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2421         (__qsort_r): Declare.  Call libc_hidden_proto.
2422         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2423         instead of qsort_r.
2424         * nscd/gai.c (__qsort_r): Define to qsort_r.
2425         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2426         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2427         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2428
2429         [BZ #17570]
2430         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2431         define as weak alias of __malloc_info.
2432
2433         [BZ #17584]
2434         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2435         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2436         (__rewinddir): Use libc_hidden_def.
2437         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2438         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2439         (__rewinddir): Use libc_hidden_def.
2440         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2441         weak alias of __rewinddir.  Don't use libc_hidden_def.
2442         (__rewinddir): Use libc_hidden_def.
2443         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2444         (__rewinddir): Use libc_hidden_proto.
2445         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2446         rewinddir.
2447         (__getcwd): Use __rewinddir instead of rewinddir.
2448
2449         [BZ #17583]
2450         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2451         alias of __fileno.  Use libc_hidden_weak.
2452         (__fileno): Use libc_hidden_def.
2453         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2454         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2455         alias of __ftello.
2456         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2457         __ftello.
2458         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2459         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2460         libc_hidden_def.
2461         (fread_unlocked): Don't use libc_hidden_ver.
2462         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2463         and define as weak alias of __fread_unlocked.  Don't use
2464         libc_hidden_def.
2465         (__fread_unlocked): Use libc_hidden_def.
2466         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2467         (ftello): Don't use libc_hidden_proto.
2468         (__ftello): Declare.  Use libc_hidden_proto.
2469         (fread_unlocked): Don't use libc_hidden_proto.
2470         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2471         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2472         and __ftello instead of fileno, fread_unlocked and ftello.
2473
2474 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2475
2476         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2477         GOT12.
2478         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2479         Likewise.
2480         (_dl_start_user): Likewise.
2481         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2482
2483 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2484             Siddhesh Poyarekar  <siddhesh@redhat.com>
2485
2486         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2487         Move argv and envp down instead of moving argc up.
2488         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2489
2490 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2491
2492         [BZ #17506]
2493         * test-skeleton.c (main): Return successful if one of
2494         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2495         * string/tst-strcoll-overflow.c: Define expected status.
2496
2497 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2498
2499         [BZ #17475]
2500         * locale/iso-639.def: Define Bhili and Tulu language codes.
2501
2502 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2503
2504         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2505
2506 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2507
2508         [BZ #17555]
2509         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2510
2511 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2512
2513         * configure.ac: Updated check of minimal required version to
2514         2.22.
2515         * manual/install.texi (Tools for Compilation): Updated version
2516         number.
2517         * configure: Regenerated.
2518         * INSTALL: Likewise.
2519
2520 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2521
2522         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2523         __tls_get_addr.
2524
2525 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2526
2527         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2528         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2529         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2530         libc_hidden_weak.
2531         (waitpid): Define as alias of __waitpid.
2532         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2533         __waitpid.
2534         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2535         libc_hidden_weak.
2536         (waitpid): Define as alias of __waitpid.
2537         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2538         __libc_waitpid alias.
2539         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2540         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2541         Likewise.
2542         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2543         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2544         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2545         alias.
2546         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2547         __waitpid.
2548         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2549         libc_hidden_weak.
2550         (waitpid): Define as alias of __waitpid.
2551
2552 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2553
2554         * manual/llio.texi: Add comment that write safety has been
2555         fixed in Linux.
2556
2557         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2558         (localplt-build-dso): Add elf/ld.so.
2559         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2560         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2561         and free for ld.so.
2562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2563         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2565         Likewise.
2566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2567         Likewise.
2568         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2569         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2570         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2571         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2572         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2573         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2574         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2575         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2576         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2577         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2578         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2579
2580 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2581
2582         [BZ #14132]
2583         * include/libc-symbols.h (INTUSE): Remove macro.
2584         (INTDEF): Likewise.
2585         (INTVARDEF): Likewise.
2586         (_INTVARDEF): Likewise.
2587         (INTDEF2): Likewise.
2588         (INTVARDEF2): Likewise.
2589         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2590         rtld_hidden_def instead of INTVARDEF.
2591         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2592         (_dl_starting_up_internal): Remove declaration.
2593         (_dl_starting_up): Use rtld_hidden_proto.
2594         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2595         declaration.
2596         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2597         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2598         _dl_starting_up.
2599         * elf/dl-writev.h (_dl_writev): Likewise.
2600         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2601         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2602         _dl_starting_up_internal.
2603
2604 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2605
2606         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2607         test-skeleton.c.
2608
2609 2014-11-05  Will Newton  <will.newton@linaro.org>
2610
2611         * benchtests/Makefile: (bench-malloc): Add malloc thread
2612         scalability benchmark.
2613         * benchtests/bench-malloc-threads.c: New file.
2614
2615 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2616
2617         * sysdeps/aarch64/strchrnul.S: New file.
2618
2619 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2620
2621         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2622         definition.
2623         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2624         Likwise.
2625         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2626         Likewise.
2627         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2628         Likewise.
2629         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2630         Likewise.
2631         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2632         Likewise.
2633
2634 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2635
2636         * catgets/test-gencat.c: Use test-skeleton.c.
2637         * catgets/tst-catgets.c: Likewise.
2638         * csu/tst-empty.c: Likewise.
2639         * elf/tst-audit2.c: Likewise.
2640         * elf/tst-global1.c: Likewise.
2641         * elf/tst-pathopt.c: Likewise.
2642         * elf/tst-piemod1.c: Likewise.
2643         * elf/tst-tls10.c: Likewise.
2644         * elf/tst-tls11.c: Likewise.
2645         * elf/tst-tls12.c: Likewise.
2646         * gnulib/tst-gcc.c: Likewise.
2647         * iconvdata/tst-e2big.c: Likewise.
2648         * iconvdata/tst-loading.c: Likewise.
2649         * iconv/tst-iconv1.c: Likewise.
2650         * iconv/tst-iconv2.c: Likewise.
2651         * inet/test-inet6_opt.c: Likewise.
2652         * inet/tst-gethnm.c: Likewise.
2653         * inet/tst-network.c: Likewise.
2654         * inet/tst-ntoa.c: Likewise.
2655         * intl/tst-codeset.c: Likewise.
2656         * intl/tst-gettext2.c: Likewise.
2657         * intl/tst-gettext3.c: Likewise.
2658         * intl/tst-ngettext.c: Likewise.
2659         * intl/tst-translit.c: Likewise.
2660         * io/test-stat.c: Likewise.
2661         * libio/test-fmemopen.c: Likewise.
2662         * libio/tst-freopen.c: Likewise.
2663         * libio/tst-sscanf.c: Likewise.
2664         * libio/tst-ungetwc1.c: Likewise.
2665         * libio/tst-ungetwc2.c: Likewise.
2666         * libio/tst-widetext.c: Likewise.
2667         * localedata/tst-ctype.c: Likewise.
2668         * localedata/tst-digits.c: Likewise.
2669         * localedata/tst-leaks.c: Likewise.
2670         * localedata/tst-mbswcs1.c: Likewise.
2671         * localedata/tst-mbswcs2.c: Likewise.
2672         * localedata/tst-mbswcs3.c: Likewise.
2673         * localedata/tst-mbswcs4.c: Likewise.
2674         * localedata/tst-mbswcs5.c: Likewise.
2675         * localedata/tst-setlocale.c: Likewise.
2676         * localedata/tst-trans.c: Likewise.
2677         * localedata/tst-wctype.c: Likewise.
2678         * localedata/tst-xlocale1.c: Likewise.
2679         * login/tst-grantpt.c: Likewise.
2680         * malloc/tst-calloc.c: Likewise.
2681         * malloc/tst-malloc.c: Likewise.
2682         * malloc/tst-mallocstate.c: Likewise.
2683         * malloc/tst-mcheck.c: Likewise.
2684         * malloc/tst-mtrace.c: Likewise.
2685         * malloc/tst-obstack.c: Likewise.
2686         * math/atest-exp2.c: Likewise.
2687         * math/atest-exp.c: Likewise.
2688         * math/atest-sincos.c: Likewise.
2689         * math/test-matherr.c: Likewise.
2690         * math/test-misc.c: Likewise.
2691         * math/test-powl.c: Likewise.
2692         * math/tst-definitions.c: Likewise.
2693         * misc/tst-dirname.c: Likewise.
2694         * misc/tst-efgcvt.c: Likewise.
2695         * misc/tst-fdset.c: Likewise.
2696         * misc/tst-hsearch.c: Likewise.
2697         * misc/tst-mntent2.c: Likewise.
2698         * nptl/tst-sem7.c: Likewise.
2699         * nptl/tst-sem8.c: Likewise.
2700         * nptl/tst-sem9.c: Likewise.
2701         * nss/test-netdb.c: Likewise.
2702         * posix/tst-fnmatch.c: Likewise.
2703         * posix/tst-getlogin.c: Likewise.
2704         * posix/tst-gnuglob.c: Likewise.
2705         * posix/tst-mmap.c: Likewise.
2706         * pwd/tst-getpw.c: Likewise.
2707         * resolv/tst-inet_ntop.c: Likewise.
2708         * rt/tst-timer.c: Likewise.
2709         * stdio-common/test-fseek.c: Likewise.
2710         * stdio-common/test-popen.c: Likewise.
2711         * stdio-common/test-vfprintf.c: Likewise.
2712         * stdio-common/tst-cookie.c: Likewise.
2713         * stdio-common/tst-fileno.c: Likewise.
2714         * stdio-common/tst-gets.c: Likewise.
2715         * stdio-common/tst-obprintf.c: Likewise.
2716         * stdio-common/tst-perror.c: Likewise.
2717         * stdio-common/tst-sprintf2.c: Likewise.
2718         * stdio-common/tst-sprintf3.c: Likewise.
2719         * stdio-common/tst-sprintf.c: Likewise.
2720         * stdio-common/tst-swprintf.c: Likewise.
2721         * stdio-common/tst-tmpnam.c: Likewise.
2722         * stdio-common/tst-unbputc.c: Likewise.
2723         * stdio-common/tst-wc-printf.c: Likewise.
2724         * stdlib/tst-environ.c: Likewise.
2725         * stdlib/tst-fmtmsg.c: Likewise.
2726         * stdlib/tst-limits.c: Likewise.
2727         * stdlib/tst-rand48-2.c: Likewise.
2728         * stdlib/tst-rand48.c: Likewise.
2729         * stdlib/tst-random2.c: Likewise.
2730         * stdlib/tst-random.c: Likewise.
2731         * stdlib/tst-strtol.c: Likewise.
2732         * stdlib/tst-strtoll.c: Likewise.
2733         * stdlib/tst-tls-atexit.c: Likewise.
2734         * stdlib/tst-xpg-basename.c: Likewise.
2735         * string/test-ffs.c: Likewise.
2736         * string/tst-bswap.c: Likewise.
2737         * string/tst-inlcall.c: Likewise.
2738         * string/tst-strtok.c: Likewise.
2739         * string/tst-strxfrm.c: Likewise.
2740         * sysdeps/x86_64/tst-audit10.c: Likewise.
2741         * sysdeps/x86_64/tst-audit3.c: Likewise.
2742         * sysdeps/x86_64/tst-audit4.c: Likewise.
2743         * sysdeps/x86_64/tst-audit5.c: Likewise.
2744         * time/tst-ftime_l.c: Likewise.
2745         * time/tst-getdate.c: Likewise.
2746         * time/tst-mktime3.c: Likewise.
2747         * time/tst-mktime.c: Likewise.
2748         * time/tst-posixtz.c: Likewise.
2749         * time/tst-strptime2.c: Likewise.
2750         * time/tst-strptime3.c: Likewise.
2751         * wcsmbs/tst-btowc.c: Likewise.
2752         * wcsmbs/tst-mbrtowc.c: Likewise.
2753         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2754         * wcsmbs/tst-wchar-h.c: Likewise.
2755         * wcsmbs/tst-wcpncpy.c: Likewise.
2756         * wcsmbs/tst-wcrtomb.c: Likewise.
2757         * wcsmbs/tst-wcsnlen.c: Likewise.
2758         * wcsmbs/tst-wcstof.c: Likewise.
2759
2760 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
2761
2762         [BZ #14132]
2763         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2764         INTDEF.
2765         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2766         declaration.
2767         (_dl_mcount): Use rtld_hidden_proto.
2768         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2769         _dl_mcount.
2770         * elf/rtld.c (_rtld_global_ro): Likewise.
2771
2772         [BZ #14132]
2773         * elf/dl-init.c (_dl_init): Don't use INTDEF.
2774         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2775         of _dl_init_internal.
2776         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2777         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2778         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2779         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2780         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2781         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2782         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2783         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2784         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2785         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2786         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2787         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2788         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2789         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2790         * sysdeps/tile/dl-start.S (_start): Likewise.
2791         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2792         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2793
2794         [BZ #14132]
2795         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2796         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2797         (rtld_progname): Make macro definition unconditional.
2798         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2799         INTDEF.
2800         (dlmopen_doit): Do not use INTUSE with _dl_argv.
2801         (dl_main): Likewise.
2802         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2803         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2804         instead of _dl_argv_internal.
2805         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2806         __GI__dl_argv instead of INTUSE(_dl_argv).
2807         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2808         __GI__dl_argv instead of _dl_argv_internal.
2809
2810         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2811         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2812         macro.
2813         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2814         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2815         New macro.
2816         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2817         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2818         macro.
2819         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2820         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2821
2822 2014-11-04  Andreas Schwab  <schwab@suse.de>
2823
2824         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2825
2826 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2827
2828         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2829         mtvsrd instruction in binary form.
2830
2831 2014-11-03  Andreas Schwab  <schwab@suse.de>
2832
2833         [BZ #17522]
2834         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2835         for less than MB_LEN_MAX use a local buffer of that size.
2836         * libio/tst-fputws.c: New file.
2837         * libio/Makefile (tests): Add tst-fputws.
2838
2839 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
2840
2841         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2842         the size of the fpu_fr.fpu_dregs[] array.
2843
2844 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
2845
2846         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2847         (__nanosleep): Do not define as alias.
2848         (nanosleep): Define as alias of __nanosleep.
2849         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2850         __libc_nanosleep name.
2851
2852 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2853
2854         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2855         install.texi in comment.
2856
2857 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2858
2859         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2860         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2861         ... add here and use lwsync or sync ...
2862         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2863         ... and add here using lwsync.
2864
2865 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2866
2867         * elf/dl-machine-reject-phdr.h: New file.
2868         * elf/dl-load.c: #include that.
2869         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2870         if that returned true.
2871
2872 2014-10-31  Roland McGrath  <roland@hack.frob.com>
2873
2874         [BZ #17496]
2875         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2876         gen-as-const-headers chunk.  Add a big scare comment after the last
2877         safe place to touch before-compile.
2878
2879 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2880
2881         * manual/install.texi (Tools for Compilation): Update autoconf
2882         version requirements.
2883         * INSTALL: Regenerated.
2884
2885         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2886         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2887         (__libc_pselect): Likewise.
2888
2889         [BZ #14138]
2890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2894
2895 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2896
2897         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2898         correct barrier instruction.
2899         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2900         Likewise.
2901         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2902         Likewise.
2903
2904 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2905
2906         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2907         after defining inlines.  Instead, just use parens to defeat macro
2908         expansion of __isctype in its declaration.
2909
2910 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2911
2912         * include/sys/uio.h (__libc_readv): Remove declaration.
2913         (__libc_writev): Likewise.
2914         * misc/readv.c (__libc_readv): Rename to __readv.
2915         (__readv): Do not define as alias.
2916         (readv): Define as alias of __readv.
2917         * misc/writev.c (__libc_writev): Rename to __writev.
2918         (__writev): Do not define as alias.
2919         (writev): Define as alias of __writev.
2920         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2921         (__readv): Do not define as alias.
2922         (readv): Define unconditionally as alias of __readv.
2923         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2924         (__writev): Do not define as alias.
2925         (writev): Define unconditionally as alias of __writev.
2926         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2927         name.
2928         (writev): Do not define __libc_writev name.
2929
2930 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2931
2932         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2933         (convert_charseq): New function, broken out of ...
2934         (use_from_charmap): ... here.  Call it.
2935         (use_to_charmap): Use convert_charseq and free instead of duplicating
2936         its code with a variable-length stack struct.
2937
2938 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2939
2940         * include/fcntl.h (__libc_creat): Remove declaration.
2941         * io/creat.c (__libc_creat): Rename to creat.
2942         (creat): Do not define as alias.
2943         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2944         of creat instead of __libc_creat.
2945         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2946         to creat.
2947         (creat): Do not define as alias.
2948         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2949         __libc_creat.
2950         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2951         __libc_creat name.
2952         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2953         Likewise.
2954
2955 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
2956
2957         * manual/llio.texi: Add comments discussing why write() may be
2958         considered MT-unsafe on Linux.
2959
2960 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
2961
2962         * dl-load.c (local_strdup): Remove.
2963         (expand_dynamic_string_token): Use __strdup.
2964         (decompose_rpath): Likewise.
2965         (_dl_map_object): Likewise.
2966
2967 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
2968
2969         [BZ #14132]
2970         * sysdeps/generic/unwind-dw2-fde.c
2971         (__register_frame_info_bases_internal): Do not declare.
2972         (__register_frame_info_table_bases_internal): Likewise.
2973         (__deregister_frame_info_bases_internal): Likewise.
2974         (__register_frame_info_bases): Declare and use hidden_proto before
2975         definition.  Use hidden_def instead of INTDEF.
2976         (__register_frame_info_table_bases): Likewise.
2977         (__deregister_frame_info_bases): Likewise.
2978         (__register_frame_info): Do not use INTUSE.
2979         (__register_frame): Likewise.
2980         (__register_frame_info_table): Likewise.
2981         (__register_frame_table): Likewise.
2982         (__deregister_frame_info): Likewise.
2983         (__deregister_frame): Likewise.
2984
2985 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
2986
2987         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2988         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2989         not undefine.
2990         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2991         Likewise.
2992         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2993         Likewise.
2994
2995 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
2996
2997         [BZ #14138]
2998         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2999         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3000         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3001         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3002         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3003         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3004         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3005         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3006         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3007         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3008         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3009         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3010         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3011         syscall.
3012         (setfsuid): Likewise.
3013         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3014         (setfsuid): Likewise.
3015         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3016         (setfsuid): Likewise.
3017         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3018         Likewise.
3019         (setfsuid): Likewise.
3020         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3021         (setfsuid): Likewise.
3022         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3023         Likewise.
3024         (setfsuid): Likewise.
3025
3026 2014-10-27  Andreas Schwab  <schwab@suse.de>
3027
3028         [BZ #17501]
3029         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3030         check for Slow_SSE4_2 feature bit.
3031         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3032         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3033         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3034         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3035
3036 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3037
3038         * configure.ac: Validate compiler version with a empirical test of
3039         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3040         $CC -v output.
3041         * configure: Regenerated.
3042
3043         * inet/htons.c (htons): Prototypify.
3044         * inet/htonl.c (htonl): Likewise.
3045
3046 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3047
3048         * string/strncat.c (strncat): Improve performance by using strlen.
3049
3050 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3051
3052         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3053
3054 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3055
3056         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3057         Call libc_fetestexcept_aarch64.
3058
3059 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3060
3061         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3062         Call libc_feholdexcept_aarch64.
3063
3064 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3065
3066         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3067         Call get_rounding_mode.
3068
3069 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3070
3071         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3072         Simplify logic.
3073
3074 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3075
3076         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3077         Simplify logic.
3078
3079 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3080
3081         [BZ #14138]
3082         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3083         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3084         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3085         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3086         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3087         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3088         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3089         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3090         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3091         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3092         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3093         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3094         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3095         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3096         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3097         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3098         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3099         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3100         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3101         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3102         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3103         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3104         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3105         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3106         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3107         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3108         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3109         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3110         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3111         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3112         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3113         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3114         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3115         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3116         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3117         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3118         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3119         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3120         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3121         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3122         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3123         syscall.
3124         (geteuid): Likewise.
3125         (getgid): Likewise.
3126         (getuid): Likewise.
3127         (getresgid): Likewise.
3128         (getresuid): Likewise.
3129         (getgroups): Likewise.
3130         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3131         (geteuid): Likewise.
3132         (getgid): Likewise.
3133         (getuid): Likewise.
3134         (getresgid): Likewise.
3135         (getresuid): Likewise.
3136         (getgroups): Likewise.
3137         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3138         (geteuid): Likewise.
3139         (getgid): Likewise.
3140         (getuid): Likewise.
3141         (getresgid): Likewise.
3142         (getresuid): Likewise.
3143         (getgroups): Likewise.
3144         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3145         Likewise.
3146         (geteuid): Likewise.
3147         (getgid): Likewise.
3148         (getuid): Likewise.
3149         (getresgid): Likewise.
3150         (getresuid): Likewise.
3151         (getgroups): Likewise.
3152         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3153         (geteuid): Likewise.
3154         (getgid): Likewise.
3155         (getuid): Likewise.
3156         (getresgid): Likewise.
3157         (getresuid): Likewise.
3158         (getgroups): Likewise.
3159         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3160         Likewise.
3161         (geteuid): Likewise.
3162         (getgid): Likewise.
3163         (getuid): Likewise.
3164         (getgroups): Likewise.
3165
3166         [BZ #14138]
3167         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3168         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3169         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3170         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3171         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3172         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3173         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3174         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3175         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3176         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3177         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3178         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3179         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3180         __chown.
3181         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3182         (lchown): Likewise.
3183         (fchown): Likewise.
3184         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3185         Likewise.
3186         (lchown): Likewise.
3187         (fchown): Likewise.
3188         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3189         (lchown): Likewise.
3190         (fchown): Likewise.
3191         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3192         Likewise.
3193         (lchown): Likewise.
3194         (fchown): Likewise.
3195
3196 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3197
3198         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3199         Simplify logic.
3200
3201 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3202
3203         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3204         Cleanup logic.
3205
3206 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3207
3208         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3209         Remove unused include.
3210
3211 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3212
3213         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3214         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3215         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3216         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3217
3218 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3219             Helge Deller <deller@gmx.de>
3220
3221         [BZ #17508]
3222         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3223         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3224         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3225
3226 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3227
3228         [BZ #14132]
3229         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3230         Remove macro definition.
3231         (__ashrdi3_v_glibc20): Likewise.
3232         (__lshrdi3_v_glibc20): Likewise.
3233         (__cmpdi2_v_glibc20): Likewise.
3234         (__ucmpdi2_v_glibc20): Likewise.
3235         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3236         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3237         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3238         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3239         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3240         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3241
3242 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3243
3244         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3245         old GNU extension [0] syntax.
3246         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3247         alloca rather than an array member with variable length.
3248         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3249         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3250         (parse_opt): ... here.  Likewise use alloca there.
3251         Validate the -i argument before checking for rootness.
3252         (send_shutdown): New function, broken out of ...
3253         (parse_opt): ... here.
3254
3255 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3256
3257         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3258         macro to get at the _rt_local_ro field.
3259         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3260         ([PIC] case) or _dl_hwcap ([!PIC] case).
3261         * sysdeps/arm/setjmp.S: Likewise.
3262
3263         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3264         * sysdeps/arm/configure.ac: New check to define it.
3265         * sysdeps/arm/configure: Regenerated.
3266         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3267         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3268         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3269         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3270         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3271         Use move/movt pair instead of a load.
3272         (LDST_GLOBAL): Macro removed.
3273         (LDR_GLOBAL): New macro replaces it.
3274         (LDR_HIDDEN): New macro.
3275         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3276         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3277
3278         * setjmp/tst-setjmp-static.c: New file.
3279         * setjmp/Makefile (tests): Add it.
3280         (tests-static): New variable.
3281
3282 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3283
3284         [BZ #17485]
3285         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3286
3287 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3288
3289         [BZ #14132]
3290         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3291
3292 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3293
3294         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3295
3296 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3297
3298         * io/fts.c (dirent_not_directory): New function.
3299         (fts_build): Call it.
3300
3301 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3302
3303         * nptl/version.c (__nptl_main): Use normal __write rather than
3304         INTERNAL_SYSCALL.
3305         (banner): Update copyright years.
3306
3307         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3308         gettimeofday.
3309         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3310         * nptl/pthread_cond_timedwait.c: Likewise.
3311         * nptl/pthread_mutex_timedlock.c: Likewise.
3312         * nptl/sem_timedwait.c: Likewise.
3313
3314         * sysdeps/nptl/bits/libc-lock.h
3315         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3316         (__libc_lock_init_recursive): Return void, not 0.
3317         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3318         (__libc_rwlock_init): Likewise.
3319         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3320
3321 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3322
3323         [BZ #15215]
3324         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3325         (__pthread_once_slow): ... here.
3326         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3327         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3328
3329 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3330
3331         [BZ #15215]
3332         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3333         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3334         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3335         * nptl/pthread_once.c (__pthread_once): Likewise.
3336         Update comments.
3337
3338 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3339
3340         [BZ #14138]
3341         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3342         name.
3343         (writev): Use __libc_writev as strong name.
3344         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3345         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3346
3347 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3348
3349         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3350
3351         * sysdeps/i386/nptl/tls.h
3352         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3353         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3354         New macros.
3355         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3356         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3357         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3358         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3359         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3360         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3361
3362         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3363         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3364         on [__NR_futex].
3365         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3366         broken out of ...
3367         (__pthread_mutex_init): ... here.  Call it.
3368         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3369         Conditionalize PI cases on [__NR_futex].
3370         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3371         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3372         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3373
3374         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3375         conditional on [SIGSETXID].
3376         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3377         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3378         is defined.  Likewise for SIGSETXID.
3379         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3380         Conditionalize definitions on [SIGSETXID].
3381         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3382         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3383         unblocking on [SIGCANCEL].
3384
3385         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3386         [__NR_set_robust_list].
3387
3388 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3389
3390         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3391         (do_compare): Likewise.
3392
3393 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3394
3395         [BZ #15884]
3396         * string/strcoll_l.c: Don't include stdio.h.
3397         (coll_seq): Remove members idxarr and rulearr.
3398         (get_next_seq_cached): Remove function.
3399         (get_next_seq): Likewise.
3400         (get_next_seq_nocache): Rename to get_next_seq.
3401         (do_compare): Remove function.
3402         (do_compare_nocache): Rename to do_compare.
3403         (STRCOLL): Remove weight and rules cache.
3404
3405 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3406
3407         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3408         * sysdeps/arm/sfp-machine.h: ... to here.
3409         * sysdeps/arm/Implies: Remove arm/soft-fp.
3410
3411 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3412
3413         * conform/data/sys/utsname.h-data (*_t): Allow.
3414         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3415         [POSIX] (WEXITED): Do not expect constant.
3416         [POSIX] (WSTOPPED): Likewise.
3417         [POSIX] (WNOHANG): Likewise.
3418         [POSIX] (WNOWAIT): Likewise.
3419         [POSIX] (siginfo_t): Do not expect type or elements.
3420         [POSIX] (pid_t): Do not expect type.
3421         [POSIX] (signal.h): Do not allow header.
3422         [POSIX] (sys/resource.h): Likewise.
3423         [POSIX] (si_*): Do not allow pattern.
3424         [POSIX] (W*): Likewise.
3425         [POSIX] (P_*): Likewise.
3426         [POSIX] (BUS_*): Likewise.
3427         [POSIX] (CLD_*): Likewise.
3428         [POSIX] (FPE_*): Likewise.
3429         [POSIX] (ILL_*): Likewise.
3430         [POSIX] (POLL_*): Likewise.
3431         [POSIX] (SEGV_*): Likewise.
3432         [POSIX] (SI_*): Likewise.
3433         [POSIX] (TRAP_*): Likewise.
3434         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3435         variable.
3436
3437 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3438
3439         [BZ #12926]
3440         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3441         infinite loop when __recvmsg returns 0.
3442
3443 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3444
3445         * CANCEL-FCT-WAIVE: Remove file.
3446         * CANCEL-FILE-WAIVE: Likewise.
3447
3448         [BZ #14132]
3449         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3450         instead of INTVARDEF.
3451         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3452         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3453         rtld_hidden_data_def instead of INTVARDEF.
3454         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3455         * elf/dl-deps.c (expand_dst): Likewise.
3456         * elf/dl-load.c (_dl_dst_count): Likewise.
3457         (_dl_dst_substitute): Likewise.
3458         (decompose_rpath): Likewise.
3459         (_dl_init_paths): Likewise.
3460         (open_path): Likewise.
3461         (_dl_map_object): Likewise.
3462         * elf/rtld.c (dl_main): Likewise.
3463         (process_dl_audit): Likewise.
3464         (process_envvars): Likewise.
3465         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3466         Remove declaration.
3467         (__libc_enable_secure): Use rtld_hidden_proto.
3468
3469 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3470
3471         * elf/dl-load.c
3472         (add_path): New function broken out of _dl_rtld_di_serinfo.
3473         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3474
3475 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3476
3477         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3478         parentheses around macro arguments.
3479         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3480         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3481         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3482         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3483         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3484         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3485         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3486         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3487         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3488         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3489         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3490         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3491         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3492         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3493         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3494         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3495         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3496         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3497         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3498         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3499         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3500         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3501         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3502         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3503         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3504         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3505         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3506         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3507         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3508         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3509         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3510         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3511         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3512         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3513         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3514         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3515         Likewise.
3516         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3517         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3518         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3519         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3520         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3521         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3522         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3523         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3524         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3525         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3526         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3527         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3528         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3529         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3530         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3531         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3532         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3533         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3534         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3535         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3536         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3537         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3538         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3539         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3540         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3541         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3542         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3543         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3544         (_FP_FRAC_SRS_1): Likewise.
3545         (_FP_FRAC_CLZ_1): Likewise.
3546         (_FP_MUL_MEAT_1_imm): Likewise.
3547         (_FP_MUL_MEAT_1_wide): Likewise.
3548         (_FP_MUL_MEAT_1_hard): Likewise.
3549         (_FP_SQRT_MEAT_1): Likewise.
3550         (_FP_FRAC_ASSEMBLE_1): Likewise.
3551         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3552         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3553         (__FP_CLZ_2): Likewise.
3554         (_FP_MUL_MEAT_2_wide): Likewise.
3555         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3556         (_FP_MUL_MEAT_2_gmp): Likewise.
3557         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3558         (_FP_SQRT_MEAT_2): Likewise.
3559         (_FP_FRAC_ASSEMBLE_2): Likewise.
3560         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3561         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3562         (_FP_FRAC_CLZ_4): Likewise.
3563         (_FP_MUL_MEAT_4_wide): Likewise.
3564         (_FP_MUL_MEAT_4_gmp): Likewise.
3565         (_FP_SQRT_MEAT_4): Likewise.
3566         (_FP_FRAC_ASSEMBLE_4): Likewise.
3567         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3568         * soft-fp/op-common.h (_FP_CMP): Likewise.
3569         (_FP_CMP_EQ): Likewise.
3570         (_FP_CMP_UNORD): Likewise.
3571         (_FP_TO_INT): Likewise.
3572         (_FP_FROM_INT): Likewise.
3573         [!__FP_CLZ] (__FP_CLZ): Likewise.
3574         (_FP_DIV_HELP_imm): Likewise.
3575         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3576         Likewise.
3577         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3578         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3579         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3580         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3581         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3582         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3583         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3584         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3585         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3586         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3587         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3588         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3589         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3590         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3591         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3592         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3593         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3594         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3595         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3596         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3597         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3598         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3599         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3600         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3601         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3602         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3603         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3604         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3605         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3606         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3607         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3608         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3609         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3610         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3611         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3612         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3613         (FP_UNPACK_RAW_SP): Likewise.
3614         (FP_PACK_RAW_S): Likewise.
3615         (FP_PACK_RAW_SP): Likewise.
3616         (FP_UNPACK_S): Likewise.
3617         (FP_UNPACK_SP): Likewise.
3618         (FP_UNPACK_SEMIRAW_S): Likewise.
3619         (FP_UNPACK_SEMIRAW_SP): Likewise.
3620         (FP_PACK_S): Likewise.
3621         (FP_PACK_SP): Likewise.
3622         (FP_PACK_SEMIRAW_S): Likewise.
3623         (FP_PACK_SEMIRAW_SP): Likewise.
3624         (_FP_SQRT_MEAT_S): Likewise.
3625         (FP_CMP_S): Likewise.
3626         (FP_CMP_EQ_S): Likewise.
3627         (FP_CMP_UNORD_S): Likewise.
3628         (FP_TO_INT_S): Likewise.
3629         (FP_FROM_INT_S): Likewise.
3630
3631         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3632
3633         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3634         (FP_EX_INVALID_IMZ): Likewise.
3635         (FP_EX_INVALID_IMZ_FMA): Likewise.
3636         (FP_EX_INVALID_ISI): Likewise.
3637         (FP_EX_INVALID_ZDZ): Likewise.
3638         (FP_EX_INVALID_IDI): Likewise.
3639         (FP_EX_INVALID_SQRT): Likewise.
3640         (FP_EX_INVALID_CVI): Likewise.
3641         (FP_EX_INVALID_VC): Likewise.
3642         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3643         "invalid" exceptions.
3644         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3645         (_FP_ADD_INTERNAL): Likewise.
3646         (_FP_MUL): Likewise.
3647         (_FP_FMA): Likewise.
3648         (_FP_DIV): Likewise.
3649         (_FP_CMP_CHECK_NAN): Likewise.
3650         (_FP_SQRT): Likewise.
3651         (_FP_TO_INT): Likewise.
3652         (FP_EXTEND): Likewise.
3653
3654 2014-10-09  Allan McRae  <allan@archlinux.org>
3655
3656         * po/fr.po: Update French translation from translation project.
3657
3658 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3659
3660         [BZ #14132]
3661         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3662         of INTDEF.
3663         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3664         (__cxa_atexit): Use libc_hidden_proto.
3665         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3666
3667         [BZ #14132]
3668         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3669         declaration.
3670         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3671         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3672         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3673         [!_ISOMAC] (__iswctype_internal): Likewise.
3674         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3675         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3676         alias.
3677         (fcntl): Remove __fcntl_internal alias.
3678         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3679         __connect_internal alias.
3680         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3681         Likewise.
3682
3683         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3684         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3685         FP_DENORM_ZERO.
3686         (_FP_CHECK_FLUSH_ZERO): New macro.
3687         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3688         (_FP_CMP): Likewise.
3689         (_FP_CMP_EQ): Likewise.
3690         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3691         FP_DENORM_ZERO.
3692         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3693         (FP_TRUNC): Likewise.
3694
3695         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3696         treated as invalid conversion, not as normal exponent.
3697
3698         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3699         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3700         (_FP_CMP_EQ): Likewise.
3701         (_FP_CMP_UNORD): Likewise.
3702         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3703         (FP_CMP_EQ_D): Likewise.
3704         (FP_CMP_UNORD_D): Likewise.
3705         * soft-fp/extended.h (FP_CMP_E): Likewise.
3706         (FP_CMP_EQ_E): Likewise.
3707         (FP_CMP_UNORD_E): Likewise.
3708         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3709         (FP_CMP_EQ_Q): Likewise.
3710         (FP_CMP_UNORD_Q): Likewise.
3711         * soft-fp/single.h (FP_CMP_S): Likewise.
3712         (FP_CMP_EQ_S): Likewise.
3713         (FP_CMP_UNORD_S): Likewise.
3714         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3715         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3716         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3717         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3718         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3719         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3720         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3721         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3722         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3723         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3724         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3725         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3726         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3727         to FP_CMP_Q.
3728         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3729         FP_CMP_Q.
3730         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3731         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3732         FP_CMP_EQ_Q.
3733         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3734         FP_CMP_Q.
3735         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3736         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3737         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3738         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3739         FP_CMP_EQ_Q.
3740         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3741         FP_CMP_Q.
3742         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3743         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3744         FP_CMP_EQ_Q.
3745         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3746         FP_CMP_Q.
3747         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3748         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3749         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3750         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3751         FP_CMP_EQ_Q.
3752
3753         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3754         a subnormal result, set the underflow exception if trapping on
3755         underflow is enabled.
3756         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3757         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3758         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3759         redefine to 0.
3760         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3761         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3762         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3763         * soft-fp/extendxftf2.c (__extendxftf2): Use
3764         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3765
3766         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3767         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3768         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3769         FP_HANDLE_EXCEPTIONS.
3770         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3771         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3772         FP_HANDLE_EXCEPTIONS.
3773         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3774         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3775         FP_HANDLE_EXCEPTIONS.
3776         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3777         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3778         FP_HANDLE_EXCEPTIONS.
3779
3780 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
3781
3782         [BZ #14132]
3783         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3784         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3785         use INTUSE.
3786         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3787         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3788         Remove alias.
3789         (__adjtimex): Define using libc_hidden_ver.
3790         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3791         Remove declaration.
3792         (ntp_gettime): Call __adjtimex directly.
3793         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3794         Remove declaration.
3795         (ntp_gettimex): Call __adjtimex directly.
3796         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3797         __adjtimex_internal alias.
3798
3799 2014-10-08  Roland McGrath  <roland@hack.frob.com>
3800
3801         [BZ #17460]
3802         * nscd/nscd.c (more_help): Rewrite list of tables collection
3803         using xstrdup and asprintf.
3804
3805         * nscd/nscd_conf.c: Remove local xstrdup declaration.
3806
3807 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3808             Roland McGrath  <roland@hack.frob.com>
3809
3810         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3811         (do_lookup_unique): ... local function 'enter' here; update callers.
3812
3813 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
3814
3815         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3816         compat_symbol calls on [SHARED].
3817         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3818         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3819         Remove.
3820         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3821         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3822         (oldsetrlimit): Remove.
3823         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3825         (lchown): New syscall entry.
3826         (oldsetrlimit): Remove.
3827         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3828         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3829         (oldsetrlimit): Remove.
3830         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3831
3832         [BZ #14138]
3833         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3834         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3835         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3836         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3837         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3838         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3839         (fchown): Likewise.
3840         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3841         (fchown): Likewise.
3842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3843         Likewise.
3844
3845 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3846
3847         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3848         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3849         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3850         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3851         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3852         Likewise.
3853         (__old_sem_post): Likewise.
3854
3855 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
3856
3857         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3858         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3859         HAVE_CLOCK_GETTIME_VSYSCALL macros.
3860         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3861         Use INLINE_VSYSCALL macro.
3862         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3863         __vdso_clock_gettime.
3864         * sysdeps/unix/sysv/linux/tile/init-first.c
3865         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3866         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3867         __vdso_clock_gettime.
3868
3869         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3870         to set up frame more cleanly.
3871
3872         * sysdeps/tile/memcmp.c: New file.
3873
3874         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3875
3876         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3877         * sysdeps/tile/tilegx/strcasestr.c: New file.
3878         * sysdeps/tile/tilegx/strnlen.c: New file.
3879         * sysdeps/tile/tilegx/strstr.c: New file.
3880
3881         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3882
3883 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
3884
3885         * nptl/tst-setuid3.c: Write errors to stdout.
3886
3887 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3888
3889         * elf/dl-deps.c
3890         (preload): New functions broken out of _dl_map_object_deps.
3891         (_dl_map_object_deps):  Remove a nested function. Update call sites.
3892
3893 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
3894
3895         [BZ #14138]
3896         * sysdeps/unix/sysv/linux/execve.c: Remove file.
3897         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3898
3899 2014-10-01  Steve Ellcey  <sellcey@mips.com>
3900
3901         * sysdeps/mips/strcmp.S: New.
3902
3903 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
3904
3905         [BZ #14138]
3906         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3907         (linkat): Likewise.
3908         (mkdirat): Likewise.
3909         (readlinkat): Likewise.
3910         (renameat): Likewise.
3911         (symlinkat): Likewise.
3912         (unlinkat): Likewise.
3913         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3914         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3915         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3916         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3917         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3918         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3919         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3920
3921 2014-09-30  Will Newton  <will.newton@linaro.org>
3922
3923         * math/math.h: Define long double math functions if
3924         _LIBC_TEST is defined.
3925         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3926
3927         * localedata/Makefile: Move assignment to tests-special
3928         into an ifdef testing run-built-tests.
3929         * timezone/Makefile: Likewise.
3930
3931 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
3932
3933         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3934         with $(BASH) not $(SHELL).
3935
3936 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
3937             Matthew LeGendre  <legendre1@llnl.gov>
3938
3939         [BZ #17411]
3940         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3941         l_reloc_result.
3942
3943 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3944
3945         * stdio-common/printf_fp.c
3946         (hack_digit): New function, broken out of ...
3947         (__printf_fp): ... local function here.  Update call sites.
3948         hack_digit now takes an additional parameter that is a pointer
3949         to a struct of the referenced locals.  Those locals moved inside
3950         the struct and references updated.
3951
3952 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
3953
3954         * aclocal.m4: Require autoconf 2.69.
3955         * configure: Regenerated.
3956         * sysdeps/aarch64/configure: Likewise.
3957         * sysdeps/alpha/configure: Likewise.
3958         * sysdeps/arm/armv7/configure: Likewise.
3959         * sysdeps/arm/configure: Likewise.
3960         * sysdeps/ia64/configure: Likewise.
3961         * sysdeps/mach/configure: Likewise.
3962         * sysdeps/mips/configure: Likewise.
3963         * sysdeps/s390/configure: Likewise.
3964         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3966
3967         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3968         file.
3969         * sysdeps/ia64/configure.ac: Likewise.
3970
3971 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
3972
3973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3974         specify symbol version for ld.so.  Do not include entry for
3975         libpthread.
3976         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3977         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3978         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3979
3980         [BZ #14171]
3981         * Makeconfig [$(build-shared) = yes]
3982         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3983         makefiles.
3984         [$(build-shared) = yes && $(soversions.mk-done) = t]
3985         ($(common-objpfx)gnu/lib-names.h): Remove rule.
3986         [$(build-shared) = yes && $(soversions.mk-done) = t]
3987         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
3988         to Makerules.
3989         [$(build-shared) = yes && $(soversions.mk-done) = t]
3990         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3991         here.
3992         [$(build-shared) = yes && $(soversions.mk-done) = t]
3993         (common-generated): Don't append gnu/lib-names.h and
3994         gnu/lib-names.stmp here.
3995         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3996         (lib-names-h-abi): New variable.
3997         [$(build-shared) = yes && $(soversions.mk-done) = t]
3998         (lib-names-stmp-abi): Likewise.
3999         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4000         abi-variants] (before-compile): Append
4001         $(common-objpfx)$(lib-names-h-abi).
4002         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4003         abi-variants] (common-generated): Append gnu/lib-names.h.
4004         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4005         abi-variants] (install-others-nosubdir): Depend on
4006         $(inst_includedir)/$(lib-names-h-abi).
4007         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4008         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4009         [$(build-shared) = yes && $(soversions.mk-done) = t]
4010         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4011         [$(build-shared) = yes && $(soversions.mk-done) = t]
4012         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4013         [$(build-shared) = yes && $(soversions.mk-done) = t]
4014         (common-generated): Append $(lib-names-h-abi) and
4015         $(lib-names-stmp-abi).
4016         * scripts/lib-names.awk: Do not handle multi being set.
4017         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4018         Remove variable.
4019         (abi-lp64_be-ld-soname): Likewise.
4020         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4021         Likewise.
4022         (abi-hard-ld-soname): Likewise.
4023         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4024         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4025         Remove variable.
4026         (abi-o32_hard-ld-soname): Likewise.
4027         (abi-o32_soft_2008-ld-soname): Likewise.
4028         (abi-o32_hard_2008-ld-soname): Likewise.
4029         (abi-n32_soft-ld-soname): Likewise.
4030         (abi-n32_hard-ld-soname): Likewise.
4031         (abi-n32_soft_2008-ld-soname): Likewise.
4032         (abi-n32_hard_2008-ld-soname): Likewise.
4033         (abi-n64_soft-ld-soname): Likewise.
4034         (abi-n64_hard-ld-soname): Likewise.
4035         (abi-n64_soft_2008-ld-soname): Likewise.
4036         (abi-n64_hard_2008-ld-soname): Likewise.
4037         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4038         Likewise.
4039         (abi-64-v2-ld-soname): Likewise.
4040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4041         ld.so entries.
4042         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4043         variable.
4044         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4045         entry.
4046         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4047         variable.
4048         (abi-64-ld-soname): Likewise.
4049         (abi-x32-ld-soname): Likewise.
4050         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4051         entry.
4052         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4053
4054 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4055
4056         [BZ #14138]
4057         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4058         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4059         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4060         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4061         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4062         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4063         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4064         syscall entry for GLIBC_2.2 symbol version.
4065         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4066         Likewise.
4067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4068         (setrlimit): Likewise.
4069         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4070         Likewise.
4071
4072 2014-09-23  Will Newton  <will.newton@linaro.org>
4073
4074         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4075         _LINUX_ARM_SYSDEP_H include guard too.
4076         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4077         define.
4078
4079 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4080
4081         * sysdeps/unix/sysv/linux/eventfd.c:
4082         Make first argument unsigned.
4083         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4084         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4085
4086 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4087
4088         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4089         * socket/sys/socket.h: Likewise
4090         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4091
4092 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4093
4094         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4095
4096 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4097
4098         * time/tst-ftime.c: New test.
4099         * time/Makefile (tests): Add tst-ftime.
4100
4101 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4102
4103         * soft-fp/extended.h: Fix comment formatting.
4104         * soft-fp/op-1.h: Likewise.
4105         * soft-fp/op-2.h: Likewise.
4106         * soft-fp/op-4.h: Likewise.
4107         * soft-fp/op-8.h: Likewise.
4108         * soft-fp/op-common.h: Likewise.
4109         * soft-fp/soft-fp.h: Likewise.
4110
4111         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4112
4113 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4114
4115         [BZ #6652]
4116         * Makeconfig (soversions-default-setname): Remove variable.
4117         ($(common-objpfx)soversions.i): Don't pass default_setname to
4118         soversions.awk.
4119         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4120         oldest_abi to abi-versions.awk.
4121         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4122         * config.make.in (oldest-abi): Remove variable.
4123         * configure.ac (--enable-oldest-abi): Remove configure option.
4124         * configure: Regenerated.
4125         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4126         text.
4127         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4128         * scripts/soversions.awk: Do not handle default_setname variable.
4129         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4130         variable.
4131         * sysdeps/mach/hurd/configure: Regenerated.
4132         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4133         variable.
4134         * sysdeps/unix/sysv/linux/configure: Regenerated.
4135
4136 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4137
4138         * elf/Makefile (CFLAGS-interp.c): Remove.
4139         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4140         path string.
4141         * elf/interp.c: Include generated runtime-linker.h
4142
4143         * Makerules (lib%.so): Don't include $(+interp) in
4144         prerequisites.
4145         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4146         * dlfcn/eval.c: Remove file.
4147
4148         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4149         macros.
4150
4151         [BZ #17266]
4152         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4153         4.2 and newer.
4154
4155         [BZ #17370]
4156         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4157
4158 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4159             Jakub Jelinek  <jakub@redhat.com>
4160
4161         [BZ #17266]
4162         * libio/stdio.h: Check definition of __fortify_function
4163         instead of __extern_always_inline to include bits/stdio2.h.
4164         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4165         check if __extern_always_inline is defined.
4166         [__USE_MISC || __USE_XOPEN]: Likewise.
4167         [__USE_ISOC99] Likewise.
4168         * misc/sys/cdefs.h (__fortify_function): Define only if
4169         __extern_always_inline is defined.
4170         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4171         __extern_always_inline and __extern_inline only for g++-4.3
4172         and newer or a compatible gcc.
4173
4174 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4175
4176         [BZ #17371]
4177         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4178         last change to handle zero prefix length.
4179
4180 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4181
4182         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4183         _SC_REGEX_VERSION.
4184
4185         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4186         _POSIX_RAW_SOCKETS.
4187
4188 2014-09-13  Allan McRae  <allan@archlinux.org>
4189
4190         * po/ru.po: Update Russian translation from translation project.
4191
4192 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4193
4194         * locale/programs/locale.c (show_locale_vars): Inline local function
4195         into its sole call site.  Clean up some style nits.
4196         (print_item): New function, broken out of ...
4197         (show_info): ... local function here.  Clean up style nits.
4198
4199         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4200         out of ...
4201         (set_class_defaults): ... local function set_default here.
4202         Define set_default as a macro locally to pass constant parameters.
4203         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4204         rather than a shared local.
4205
4206         * stdlib/rpmatch.c (try): New function, broken out of ...
4207         (rpmatch): ... local function here.  Also, prototypify definition.
4208
4209 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4210
4211         * scripts/soversions.awk: Do not handle configuration names.
4212         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4213         vendor and os variables to soversions.awk.
4214         * configure.ac: Do not modify gnu-* host_os.
4215         * configure: Regenerated
4216         * shlib-versions: Remove first column with configuration names.
4217         * nptl/shlib-versions: Likewise.
4218         * nptl_db/shlib-versions: Likewise.
4219         * sysdeps/hppa/shlib-versions: Likewise.
4220         * sysdeps/m68k/shlib-versions: Likewise.
4221         * sysdeps/mach/hurd/shlib-versions: Likewise.
4222         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4223         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4224         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4225         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4226         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4227         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4228         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4229         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4231         Likewise.
4232         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4233         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4234         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4235         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4236         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4237         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4238         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4239         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4240
4241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4242         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4244         Regenerated.
4245         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4247         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4248
4249         * shlib-versions: Remove OS-specific entries.  Moved to files in
4250         sysdeps.
4251         * sysdeps/mach/hurd/shlib-versions: New file.
4252         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4253
4254         * nptl/shlib-versions: Remove architecture-specific entries.
4255         Moved to files in sysdeps.
4256         * shlib-versions: Likewise.
4257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4258         file.
4259         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4260         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4261         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4262         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4263
4264         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4265         (UDP_NO_CHECK6_RX): Likewise.
4266
4267 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4268
4269         * sysdeps/posix/sysconf.c (__sysconf): Spell
4270         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4271
4272 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4273
4274         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4275         loading.
4276         * iconv/Versions (__gconv_transliterate): Export for use from
4277         gconv modules.
4278         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4279         (struct __gconv_trans_data, __gconv_trans_fct,
4280         __gconv_trans_context_fct, __gconv_trans_query_fct,
4281         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4282         definitions.
4283         (struct __gconv_step_data): Remove __trans member.
4284         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4285         longer hidden.  Remove unused trans_data argument.
4286         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4287         (__gconv_translit_find): Remove declaration.
4288         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4289         prototype.
4290         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4291         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4292         trans_data argument.  Add hidden definition.
4293         (__gconv_translit_find): Remove.
4294         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4295         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4296         * iconv/skeleton.c: Remove transliteration initialization.
4297         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4298         __gconv_step_data initialization.
4299         * libio/iofwide.c (__libio_translit_): Remove.
4300         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4301         * wcsmbs/btowc.c (__btowc): Likewise.
4302         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4303         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4304         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4305         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4306         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4307         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4308         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4309         * wcsmbs/wctob.c (wctob): Likewise.
4310
4311 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4312
4313         [BZ #16194]
4314         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4315         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4316         register usage.
4317         * sysdeps/x86/Makefile: Adjust.
4318
4319 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4320             Roland McGrath  <roland@hack.frob.com>
4321
4322         * locale/weight.h: Add include guard.
4323         (findidx): Make static rather than auto; take new parameters
4324         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4325         * locale/weightwc.h: Likewise.
4326         * posix/fnmatch_loop.c
4327         (FCT): Change type of EXTRA from int32_t to wint_t.
4328         Don't include either header inside the function.
4329         Call FINDIDX rather than findidx, and pass new arguments.
4330         #undef FINDIDX at the end of the file.
4331         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4332         FINDIDX before including fnmatch_loop.c for the non-wide version.
4333         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4334         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4335         for the wide version.
4336         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4337         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4338         Pass new arguments to findidx.
4339         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4340         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4341         Don't #include it inside the function.  Pass new arguments to findidx.
4342         * posix/regex_internal.h
4343         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4344         (re_string_elem_size_at): Don't #include it inside the function.
4345         Pass new arguments to findidx.
4346         * string/strcoll_l.c: #include WEIGHT_H at top level.
4347         (get_next_seq): Don't #include it inside the function.
4348         Pass new arguments to findidx.
4349         (get_next_seq_nocache): Likewise.
4350         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4351         (STRXFRM): Don't #include it inside the function.
4352         Pass new arguments to findidx.
4353
4354 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4355
4356         [BZ #17344]
4357         * malloc/malloc.c (unlink): Turn asserts into a call to
4358         malloc_printerr.
4359
4360 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4361
4362         [BZ #17370]
4363         * libio/wfileops (do_ftell_wide): Free OUT.
4364
4365 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4366
4367         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4368
4369 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4370
4371         [BZ #17363]
4372         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4373         group if the current group is empty.
4374
4375 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4376
4377         * benchtests/bench-memset.c (test_main): Add more test from size
4378         from 32 to 512 bytes.
4379         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4380         Add POWER8 memset object.
4381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4382         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4383         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4384         implementation.
4385         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4386         Likewise.
4387         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4388         multiarch POWER8 memset optimization.
4389         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4390         POWER8 memset optimization.
4391
4392         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4393         Remove bzero multiarch objects.
4394         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4395         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4396         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4397         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4398         Remove define.
4399         [__bzero]: Redefine to specific name.
4400         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4401         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4402         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4403         define.
4404         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4405         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4406
4407 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4408
4409         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4410         warnings into errors.
4411
4412         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4413         __cxa_thread_atexit_impl prototype.
4414
4415 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4416
4417         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4418         Fix capitalization of error message.
4419
4420 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4421
4422         * sysdeps/mips/preconfigure: Modify ABI tests.
4423
4424 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4425
4426         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4427
4428 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4429             Carlos O'Donell  <carlos@systemhalted.org>
4430
4431         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4432         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4433         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4434         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4435         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4436         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4437         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4438         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4439         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4440         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4441         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4442         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4443         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4444         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4445         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4446         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4447         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4448         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4449         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4450         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4451         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4452         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4453         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4454         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4455         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4456         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4457         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4458         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4459         Deconditionalize the code that was previously under [RESET_PID].
4460         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4461         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4462         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4463         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4464         include sysdep.h.
4465
4466 2014-09-08  Allan McRae  <allan@archlinux.org>
4467
4468         * version.h (RELEASE): Set to "development".
4469         (VERSION): Set to "2.20.90"
4470
4471 2014-09-07  Allan McRae  <allan@archlinux.org
4472
4473         * version.h (RELEASE): Set to "stable".
4474         (VERSION): Set to "2.20"
4475         * include/features.h (__GLIBC_MINOR__): Set to 20.
4476
4477         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4478         Liebler.
4479
4480         * po/ko.po: Update Korean translation from translation project.
4481
4482 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4483
4484         [BZ #17354]
4485         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4486         macro for handling signed relocations.
4487
4488 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4489
4490         [BZ #17325]
4491         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4492         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4493         assert.
4494         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4495         * iconvdata/ibm935.c (BODY): Likewise.
4496         * iconvdata/ibm937.c (BODY): Likewise.
4497         * iconvdata/ibm939.c (BODY): Likewise.
4498         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4499         assert.
4500         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4501         script.
4502         * iconvdata/run-iconv-test.sh: New test loop for checking for
4503         decoder crashers.
4504
4505 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4506
4507         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4508         libm_hidden_ver.
4509
4510 2014-09-01  Allan McRae  <allan@archlinux.org>
4511
4512         * po/eo.po: Update Esperanto translation from translation project.
4513
4514         * po/ca.po: Update Catalan translation from translation project.
4515
4516 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4517
4518         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4519         __proc_dostop call.
4520
4521 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4522
4523         [BZ #17319]
4524         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4525         to call set_thread_area instead of hand written asm.
4526         (__NR_set_thread_area): Removed define.
4527         (TLS_FLAG_WRITABLE): Likewise.
4528         (__ASSUME_SET_THREAD_AREA): Remove check.
4529         (TLS_EBX_ARG): Remove define.
4530         (TLS_LOAD_EBX): Likewise.
4531
4532 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4533
4534         Simplify atomicity of socket creation in bind.
4535
4536         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4537         looking up the name after linking the file.
4538
4539 2014-08-27  Allan McRae  <allan@archlinux.org>
4540
4541         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4542
4543 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4544
4545         [BZ #17187]
4546         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4547         trans_compare, open_translit, __gconv_translit_find):
4548         Remove module loading code.
4549
4550 2014-08-26  Allan McRae  <allan@archlinux.org>
4551
4552         * po/vi.po: Update Vietnamese translation from translation project.
4553
4554         * po/uk.po: Update Ukrainian translation from translation project.
4555
4556         * po/fr.po: Update French translation from translation project.
4557
4558         * po/ru.po: Update Russian translation from translation project.
4559
4560         * po/pl.po: Update Polish translation from translation project.
4561
4562         * po/cs.po: Update Czech translation from translation project.
4563
4564         * po/de.po: Update German translation from translation project.
4565
4566         * po/bg.po: Update Bulgarian translation from translation project.
4567
4568         * po/sv.po: Update Sweedish translation from translation project.
4569
4570         * po/nl.po: Update Dutch translation from translation project.
4571
4572         * po/es.po: Update Spanish translation from translation project.
4573
4574 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4575
4576         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4577
4578         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4579         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4580         (CPPFLAGS-iconvconfig): Likewise.
4581         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4582
4583         * include/libc-symbols.h: Remove unnecessary check for
4584         NOT_IN_libc.
4585         * nptl/pthreadP.h: Likewise.
4586         * sysdeps/aarch64/setjmp.S: Likewise.
4587         * sysdeps/alpha/setjmp.S: Likewise.
4588         * sysdeps/arm/sysdep.h: Likewise.
4589         * sysdeps/i386/setjmp.S: Likewise.
4590         * sysdeps/m68k/setjmp.c: Likewise.
4591         * sysdeps/posix/getcwd.c: Likewise.
4592         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4593         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4594         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4595         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4596         * sysdeps/sh/sh3/setjmp.S: Likewise.
4597         * sysdeps/sh/sh4/setjmp.S: Likewise.
4598         * sysdeps/unix/alpha/sysdep.h: Likewise.
4599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4600         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4601         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4602         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4605         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4606         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4607         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4608         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4609         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4610         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4611         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4612         * sysdeps/x86_64/setjmp.S: Likewise.
4613
4614 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4615
4616         [BZ #17263]
4617         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4618         <stdint.h>.
4619         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4620         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4621
4622 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4623
4624         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4625
4626         [BZ #17262]
4627         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4628         and __x86_64__ when disabling x87 inline functions.
4629
4630 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4631
4632         [BZ #17259]
4633         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4634         asm statement with __cpuid_count.
4635
4636 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4637
4638         * configure.ac: Change __ehdr_start code to dereference the struct.
4639         Run readelf on the output to look for relocations.
4640         * configure: Regenerated.
4641
4642 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4643
4644         [BZ #17261]
4645         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4646         value to 0.
4647         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4648
4649 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4650
4651         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4652
4653 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4654
4655         [BZ #16892]
4656         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4657         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4658
4659 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4660
4661         * malloc/malloc.c: Fix typo in comment.
4662
4663 2014-08-09  Allan McRae  <allan@archlinux.org>
4664
4665         * Regenerate libc.po.
4666
4667 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4668
4669         * intl/tst-gettext2.sh: Check every lang file for creation.
4670
4671 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4672
4673         * sysdeps/aarch64/fpu/math_private.h
4674         (libc_feholdsetround_noex_aarch64_ctx): New function.
4675
4676 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4677
4678         * sysdeps/arm/armv6/strcpy.S (strcpy):
4679         Fix performance issue in misaligned cases.
4680
4681 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4682
4683         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4684         Move definition from termios.h.
4685         (struct termio): Likewise.
4686         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4687         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4688         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4689         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4690         Likewise.
4691         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4692         Move definition to ioctl-types.h
4693         (struct termio): Likewise.
4694         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4695         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4696         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4697         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4698         Likewise.
4699
4700 2014-08-05  Richard Henderson  <rth@redhat.com>
4701
4702         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4703         exceptions.
4704         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4705         Add fraiseexcpt.
4706         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4707         Use __feraiseexcept.
4708         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4709         Protect libm symbols with IS_IN_libm.
4710
4711         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4712
4713 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4714
4715         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4716
4717 2014-08-04  Will Newton  <will.newton@linaro.org>
4718
4719         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4720         file.
4721
4722 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4723
4724         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4725         variants for each function.
4726
4727 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4728
4729         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4730         appended ...
4731         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4732         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4733         appended ...
4734         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4735         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4736         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4737         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4738         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4739         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4740         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4741         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4742         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4743         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4744         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4745         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4746         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4747         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4748         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4749         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4750         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4751         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4752         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4753         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4754         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4755         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4756         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4757         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4758         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4759         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4760         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4761         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4762         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4763         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4764         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4765         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4766         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4767         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4768         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4769         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4770         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4771         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4772         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4773         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4774         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4775         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4776         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4777         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4778         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4779         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4780         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4781         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4782         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4783         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4784         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4785         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4786         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4787         Update #include.
4788         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4789         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4790
4791 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4792
4793         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4794         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4795         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4796         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4797         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4798         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4799
4800 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4801
4802         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4803         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4804         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4805         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4806
4807 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4808
4809         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4810         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4811         (__libc_vfork): Define function under this name.
4812         (__vfork): Define as an alias.
4813         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4814         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4815
4816 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4817
4818         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4819         that was previously under [RESET_PID].
4820         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4821
4822 2014-08-04  Andreas Schwab  <schwab@suse.de>
4823
4824         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4825
4826 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
4827
4828         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4829         (main): Likewise.
4830
4831 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4832
4833         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4834
4835 2014-08-01  Richard Henderon  <rth@redhat.com>
4836
4837         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4838         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4839         typo in exact zero test.
4840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4841         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4842         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4843
4844 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4845
4846         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4847         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4848         * sysdeps/arm/sysdep.h: ... here.
4849         [!__ASSEMBLER__]: Include <stdint.h>.
4850
4851 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4852
4853         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4854         (HAVE_WCTYPE_H): Likewise.
4855         (HAVE_ISWCTYPE): Likewise.
4856         (ENABLE_NLS): Likewise.
4857         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4858         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4859
4860         * posix/regex_internal.c: Check if DEBUG is defined and is
4861         set.
4862
4863         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4864         (HAVE_MBSRTOWCS): Likewise.
4865         * posix/fnmatch.c: Include string.h unconditionally.
4866
4867 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4868
4869         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4870         reversal.
4871
4872 2014-07-31  Roland McGrath  <roland@hack.frob.com>
4873
4874         * sysdeps/generic/safe-fatal.h: New file.
4875         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4876         * nptl/forward.c: Include it.
4877         (__pthread_unwind): Use __safe_fatal as default action, rather
4878         than a bogus use of INTERNAL_SYSCALL that could never work.
4879
4880         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4881         * configure.ac (libc_cv_builtin_trap): New test.
4882         * configure: Regenerated.
4883         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4884         (ABORT_INSTRUCTION): Define using __builtin_trap.
4885
4886         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4887         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4888         * sysdeps/nptl/nptl-signals.h: New file.
4889         * nptl/pthreadP.h: Include <nptl-signals.h>.
4890
4891 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4892
4893         * sysdeps/s390/s390-64/utf16-utf32-z9.c
4894         (ONE_DIRECTION): Define.
4895         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4896         (ONE_DIRECTION): Define.
4897         * sysdeps/s390/s390-64/utf8-utf32-z9.c
4898         (ONE_DIRECTION): Define.
4899
4900 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4901
4902         * sysdeps/s390/Makefile: Delete file.
4903         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4904         * sysdeps/s390/__longjmp.c: Delete file.
4905         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4906         Remove fields __flags and __reserved.
4907         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4908         and add versioning.
4909         * sysdeps/s390/rtld-__longjmp.c: Delete file.
4910         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4911         * sysdeps/s390/rtld-setjmp.S: Likewise.
4912         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4913         * sysdeps/s390/s390-32/__longjmp.c: ... here.
4914         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4915         * sysdeps/s390/s390-32/setjmp.S: ... here.
4916         Add versioning.
4917         (__sigsetjmp): Remove setting __flags field.
4918         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4919         * sysdeps/s390/s390-64/__longjmp.c: ... here.
4920         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4921         * sysdeps/s390/s390-64/setjmp.S: ... here.
4922         Add versioning.
4923         (__sigsetjmp): Remove setting __flags field.
4924         * sysdeps/s390/setjmp.S: Delete file.
4925         * sysdeps/s390/sigjmp.c: Likewise.
4926         * sysdeps/s390/v1-longjmp.c: Likewise.
4927         * sysdeps/s390/v1-setjmp.h: Likewise.
4928         * sysdeps/s390/v1-sigjmp.c: Likewise.
4929         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4930         Remove v1-longjmp_chk.
4931         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4932         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4933         Include debug/longjmp_chk.c and add versioning.
4934         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4935         Include nptl/pt-longjmp.c and add versioning.
4936         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4937         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4938         Include __longjmp.c.
4939         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4940         Move to ...
4941         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4942         (__getcontext): Remove setting __flags field.
4943         Add versioning.
4944         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4945         Don't restore upper high grps.
4946         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4947         Likewise.
4948         (__swapcontext): Remove setting uc_flags field.
4949         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4950         Delete file.
4951         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4952         Include __longjmp.c.
4953         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4954         Move to ...
4955         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4956         (__getcontext): Remove setting __flags field.
4957         Add versioning.
4958         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4959         (__swapcontext): Remove setting uc_flags field.
4960         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4961         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4962         Remove fields uc_high_gprs and __reserved.
4963         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4964         New file with reverted content.
4965         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4966         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4967         Regenerated.
4968         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4969         Regenerated.
4970
4971 2014-07-31  Andreas Schwab  <schwab@suse.de>
4972
4973         * config.h.in (HAVE_IFUNC): Define to 0.
4974         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4975         definedness.
4976
4977 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
4978
4979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4980         memmove-avx-unaligned, memcpy-avx-unaligned and
4981         mempcpy-avx-unaligned.
4982         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4983         Add tests for AVX memcpy functions.
4984         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4985         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4986         memcpy_chk.
4987         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4988         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4989         memmove_chk.
4990         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4991         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4992         mempcpy_chk.
4993         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4994         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4995         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4996
4997 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4998
4999         [BZ #17213]
5000         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5001         powerpc64le.
5002
5003 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5004
5005         [BZ #16839]
5006         * manual/llio.texi: Add section about open file description locks.
5007         * manual/examples/ofdlocks.c: Example of open file description
5008         lock usage.
5009         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5010         F_OFD_SETLK, and F_OFD_SETLKW.
5011
5012 2014-07-23  Allan McRae  <allan@archlinux.org>
5013
5014         * po/es.po: Update Spanish translation from translation project.
5015
5016 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5017
5018         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5019
5020 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5021
5022         [BZ #17078]
5023         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5024         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5025         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5026
5027 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5028
5029         [BZ #17088]
5030         * math/fesetenv.c (__fesetenv)
5031         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5032         * math/feupdateenv.c (__feupdateenv)
5033         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5034
5035         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5036         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5037         (__ASSUME_SOCKETCALL): Do not define.
5038
5039         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5040         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5041         (__ASSUME_SOCKETCALL): Do not define.
5042         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5043         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5044         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5045         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5046         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5047         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5048         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5049         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5050
5051         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5052         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5053         (__ASSUME_SOCKETCALL): Do not define.
5054         (__ASSUME_IPC64): Define unconditionally.
5055         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5056         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5057         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5058         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5059         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5060         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5061         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5062         Likewise.
5063
5064         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5065         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5066         (__ASSUME_SOCKETCALL): Do not define.
5067         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5068         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5069         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5070         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5071         (__ASSUME_REQUEUE_PI): Define unconditionally.
5072         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5073         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5074         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5075         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5076         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5077         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5078
5079         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5080         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5081         (__ASSUME_SOCKETCALL): Do not define.
5082         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5083         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5084         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5085         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5086         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5087         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5088
5089         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5090         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5091         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5092         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5093         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5094         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5095         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5096         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5097         (__ASSUME_GETCPU_SYSCALL): Likewise.
5098
5099         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5100         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5101         cases for individual architectures.
5102         * sysdeps/gnu/configure: Regenerated.
5103         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5104         LIBC_SLIBDIR_RTLDDIR.
5105         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5106         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5107         LIBC_SLIBDIR_RTLDDIR.
5108         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5110         LIBC_SLIBDIR_RTLDDIR.
5111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5112         Regenerated.
5113         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5114         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5115         file.
5116         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5117         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5118         file.
5119         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5120         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5121         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5122         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5123
5124         * sysdeps/aarch64/shlib-versions: Move to ...
5125         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5126         * sysdeps/alpha/shlib-versions: Move to ...
5127         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5128         * sysdeps/arm/shlib-versions: Move to ...
5129         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5130         * sysdeps/hppa/shlib-versions: Move all contents except for
5131         libgcc_s entry to ...
5132         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5133         entry from ...
5134         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5135         * sysdeps/ia64/shlib-versions: Move to ...
5136         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5137         entry from ...
5138         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5139         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5140         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5141         * sysdeps/microblaze/shlib-versions: Move to ...
5142         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5143         * sysdeps/mips/shlib-versions: Move to ...
5144         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5145         entry from ...
5146         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5147         * sysdeps/tile/shlib-versions: Move to ...
5148         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5149         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5150         from ...
5151         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5152         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5153         entry from ...
5154         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5155
5156 2014-07-17  Will Newton  <will.newton@linaro.org>
5157
5158         * sysdeps/arm/bits/atomic.h
5159         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5160         (__arch_compare_and_exchange_bool_16_int): Likewise.
5161         (__arch_compare_and_exchange_bool_64_int): Likewise.
5162
5163         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5164         into an #else block.
5165
5166 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5167
5168         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5169         just Linux configurations.  Test empirically that the compiler sets
5170         __ARM_EABI__, rather than using the tuple to decide.
5171         * sysdeps/arm/preconfigure: Regenerated.
5172         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5173         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5174         contents appended ...
5175         * sysdeps/arm/configure.ac: ... here.
5176         * sysdeps/arm/configure: Regenerated.
5177
5178 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5179
5180         * nptl/pthread_kill.c: New file.
5181         * nptl/pthread_sigmask.c: New file.
5182         * nptl/pthread_sigqueue.c: New file.
5183
5184         * sysdeps/nptl/lowlevellock.h: New file.
5185         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5186         * sysdeps/nptl/lowlevellock-futex.h: New file.
5187
5188         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5189         Remove dead declarations.
5190
5191 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5192
5193         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5194         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5195         config-cflags-avx2.
5196         * sysdeps/x86_64/configure.ac: Likewise.
5197         * sysdeps/i386/configure: Regenerated.
5198         * sysdeps/x86_64/configure: Likewise.
5199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5200         memset-avx2 only if config-cflags-avx2 is yes.
5201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5202         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5203         defined.
5204         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5205         only if HAVE_AVX2_SUPPORT is defined.
5206         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5207
5208 2014-07-14  Alan Modra  <amodra@gmail.com>
5209
5210         [BZ #17153]
5211         * elf/elf.h (DT_PPC64_NUM): Correct value.
5212         * NEWS: Add to fixed bug list.
5213
5214 2014-07-13  Jim Meyering  <meyering@fb.com>
5215
5216         [BZ 17150]
5217         regex: don't deref NULL upon heap allocation failure
5218         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5219         failure in one more place.
5220         To trigger the segfault, configure grep -with-included-regex,
5221         build it, and run these commands:
5222         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5223
5224 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5225
5226         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5227
5228 2014-07-11  Richard Henderson  <rth@redhat.com>
5229
5230         * sysdeps/aarch64/libm-test-ulps: Update.
5231
5232 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5233
5234         [BZ #17135]
5235         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5236         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5237         (__nptl_setxid): Initialize error member.  Call
5238         __nptl_setxid_error.
5239         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5240         * nptl/descr.h (struct xid_command): Add error member.
5241         * nptl/tst-setuid3.c: New file.
5242         * nptl/Makefile (tests): Add it.
5243
5244 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5245
5246         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5247         New define.
5248         (__lll_trylock): Use __lll_base_trylock.
5249         (__lll_cond_trylock): Likewise.
5250
5251 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5252
5253         * nptl/pthread_create.c (start_thread): Use atomic_or and
5254         lll_futex_wake directly rather than lll_robust_dead.
5255         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5256         (lll_robust_dead): Macro removed.
5257         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5258         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5259         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5260         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5261         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5262         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5263         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5264         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5265         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5266         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5267         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5268         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5269         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5270         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5271         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5272
5273         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5274         Use atomic_compare_and_exchange_val_acq directly rather than
5275         lll_robust_trylock.
5276         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5277         (__lll_robust_trylock, lll_robust_trylock): Removed.
5278         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5279         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5280         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5281         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5282         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5283         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5284         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5285         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5286         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5287         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5288         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5289         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5290         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5291         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5292
5293 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5294
5295         * manual/locale.texi (Locale Names): New section documenting
5296         locale name syntax.  Adjust menu and node chaining accordingly.
5297         (Choosing Locale): Reference Locale Names, Locale Categories.
5298         Mention setting LC_ALL=C.  Reflect that name syntax is now
5299         documented.
5300         (Locale Categories): New section title.  Reference Locale Names.
5301         LC_ALL is an environment variable, but not a category.
5302         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5303         description, now in Locale Name.  Reference that section.  Locale
5304         name syntax is now documented.
5305
5306 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5307
5308         [BZ #17137]
5309         * locale/findlocale.c (name_present, valid_locale_name): New
5310         functions.
5311         (_nl_find_locale): Use the loc_name variable to store name
5312         candidates.  Call name_present and valid_locale_name to check and
5313         validate locale names.  Return an error if the locale is invalid.
5314
5315 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5316
5317         * locale/setlocale.c (setlocale): Use strdup for allocating
5318         composite name copy.
5319
5320 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5321
5322         Sync up with gnulib.
5323         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5324         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5325         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5326         and _GL_ARG_NONNULL.
5327         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5328         [!_LIBC]: Include code for Windows and Cygwin.
5329         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5330         Include prototype for int strerror_r.
5331         [!_LIBC] (is_open): New function.
5332         (flush_stdout): New function.
5333         (print_errno_message): Use it.
5334         (error): Likewise.
5335         (error_at_line): Likewise.
5336         (error_tail) Add function attribute macros.  Use
5337         __builtin_expect.
5338
5339         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5340
5341         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5342
5343         * io/ftw.c: Include sys/param.h unconditionally.
5344
5345         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5346
5347         [BZ #17125]
5348         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5349         libc_freeres_ptr.
5350         (freecache): New function to free CACHE on exit.
5351
5352         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5353         initialization.
5354
5355 2014-07-09  David S. Miller  <davem@davemloft.net>
5356
5357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5358
5359         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5360         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5361         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5362         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5363         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5364         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5365         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5366         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5367         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5368         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5369         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5370         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5371         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5372
5373 2014-07-09  Andreas Schwab  <schwab@suse.de>
5374
5375         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5376         output.
5377         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5378         (do_test): Likewise.
5379
5380         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5381
5382 2014-07-09  Will Newton  <will.newton@linaro.org>
5383
5384         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5385         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5386         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5387         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5388         * sysdeps/hppa/start.S (_start): Likewise.
5389
5390 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5391
5392         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5393
5394         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5395         defined.
5396
5397 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5398
5399         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5400         after checking that it is non-NULL.
5401
5402         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5403
5404 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5405
5406         * sysdeps/powerpc/memmove.c: Remove file.
5407         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5408         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5409         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5410         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5411         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5412         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5413         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5414         string memmove instead of removed powerpc one.
5415
5416         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5417         [weak_alias]: Fix compiler warning due trailing data.
5418         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5419         [weak_alias]: Likewise.
5420         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5421         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5422
5423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5424         (__libc_ifunc_impl_list): Add memmove functions.
5425
5426 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5427
5428         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5429         Remove code.
5430         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5431         Likewise
5432         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5433         Likewise
5434         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5435         Likewise
5436         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5437         Likewise
5438         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5439         Likewise
5440         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5441         Likewise
5442         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5443         Likewise
5444         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5445         Likewise
5446         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5447         Likewise
5448         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5449         Likewise
5450         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5451         Likewise
5452         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5453         Likewise
5454         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5455         Likewise
5456         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5457         Likewise
5458         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5459         Likewise
5460         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5461         Likewise
5462
5463 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5464
5465         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5466         to avoid alignment traps in non-cacheable memory.
5467         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5468
5469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5470         multiarch objects.
5471         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5472         file: multiarch power7 memmove.
5473         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5474         multiarch default memmove.
5475         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5476         multiarch memove for powerpc32/power4.
5477
5478         * string/bcopy.c: Use full path to include memmove.c.
5479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5480         multiarch objects.
5481         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5482         bcopy for powerpc64.
5483         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5484         bcopy for powerpc64.
5485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5486         and memmove implementations.
5487         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5488         optimized multiarch memmove for POWER7/powerpc64.
5489         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5490         default multiarch memmove for powerpc64.
5491         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5492         multiarch for powerpc64.
5493         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5494         for POWER7/powerpc64.
5495         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5496         memmove for POWER7/powerpc64.
5497
5498         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5499         glibc default one.
5500
5501         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5502         __ELF_NATIVE_CLASS equal to 64.
5503
5504 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5505
5506         * sysdeps/nptl/lowlevellock.h: File removed.
5507
5508         * NEWS: NPTL is no longer an add-on!
5509         * nptl/internaltypes.h: Moved ...
5510         * sysdeps/nptl/internaltypes.h: ... here.
5511         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5512         * sysdeps/nptl/fork.c: Likewise.
5513         * sysdeps/nptl/gai_misc.h: Likewise.
5514         * sysdeps/nptl/librt-cancellation.c: Likewise.
5515         * sysdeps/nptl/jmp-unwind.c: Likewise.
5516         * sysdeps/nptl/setxid.h: Likewise.
5517         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5518         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5519         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5520         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5521         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5522         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5523         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5524         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5525         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5526         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5527         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5528         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5529         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5530         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5531         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5532         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5533         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5534         * nptl/Makeconfig: Moved ...
5535         * sysdeps/nptl/Makeconfig: ... here.
5536         * nptl/configure: File removed.
5537         * nptl/ANNOUNCE: File removed.
5538         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5539         * sysdeps/unix/sysv/linux/configure: Regenerated.
5540
5541         * nptl/Makefile (routines): Add libc_pthread_init,
5542         libc_multiple_threads, register-atfork and unregister-atfork.
5543         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5544         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5545         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5546         pthread-pi-defines.sym, structsem.sym.
5547         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5548         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5549         [$(subdir) = nptl] (tests): Add tst-setgetname.
5550         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5551         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5552         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5553         [!LIBC_SIGACTION]: Remove aliases.
5554         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5555         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5556         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5557         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5558         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5559         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5560         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5561         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5562         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5563         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5564         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5565         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5566         __libc_allocate_rtsig_private.
5567         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5568         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5569         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5570         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5571         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5572         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5573         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5574         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5575         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5576         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5577         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5578         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5579         * nptl/internaltypes.h: ... here.
5580         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5581         * sysdeps/nptl/jmp-unwind.c: ... here.
5582         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5583         * nptl/libc-lowlevellock.c: ... here.
5584         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5585         * nptl/libc_multiple_threads.c: ... here.
5586         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5587         * nptl/libc_pthread_init.c: ... here.
5588         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5589         * nptl/lowlevelbarrier.sym: ... here.
5590         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5591         * nptl/lowlevelcond.sym: ... here.
5592         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5593         * nptl/lowlevellock.c: ... here.
5594         * nptl/lowlevellock.h: Moved ...
5595         * sysdeps/nptl/lowlevellock.h: ... here.
5596         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5597         * nptl/lowlevelrobustlock.c: ... here.
5598         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5599         * nptl/lowlevelrobustlock.sym: ... here.
5600         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5601         * nptl/lowlevelrwlock.sym: ... here.
5602         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5603         * nptl/pt-fork.c: ... here.
5604         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5605         * nptl/pthread-pi-defines.sym: ... here.
5606         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5607         * nptl/pthread_attr_getaffinity.c: ... here.
5608         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5609         * nptl/pthread_attr_setaffinity.c: ... here.
5610         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5611         * nptl/pthread_mutex_cond_lock.c: ... here.
5612         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5613         Update #include.
5614         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5615         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5616         * nptl/pthread_once.c: ... here, replacing old file.
5617         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5618         * nptl/pthread_yield.c: ... here.
5619         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5620         * nptl/register-atfork.c: ... here.
5621         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5622         * nptl/sem_post.c: ... here.
5623         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5624         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5625         * nptl/sem_timedwait.c: ... here.
5626         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5627         * nptl/sem_trywait.c: ... here.
5628         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5629         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5630         * nptl/sem_wait.c: ... here.
5631         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5632         * nptl/structsem.sym: ... here.
5633         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5634         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5635         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5636         * nptl/unregister-atfork.c: ... here.
5637         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5638         * nptl/unwindbuf.sym: ... here.
5639         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5640         * sysdeps/nptl/fork.c: ... here.
5641         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5642         * sysdeps/nptl/fork.h: ... here.
5643         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5644         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5645         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5646         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5647         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5648         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5649         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5650         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5651         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5652         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5653         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5654         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5655         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5656         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5657         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5658         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5659         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5660         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5661         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5662         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5663         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5664         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5665         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5666         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5667         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5668         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5669         * sysdeps/unix/sysv/linux/raise.c: ... here.
5670         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5671         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5672         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5673         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5674         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5675         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5676         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5677         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5678         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5679         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5680         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5681         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5682         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5683         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5684         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5685
5686 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5687
5688         * sysdeps/generic/memcopy.h: Add comment for
5689         MEMCPY_OK_FOR_FWD_MEMMOVE.
5690
5691 2014-07-04  Will Newton  <will.newton@linaro.org>
5692
5693         * string/memchr.c: Merge from gnulib.
5694         [_LIBC]: Remove conditionals.
5695         (__ptr_t): Remove define.
5696         (LONG_MAX_32_BITS): Likewise.
5697         (LONG_MAX): Likewise.
5698         (MEMCHR): Use ANSI prototype and optimize algorithm.
5699
5700         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5701
5702 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5703
5704         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5705         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5706
5707         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5708         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5709         in a bare environment with no <stdlib.h> installed.
5710         * sysdeps/nptl/configure: Regenerated.
5711
5712         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5713
5714         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5715         AC_EGREP_CPP for kernel header checks, so they only succeed if
5716         including <linux/version.h> actually works right.
5717         * sysdeps/unix/sysv/linux/configure: Regenerated.
5718
5719         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5720         value so it's not diagnosed as unused.
5721
5722         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5723         thing) with "ifeq ($(subdir),rt)".
5724
5725 2014-07-03  Richard Henderson  <rth@redhat.com>
5726
5727         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5728         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5729         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5730
5731         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5732         (math_force_eval): New.
5733
5734         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5735         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5736
5737         * sysdeps/alpha/fpu/s_round.c: Remove file.
5738         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5739
5740         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5741         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5742         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5743         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5744         (_dl_start, print_statistics): Likewise.
5745         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5746         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5747
5748         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5749         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5750         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5751         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5752         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5753         (HP_SMALL_TIMING_AVAIL): Define.
5754         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5755         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5756         (HP_SMALL_TIMING_AVAIL): Define.
5757         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5758         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5759
5760         * sysdeps/aarch64/hp-timing.h: New file.
5761
5762         * sysdeps/generic/hp-timing.h: Remove dead comment.
5763         * sysdeps/generic/hp-timing-common.h: New file.
5764         * sysdeps/alpha/hp-timing.h: Include it.
5765         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5766         * sysdeps/i386/i686/hp-timing.h: Likewise.
5767         * sysdeps/ia64/hp-timing.h: Likewise.
5768         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5769         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5770         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5771         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5772         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5773         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5774         (hp_timing_t): New.
5775
5776         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5777         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5778         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5779         * elf/rtld.c (_dl_start_final): Likewise.
5780         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5781         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5782         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5783         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5784         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5785         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5786         (HP_TIMING_DIFF_INIT): Remove.
5787         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5788         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5789         (HP_TIMING_DIFF_INIT): Remove.
5790         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5791         * sysdeps/i386/i686/hp-timing.c: Remove file.
5792         * sysdeps/x86_64/hp-timing.c: Remove file.
5793         * sysdeps/ia64/hp-timing.c: Remove file.
5794         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5795         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5796         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5797         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5798
5799         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5800         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5801         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5802         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5803         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5804         (HP_TIMING_ACCUM): Remove.
5805         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5806         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5807         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5808
5809         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5810         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5811         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5812         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5813         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5814         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5815         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5816         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5817
5818         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5819
5820 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
5821
5822         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5823
5824 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5825
5826         Sync up with gettext.
5827         * intl/loadmsgcat.c: Define O_BINARY if not defined.
5828         [_MSC_VER]: Include malloc.h
5829         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5830         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5831         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
5832         TEMP_FAILURE_RETRY.  Cast return of alloca.
5833         [!_LIBC] Call gl_rwlock_init.
5834         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5835
5836 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5837
5838         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5839         before checking its value.
5840
5841 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5842
5843         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5844
5845         * debug/memcpy_chk.c: Don't include pagecopy.h.
5846         * debug/mempcpy_chk.c: Likewise.
5847         * string/memcpy.c: Likewise.
5848         * string/memmove.c: Likewise.
5849         * sysdeps/powerpc/memmove.c: Likewise.
5850         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
5851         definition of PAGE_COPY_FWD_MAYBE here...
5852         * sysdeps/generic/pagecopy.h: ... from here.
5853         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5854
5855 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5856             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5857
5858         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5860         optimizations.
5861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5862         (__libc_ifunc_impl_list): Likewise.
5863         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5864         multiarch strcat for PPC64.
5865         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5866         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5867
5868 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5869
5870         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5871
5872 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5873
5874         * intl/loadmsgcat.c: Remove declaration of
5875         get_sysdep_segment_value.
5876         (get_sysdep_segment_value): Use ISO C style.
5877         (_nl_load_domain): Use ISO C style.  Get rid of redundant
5878         semicolon.  Fix typo and formatting in comment.
5879         (_nl_unload_domain): Use ISO C style.
5880
5881         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5882
5883 2014-07-02  Will Newton  <will.newton@linaro.org>
5884
5885         * malloc/obstack.c: Merge from gnulib master.
5886         [HAVE_CONFIG_H]: Remove conditional code.
5887         [!_LIBC]: Include config.h.
5888         [!ELIDE_CODE]: Don't include inttypes.h, include
5889         stdint.h unconditionally.
5890         (print_and_abort): Mark as _Noreturn.
5891         (_obstack_allocated_p): Mark as __attribute_pure__.
5892         (obstack_free): Rename to __obstack_free.
5893         [!__attribute__]: Remove conditional code.
5894         * malloc/obstack.h: Merge from gnulib master.
5895         [__cplusplus]: Move conditional down.
5896         [!__attribute_pure__]: Define __attribute_pure__ here
5897         if it is not already defined.
5898         (_obstack_memory_used): Mark as __attribute_pure__.
5899         [!__obstack_free]: Define as obstack_free.
5900         [__GNUC__]: Remove check for ancient NeXT gcc.
5901
5902 2014-07-02  Will Newton  <will.newton@linaro.org>
5903             Paul Eggert  <eggert@cs.ucla.edu>
5904
5905         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5906
5907 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5908
5909         * resolv/gethnamaddr.c: Add comment warning that the file is
5910         not maintained.
5911
5912 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
5913
5914         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5915         entries.
5916
5917         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5918         entry for aio_cancel and aio_cancel64.
5919         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5920         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5921         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5922         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5923         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5924         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5925         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5926         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5927         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5928         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5929         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5930         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5931         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5932
5933 2014-07-01  Roland McGrath  <roland@hack.frob.com>
5934
5935         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5936         * nptl/pthread_mutex_lock.c: Likewise.
5937         * nptl/pthread_mutex_timedlock.c: Likewise.
5938         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5939
5940 2014-07-01  Richard henderson  <rth@redhat.com>
5941
5942         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5943         (__isnan, __isnanl): Remove.
5944         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5945
5946         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5947
5948 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5949
5950         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5951
5952 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5953
5954         * resolv/nss_dns/dns-host.c (getanswer_r)
5955         [MULTI_PTRS_ARE_ALIASES]: Remove code.
5956
5957 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
5958
5959         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5960         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5961         undefine.
5962         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5963         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5964
5965 2014-07-01  Roland McGrath <roland@hack.frob.com>
5966
5967         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5968         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5969
5970         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5971         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5972
5973         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5974         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5975         ... here.
5976         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5977         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5978
5979         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5980         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5981         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5982         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5983
5984         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5985         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5986         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5987         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5988         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5989         Moved ...
5990         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5991         ... here.
5992         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5993         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5994         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5995         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5996         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5997         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5998         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5999         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6000         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6001         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6002         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6003         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6004         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6005         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6006         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6007         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6008         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6009         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6010         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6011         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6012         ... here.
6013         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6014         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6015         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6016         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6017         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6018         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6019         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6020         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6021
6022 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6023
6024         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6025         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6026         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6027         Add sysdep.
6028
6029 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6030
6031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6032
6033 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6034
6035         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6036         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6037
6038         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6039
6040         * sysdeps/arm/libm-test-ulps: Regenerated.
6041
6042 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6043             Roland McGrath <roland@hack.frob.com>
6044
6045         * test-skeleton.c (signal_handler): Kill the whole process group
6046         before killing the child individually.
6047         (main): Report any failure on `setpgid'.
6048
6049 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6050
6051         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6052         from _TLS_H to _ARM_NPTL_TLS_H.
6053         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6054         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6055
6056 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6057
6058         [BZ #16539]
6059         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6060         (__expm1l): Return argument unchanged when small but not
6061         subnormal.
6062
6063         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6064         include macro name.
6065         (_FP_UNPACK_RAW_1_P): Likewise.
6066         (_FP_PACK_RAW_1): Likewise.
6067         (_FP_PACK_RAW_1_P): Likewise.
6068         (_FP_MUL_MEAT_1_wide): Likewise.
6069         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6070         (_FP_MUL_MEAT_1_hard): Likewise.
6071         (_FP_DIV_MEAT_1_imm): Likewise.
6072         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6073         (_FP_DIV_MEAT_1_udiv): Likewise.
6074         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6075         (_FP_UNPACK_RAW_2): Likewise.
6076         (_FP_UNPACK_RAW_2_P): Likewise.
6077         (_FP_PACK_RAW_2): Likewise.
6078         (_FP_PACK_RAW_2_P): Likewise.
6079         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6080         (_FP_MUL_MEAT_2_wide): Likewise.
6081         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6082         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6083         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6084         (_FP_MUL_MEAT_2_gmp): Likewise.
6085         (_FP_DIV_MEAT_2_udiv): Likewise.
6086         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6087         (_FP_FRAC_SRL_4): Likewise.
6088         (_FP_FRAC_SRST_4): Likewise.
6089         (_FP_FRAC_SRS_4): Likewise.
6090         (_FP_UNPACK_RAW_4): Likewise.
6091         (_FP_UNPACK_RAW_4_P): Likewise.
6092         (_FP_PACK_RAW_4): Likewise.
6093         (_FP_PACK_RAW_4_P): Likewise.
6094         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6095         (_FP_MUL_MEAT_4_wide): Likewise.
6096         (_FP_MUL_MEAT_4_gmp): Likewise.
6097         (umul_ppppmnnn): Likewise.
6098         (_FP_DIV_MEAT_4_udiv): Likewise.
6099         (__FP_FRAC_ADD_4): Likewise.
6100         (__FP_FRAC_SUB_3): Likewise.
6101         (__FP_FRAC_SUB_4): Likewise.
6102         (__FP_FRAC_DEC_3): Likewise.
6103         (__FP_FRAC_DEC_4): Likewise.
6104         (__FP_FRAC_ADDI_4): Likewise.
6105         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6106         (_FP_FRAC_SRL_8): Likewise.
6107         (_FP_FRAC_SRS_8): Likewise.
6108
6109         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6110         include macro name.
6111         (FP_UNPACK_RAW_EP): Likewise.
6112         (FP_PACK_RAW_E): Likewise.
6113         (FP_PACK_RAW_EP): Likewise.
6114         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6115         (_FP_ISSIGNAN): Likewise.
6116         (_FP_ADD_INTERNAL): Likewise.
6117         (_FP_FMA): Likewise.
6118         (_FP_CMP): Likewise.
6119         (_FP_SQRT): Likewise.
6120         (_FP_TO_INT): Likewise.
6121         (_FP_FROM_INT): Likewise.
6122         (FP_EXTEND): Likewise.
6123         (_FP_DIV_MEAT_N_loop): Likewise.
6124
6125 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6126
6127         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6128         throughout.
6129
6130 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6131
6132         [BZ #17097]
6133         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6134         result with correct sign in case of exponents that produce
6135         overflow except for X very close to 1.
6136
6137 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6138
6139         mktime: merge #if/#ifdef usage from glibc
6140         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6141         as that works with both Glibc's and Gnulib's style.
6142         See thread starting at Siddhesh Poyarekar's bug report at:
6143         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6144
6145 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6146
6147         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6148         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6149         * sysdeps/tile/tilegx/memmove.c: Remove file.
6150
6151 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6152
6153         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6154         abi-name definition.
6155         * scripts/soversions.awk: Do not handle or generate ABI lines.
6156         * shlib-versions: Remove ABI entries.
6157         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6158         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6159
6160 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6161
6162         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6163         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6164         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6165         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6167         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6169         Moved ...
6170         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6171         ... here.
6172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6173         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6174         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6175         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6177         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6179         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6181         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6182         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6183         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6184         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6185         Moved ...
6186         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6188         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6189         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6190         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6191         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6192         Moved ...
6193         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6195         Moved ...
6196         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6197         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6198         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6199         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6200         Moved ...
6201         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6203         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6205         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6207         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6209         Moved ...
6210         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6211         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6212         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6213         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6214         Moved ...
6215         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6216         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6217         Moved ...
6218         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6219         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6220         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6221         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6222         Moved ...
6223         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6224         ... here.
6225         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6226         Identical file removed.
6227         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6228         Moved ...
6229         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6230         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6231         Identical file removed.
6232         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6233         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6234         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6235         Moved ...
6236         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6237         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6238         Identical file removed.
6239         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6240         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6241         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6242         Identical file removed.
6243         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6244         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6245         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6246         Identical file removed.
6247         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6248         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6249         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6250         Identical file removed.
6251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6252         Moved ...
6253         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6254         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6255         Identical file removed.
6256         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6257         Moved ...
6258         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6259         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6260         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6261         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6262         Identical file removed.
6263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6264         Moved ...
6265         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6266         ... here.
6267         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6268         Identical file removed.
6269         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6270         Moved ...
6271         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6272         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6273         Identical file removed.
6274         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6275         Moved ...
6276         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6277         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6278         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6279         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6280         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6281         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6282         Moved ...
6283         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6284         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6285         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6286
6287         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6288         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6289         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6290         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6291         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6292
6293 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6294
6295         [BZ #17092]
6296         * nscd/nscd.c (monitor_child): Return exit status of child
6297         instead of return value from wait syscall.
6298
6299 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6300
6301         * configure.ac (libc_commonpagesize): Remove variable.
6302         (libc_relro_required): Likewise.
6303         (libc_cv_z_relro): Remove configure test.
6304         * configure: Regenerated.
6305         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6306         variable.
6307         (libc_relro_required): Likewise.
6308         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6309         (libc_relro_required): Likewise.
6310         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6311         (libc_relro_required): Likewise.
6312         * sysdeps/arm/preconfigure: Regenerated.
6313         * sysdeps/ia64/preconfigure: Remove file.
6314         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6315         variable.
6316         (libc_relro_required): Likewise.
6317
6318         [BZ #16561]
6319         [BZ #16562]
6320         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6321         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6322         recompute overflowing results in original rounding mode.
6323         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6324         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6325         recompute overflowing results in original rounding mode.
6326         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6327         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6328         recompute overflowing results in original rounding mode.
6329         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6330         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6331         recompute overflowing results in original rounding mode.
6332         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6333         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6334         recompute overflowing results in original rounding mode.
6335         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6336         (libc_feholdsetround_ctx): New macro.
6337         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6338         * sysdeps/i386/fpu/libm-test-ulps: Update.
6339         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6340
6341 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6342
6343         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6344         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6345         corresponding .cpsetup call.
6346
6347 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6348
6349         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6350         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6351         * sysdeps/arm/Makefile [$(subdir) = csu]
6352         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6353         (static-only-routines): Add aeabi_read_tp here.
6354         (shared-only-routines): Add libc-aeabi_read_tp here.
6355         (CFLAGS-libc-start.c): Add -fexceptions here.
6356         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6357         (sysdep_routines, static-only-routines, shared-only-routines):
6358         Don't add to these here.
6359         (CFLAGS-libc-start.c): Likewise.
6360
6361         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6362         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6363         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6364         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6365         * sysdeps/arm/Makefile [$(subdir) = rt]
6366         (librt-sysdep_routines, librt-shared-only-routines):
6367         Append rt-aeabi_unwind_cpp_pr1 here.
6368         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6369         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6370         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6371         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6372         Append nptl-aeabi_unwind_cpp_pr1 here.
6373         (tests): Filter out tst-cleanupx4 here.
6374         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6375         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6376         Don't do those here.
6377
6378 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6379
6380         * scripts/list-sources.sh: Do not handle ports specially.
6381
6382 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6383
6384         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6385         * sysdeps/arm/feupdateenv.c: Likewise.
6386
6387         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6388
6389 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6390
6391         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6392         trailing whitespace removed.
6393         * scripts/config.guess: Update to version 2014-03-23.
6394         * scripts/config.sub: Update to version 2014-05-01
6395         * scripts/install-sh: Update to version 2013-12-25.23.
6396         * scripts/move-if-change: Update from gnulib.
6397
6398 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6399
6400         * debug/memmove_chk.c: Remove pagecopy.h include.
6401
6402 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6403
6404         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6405         identical to gnulib mktime.
6406
6407 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6408
6409         * configure.ac: Do not test for machine being rs6000.  Do not test
6410         for powerpc*-*soft.
6411         * configure: Regenerated.
6412
6413         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6414         test.
6415         * configure: Regenerated.
6416         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6417         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6418         Remove configure test.
6419         * sysdeps/arm/configure: Regenerated.
6420         * sysdeps/nptl/configure.ac: Do not check
6421         libc_cv_asm_cfi_directives.
6422         * sysdeps/nptl/configure: Regenerated.
6423         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6424         * sysdeps/x86_64/nptl/configure: Remove generated file.
6425         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6426         unconditional.
6427         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6428
6429 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6430
6431         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6432         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6433         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6434         it is defined.
6435
6436         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6437         instead of whether it is defined.
6438         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6439         * sysdeps/hppa/dl-machine.h: Likewise.
6440         * sysdeps/ia64/dl-machine.h: Likewise.
6441         * sysdeps/m68k/dl-machine.h: Likewise.
6442         * sysdeps/microblaze/dl-machine.h: Likewise.
6443         * sysdeps/mips/dl-machine.: Likewise.
6444         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6445         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6446         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6447         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6448         * sysdeps/sh/dl-machine.h: Likewise.
6449         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6450         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6451         * sysdeps/tile/dl-machine.h: Likewise.
6452         * sysdeps/x86_64/dl-machine.h: Likewise.
6453
6454         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6455         code.
6456         (verify_persistent_db): Likewise.
6457
6458 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6459
6460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6461         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6463         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6465         Moved ...
6466         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6467         ... here.
6468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6469         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6471         Identical file removed.
6472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6473         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6475         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6477         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6479         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6481         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6483         Moved ...
6484         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6486         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6488         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6490         Moved ...
6491         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6493         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6495         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6497         Identical file removed.
6498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6499         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6501         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6503         Moved ...
6504         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6505         ... here.
6506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6507         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6509         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6511         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6513         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6515         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6517         Moved ...
6518         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6520         Moved ...
6521         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6523         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6525         Moved ...
6526         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6528         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6529
6530         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6531         folded into ...
6532         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6533         * sysdeps/unix/sysv/linux/s390/Versions
6534         (libpthread: GLIBC_2.19): New version set.
6535         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6536         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6537         (librt: GLIBC_2.3.3): New version set.
6538         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6539         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6540         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6541         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6542         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6543         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6544         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6545         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6546         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6547         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6548         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6549         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6550         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6551         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6552         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6553         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6554         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6555         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6556         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6557         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6558         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6559         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6560         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6561         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6562         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6563         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6564         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6565         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6566         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6567         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6568         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6569         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6570         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6571         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6572         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6573         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6574         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6575         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6576         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6577         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6578         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6579         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6580         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6581         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6582         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6583
6584         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6585         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6586         (__libc_vfork): Define the function under this name.
6587         [!NOT_IN_libc] (__vfork): Make this an alias.
6588         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6589         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6590         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6591         (__libc_vfork): Define the function under this name.
6592         [!NOT_IN_libc] (__vfork): Make this an alias.
6593         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6594         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6595         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6596         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6597         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6598         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6599
6600         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6601         code that was previously under [RESET_PID].
6602         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6603         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6605
6606         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6607         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6608         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6609         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6610         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6611         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6612         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6613         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6614         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6615         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6616         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6617         Moved ...
6618         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6619         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6620         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6621         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6622         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6623         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6624         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6625         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6626         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6627         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6628         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6629         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6630         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6631         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6632         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6633         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6634         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6635         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6636         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6637         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6638         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6639         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6640         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6641         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6642         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6643         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6644         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6645         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6646         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6647
6648 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6649
6650         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6651         that was previously under [RESET_PID].
6652         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6653
6654 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6655
6656         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6657         not undefine and redefine.
6658         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6659         [O_CLOEXEC]: Make code unconditional.
6660         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6661         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6662         <kernel-features.h>.
6663         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6664         conditional variable definition.
6665         (shm_open) [O_CLOEXEC]: Make code unconditional.
6666         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6667         code.
6668
6669         * configure.ac (USE_REGPARMS): Don't define here.
6670         * configure: Regenerated.
6671         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6672         * sysdeps/i386/configure: Regenerated.
6673
6674         * nptl/createthread.c: Don't include kernel-features.h.
6675         * nptl/pthread_cancel.c: Likewise.
6676         * nptl/pthread_condattr_setclock.c: Likewise.
6677         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6678         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6679         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6680         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6681         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6682         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6683         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6684         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6686         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6687         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6688         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6689         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6690         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6691         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6692         * nscd/gai.c: Likewise.
6693         * nss/nss_db/db-open.c: Likewise.
6694         * sysdeps/generic/ldsodefs.h: Likewise.
6695         * sysdeps/sh/nptl/tls.h: Likewise.
6696         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6697         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6698         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6699         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6700         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6701         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6702         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6703         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6704         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6705         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6706         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6707         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6708         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6709         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6710         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6711         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6712         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6713         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6714         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6715         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6716         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6717         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6718         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6719         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6720         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6721         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6722         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6723         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6724         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6725         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6726         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6727         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6728         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6729         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6730         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6731         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6732         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6733         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6734         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6735         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6736         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6737         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6738         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6739         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6740         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6741         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6742         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6743         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6744         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6745         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6746         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6747         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6748         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6749         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6750         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6751         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6752         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6753         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6776         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6777         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6778         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6779         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6780         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6781         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6782         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6783         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6784         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6785         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6786         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6787         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6788         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6789         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6790         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6791         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6792         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6793         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6794         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6795         * sysdeps/unix/sysv/linux/system.c: Likewise.
6796         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6797         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6798         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6799         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6800         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6801         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6802         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6803
6804         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6805         * configure: Regenerated.
6806         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6807
6808         * configure.ac (base_machine): Do not set specially for particular
6809         machines here.
6810         * configure: Regenerated.
6811         * sysdeps/powerpc/preconfigure: Move machine and base_machine
6812         settings from configure.ac.
6813         * sysdeps/i386/preconfigure: New file.
6814         * sysdeps/s390/preconfigure: Likewise.
6815         * sysdeps/sh/preconfigure: Likewise.
6816         * sysdeps/sparc/preconfigure: Likewise.
6817
6818 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6819
6820         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6821         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6822         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6823         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6824         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6825         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6826         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6827         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6828         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6829         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6830         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6831         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6832         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6833         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6834         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6835         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6836         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6837         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6838         * sysdeps/sparc/sparc64/Makefile: ... appended here.
6839
6840         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6841         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6842         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6843         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6844         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6845         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6846         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6847         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6848         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6849         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6850         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6851         * sysdeps/sparc/sparc32/sem_post.c: ... here.
6852         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6853         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6854         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6855         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6856         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6857         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6858         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6859         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6860         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6861         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6862         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6863         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6864         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6865         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6866         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6867         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6868         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6869         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6870         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6871         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6872         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6873         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6874         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6875         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6876         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6877         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6878
6879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6880         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6882         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6884         Moved ...
6885         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6886         ... here.
6887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6888         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6890         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6892         Moved ...
6893         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6895         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6897         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6899         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6901         Moved ...
6902         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6904         Moved ...
6905         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6907         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6909         Moved ...
6910         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6912         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6914         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6916         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6918         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6920         Moved ...
6921         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6922         ... here.
6923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6924         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6926         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6928         Moved ...
6929         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6931         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6933         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6935         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6937         Moved ...
6938         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6940         Moved ...
6941         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6943         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6945         Moved ...
6946         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6948         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6950         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6951
6952 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6953
6954         * timezone/checktab.awk: Update from tzcode 2014e.
6955         * timezone/private.h: Likewise.
6956         * timezone/tzfile.h: Likewise.
6957         * timezone/zdump.c: Likewise.
6958         * timezone/zic.c: Likewise.
6959
6960         * sysdeps/unix/sysv/linux/kernel-features.h
6961         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6962         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6963         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6964         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6965         Remove conditional code.
6966
6967 2014-06-25  Will Newton  <will.newton@linaro.org>
6968
6969         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6970         (_dl_arm_cap_flags): Add HWCAP2 values.
6971         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6972         (_DL_HWCAP_COUNT): Increase to 37.
6973         (_DL_HWCAP_LAST): New define.
6974         (_DL_HWCAP2_LAST): New define.
6975         (_dl_procinfo): Add support for printing
6976         AT_HWCAP2 entries.
6977         (_dl_string_hwcap): Use _dl_hwcap_string.
6978
6979 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6980
6981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6982
6983 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6984
6985         * README: Do not mention ports directory.
6986
6987         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6988         Remove macro.
6989         * sysdeps/unix/sysv/linux/futimes.c: Do not include
6990         <kernel-features.h>.
6991         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6992         conditional variable definition.
6993         (__futimes): Update comment.
6994         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6995         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6996
6997         [BZ #16560]
6998         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6999         arguments close to 0.
7000         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7001         Likewise.
7002         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7003         Likewise.
7004         * math/auto-libm-test-in: Add more tests of exp10.
7005         * math/auto-libm-test-out: Regenerated.
7006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7007
7008         * sysdeps/unix/sysv/linux/kernel-features.h
7009         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7010         * sysdeps/unix/sysv/linux/readv.c: Do not include
7011         <kernel-features.h>.
7012         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7013         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7014         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7015         unconditional.
7016         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7017         conditional code.
7018         * sysdeps/unix/sysv/linux/writev.c: Do not include
7019         <kernel-features.h>.
7020         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7021         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7022         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7023         unconditional.
7024         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7025         conditional code.
7026
7027 2014-06-25  Will Newton  <will.newton@linaro.org>
7028
7029         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7030         comment changes throughout the file.  Remove checks
7031         for HAVE_*_H definitions that are not required.
7032         (__gen_tempname): Call abort if an unknown kind value is
7033         passed.
7034
7035 2014-06-25  Andreas Schwab  <schwab@suse.de>
7036
7037         [BZ #17086]
7038         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7039         scalbln, scalblnf, scalblnl in libc.
7040
7041 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7042
7043         [BZ #17086]
7044         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7045         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7046         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7047
7048 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7049
7050         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7051         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7052         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7053         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7054         Update #include.
7055         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7056         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7057         Update #include.
7058         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7059         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7060         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7061         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7062         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7063         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7064         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7065         * sysdeps/x86/bits/semaphore.h: ... here.
7066         * sysdeps/x86/nptl/elide.h: Moved ...
7067         * sysdeps/x86/elide.h: ... here.
7068         * sysdeps/x86_64/nptl/Implies: File removed.
7069         * sysdeps/i386/nptl/Implies: File removed.
7070
7071 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7072
7073         [BZ #16539]
7074         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7075         return the argument for normal arguments with exponent below -64.
7076         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7077         Likewise.
7078         * math/auto-libm-test-in: Add another test of expm1.
7079         * math/auto-libm-test-out: Regenerated.
7080
7081         [BZ #16287]
7082         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7083         calling __erfcl for arguments at least 16.
7084         * math/auto-libm-test-in: Add more tests of erf.
7085         * math/auto-libm-test-out: Regenerated.
7086
7087         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7088         individual architectures.
7089         * sysdeps/unix/sysv/linux/configure: Regenerated.
7090         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7091         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7092         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7093         (ldd_rewrite_script): Define variable.
7094         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7096         file.
7097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7098         generated file.
7099         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7100         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7101         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7102         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7103         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7104         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7105         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7106         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7107
7108 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7109
7110         [BZ #17084]
7111         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7112         Rename member __data.d to __data.__elision_data.
7113
7114 2014-06-24  Wilco  <wdijkstr@arm.com>
7115
7116         * NEWS: Add 16918 to fixed bug list.
7117
7118 2014-06-24  Wilco  <wdijkstr@arm.com>
7119
7120         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7121
7122 2014-06-24  Wilco  <wdijkstr@arm.com>
7123
7124         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7125         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7126         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7127         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7128         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7129         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7130         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7131         Use _FPU_MASK_RM.
7132
7133 2014-06-24  Wilco  <wdijkstr@arm.com>
7134
7135         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7136
7137 2014-06-24  Wilco  <wdijkstr@arm.com>
7138
7139         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7140         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7141         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7142         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7143
7144 2014-06-24  Wilco  <wdijkstr@arm.com>
7145
7146         [BZ #16918]
7147         * sysdeps/arm/feupdateenv.c (feupdateenv):
7148         Rewrite to reduce FPSCR accesses and fix return value.
7149
7150 2014-06-24  Wilco  <wdijkstr@arm.com>
7151
7152         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7153         Optimize to avoid unnecessary FPSCR writes.
7154         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7155         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7156         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7157         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7158
7159 2014-06-24  Wilco  <wdijkstr@arm.com>
7160
7161         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7162         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7163         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7164         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7165         Call libc_fetestexcept_vfp.
7166         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7167         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7168         __SOFTFP__ ifdef so that they can be built for softfp.
7169
7170 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7171
7172         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7173         argument type signed char.
7174
7175         * Makerules (check-abi): Dump diff of symlist if the test
7176         fails.
7177
7178 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7179
7180         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7181         using abort.
7182
7183         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7184         Remove unused variable ST.
7185
7186 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7187
7188         [BZ #16354]
7189         [BZ #17061]
7190         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7191         small arguments before calling __expm1.
7192         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7193         small arguments before calling __expm1f.
7194         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7195         small arguments before calling __expm1l.
7196         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7197         Likewise.
7198         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7199         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7200         spurious underflow for some cosh tests.
7201         * math/auto-libm-test-out: Regenerated.
7202         * sysdeps/i386/fpu/libm-test-ulps: Update.
7203
7204         [BZ #17050]
7205         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7206         (__ieee754_y1): Set errno if return value overflows.
7207         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7208         (__ieee754_y1f): Set errno if return value overflows.
7209         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7210         (__ieee754_y1l): Set errno if return value overflows.
7211         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7212         (__ieee754_y1l): Set errno if return value overflows.
7213         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7214         * math/auto-libm-test-out: Regenerated.
7215
7216         * math/gen-auto-libm-tests.c: Document use of
7217         ignore-zero-inf-sign.
7218         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7219         (input_flags): Add ignore-zero-inf-sign.
7220         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7221         * math/gen-libm-test.pl (generate_testfile): Handle
7222         ignore-zero-inf-sign.
7223         * math/auto-libm-test-in: Mark some cpow tests with
7224         ignore-zero-inf-sign and some with xfail-rounding.
7225         * math/auto-libm-test-out: Regenerated.
7226         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7227         * sysdeps/i386/fpu/libm-test-ulps: Update.
7228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7229
7230         [BZ #16315]
7231         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7232         overflowing or underflowing operations take place with sign of
7233         result.
7234         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7235         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7236         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7237         (__ieee754_pow): Recompute overflowing and underflowing results in
7238         original rounding mode.
7239         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7240         (__powl_helper): Allow negative argument X and scale negated value
7241         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7242         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7243         overflowing or underflowing operations take place with sign of
7244         result.
7245         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7246         Include <math.h>.
7247         * math/auto-libm-test-in: Add more tests of pow.
7248         * math/auto-libm-test-out: Regenerated.
7249         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7250         (pow_tonearest_test_data): Remove.
7251         (pow_test_tonearest): Likewise.
7252         (pow_towardzero_test_data): Likewise.
7253         (pow_test_towardzero): Likewise.
7254         (pow_downward_test_data): Likewise.
7255         (pow_test_downward): Likewise.
7256         (pow_upward_test_data): Likewise.
7257         (pow_test_upward): Likewise.
7258         (main): Don't call removed functions.
7259         * sysdeps/i386/fpu/libm-test-ulps: Update.
7260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7261
7262 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7263
7264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7265         Moved ...
7266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7268         Moved ...
7269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7271         Moved ...
7272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7274         Moved ...
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7277         File removed.
7278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7279         File removed.
7280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7281         File removed.
7282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7283         File removed.
7284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7285         File removed.
7286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7287         File removed.
7288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7289         File removed.
7290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7291         File removed.
7292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7293         File removed.
7294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7295         File removed.
7296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7297         File removed.
7298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7299         File removed.
7300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7301         Moved ...
7302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7304         Moved ...
7305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7306         ... here.
7307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7308         Moved ...
7309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7311         Moved ...
7312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7314         Moved ...
7315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7317         Moved ...
7318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7320         Moved ...
7321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7323         Moved ...
7324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7326         Moved ...
7327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7330         ... here.
7331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7332         Moved ...
7333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7335         Moved ...
7336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7337         ... here.
7338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7339         Moved ...
7340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7341         ... here.
7342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7343         Moved ...
7344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7345         ... here.
7346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7347         Moved ...
7348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7350         Moved ...
7351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7355         Moved ...
7356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7357         ... here.
7358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7359         Moved ...
7360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7361         ... here.
7362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7363         Moved ...
7364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7366         Moved ...
7367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7369         Moved ...
7370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7372         Moved ...
7373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7375         Moved ...
7376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7377         ... here.
7378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7379         Moved ...
7380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7382         Moved ...
7383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7385         Moved ...
7386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7388         Moved ...
7389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7393         Moved ...
7394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7396         Moved ...
7397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7399         Moved ...
7400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7401         ... here.
7402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7403         Moved ...
7404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7405         ... here.
7406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7407         Moved ...
7408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7409         ... here.
7410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7411         Moved ...
7412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7414         Moved ...
7415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7417         Moved ...
7418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7420         Moved ...
7421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7422         ... here.
7423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7424         Moved ...
7425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7426         ... here.
7427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7428         Moved ...
7429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7430         ... here.
7431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7432         Moved ...
7433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7435         Moved ...
7436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7437
7438 2014-06-23  Will Newton  <will.newton@linaro.org>
7439             Wilco  <wdijkstr@arm.com>
7440
7441         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7442         implementation.  Include get-rounding-mode.h.
7443         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7444         [!libc_feholdsetround_noex_ctx]: Define
7445         libc_feholdsetround_noex_ctx.
7446         [!libc_feholdsetround_noexf_ctx]: Define
7447         libc_feholdsetround_noexf_ctx.
7448         [!libc_feholdsetround_noexl_ctx]: Define
7449         libc_feholdsetround_noexl_ctx.
7450         (libc_feholdsetround_ctx): New function.
7451         (libc_feresetround_ctx): New function.
7452         (libc_feholdsetround_noex_ctx): New function.
7453         (libc_feresetround_noex_ctx): New function.
7454
7455 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7456
7457         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7458         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7459         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7460         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7461         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7462         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7463
7464         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7465         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7466         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7467         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7468         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7469         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7470         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7471         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7472         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7473         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7474         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7475         Moved ...
7476         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7477         ... here.
7478         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7479         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7480         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7481         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7482         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7483         Moved ...
7484         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7485         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7486         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7487         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7488         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7489         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7490         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7491         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7492         Moved ...
7493         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7494         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7495         Moved ...
7496         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7497         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7498         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7499         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7500         Moved ...
7501         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7502         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7503         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7504         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7505         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7506         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7507         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7508         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7509         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7510         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7511         Moved ...
7512         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7513         ... here.
7514         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7515         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7516         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7517         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7518         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7519         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7520         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7521         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7522         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7523         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7524         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7525         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7526         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7527         Moved ...
7528         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7529         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7530         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7531         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7532         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7533         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7534         Moved ...
7535         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7536         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7537         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7538         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7539         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7540
7541         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7542         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7543         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7544         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7545         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7546         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7547         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7548         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7549         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7550         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7551         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7552         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7553         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7554         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7555         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7556         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7557         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7558         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7559         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7560         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7561         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7562         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7563         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7564         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7565         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7566         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7567         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7568         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7569
7570 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7571
7572         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7573         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7574         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7575         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7576         (IPV6_PMTUDISC_INTERFACE): Likewise.
7577         (IPV6_PMTUDISC_OMIT): Likewise.
7578
7579 2014-06-23  Andreas Schwab  <schwab@suse.de>
7580
7581         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7582         Remove unused errout label.
7583
7584 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7585
7586         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7587         macro: hardware supports Vector Crypto instructions.
7588
7589 2014-06-23  Will Newton  <will.newton@linaro.org>
7590
7591         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7592         rather than __builtin_expect.
7593
7594         * elf/dl-lookup.c (undefined_msg): Remove variable.
7595         (_dl_lookup_symbol_x): Replace undefined_msg with string
7596         literal.
7597
7598         * elf/dl-lookup.c (do_lookup_unique): New function.
7599         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7600         to a separate function.
7601
7602 2014-06-23  Andreas Schwab  <schwab@suse.de>
7603
7604         [BZ #17079]
7605         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7606         before reading the next line.
7607
7608 2014-06-23  Will Newton  <will.newton@linaro.org>
7609
7610         * test-skeleton.c (signal_handler): Use printf and %m
7611         rather than perror.  Use printf rather than fprintf to
7612         stderr.  Use puts rather than fputs to stderr.
7613         (main): Likewise.
7614
7615 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7616
7617         * nscd/nscd.c (thread_info_t): Remove typedef.
7618         (thread_info): Remove variable.
7619
7620 2014-06-21  Allan McRae  <allan@archlinux.org>
7621
7622         * NEWS: Mention CVE-2014-4043.
7623
7624 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7625
7626         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7627         * nptl/smp.h: ... here.
7628
7629         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7630
7631         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7632         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7633         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7634         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7635
7636         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7637         * nptl/stack-aliasing.h: New file.
7638         * sysdeps/i386/i686/stack-aliasing.h: New file.
7639         * sysdeps/i386/i686/nptl/Makefile: File removed.
7640         * sysdeps/x86_64/stack-aliasing.h: New file.
7641         * sysdeps/x86_64/nptl/Makefile
7642         (CFLAGS-pthread_create.c): Variable removed.
7643
7644         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7645         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7646         old file.
7647         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7648         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7649         old file.
7650
7651 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7652
7653         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7654         (__ASSUME_SIGFRAME_V2): Remove macro.
7655         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7656         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7657         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7658         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7659         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7660         Declare as function.  Remove conditional macro definitions.
7661         (__default_rt_sa_restorer): Likewise.
7662         (__default_sa_restorer_v1): Remove declaration.
7663         (__default_sa_restorer_v2): Likewise.
7664         (__default_rt_sa_restorer_v1): Likewise.
7665         (__default_rt_sa_restorer_v2): Likewise.
7666         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7667         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7668         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7669
7670 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7671
7672         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7673         (libpthread-routines): Add sysdep.
7674         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7675         * sysdeps/unix/sysv/linux/sparc/Versions
7676         (libpthread: GLIBC_2.3.3): New version set.
7677         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7678         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7679         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7680         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7681         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7682         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7683         Moved ...
7684         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7685         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7686         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7687         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7688         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7689         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7690         * sysdeps/sparc/nptl/sem_init.c: ... here.
7691         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7692         * sysdeps/sparc/nptl/sem_post.c: ... here.
7693         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7694         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7695         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7696         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7697         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7698         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7699         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7700         (libpthread-routines): Add cpu_relax.
7701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7702         File removed.
7703         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7704         (librt: GLIBC_2.3.3): New version set.
7705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7706         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7707         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7708         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7711         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7713         Moved ...
7714         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7716         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7718         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7720         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7722         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7724         Moved ...
7725         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7726         Update #include.
7727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7728         Moved ...
7729         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7730         Update #include.
7731         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7732         Moved ...
7733         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7734         Update #include.
7735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7736         Moved ...
7737         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7738         Update #include.
7739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7740         Moved ...
7741         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7742         Update #include.
7743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7744         Moved ...
7745         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7746         Update #include.
7747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7748         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7750         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7752         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7754         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7756         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7758         Moved ...
7759         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7761         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7763         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7764
7765 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7766
7767         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7768         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7769         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7770         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7771         * nscd/nscd.c: Likewise.
7772         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7773         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7774         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7775         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7776
7777         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7778         <kernel-features.h>.
7779         (init_mq_netlink): Remove conditional have_sock_cloexec
7780         definitions.  Remove code conditional on have_sock_cloexec < 0.
7781         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7782         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7783         * sysdeps/unix/sysv/linux/opensock.c: Do not include
7784         <kernel-features.h>.
7785         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7786         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7787
7788 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7789
7790         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7791         Add tests for memset_chk and memset.
7792
7793         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7794         with AVX2_Usable.
7795
7796 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7797
7798         [BZ #16046]
7799         * elf/tst-dl-iter-static.c: New file.
7800         * elf/Makefile (tests-static): Add tst-dl-iter-static.
7801
7802         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7803         error.
7804
7805 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7806
7807         * sysdeps/unix/sysv/linux/kernel-features.h
7808         (__ASSUME_F_GETOWN_EX): Remove macro.
7809         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7810         <kernel-features.h>.
7811         (miss_F_GETOWN_EX): Remove variable or macro.
7812         (do_fcntl): Do not check miss_F_GETOWN_EX.
7813         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7814
7815         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7816         Remove macro.
7817         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7818         [!__ASSUME_AT_RANDOM]: Remove conditional code.
7819         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7820
7821         * sysdeps/unix/sysv/linux/kernel-features.h
7822         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7823         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7824         [ADJ_OFFSET_SS_READ]: Make code unconditional.
7825         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7826
7827 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7828
7829         [BZ #17075]
7830         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7831         Fix calculation of the symbol's value.
7832         * sysdeps/arm/tst-armtlsdescloc.c: New file.
7833         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7834         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7835         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7836         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7837         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7838         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7839         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7840         (modules-names): Add `tst-armtlsdescmod',
7841         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7842         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7843         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7844         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7845         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7846         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7847         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7848         ($(objpfx)tst-armtlsdescloc): New dependency.
7849         ($(objpfx)tst-armtlsdescextnow): Likewise.
7850         ($(objpfx)tst-armtlsdescextlazy): Likewise.
7851         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7852         TLS scheme support.
7853         * sysdeps/arm/configure: Regenerate.
7854
7855 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7856
7857         * include/fcntl.h (__atfct_seterrno): Remove prototype.
7858         (__atfct_seterrno_2): Likewise.
7859         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7860         <kernel-features.h>.
7861         (__ASSUME_ATFCTS): Do not undefine and redefine.
7862         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7863         (__have_atfcts): Remove conditional definition.
7864         (__fxstatat([__NR_fstatat64]: Make code unconditional.
7865         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7866         unreachable if [__ASSUME_ATFCTS].
7867         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7868         not undefine and redefine.
7869         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7870         <kernel-features.h>.
7871         (faccessat) [__NR_faccessat]: Make code unconditional.
7872         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7873         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7874         <kernel-features.h>.
7875         (fchmodat) [__NR_fchmodat]: Make code unconditional.
7876         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7877         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7878         <kernel-features.h>.
7879         (fchownat) [__NR_fchownat]: Make code unconditional.
7880         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7881         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7882         <kernel-features.h>.
7883         (futimesat) [__NR_futimesat]: Make code unconditional.
7884         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7885         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7886         <kernel-features.h>.
7887         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7888         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7889         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7890         <kernel-features.h>.
7891         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7892         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7893         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7894         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7895         <kernel-features.h>.
7896         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7897         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7898         * sysdeps/unix/sysv/linux/linkat.c: Do not include
7899         <kernel-features.h>.
7900         (linkat) [__NR_linkat]: Make code unconditional.
7901         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7902         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7903         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7904         <kernel-features.h>.
7905         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7906         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7907         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7908         <kernel-features.h>.
7909         (mkdirat) [__NR_mkdirat]: Make code unconditional.
7910         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7911         * sysdeps/unix/sysv/linux/openat.c: Do not include
7912         <kernel-features.h>.
7913         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7914         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7915         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7916         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7917         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7918         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7919         <kernel-features.h>.
7920         (readlinkat) [__NR_readlinkat]: Make code unconditional.
7921         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
7922         result of INLINE_SYSCALL directly, not via int variable.
7923         * sysdeps/unix/sysv/linux/renameat.c: Do not include
7924         <kernel-features.h>.
7925         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7926         (renameat) [__NR_renameat]: Make code unconditional.
7927         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7928         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7929         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7930         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7931         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7932         (__ASSUME_ATFCTS): Do not undefine and redefine.
7933         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7934         <kernel-features.h>.
7935         (symlinkat) [__NR_symlinkat]: Make code unconditional.
7936         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7937         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7938         <kernel-features.h>.
7939         (unlinkat) [__NR_unlinkat]: Make code unconditional.
7940         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7941         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7942         (__ASSUME_ATFCTS): Do not undefine and redefine.
7943         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7944         <kernel-features.h>.
7945         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7946         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7947         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7948         <kernel-features.h>.
7949         (__xmknodat) [__NR_mknodat]: Make code unconditional.
7950         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7951
7952 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7953
7954         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7955
7956 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
7957
7958         [BZ #17069]
7959         * posix/regcomp.c (parse_reg_exp): Deallocate partially
7960         constructed tree before returning error.
7961         * posix/bug-regexp36.c: Expand test case.
7962
7963 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7964
7965         [BZ #6803]
7966         * math/libm-test.inc (scalbln_test_date):
7967         Add errno expectations.
7968         * math/w_scalblnf.c: New File.
7969         Add wrapper which checks for setting errno to ERANGE.
7970         Add weak_alias for corresponding scalbln function.
7971         * math/w_scalbln.c: Likewise.
7972         * math/w_scalblnl.c: Likewise.
7973         * math/Makefile (libm-calls): Add w_scalbln.
7974         * sysdeps/ieee754/flt-32/s_scalblnf.c:
7975         Remove weak_alias for corresponding scalbln function.
7976         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7977         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7978         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7979         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7980         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7981         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7982         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7983         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7984         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7985         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7986         Remove long_double_symbol for scalblnl function in libm, libc.
7987         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7988         Add wrapper which checks for setting errno to ERANGE.
7989         Add long_double_symbol for scalblnl function in libm, libc.
7990         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7991         Remove long_double_symbol for scalblnl in libm.
7992         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7993         Add wrapper which checks for setting errno to ERANGE.
7994         Add long_double_symbol for scalblnl function in libm.
7995         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7996         Do not use wrapper because of own implementation.
7997
7998 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
7999
8000         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8001         3 bytes for __pad1 for x32.
8002         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8003
8004 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8005             H.J. Lu  <hongjiu.lu@intel.com>
8006
8007         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8008         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8009         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8010         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8011         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8012
8013 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8014
8015         [BZ #17069]
8016         * posix/regcomp.c (parse_expression): Deallocate partially
8017         constructed tree before returning error.
8018         * posix/Makefile.c (tests): Add bug-regex36.
8019         (generated): Add bug-regex36.mtrace.
8020         (tests-special): Add $(objpfx)bug-regex36-mem.out
8021         (bug-regex36-ENV): New variable.
8022         ($(objpfx)bug-regex36-mem.out): New rule.
8023         * posix/bug-regex36.c: New file.
8024
8025 2014-06-19  Will Newton  <will.newton@linaro.org>
8026
8027         * malloc/malloc.c (systrim): If extra is zero then return
8028         early.
8029
8030 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8031
8032         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8033
8034 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8035
8036         * sysdeps/aarch64/strchr.S: New file.
8037
8038 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8039
8040         [BZ #17022]
8041         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8042         from arguments -2 or below.
8043         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8044         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8045
8046 2014-06-18  Andreas Schwab  <schwab@suse.de>
8047
8048         [BZ #17062]
8049         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8050         of a bracket expr not to run off the end of the string.
8051         * posix/Makefile (tests): Add tst-fnmatch3.
8052         * posix/tst-fnmatch3.c: New file.
8053
8054 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8055
8056         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8057         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8058         [$(cross-compiling) = no]: Likewise.
8059         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8060         [$(cross-compiling) = no]: Likewise.
8061
8062 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8063
8064         [BZ #17031]
8065         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8066         double, adjusted for any remainder from the high double.
8067         * math/libm-test.inc (nearbyint): Add tests.
8068         (rint): Likewise.
8069
8070 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8071
8072         * nptl/sysdeps/powerpc/Makefile: Moved ...
8073         * sysdeps/powerpc/nptl/Makefile: ... here.
8074         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8075         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8076         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8077         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8078         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8079         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8080         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8081         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8082         * nptl/sysdeps/powerpc/tls.h: Moved ...
8083         * sysdeps/powerpc/nptl/tls.h: ... here.
8084
8085 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8086
8087         [BZ #16681]
8088         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8089         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8090         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8091         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8092         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8093         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8094         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8095         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8096         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8097
8098 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8099
8100         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8101
8102 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8103
8104         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8105         defined operator.
8106
8107         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8108         $TIMEOUTFACTOR.
8109
8110 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8111
8112         [BZ #17058]
8113         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8114         non-executed part of the test.
8115
8116 2014-06-16  Andreas Schwab  <schwab@suse.de>
8117
8118         * string/bits/string2.h (strdup, strndup): Update feature guard.
8119
8120 2014-06-14  David S. Miller  <davem@davemloft.net>
8121
8122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8123
8124 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8125
8126         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8127         that was previously under [RESET_PID].
8128         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8129
8130         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8131         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8132         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8133         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8134         (__libc_vfork): New strong alias.
8135         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8136
8137 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8138
8139         * sysdeps/generic/elide.h: New file.
8140
8141 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8142
8143         * Makefile (installed-headers): Adjust path of pthread.h header.
8144
8145 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8146
8147         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8148         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8149         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8150         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8151
8152         * nptl/sysdeps/s390/Makefile: Moved ...
8153         * sysdeps/s390/nptl/Makefile: ... here.
8154         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8155         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8156         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8157         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8158         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8159         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8160         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8161         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8162         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8163         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8164         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8165         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8166         * nptl/sysdeps/s390/tls.h: Moved ...
8167         * sysdeps/s390/nptl/tls.h: ... here.
8168
8169         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8170         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8171
8172 2014-06-13  David S. Miller  <davem@davemloft.net>
8173
8174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8177         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8180         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8181         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8182         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8183         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8184         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8185         Remove RESET_PID cpp guards.
8186         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8187         Remove RESET_PID cpp guards.
8188         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8189
8190 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8191
8192         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8193         __sp to uintptr_t.
8194
8195 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8196
8197         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8198         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8199         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8200         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8201         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8202         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8203         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8204         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8205         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8206         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8207         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8208         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8209         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8210         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8211         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8212         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8213         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8214         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8215         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8216         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8217
8218         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8219         (pthread_rwlock_rdlock): Add elision.
8220         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8221         (pthread_rwlock_wrlock): Add elision.
8222         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8223         (pthread_rwlock_trywrlock): Add elision.
8224         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8225         (pthread_rwlock_tryrdlock): Add elision.
8226         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8227         (pthread_rwlock_tryrdlock): Add elision unlock.
8228         * nptl/sysdeps/pthread/pthread.h:
8229         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8230         (PTHREAD_RWLOCK_INITIALIZER,
8231         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8232         Handle new elision field.
8233         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8234         * sysdeps/arm/nptl/bits/pthreadtypes.h
8235         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8236         * sysdeps/sh/nptl/bits/pthreadtypes.h
8237         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8238         * sysdeps/tile/nptl/bits/pthreadtypes.h
8239         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8240         * sysdeps/a/nptl/bits/pthreadtypes.h
8241         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8242         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8243         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8244         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8245         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8246         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8247         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8248         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8249         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8250         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8251         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8252         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8253         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8254         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8255         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8256         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8257         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8258         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8259         (elision_init): Set try_xbegin to zero when no RTM.
8260         * sysdeps/x86/nptl/bits/pthreadtypes.h
8261         (pthread_rwlock_t): Change __pad1 to __rwelision.
8262         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8263
8264 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8265
8266         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8267         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8268         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8269         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8270
8271 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8272
8273         [BZ #16996]
8274         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8275         that the cached result has been set before returning it.
8276
8277 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8278
8279         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8280         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8281         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8282         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8283         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8284         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8285
8286         * nptl/sysdeps/sparc/Makefile: Moved ...
8287         * sysdeps/sparc/nptl/Makefile: ... here.
8288         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8289         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8290         * nptl/sysdeps/sparc/tls.h: Moved ...
8291         * sysdeps/sparc/nptl/tls.h: ... here.
8292         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8293         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8294         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8295         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8296         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8297         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8298         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8299         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8300         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8301         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8302         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8303         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8304         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8305         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8306         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8307         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8308         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8309         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8310         Update #include.
8311         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8312         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8313         Update #include.
8314         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8315         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8316         Update #include.
8317         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8318         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8319         Update #include.
8320
8321         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8322
8323         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8324         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8325
8326         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8327         (struct list_links): Type removed.
8328         (struct thread_node, struct timer_node): Replace struct list_links
8329         with struct list_head.
8330         (list_unlink_ip): Likewise.
8331         * sysdeps/pthread/timer_routines.c
8332         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8333         (list_append, list_insbefore): Likewise.
8334         (list_init): Function removed.
8335         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8336         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8337         * sysdeps/pthread/Makefile: ... here, new file.
8338
8339         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8340         * sysdeps/nptl/Implies: ... here.
8341         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8342         * nptl/sysdeps/pthread/list.h: Moved ...
8343         * include/list.h: ... here.
8344         * nptl/sysdeps/pthread/createthread.c: Moved ...
8345         * nptl/createthread.c: ... here.
8346         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8347         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8348         * nptl/pt-longjmp.c: ... here.
8349         * nptl/sysdeps/pthread/Makefile: Moved ...
8350         * sysdeps/nptl/Makefile: ... here.
8351         * nptl/sysdeps/pthread/Subdirs: Moved ...
8352         * sysdeps/nptl/Subdirs: ... here.
8353         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8354         * sysdeps/nptl/aio_misc.h: ... here.
8355         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8356         * sysdeps/nptl/bits/libc-lock.h: ... here.
8357         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8358         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8359         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8360         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8361         * nptl/sysdeps/pthread/configure: Moved ...
8362         * sysdeps/nptl/configure: ... here.
8363         * nptl/sysdeps/pthread/configure.ac: Moved ...
8364         * sysdeps/nptl/configure.ac: ... here.
8365         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8366         * sysdeps/nptl/gai_misc.h: ... here.
8367         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8368         * sysdeps/nptl/librt-cancellation.c: ... here.
8369         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8370         * sysdeps/nptl/malloc-machine.h: ... here.
8371         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8372         * sysdeps/nptl/pthread-functions.h: ... here.
8373         * nptl/sysdeps/pthread/pthread.h: Moved ...
8374         * sysdeps/nptl/pthread.h: ... here.
8375         * nptl/sysdeps/pthread/setxid.h: Moved ...
8376         * sysdeps/nptl/setxid.h: ... here.
8377         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8378         * sysdeps/nptl/sigfillset.c: ... here.
8379         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8380         * sysdeps/nptl/tcb-offsets.h: ... here.
8381         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8382         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8383         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8384         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8385         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8386         * sysdeps/pthread/allocalim.h: ... here.
8387         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8388         * sysdeps/pthread/bits/sigthread.h: ... here.
8389         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8390         * sysdeps/pthread/flockfile.c: ... here.
8391         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8392         * sysdeps/pthread/ftrylockfile.c: ... here.
8393         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8394         * sysdeps/pthread/funlockfile.c: ... here.
8395         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8396         * sysdeps/pthread/posix-timer.h: ... here.
8397         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8398         * sysdeps/pthread/timer_create.c: ... here.
8399         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8400         * sysdeps/pthread/timer_delete.c: ... here.
8401         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8402         * sysdeps/pthread/timer_getoverr.c: ... here.
8403         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8404         * sysdeps/pthread/timer_gettime.c: ... here.
8405         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8406         * sysdeps/pthread/timer_routines.c: ... here.
8407         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8408         * sysdeps/pthread/timer_settime.c: ... here.
8409         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8410         * sysdeps/pthread/tst-timer.c: ... here.
8411         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8412         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8413
8414         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8415         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8416
8417         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8418         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8419         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8420         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8421         Update #include target.
8422         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8423         * sysdeps/i386/i686/nptl/Makefile: ... here.
8424         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8425         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8426         Update #include target.
8427         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8428         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8429         * nptl/sysdeps/i386/Makefile: Moved ...
8430         * sysdeps/i386/nptl/Makefile: ... here.
8431         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8432         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8433         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8434         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8435         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8436         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8437         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8438         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8439         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8440         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8441         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8442         * nptl/sysdeps/i386/tls.h: Moved ...
8443         * sysdeps/i386/nptl/tls.h: ... here.
8444
8445         * sysdeps/sh/Makefile [$(subdir) = csu]
8446         (gen-as-const-headers): Add tcb-offsets.sym.
8447         * nptl/sysdeps/sh/Makefile: File removed.
8448         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8449         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8450         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8451         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8452         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8453         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8454         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8455         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8456         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8457         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8458         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8459         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8460         * nptl/sysdeps/sh/tls.h: Moved ...
8461         * sysdeps/sh/nptl/tls.h: ... here.
8462         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8463         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8464         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8465         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8466         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8467         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8468         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8469         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8470         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8471         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8472         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8473         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8474         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8475         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8476         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8477         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8478         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8479         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8480         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8481         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8482         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8483         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8484         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8485         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8486         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8487         Moved ...
8488         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8489         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8490         Moved ...
8491         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8492         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8493         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8494         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8495         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8496         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8497         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8498         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8499         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8500         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8501         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8502         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8503         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8504         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8505         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8506         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8507         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8508         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8509         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8510
8511 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8512
8513         * posix/spawn_faction_addopen.c: Include string.h.
8514
8515 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8516
8517         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8518         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8519         * nptl/sysdeps/x86_64/Makefile: Moved ...
8520         * sysdeps/x86_64/nptl/Makefile: ... here.
8521         * nptl/sysdeps/x86_64/configure: Moved ...
8522         * sysdeps/x86_64/nptl/configure: ... here.
8523         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8524         * sysdeps/x86_64/nptl/configure.ac: ... here.
8525         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8526         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8527         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8528         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8529         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8530         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8531         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8532         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8533         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8534         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8535         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8536         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8537         * nptl/sysdeps/x86_64/tls.h: Moved ...
8538         * sysdeps/x86_64/nptl/tls.h: ... here.
8539         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8540         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8541         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8542         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8543
8544         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8545
8546 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8547
8548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8549
8550 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8551
8552         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8553         type.
8554         [POSIX] (off_t): Likewise.
8555         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8556         [POSIX] (S_ISBLK): Require macro.
8557         [POSIX] (S_ISCHR): Likewise.
8558         [POSIX] (S_ISDIR): Likewise.
8559         [POSIX] (S_ISFIFO): Likewise.
8560         [POSIX] (S_ISREG): Likewise.
8561         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8562         optional-macro.
8563         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8564         type.
8565         [POSIX] (time_t): Likewise.
8566         [POSIX] (timer_t): Likewise.
8567
8568 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8569
8570         [BZ #17048]
8571         * posix/spawn_int.h (struct __spawn_action): Make the path string
8572         non-const to support deallocation.
8573         * posix/spawn_faction_addopen.c
8574         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8575         * posix/spawn_faction_destroy.c
8576         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8577         path in all spawn_do_open actions.
8578         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8579         posix_spawn_file_actions_addopen.
8580
8581 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8582
8583         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8584         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8585         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8586         conditional code always true.
8587         (__libc_vfork): New alias.
8588
8589 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8590
8591         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8592         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8593
8594         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8595
8596         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8597         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8598
8599         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8600         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8601
8602         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8603         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8604
8605 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8606
8607         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8608         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8609         multiarch strcmp for PPC64.
8610         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8611         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8613         multiarch optimizations.
8614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8615         (__libc_ifunc_impl_list): Likewise.
8616
8617 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8618
8619         * benchtests/scripts/validate_benchout.py: New script.
8620         * benchtests/Makefile (bench-func): Call it.
8621         * benchtests/scripts/benchout.schema.json: New file.
8622
8623 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8624
8625         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8626         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8627         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8628         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8629         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8630         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8631         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8632         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8633         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8634         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8635         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8636         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8637         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8638         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8639         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8640         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8642         Moved ...
8643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8644         ... here.
8645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8646         Moved ...
8647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8649         Moved ...
8650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8651         ... here.
8652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8653         Moved ...
8654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8655         ... here.
8656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8657         Moved ...
8658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8660         Moved ...
8661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8662         ... here.
8663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8664         Moved ...
8665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8666         ... here.
8667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8668         Moved ...
8669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8671         Moved ...
8672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8673         ... here.
8674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8675         Moved ...
8676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8677         ... here.
8678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8679         Moved ...
8680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8681         ... here.
8682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8683         Moved ...
8684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8686         Moved ...
8687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8688         ... here.
8689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8690         Moved ...
8691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8692         ... here.
8693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8694         Moved ...
8695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8696         ... here.
8697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8698         Moved ...
8699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8701         Moved ...
8702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8703         ... here.
8704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8705         Moved ...
8706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8707         ... here.
8708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8709         Moved ...
8710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8712         Moved ...
8713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8714         ... here.
8715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8716         Moved ...
8717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8719         Moved ...
8720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8722         Moved ...
8723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8724         ... here.
8725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8726         Moved ...
8727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8728         ... here.
8729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8730         Moved ...
8731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8732         ... here.
8733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8734         Moved ...
8735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8737         Moved ...
8738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8739         ... here.
8740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8741         Moved ...
8742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8743         ... here.
8744         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8745         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8746         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8747         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8748         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8749         Moved ...
8750         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8751         ... here.
8752         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8753         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8754         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8755         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8756         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8757         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8758         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8759         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8760         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8761         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8762         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8763         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8764         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8765         Moved ...
8766         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8767         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8768         Moved ...
8769         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8770         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8771         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8772         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8773         Moved ...
8774         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8775         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8776         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8777         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8778         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8779         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8780         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8781
8782 2014-06-10  Wilco  <wdijkstr@arm.com>
8783
8784         * math/test-fenv-return.c: New file.
8785         * math/Makefile: Add new test test-fenv-return.
8786
8787 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
8788
8789         [BZ #17042]
8790         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8791         when x - 1 is zero.
8792         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8793         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8794         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8795         0.0L for an argument of 1.0L.
8796         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8797         Likewise.
8798         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8799         value when x - 1 is zero.
8800         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8801         * sysdeps/i386/fpu/libm-test-ulps: Update.
8802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8803
8804 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
8805
8806         [BZ #15119]
8807         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8808
8809 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8810
8811         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8812         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8813
8814 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8815
8816         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8817         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8818
8819         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8820         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8821
8822         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8823         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8824
8825         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8826         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8827
8828         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8829         if not already defined.
8830         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8831         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8832         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8833         (TLS_INIT_TP): Use it.
8834         (TLS_DEFINE_INIT_TP): New macro.
8835         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8836
8837 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
8838
8839         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8840         constant.
8841         [POSIX] (IXANY): Likewise.
8842         [POSIX] (OLCUC): Likewise.
8843         [POSIX || POSIX2008] (CBAUD): Do not allow.
8844         [POSIX || POSIX2008] (DEFECHO): Likewise.
8845         [POSIX || POSIX2008] (ECHOCTL): Likewise.
8846         [POSIX || POSIX2008] (ECHOKE): Likewise.
8847         [POSIX || POSIX2008] (ECHOPRT): Likewise.
8848         [POSIX || POSIX2008] (EXTA): Likewise.
8849         [POSIX || POSIX2008] (EXTB): Likewise.
8850         [POSIX || POSIX2008] (FLUSHO): Likewise.
8851         [POSIX || POSIX2008] (LOBLK): Likewise.
8852         [POSIX || POSIX2008] (PENDIN): Likewise.
8853         [POSIX || POSIX2008] (SWTCH): Likewise.
8854         [POSIX || POSIX2008] (VDISCARD): Likewise.
8855         [POSIX || POSIX2008] (VDSUSP): Likewise.
8856         [POSIX || POSIX2008] (VLNEXT): Likewise.
8857         [POSIX || POSIX2008] (VREPRINT): Likewise.
8858         [POSIX || POSIX2008] (VSTATUS): Likewise.
8859         [POSIX || POSIX2008] (VWERASE): Likewise.
8860         (B*): Change to B[0123456789]*.
8861         * conform/data/time.h-data [POSIX || UNIX98]
8862         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8863         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8864         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8865         [POSIX] (tm_*): Do not allow.
8866
8867 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
8868
8869         * Makefile (install): Don't set LANGUAGE.
8870         * Makefile.in (install): Likewise.
8871         * assert/Makefile (test-assert-ENV): Remove variable.
8872         (test-assert-perr-ENV): Likewise.
8873         * elf/Makefile (neededtest4-ENV): Likewise.
8874         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8875         [$(cross-compiling) = no]: Don't set LANGUAGE.
8876         * io/ftwtest-sh (LANG): Remove variable.
8877         * libio/Makefile (tst-widetext-ENV): Likewise.
8878         * manual/install.texi (Running make install): Don't refer to
8879         environment settings for make install.
8880         * INSTALL: Regenerated.
8881         * nptl/tst-tls6.sh: Don't set LANG.
8882         * posix/globtest.sh (LANG): Remove variable.
8883         * string/Makefile (tester-ENV): Likewise.
8884         (inl-tester-ENV): Likewise.
8885         (noinl-tester-ENV): Likewise.
8886         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8887         [$(cross-compiling) = no]: Don't set LANGUAGE.
8888         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8889         without explicit environment settings.
8890
8891 2014-06-06  Roland McGrath  <roland@hack.frob.com>
8892
8893         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8894         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8895         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8896         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8897
8898 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
8899
8900         * crypt/crypt-private.h [DOS]: Add some includes taken from the
8901         other files in the crypt directory.
8902         * crypt/crypt.c: Remove duplicate includes.
8903         * crypt/crypt-entry.c: Likewise.
8904         * crypt/crypt_util.c: Likewise.
8905
8906 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
8907
8908         * Makeconfig (run-program-env): New variable.
8909         (run-program-prefix-before-env): Likewise.
8910         (run-program-prefix-after-env): Likewise.
8911         (run-program-prefix): Define in terms of new variables.
8912         (built-program-cmd-before-env): New variable.
8913         (built-program-cmd-after-env): Likewise.
8914         (built-program-cmd): Define in terms of new variables.
8915         (test-program-prefix-before-env): New variable.
8916         (test-program-prefix-after-env): Likewise.
8917         (test-program-prefix): Define in terms of new variables.
8918         (test-program-cmd-before-env): New variable.
8919         (test-program-cmd-after-env): Likewise.
8920         (test-program-cmd): Define in terms of new variables.
8921         * Rules (make-test-out): Use $(run-program-env).
8922         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8923         (help): Do not mention environment variables.  Mention
8924         --timeoutfactor option.
8925         (timeoutfactor): New variable.
8926         (blacklist_exports): Remove function.
8927         (exports): Remove variable.
8928         (command): Do not include ${exports}.
8929         * manual/install.texi (Configuring and compiling): Do not mention
8930         test wrappers preserving environment variables.  Mention that last
8931         assignment to a variable must take precedence.
8932         * INSTALL: Regenerated.
8933         * benchtests/Makefile (run-bench): Use $(run-program-env).
8934         * catgets/Makefile ($(objpfx)test1.cat): Use
8935         $(built-program-cmd-before-env), $(run-program-env) and
8936         $(built-program-cmd-after-env).
8937         ($(objpfx)test2.cat): Do not specify environment variables
8938         explicitly.
8939         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8940         $(run-program-env) and $(built-program-cmd-after-env).
8941         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8942         $(run-program-env) and $(test-program-cmd-after-env).
8943         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8944         explicitly.
8945         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8946         run_program_env and test_program_cmd_after_env arguments.
8947         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8948         * elf/tst-pathopt.sh: Use run_program_env argument.
8949         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8950         $(test-wrapper-env) and $(run-program-env).
8951         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8952         run_program_env arguments.
8953         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8954         * intl/Makefile ($(objpfx)tst-gettext.out): Use
8955         $(test-program-prefix-before-env), $(run-program-env) and
8956         $(test-program-prefix-after-env).
8957         ($(objpfx)tst-gettext2.out): Likewise.
8958         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8959         run_program_env and test_program_prefix_after_env arguments.
8960         * intl/tst-gettext2.sh: Likewise.
8961         * intl/tst-gettext4.sh: Do not set environment variables
8962         explicitly.
8963         * intl/tst-gettext6.sh: Likewise.
8964         * intl/tst-translit.sh: Likewise.
8965         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8966         $(test-program-prefix-before-env), $(run-program-env) and
8967         $(test-program-prefix-after-env).
8968         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8969         run_program_env and test_program_prefix_after_env arguments.
8970         * math/Makefile (run-regen-ulps): Use $(run-program-env).
8971         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8972         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
8973         explicitly with each use of ${test_wrapper_env}.
8974         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8975         $(test-program-prefix-before-env), $(run-program-env) and
8976         $(test-program-prefix-after-env).
8977         * posix/tst-getconf.sh: Do not set environment variables
8978         explicitly.
8979         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8980         run_program_env and test_program_prefix_after_env arguments.
8981         * stdio-common/tst-printf.sh: Do not set environment variables
8982         explicitly.
8983         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8984         $(test-program-prefix-before-env), $(run-program-env) and
8985         $(test-program-prefix-after-env).
8986         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8987         run_program_env and test_program_prefix_after_env arguments.
8988         Split $test calls into $test_pre and $test.
8989         * timezone/Makefile (build-testdata): Use
8990         $(built-program-cmd-before-env), $(run-program-env) and
8991         $(built-program-cmd-after-env).
8992
8993 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8994
8995         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8996         strlen for non SHARED builds.
8997
8998 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8999
9000         * nptl/allocatestack.c (check_list): Inlined function...
9001         (__reclaim_stacks): ... here.
9002
9003 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9004
9005         [BZ #15698]
9006         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9007         memory overrun.
9008
9009 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9010
9011         * Rules (make-test-out): Include
9012         LOCPATH=$(common-objpfx)localedata in default environment.
9013         * debug/Makefile (tst-chk1-ENV): Remove variable.
9014         (tst-chk2-ENV): Likewise.
9015         (tst-chk3-ENV): Likewise.
9016         (tst-chk4-ENV): Likewise.
9017         (tst-chk5-ENV): Likewise.
9018         (tst-chk6-ENV): Likewise.
9019         (tst-lfschk1-ENV): Likewise.
9020         (tst-lfschk2-ENV): Likewise.
9021         (tst-lfschk3-ENV): Likewise.
9022         (tst-lfschk4-ENV): Likewise.
9023         (tst-lfschk5-ENV): Likewise.
9024         (tst-lfschk6-ENV): Likewise.
9025         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9026         (tst-iconv7-ENV): Likewise.
9027         * intl/Makefile (LOCPATH-ENV): Likewise.
9028         (tst-codeset-ENV): Likewise.
9029         (tst-gettext3-ENV): Likewise.
9030         (tst-gettext5-ENV): Likewise.
9031         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9032         (tst-fopenloc-ENV): Likewise.
9033         (tst-fgetws-ENV): Remove variable.
9034         (tst-ungetwc1-ENV): Likewise.
9035         (tst-ungetwc2-ENV): Likewise.
9036         (bug-ungetwc2-ENV): Likewise.
9037         (tst-swscanf-ENV): Likewise.
9038         (bug-ftell-ENV): Likewise.
9039         (tst-fgetwc-ENV): Likewise.
9040         (tst-fseek-ENV): Likewise.
9041         (tst-ftell-partial-wide-ENV): Likewise.
9042         (tst-ftell-active-handler-ENV): Likewise.
9043         (tst-ftell-append-ENV): Likewise.
9044         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9045         (tst-regexloc-ENV): Likewise.
9046         (bug-regex1-ENV): Likewise.
9047         (tst-regex-ENV): Likewise.
9048         (tst-regex2-ENV): Likewise.
9049         (bug-regex5-ENV): Likewise.
9050         (bug-regex6-ENV): Likewise.
9051         (bug-regex17-ENV): Likewise.
9052         (bug-regex18-ENV): Likewise.
9053         (bug-regex19-ENV): Likewise.
9054         (bug-regex20-ENV): Likewise.
9055         (bug-regex22-ENV): Likewise.
9056         (bug-regex23-ENV): Likewise.
9057         (bug-regex25-ENV): Likewise.
9058         (bug-regex26-ENV): Likewise.
9059         (bug-regex30-ENV): Likewise.
9060         (bug-regex32-ENV): Likewise.
9061         (bug-regex33-ENV): Likewise.
9062         (bug-regex34-ENV): Likewise.
9063         (bug-regex35-ENV): Likewise.
9064         (tst-rxspencer-ENV): Likewise.
9065         (tst-rxspencer-no-utf8-ENV): Likewise.
9066         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9067         (tst-sscanf-ENV): Likewise.
9068         (tst-swprintf-ENV): Likewise.
9069         (tst-swscanf-ENV): Likewise.
9070         (test-vfprintf-ENV): Likewise.
9071         (scanf13-ENV): Likewise.
9072         (bug14-ENV): Likewise.
9073         (tst-grouping-ENV): Likewise.
9074         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9075         (tst-strtod3-ENV): Likewise.
9076         (tst-strtod4-ENV): Likewise.
9077         (tst-strtod5-ENV): Likewise.
9078         (testmb2-ENV): Likewise./
9079         * string/Makefile (tst-strxfrm-ENV): Likewise.
9080         (tst-strxfrm2-ENV): Likewise.
9081         (bug-strcoll1-ENV): Likewise.
9082         (test-strcasecmp-ENV): Likewise.
9083         (test-strncasecmp-ENV): Likewise.
9084         * time/Makefile (tst-strptime-ENV): Likewise.
9085         (tst-ftime_l-ENV): Likewise.
9086         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9087         (tst-mbrtowc-ENV): Likewise.
9088         (tst-wcrtomb-ENV): Likewise.
9089         (tst-mbrtowc2-ENV): Likewise.
9090         (tst-c16c32-1-ENV): Likewise.
9091         (tst-mbsnrtowcs-ENV): Likewise.
9092
9093 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9094
9095         * manual/resource.texi (How to get information about the memory
9096         subsystem?): Fix typo.
9097         Reported by Peon de la Parra Ivan <peon@keba.com>
9098
9099 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9100
9101         [BZ #16882]
9102         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9103         (pthread_spin_lock): Branch out of spin loop to proper location.
9104         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9105         (pthread_spin_lock): Likewise.
9106
9107         * nptl/tst-spin4.c: New test.
9108         * nptl/Makefile (tests): Add tst-spin4.
9109
9110 2014-06-03  Andreas Schwab  <schwab@suse.de>
9111
9112         [BZ #15946]
9113         * resolv/res_send.c (send_dg): Reload file descriptor after
9114         calling reopen.
9115
9116 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9117
9118         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9119
9120 2014-06-03  Richard Henderson  <rth@redhat.com>
9121
9122         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9123         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9124         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9125         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9126         in the SAVE_PID block.
9127         (__libc_vfork): New alias.
9128         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9129
9130         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9131         child in registers, not on the stack.  Remove RESET_PID conditionals.
9132         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9133
9134 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9135
9136         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9137
9138 2014-06-03  Wilco  <wdijkstr@arm.com>
9139
9140         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9141         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9142         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9143         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9144         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9145         Likewise.
9146
9147 2014-06-03  Wilco  <wdijkstr@arm.com>
9148
9149         * sysdeps/aarch64/fpu/math_private.h
9150         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9151         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9152         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9153         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9154         Fix declarations.
9155
9156 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9157
9158         * crypt/crypt-private.h: Include ufc-crypt.h.
9159         (__b64_from_24bit): Declare extern.
9160         * crypt/crypt_util.c(__b64_from_24bit): New function.
9161         (b64t): New static const variable.
9162         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9163         (b64t): Remove variable.
9164         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9165         * crypt/sha256-crypt.c: Include crypt-private.h.
9166         (b64t): Remove variable.
9167         (__sha256_crypt_r): Remove b64_from_24bit and replace
9168         with __b64_from_24bit.
9169         * crypt/sha512-crypt.c: Likewise.
9170
9171 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9172
9173         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9174         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9175         Label the code __libc_vfork rather than __vfork.
9176         [!NOT_IN_libc] (vfork): Define as weak alias.
9177         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9178         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9179         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9180
9181 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9182
9183         * malloc/malloc.c (malloc_info): Fix format specifier for
9184         n_mmaps.
9185
9186 2014-06-02  Wilco  <wdijkstr@arm.com>
9187
9188         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9189         FPCR write.
9190
9191 2014-06-02  Wilco  <wdijkstr@arm.com>
9192
9193         [BZ #17009]
9194         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9195         Rewrite to reduce FPCR/FPSR accesses.
9196
9197 2014-06-01  David S. Miller  <davem@davemloft.net>
9198
9199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9200
9201 2014-05-31  David S. Miller  <davem@davemloft.net>
9202
9203         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9204         to occur in round to nearest mode when |x| >= 2.0
9205
9206 2014-05-30  Richard Henderson  <rth@twiddle.net>
9207
9208         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9209         (PSEUDO_RET_NOERRNO): Remove.
9210         (ret): Don't redefine.
9211         (ret_NOERRNO): Define in terms of ret.
9212         (ret_ERRVAL): Likewise.
9213
9214         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9215         use of PSEUDO_RET; perform the error check directly.
9216
9217 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9218
9219         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9220         with __int128_t.
9221
9222 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9223
9224         * malloc/malloc (malloc_info): Fix formatting.
9225
9226 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9227             Roland McGrath  <roland@hack.frob.com>
9228
9229         * malloc/malloc (malloc_info): Also print mmapped statistics.
9230
9231 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9232
9233         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9234         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9235
9236 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9237
9238         * malloc/malloc.c (malloc_info): Inline mi_arena.
9239
9240 2014-05-29  Richard Henderson  <rth@twiddle.net>
9241
9242         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9243         Remove comma before expanding ASM_ARGS_##nr.
9244         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9245         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9246         of ASM_ARGS_##nr.
9247         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9248         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9249         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9250         (ASM_ARGS_1): Add leading comma.
9251
9252         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9253         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9254         to __errno_location.
9255         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9256         Remove the expected plt for __errno_location.
9257
9258         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9259         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9260         call to __read_tp.
9261
9262         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9263         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9264         it and break it down.
9265         (DOCARGS_0, DOCARGS_1): Do nothing.
9266         (DOCARGS_2): Update to store into the new stack frame.
9267         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9268         (UNDOCARGS_1): Update to restore from the new stack frame.
9269         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9270         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9271
9272         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9273         (SINGLE_THREAD_P): New parameter for result regno.
9274         (PSEUDO): Update to match; use cbz instead of beq.
9275
9276         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9277         Use ENTRY to define the _nocancel entry point.  Share the syscall
9278         and syscall error check paths with the cancel path.
9279         (PSEUDO_END): New.
9280
9281         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9282         whitespace; tabs before and after asm mnemonics.
9283
9284 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9285
9286         [BZ #15132]
9287         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9288         Call fstat64 or stat64 internally, depending on arguments passed.
9289         Replace stat buffer argument with file descriptor argument.
9290         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9291         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9292         Pass fd to __internal_statvfs instead of calling fstat64.
9293         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9294         Pass fd to __internal_statvfs64 instead of calling fstat64.
9295         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9296         Pass -1 to __internal_statvfs instead of calling stat64.
9297         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9298         Pass -1 to __internal_statvfs64 instead of calling stat64.
9299
9300 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9301
9302         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9303         that was previously under [RESET_PID].
9304         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9305
9306         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9307         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9308
9309 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9310
9311         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9312
9313         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9314         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9315
9316 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9317
9318         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9319
9320 2014-05-27  Andreas Schwab  <schwab@suse.de>
9321
9322         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9323         TLS_INIT_TP macro.
9324         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9325         * elf/rtld.c (init_tls, dl_main): Likewise.
9326         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9327         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9328         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9329         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9330         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9331         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9332         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9333         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9334         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9335         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9336         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9337         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9338         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9339         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9340         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9341         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9342         * sysdeps/generic/tls.h: Update description.
9343
9344 2014-05-27  Will Newton  <will.newton@linaro.org>
9345
9346         [BZ #16990]
9347         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9348         and restore r2 rather than just restoring.
9349
9350 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9351
9352         [BZ #16724]
9353         * libio/tst-ftell-append.c: New test case.
9354         * libio/Makefile (tests): Add test case.
9355         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9356         append mode.
9357         * libio/wfileops.c (do_ftell_wide): Likewise.
9358
9359 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9360
9361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9362
9363         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9364         ...
9365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9367         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9368         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9369         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9370         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9371         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9372         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9373         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9374         Moved ...
9375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9376         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9377         Moved ...
9378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9379         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9380         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9381         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9382         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9383         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9384         ...
9385         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9386         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9387         Moved ...
9388         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9389         here.
9390         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9391         ...
9392         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9393         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9394         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9395
9396         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9397         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9398         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9399         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9400
9401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9402         merge into ...
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9404         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9405         ...
9406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9408         ...
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9411         Moved ...
9412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9413         here.
9414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9415         Moved ...
9416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9418         Moved ...
9419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9420
9421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9422         conditional [RESET_PID].
9423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9424         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9425         removed.
9426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9427         removed.
9428
9429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9430         <tcb-offsets.h>.
9431         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9432         (__libc_vfork): New strong alias.
9433         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9434         removed.
9435         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9436         Removed.
9437
9438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9439         <tcb-offsets.h>.
9440         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9441         (__libc_vfork): New strong alias.
9442         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9443         removed.
9444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9445         removed.
9446
9447 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9448
9449         * malloc/malloc.c (mi_arena): New function.
9450         (malloc_info): Remove nested function mi_arena. Call non-nosted
9451         function mi_arena.
9452
9453 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9454
9455         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9456         by insrwi.
9457         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9458         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9459         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9460         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9461         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9462         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9463         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9464
9465 2014-05-26  Andreas Schwab  <schwab@suse.de>
9466
9467         [BZ #16984]
9468         * locale/programs/repertoire.c (repertoire_read): Add slash
9469         between I18NPATH element and file name.
9470         * locale/programs/locfile.c (locfile_read): Likewise.
9471
9472 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9473
9474         * nptl/pthread_mutexattr_settype.c
9475         (__pthread_mutexattr_settype):
9476         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9477
9478 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9479
9480         * nptl/tst-mutex5 (do_test):
9481         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9482
9483 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9484
9485         * benchtests/README: Document 'init' directive.
9486         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9487         BENCH_INIT.
9488         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9489         (parse_file): Recognize 'init' directive.
9490
9491 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9492
9493         [BZ #16796]
9494         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9495         alignment of struct pthread.
9496
9497 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9498
9499         [BZ #16878]
9500         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9501         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9502         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9503         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9504
9505 2014-05-25  Richard Henderson  <rth@twiddle.net>
9506
9507         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9508         (SINGLE_THREAD_P_PIC): Remove.
9509         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9510         (SINGLE_THREAD_P_PIC): Remove.
9511
9512         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9513         branch to syscall error ...
9514         (PSEUDO): ... here.
9515         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9516         from __local_syscall_error to .Lsyscall_error.
9517         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9518         (SYSCALL_ERROR): Update label name.
9519
9520         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9521         Do not use DOARGS/UNDOARGS.
9522         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9523         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9524         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9525         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9526         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9527
9528         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9529         block comment.
9530
9531         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9532         define if !NOT_IN_libc.
9533         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9534         define with non-default symbol versions.
9535
9536 2014-05-23  Richard Henderson  <rth@twiddle.net>
9537
9538         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9539         (vfork, __vfork): Define via compat_symbol.
9540
9541         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9542         [!HAVE_IFUNC] (vfork_compat): Remove.
9543         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9544
9545 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9546
9547         [BZ #16978]
9548         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9549         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9550         variable.
9551
9552 2014-05-23  Richard Henderson  <rth@twiddle.net>
9553
9554         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9555         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9556         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9557         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9558
9559         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9560         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9561         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9562         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9563         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9564         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9565         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9566         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9567         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9568         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9569         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9570         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9571         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9572         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9573         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9574         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9575         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9576         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9577         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9578         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9579         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9580         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9581         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9582         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9583         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9584         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9585         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9586         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9587         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9588         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9589         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9590         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9591         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9592         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9593         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9594         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9595         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9596         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9597         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9598         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9599         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9600         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9601         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9602         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9603         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9604         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9605         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9606         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9607         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9608         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9609         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9610         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9611         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9612         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9613         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9614         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9615
9616         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9617         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9618         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9619         before exiting on error.
9620         (__libc_vfork): New strong alias.
9621         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9622         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9623
9624         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9625         that was previously under [RESET_PID].
9626         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9627
9628         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9629
9630 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9631
9632         [BZ #16977]
9633         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9634         value when x - 1 is zero.
9635         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9636         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9637         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9638         0.0L for an argument of 1.0L.
9639         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9640         Likewise.
9641         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9642         value when x - 1 is zero.
9643         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9644         * sysdeps/i386/fpu/libm-test-ulps: Update.
9645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9646
9647 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9648
9649         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9650         alphasort and versionsort.
9651
9652 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9653
9654         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9655         macro.
9656         [copysignf]: Likewise.
9657
9658 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9659
9660         * crypt/md5-crypt.c: Fix formatting.
9661
9662 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9663
9664         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9665         (b64_from_24bit): New function.
9666
9667 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9668
9669         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9670         libc_hidden_builtin_def to ifunc.
9671         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9672         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9673
9674 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9675
9676         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9677         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9678
9679 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9680
9681         * nscd/Depend (linuxthreads): Remove.
9682         (nptl): Add.
9683         * resolv/Depend (linuxthreads): Remove.
9684         * rt/Depend (linuxthreads): Remove.
9685
9686         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9687         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9688         $(common-objpfx)elf/.
9689         (link-libc-before-gnulib): Likewise.
9690         (elfobjdir): Remove variable.
9691         * Makefile (install): Use $(elf-objpfx) instead of
9692         $(common-objpfx)elf/.
9693         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9694         $(elfobjdir)/.
9695         (link-libc-deps): Likewise.
9696         ($(common-objpfx)libc.so): Likewise.
9697         ($(common-objpfx)linkobj/libc.so): Likewise.
9698         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9699         instead of $(common-objpfx)elf/.
9700         (symbolic-link-list): Likewise.
9701         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9702         [$(cross-compiling) = no]: Likewise.
9703         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9704         $(elfobjdir)/.
9705         (static-gnulib-arch): Likewise.
9706         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9707         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9708         $(common-objpfx)elf/.
9709
9710 2014-05-21  Richard Henderson  <rth@redhat.com>
9711
9712         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9713         (SINGLE_THREAD_P): Use the correct width load.  Fold
9714         into the ldr offset.
9715
9716         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9717         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9718
9719 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9720
9721         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9722         (libgcc_s_resume): Use __attribute_used__.
9723         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9724         Likewise.
9725
9726 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9727
9728         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9729         optimization when used with float constants.
9730
9731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9732
9733 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9734
9735         [BZ #16915]
9736         * locale/nl_langinfo_l.c: Make direct reference to every
9737         _nl_current_CATEGORY symbol.
9738         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9739         (tests-static): Add tst-langinfo-static.
9740         (tests-special): Add tst-langinfo-static.out.
9741         ($(objpfx)tst-langinfo.out): Redirect output.
9742         ($(objpfx)tst-langinfo-static.out): New.
9743         * localedata/tst-langinfo.sh: Send output to stdout.
9744         * localedata/tst-langinfo-static.c: New file.
9745
9746         [BZ #16965]
9747         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9748         when the shift amount is modulo the limb size.
9749
9750 2014-05-20  Richard Henderson  <rth@redhat.com>
9751
9752         [BZ #16967]
9753         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9754         Change type of sa_flags from unsigned int to int.
9755
9756         [BZ #16966]
9757         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9758
9759         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9760
9761 2014-05-20  Will Newton  <will.newton@linaro.org>
9762
9763         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9764         Test the return value of the system call in the nocancel case.
9765
9766 2014-05-20  Will Newton  <will.newton@linaro.org>
9767             Yvan Roux  <yvan.roux@linaro.org>
9768
9769         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9770         #include of asm/ptrace.h.
9771         (PTRACE_GET_THREAD_AREA): Remove #undef.
9772         (PTRACE_GETHBPREGS): Likewise.
9773         (PTRACE_SETHBPREGS): Likewise.
9774         (struct user_regs_struct): New structure.
9775         (struct user_fpsimd_struct): New structure.
9776         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9777         #include of asm/ptrace.h and second #include of sys/user.h.
9778         (PTRACE_GET_THREAD_AREA): Remove #undef.
9779         (PTRACE_GETHBPREGS): Likewise.
9780         (PTRACE_SETHBPREGS): Likewise.
9781         (ELF_NGREG): Use new struct user_regs_struct.
9782         (elf_fpregset_t): Use new struct user_fpsimd_struct.
9783
9784 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9785
9786         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9787         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9788
9789 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9790
9791         [BZ #16958]
9792         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9793         membar to avoid block loads/stores to overlap previous stores.
9794
9795 2014-05-17  Richard Henderson  <rth@redhat.com>
9796
9797         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9798         Create the __##syscall_name##_nocancel entry point.
9799         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9800         Remove; let the sysdep-cancel.h code create it.
9801
9802 2014-05-17  David S. Miller  <davem@davemloft.net>
9803
9804         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9805         Protect with __USE_GNU.
9806         (TIOCSET_TEMPT): Likewise.
9807         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9808         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9809         these are already provided in bits/ioctl-types.h
9810
9811 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9812
9813         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9814         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9815
9816         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9817         Use wait4 regardless of [__NR_waitpid].
9818
9819 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9820
9821         PR libgcc/60166
9822         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9823         (_FP_NANSIGN_Q): Set the quiet bit.
9824
9825 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
9826
9827         * benchtests/Makefile
9828         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9829         not $(common-objpfx)math/libm.so.
9830         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9831         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9832         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9833         $(common-objpfx)dlfcn/libdl.so.
9834         ($(objpfx)tst-audit8): Depend on $(libm), not
9835         $(common-objpfx)math/libm.so.
9836         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9837         not $(common-objpfx)dlfcn/libdl.so.
9838         * math/Makefile
9839         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9840         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
9841         [$(build-shared) = yes].
9842         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9843         $(common-objpfx)nptl/libpthread.so.
9844         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9845         $(common-objpfx)math/libm.so$(libm.so-version) or
9846         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9847         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9848         $(common-objpfx)dlfcn/libdl.so.
9849         * setjmp/Makefile (link-libm): Remove variable.
9850         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9851         * stdio-common/Makefile (link-libm): Remove variable.
9852         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9853         * stdlib/Makefile (link-libm): Remove variable.
9854         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9855         ($(objpfx)tst-strtod-round): Likewise.
9856         ($(objpfx)tst-tininess): Likewise.
9857         ($(objpfx)tst-strtod-underflow): Likewise.
9858         ($(objpfx)tst-strtod6): Likewise.
9859         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9860         $(libdl), not $(common-objpfx)nptl/libpthread.so and
9861         $(common-objpfx)dlfcn/libdl.so.
9862
9863 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9864
9865         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9866         BSD terminal modes definitions.
9867
9868 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9869
9870         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9871         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9872
9873         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9874         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9875         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9876         Don't do #include_next.
9877         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9878         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9879         Don't do #include_next.
9880         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9881         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9882         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9883         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9884
9885 2014-05-16  Allan McRae  <allan@archlinux.org>
9886
9887         * po/sv.po: Update Swedish translation from translation project.
9888
9889         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9890         in sed expression.
9891
9892 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
9893
9894         [BZ #16917]
9895         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9896         errno if the TIOCGPTN ioctl fails with an error different than
9897         EINVAL.
9898         * login/tst-ptsname.c: New file.
9899         * login/Makefile (tests): Add tst-ptsname.
9900
9901         [BZ #16943]
9902         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9903         and prlimit64.
9904
9905 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9906
9907         [BZ #16849]
9908         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9909         herrno to return EAI_AGAIN.
9910
9911 2014-05-14  Roland McGrath  <roland@hack.frob.com>
9912
9913         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9914         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9915         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9916         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9917         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9918         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9919         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9920         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9921         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9922         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9923         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9924         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9925         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9926         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9927         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9928         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9929         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9930         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9931         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9932         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9933         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9934         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9935         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9936         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9937         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9938         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9939         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9940         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9941         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9942         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9944         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9946         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9948         Moved ...
9949         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9951         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9953         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9955         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9957         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9959         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9961         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9963         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9965         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9967         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9969         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9971         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9973         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9975         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9977         Moved ...
9978         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9980         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9982         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9984         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9986         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9988         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9990         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9992         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9994         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9996         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9998         Moved ...
9999         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10001         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10002
10003         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10004         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10005         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10006         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10007         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10008         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10009         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10010         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10011         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10012         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10013         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10014         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10015         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10016         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10017         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10018         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10019         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10020         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10021         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10022         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10023         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10024         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10025         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10026         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10027         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10028         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10029         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10030         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10031         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10032         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10033         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10034
10035         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10036         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10037
10038         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10039         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10040         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10041         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10042         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10043         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10044         Moved ...
10045         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10046         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10047         Moved ...
10048         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10049         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10050         Moved ...
10051         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10052         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10053         Moved ...
10054         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10055         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10056         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10057         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10058         Moved ...
10059         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10060         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10061         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10062         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10063         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10064         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10065         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10066         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10067         Moved ...
10068         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10069         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10070         Moved ...
10071         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10072         ... here.
10073         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10074         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10075         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10076         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10077         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10078         Moved ...
10079         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10080         ... here.
10081         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10082         Moved ...
10083         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10084         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10085         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10086         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10087         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10088         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10089         Moved ...
10090         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10091         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10092         Moved ...
10093         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10094         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10095         Moved ...
10096         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10097         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10098         Moved ...
10099         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10100         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10101         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10102         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10103         Moved ...
10104         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10105         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10106         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10107         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10108         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10109         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10110         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10111         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10112         Moved ...
10113         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10114         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10115         Moved ...
10116         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10117         ... here.
10118         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10119         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10120         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10121         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10122         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10123         Moved ...
10124         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10125         ... here.
10126         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10127         Moved ...
10128         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10129         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10130         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10131         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10132         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10133         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10134         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10135         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10136         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10137         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10138         Moved ...
10139         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10140         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10141         Moved ...
10142         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10143         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10144         Moved ...
10145         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10146         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10147         Moved ...
10148         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10149         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10150         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10151         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10152         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10153         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10154         Moved ...
10155         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10156         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10157         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10158         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10159         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10160         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10161         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10162         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10163         Moved ...
10164         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10165         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10166         Moved ...
10167         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10168         ... here.
10169         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10170         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10171         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10172         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10173         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10174         Moved ...
10175         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10176         ... here.
10177         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10178         Moved ...
10179         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10180         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10181         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10182         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10183         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10184         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10185         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10186         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10187         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10188         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10189         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10190
10191         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10192         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10193
10194         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10195         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10196
10197         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10198         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10199         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10200         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10201         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10202         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10203         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10204         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10205         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10206         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10207         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10208         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10209         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10210         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10211         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10212         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10213         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10214         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10215         Moved ...
10216         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10217         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10218         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10219         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10220         Moved ...
10221         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10222         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10223         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10224         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10225         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10226         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10227         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10228         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10229         Moved ...
10230         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10231         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10232         Moved ...
10233         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10234         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10235         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10236         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10237         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10238         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10239         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10240         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10241         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10242         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10243         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10244         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10245         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10246         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10247         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10248         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10249         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10250
10251         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10252         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10253         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10254         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10255         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10256
10257         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10258         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10259         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10260         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10261         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10262         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10263         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10264         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10265         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10266         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10267
10268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10269         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10270
10271         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10272         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10273         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10274         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10275         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10276         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10277         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10278         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10279         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10280         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10281         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10282         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10283         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10284         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10286         Update #include.
10287         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10288         Likewise.
10289         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10290         Likewise.
10291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10292         Likewise.
10293         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10294         Likewise.
10295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10296         Likewise.
10297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10298         Likewise.
10299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10300         Likewise.
10301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10302         Likewise.
10303         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10304         Likewise.
10305         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10306         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10307         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10308         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10309         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10310         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10311         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10312         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10313         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10314         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10315         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10316         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10317         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10318         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10319         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10320
10321         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10322         that was previously under [RESET_PID].
10323         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10324         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10325         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10326
10327         * sysdeps/i386/nptl/Implies: New file.
10328         * sysdeps/x86_64/nptl/Implies: New file.
10329         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10330         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10331         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10332         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10333
10334         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10335         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10336         (__libc_vfork): New strong alias.
10337         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10338         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10339
10340         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10341         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10342         (__libc_vfork): New strong alias.
10343         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10344         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10345
10346         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10347         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10348         (__libc_vfork): New strong alias.
10349         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10350         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10351         * nptl/pt-vfork.c: New file.
10352         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10353         (libpthread: GLIBC_2.20): New version set (empty).
10354
10355 2014-05-14  Will Newton  <will.newton@linaro.org>
10356
10357         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10358         rather than #if.
10359
10360 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10361
10362         [BZ #16564]
10363         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10364         arguments with exponent 65 or above.
10365         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10366         arguments 0x1p113L or above.
10367         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10368         to arguments 0x1p107L or above.
10369         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10370         positive arguments with exponent 65 or above.
10371         * math/auto-libm-test-in: Add more tests of log1p.
10372         * math/auto-libm-test-out: Regenerated.
10373
10374         [BZ #16928]
10375         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10376         non-finite arguments is +0.
10377         * math/s_cacosf.c (__cacosf): Likewise.
10378         * math/s_cacosl.c (__cacosl): Likewise.
10379         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10380         * sysdeps/i386/fpu/libm-test-ulps: Update.
10381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10382
10383         [BZ #16927]
10384         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10385         value.
10386         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10387         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10388         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10389         for explicit high bit of mantissa when testing for argument equal
10390         to 1.
10391         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10392         * sysdeps/i386/fpu/libm-test-ulps: Update.
10393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10394
10395         [BZ #16516]
10396         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10397         (__erf): Scale by 16 instead of 8 in potentially underflowing
10398         case.  Ensure exception if result actually underflows.
10399         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10400         (__erff): Scale by 16 instead of 8 in potentially underflowing
10401         case.  Ensure exception if result actually underflows.
10402         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10403         (efx8): Remove variable.
10404         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10405         case.  Ensure exception if result actually underflows.
10406         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10407         (efx8): Remove variable.
10408         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10409         case.  Ensure exception if result actually underflows.
10410         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10411         (efx8): Remove variable.
10412         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10413         case.  Ensure exception if result actually underflows.
10414         * math/auto-libm-test-in: Add more tests of erf.
10415         * math/auto-libm-test-out: Regenerated.
10416
10417 2014-05-14  Andreas Schwab  <schwab@suse.de>
10418
10419         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10420         Remove code conditionalized on USE___THREAD.
10421
10422         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10423         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10424         not definedness.
10425
10426 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10427
10428         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10429         Define unconditionally.
10430         (__ASSUME_O_CLOEXEC): Likewise.
10431         (__ASSUME_SOCK_CLOEXEC): Likewise.
10432         (__ASSUME_IN_NONBLOCK): Likewise.
10433         (__ASSUME_PIPE2): Likewise.
10434         (__ASSUME_EVENTFD2): Likewise.
10435         (__ASSUME_SIGNALFD4): Likewise.
10436         (__ASSUME_DUP3): Likewise.
10437         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10438         (__ASSUME_DUP3): Do not define.
10439         (__ASSUME_EVENTFD2): Likewise.
10440         (__ASSUME_IN_NONBLOCK): Likewise.
10441         (__ASSUME_O_CLOEXEC): Likewise.
10442         (__ASSUME_PIPE2): Likewise.
10443         (__ASSUME_SIGNALFD4): Likewise.
10444         (__ASSUME_SOCK_CLOEXEC): Likewise.
10445         (__ASSUME_UTIMES): Undefine.
10446         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10447         (__ASSUME_UTIMES): Do not define.
10448         (__ASSUME_O_CLOEXEC): Likewise.
10449         (__ASSUME_SOCK_CLOEXEC): Likewise.
10450         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10451         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10452         0x020621].
10453         (__ASSUME_PIPE2): Likewise.
10454         (__ASSUME_EVENTFD2): Likewise.
10455         (__ASSUME_SIGNALFD4): Likewise.
10456         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10457         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10458         Do not define.
10459         (__ASSUME_EVENTFD2): Likewise.
10460         (__ASSUME_SIGNALFD4): Likewise.
10461         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10462         (__ASSUME_32BITUIDS): Likewise.
10463         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10464         (__ASSUME_IPC64): Likewise.
10465         (__ASSUME_ST_INO_64_BIT): Likewise.
10466         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10467         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10468         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10469         (__ASSUME_UTIMES): Do not define.
10470         (__ASSUME_PSELECT): Likewise.
10471         (__ASSUME_PPOLL): Likewise.
10472         (__ASSUME_O_CLOEXEC): Likewise.
10473         (__ASSUME_SOCK_CLOEXEC): Likewise.
10474         (__ASSUME_IN_NONBLOCK): Likewise.
10475         (__ASSUME_PIPE2): Likewise.
10476         (__ASSUME_EVENTFD2): Likewise.
10477         (__ASSUME_SIGNALFD4): Likewise.
10478         (__ASSUME_DUP3): Likewise.
10479         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10480         (__ASSUME_UTIMES): Likewise.
10481         (__ASSUME_O_CLOEXEC): Likewise.
10482         (__ASSUME_SOCK_CLOEXEC): Likewise.
10483         (__ASSUME_IN_NONBLOCK): Likewise.
10484         (__ASSUME_PIPE2): Likewise.
10485         (__ASSUME_EVENTFD2): Likewise.
10486         (__ASSUME_SIGNALFD4): Likewise.
10487         (__ASSUME_DUP3): Likewise.
10488         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10489         (__ASSUME_UTIMES): Likewise.
10490         (__ASSUME_O_CLOEXEC): Likewise.
10491         (__ASSUME_SOCK_CLOEXEC): Likewise.
10492         (__ASSUME_IN_NONBLOCK): Likewise.
10493         (__ASSUME_PIPE2): Likewise.
10494         (__ASSUME_EVENTFD2): Likewise.
10495         (__ASSUME_SIGNALFD4): Likewise.
10496         (__ASSUME_DUP3): Likewise.
10497         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10498         Likewise.
10499         (__ASSUME_UTIMES): Likewise.
10500         (__ASSUME_EVENTFD2): Likewise.
10501         (__ASSUME_SIGNALFD4): Likewise.
10502         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10503         (__ASSUME_O_CLOEXEC): Likewise.
10504         (__ASSUME_SOCK_CLOEXEC): Likewise.
10505         (__ASSUME_IN_NONBLOCK): Likewise.
10506         (__ASSUME_PIPE2): Likewise.
10507         (__ASSUME_EVENTFD2): Likewise.
10508         (__ASSUME_SIGNALFD4): Likewise.
10509         (__ASSUME_DUP3): Likewise.
10510         (__ASSUME_UTIMES): Undefine.
10511
10512         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10513         feclearexcept.  Remove symbol versioning code.
10514         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10515         symbol versioning code.
10516         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10517         symbol versioning code.
10518         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10519         feupdateenv.  Remove symbol versioning code.
10520         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10521         fegetexceptflag.  Remove symbol versioning code.
10522         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10523         fesetexceptflag.  Remove symbol versioning code.
10524         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10525         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10526         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10527         (__posix_fadvise64_l32): Remove prototype.
10528         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10529         code.
10530
10531 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10532
10533         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10534         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10535         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10536         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10537
10538 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10539
10540         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10541         current working directory
10542
10543 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10544
10545         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10546         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10547         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10548         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10549         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10550         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10551         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10552         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10553         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10554         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10555         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10556         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10557         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10558         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10559         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10560         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10561         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10562         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10563         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10564         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10565         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10566         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10567         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10568         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10569         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10570         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10571         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10572         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10573         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10574         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10575         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10576         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10577         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10578         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10579         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10580         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10581         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10582         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10583         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10584         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10585         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10586         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10587
10588         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10589         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10590
10591         * sysdeps/unix/sysv/linux/arm/Makefile
10592         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10593         Add rt-aeabi_unwind_cpp_pr1.
10594         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10595         Add nptl-aeabi_unwind_cpp_pr1.
10596         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10597         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10598         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10599         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10600         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10601         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10602
10603         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10604         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10605         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10606         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10607
10608         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10609         Deconditionalize the code that was previously under [RESET_PID].
10610         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10611
10612         * sysdeps/generic/exit-thread.h: New file.
10613         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10614         * include/unistd.h (__exit_thread): Remove declaration.
10615         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10616         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10617         * csu/libc-start.c: Include <exit-thread.h>.
10618         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10619         * nptl/pthread_create.c: Include <exit-thread.h>.
10620         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10621         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10622         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10623         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10624         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10625         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10626         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10627         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10628         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10629         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10630         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10631         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10632         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10633         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10634         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10635         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10636         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10637
10638 2014-05-13  Andreas Schwab  <schwab@suse.de>
10639
10640         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10641
10642 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10643
10644         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10645         (__ASSUME_UTIMES): Do not condition on kernel version.
10646         (__ASSUME_PSELECT): Define unconditionally.
10647         (__ASSUME_PPOLL): Likewise.
10648         (__ASSUME_ATFCTS): Likewise.
10649         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10650         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10651         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10652         (__ASSUME_UTIMENSAT): Define unconditionally.
10653         (__ASSUME_PRIVATE_FUTEX): Likewise.
10654         (__ASSUME_FALLOCATE): Likewise.
10655         (__ASSUME_O_CLOEXEC): Likewise.
10656         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10657         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10658         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10659         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10660         (__ASSUME_IN_NONBLOCK): Likewise.
10661         (__ASSUME_PIPE2): Likewise.
10662         (__ASSUME_EVENTFD2): Likewise.
10663         (__ASSUME_SIGNALFD4): Likewise.
10664         (__ASSUME_DUP3): Likewise.
10665         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10666         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10667         (__ASSUME_AT_RANDOM): Likewise.
10668         (__ASSUME_PREADV): Likewise.
10669         (__ASSUME_PWRITEV): Likewise.
10670         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10671         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10672         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10673         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10674         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10675         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10676         (__ASSUME_O_CLOEXEC): Define unconditionally.
10677         (__ASSUME_PSELECT): Do not undefine conditionally.
10678         (__ASSUME_PPOLL): Likewise.
10679         (__ASSUME_ATFCTS): Likewise.
10680         (__ASSUME_SET_ROBUST_LIST): Likewise.
10681         (__ASSUME_UTIMENSAT): Likewise.
10682         (__ASSUME_FDATASYNC): Define unconditionally.
10683         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10684         (__ASSUME_SIGFRAME_V2): Likewise.
10685         )__ASSUME_EVENTFD2): Likewise.
10686         (__ASSUME_SIGNALFD4): Likewise.
10687         (__ASSUME_PSELECT): Do not undefine conditionally.
10688         (__ASSUME_PPOLL): Likewise.
10689         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10690         (__ASSUME_PSELECT): Define unconditionally.
10691         (__ASSUME_PPOLL): Likewise.
10692         (__ASSUME_O_CLOEXEC): Likewise.
10693         (__ASSUME_SOCK_CLOEXEC): Likewise.
10694         (__ASSUME_IN_NONBLOCK): Likewise.
10695         (__ASSUME_PIPE2): Likewise.
10696         (__ASSUME_EVENTFD2): Likewise.
10697         (__ASSUME_SIGNALFD4): Likewise.
10698         (__ASSUME_DUP3): Likewise.
10699         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10700         (__ASSUME_O_CLOEXEC): Likewise.
10701         (__ASSUME_SOCK_CLOEXEC): Likewise.
10702         (__ASSUME_IN_NONBLOCK): Likewise.
10703         (__ASSUME_PIPE2): Likewise.
10704         (__ASSUME_EVENTFD2): Likewise.
10705         (__ASSUME_SIGNALFD4): Likewise.
10706         (__ASSUME_DUP3): Likewise.
10707         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10708         (__ASSUME_EVENTFD2): Likewise.
10709         (__ASSUME_SIGNALFD4): Likewise.
10710         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10711
10712 2014-05-12  Andreas Schwab  <schwab@suse.de>
10713
10714         [BZ #16932]
10715         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10716         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10717         than maximum RPC packet size.
10718         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10719         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10720         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10721         (_nss_nis_getservbyport_r): Likewise.
10722
10723 2014-05-12  Will Newton  <will.newton@linaro.org>
10724
10725         * malloc/Makefile (tests): Add tst-mallopt.
10726         * malloc/tst-mallopt.c: New file.
10727
10728 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10729
10730         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10731         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10732
10733 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10734
10735         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10736         (tst-tlsmod6.so): Likewise.
10737
10738 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10739
10740         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10741
10742 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10743
10744         [BZ #16064]
10745         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10746         and <dl-procinfo.h>.
10747         (__fegetenv): Save SSE state in envp->__eip if supported.
10748         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10749         envp->__eip if supported.
10750         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10751         and <dl-procinfo.h>.
10752         (__fesetenv): Always set __eip, __cs_selector, __opcode,
10753         __data_offset and __data_selector in environment to 0.  Set SSE
10754         state if supported.
10755         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10756         test-fenv-sse.
10757         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10758         -mfpmath=sse.
10759         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10760
10761 2014-05-09  Will Newton  <will.newton@linaro.org>
10762
10763         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10764         and libc_relro_required for ARM.
10765         * sysdeps/arm/preconfigure: Regenerate.
10766
10767 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
10768             Stefan Liebler  <stli@linux.vnet.ibm.com>
10769
10770         * config.make.in (enable-lock-elision): New Makefile variable.
10771         * configure.ac: Likewise.
10772         * configure: Regenerate.
10773         * sysdeps/s390/configure.ac:
10774         Add check for gcc transactions support.
10775         * sysdeps/s390/configure: Regenerate.
10776         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10777         Build elision files if enabled.
10778         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10779         Add lock elision support for s390.
10780         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10781         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10782         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10783         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10784         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10785         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10786         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10787         Likewise.
10788         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10789         Likewise.
10790         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10791         Likewise.
10792         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10793         Likewise.
10794         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10795         (__lll_timedlock_elision, __lll_lock_elision)
10796         (__lll_unlock_elision, __lll_trylock_elision)
10797         (lll_timedlock_elision, lll_lock_elision)
10798         (lll_unlock_elision, lll_trylock_elision): Add.
10799         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10800         (pthread_mutex_t): Add lock elision support for s390.
10801
10802 2014-05-14  Wilco  <wdijkstr@arm.com>
10803
10804         * sysdeps/arm/fclrexcpt.c: Cleanup.
10805         * sysdeps/arm/fedisblxcpt.c: Cleanup.
10806         * sysdeps/arm/feenablxcpt.c: Cleanup.
10807         * sysdeps/arm/fegetenv.c: Cleanup.
10808         * sysdeps/arm/fegetexcept.c: Cleanup.
10809         * sysdeps/arm/fegetround.c: Cleanup.
10810         * sysdeps/arm/feholdexcpt.c: Cleanup.
10811         * sysdeps/arm/fesetenv.c: Cleanup.
10812         * sysdeps/arm/fesetround.c: Cleanup.
10813         * sysdeps/arm/feupdateenv.c: Cleanup.
10814         * sysdeps/arm/fgetexcptflg.c: Cleanup.
10815         * sysdeps/arm/fraiseexcpt.c: Cleanup.
10816         * sysdeps/arm/fsetexcptflg.c: Cleanup.
10817         * sysdeps/arm/ftestexcept.c: Cleanup.
10818         * sysdeps/arm/get-rounding-mode.h: Cleanup.
10819         * sysdeps/arm/setfpucw.c: Cleanup.
10820
10821 2014-05-09  Will Newton  <will.newton@linaro.org>
10822
10823         * sysdeps/arm/armv7/strcmp.S: New file.
10824         * NEWS: Mention addition of ARMv7 optimized strcmp.
10825
10826 2014-05-08  Roland McGrath  <roland@hack.frob.com>
10827
10828         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10829         look for %.ac rather than %.in.
10830
10831         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10832         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10833         * sysdeps/mach/hurd/configure: Regenerated.
10834         * sysdeps/unix/sysv/linux/configure: Regenerated.
10835
10836         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10837
10838 2014-05-07  Steve Ellcey  <sellcey@mips.com>
10839
10840         [BZ# 16922]
10841         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10842         (LONG_SUB): Ditto.
10843         (PTR_SUB): Ditto.
10844
10845 2014-05-07  Andreas Schwab  <schwab@suse.de>
10846
10847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10848         when skipping over non-matching result from nscd.
10849
10850 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
10851
10852         [BZ #16876]
10853         * nptl/sockperf.c (client): Check socket return value.
10854
10855         [BZ #16877]
10856         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10857         nscd security class.
10858
10859 2014-05-06  Roland McGrath  <roland@hack.frob.com>
10860
10861         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10862         * sysdeps/arm/unwind.h: ... here.
10863
10864 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
10865
10866         [BZ# 16916]
10867         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10868         Define.
10869
10870 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10871
10872         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10873         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10874         multiarch strncpy for PPC64.
10875         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10876         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10877         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10878         multiarch optimizations.
10879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10880         (__libc_ifunc_impl_list): Likewise.
10881         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10882         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10883         multiarch stpncpy for PPC64.
10884         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10885         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10886
10887 2014-05-06  Andreas Schwab  <schwab@suse.de>
10888
10889         [BZ #16912]
10890         * gmon/mcount.c (_MCOUNT_DECL): Use
10891         atomic_compare_and_exchange_bool_acq instead of
10892         catomic_compare_and_exchange_bool_acq.
10893
10894 2014-05-05  Roland McGrath  <roland@hack.frob.com>
10895
10896         * elf/Makefile (others, install-bin): Remove pldd.
10897         (pldd-modules): Variable removed.
10898         ($(objpfx)pldd): Target removed.
10899         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10900         (others, install-bin): Append pldd here.
10901         ($(objpfx)pldd): New target.
10902
10903         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10904         to 0, so the first #if test emitted later doesn't see it undefined.
10905         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10906         * sysdeps/gnu/errlist.c: Regenerated.
10907
10908 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10909
10910         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10911         [libc_hidden_builtin_def]: Define to empty value.
10912         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10913         [libc_hidden_builtin_def]: Likewise.
10914         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10915         [libc_hidden_builtin_def]: Likewise.
10916         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10917         [libc_hidden_builtin_def]: Likewise.
10918         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10919         __redirect_memcpy and define ifunc as default hidden symbol.
10920         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10921         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10922
10923 2014-05-04  Adam Conrad  <adconrad@0c3.net>
10924
10925         * locale/iso-4217.def: Reintroduce XDR currency.
10926
10927 2014-05-04  Allan McRae  <allan@archlinux.org>
10928
10929         * po/eo.po: Update Esperanto translation from translation project.
10930
10931 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
10932
10933         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10934         and FEATURE_INDEX_MAX to 1.
10935         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10936
10937 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10938
10939         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10940         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10941         * iconvdata/big5.c (ONE_DIRECTION): Define.
10942         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10943         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10944         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10945         * iconvdata/cp932.c (ONE_DIRECTION): Define.
10946         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10947         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10948         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10949         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10950         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10951         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10952         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10953         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10954         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10955         * iconvdata/gbk.c (ONE_DIRECTION): Define.
10956         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10957         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10958         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10959         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10960         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10961         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10962         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10963         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10964         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10965         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10966         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10967         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10968         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10969         * iconvdata/iso646.c (ONE_DIRECTION): Define.
10970         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10971         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10972         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10973         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10974         * iconvdata/johab.c (ONE_DIRECTION): Define.
10975         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10976         * iconvdata/sjis.c (ONE_DIRECTION): Define.
10977         * iconvdata/t.61.c (ONE_DIRECTION): Define.
10978         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10979         * iconvdata/tscii.c (ONE_DIRECTION): Define.
10980         * iconvdata/uhc.c (ONE_DIRECTION): Define.
10981         * iconvdata/unicode.c (ONE_DIRECTION): Define.
10982         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10983         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10984         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10985
10986 2014-05-01  Roland McGrath  <roland@hack.frob.com>
10987
10988         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10989         (_IO_JUMPS_OFFSET): Define to 0.
10990
10991         * nptl/sysdeps/pthread/bits/libc-lock.h
10992         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10993         (__libc_lock_define_initialized_recursive): Always define using
10994         initializer.  Modern compilers treat uninitialized (implicit zero) and
10995         explicit zero initializers the same (i.e. put the datum in bss).
10996
10997 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10998
10999         * nscd/nscd-client.h: Include <string.h>.
11000
11001 2014-05-01  David S. Miller  <davem@davemloft.net>
11002
11003         [BZ #16885]
11004         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11005         multiple zero bytes exist at the end of a string.
11006         Reported by Aurelien Jarno <aurelien@aurel32.net>
11007
11008         * string/test-strcmp.c (check): Add explicit test for situations where
11009         there are multiple zero bytes after the first.
11010
11011 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11012
11013         [BZ #16890]
11014         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11015         when compiling wprintf.
11016         * stdio-common/tstdiomisc.c (t3): New function.
11017         (main): Call it.
11018
11019 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11020
11021         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11022         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11023         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11024         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11025
11026 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11027
11028         * stdlib/longlong.h: Updated from GCC.
11029
11030 2014-05-01  Will Newton  <will.newton@linaro.org>
11031             Bernard Ogden  <bernie.ogden@linaro.org>
11032
11033         * NEWS: Update fixed bug list.
11034
11035         [BZ #15119]
11036         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11037
11038 2014-04-30  David S. Miller  <davem@davemloft.net>
11039
11040         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11041         (libc_feholdexcept_setround_sparc_ctx): New function.
11042         (libc_fesetenv_sparc_ctx): Likewise.
11043         (libc_feupdateenv_sparc_ctx): Likewise.
11044         (libc_feholdsetround_sparc_ctx): Likewise.
11045         (libc_feholdexcept_setround_ctx): Define.
11046         (libc_feholdexcept_setroundf_ctx): Likewise.
11047         (libc_feholdexcept_setroundl_ctx): Likewise.
11048         (libc_fesetenv_ctx): Likewise.
11049         (libc_fesetenvf_ctx): Likewise.
11050         (libc_fesetenvl_ctx): Likewise.
11051         (libc_feupdateenv_ctx): Likewise.
11052         (libc_feupdateenvf_ctx): Likewise.
11053         (libc_feupdateenvl_ctx): Likewise.
11054         (libc_feresetround_ctx): Likewise.
11055         (libc_feresetroundf_ctx): Likewise.
11056         (libc_feresetroundl_ctx): Likewise.
11057         (libc_feholdsetround_ctx): Likewise.
11058         (libc_feholdsetroundf_ctx): Likewise.
11059         (libc_feholdsetroundl_ctx): Likewise.
11060
11061         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11062         with __USE_GNU instead of XOPEN cpp guards.
11063
11064         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11065         0.
11066
11067         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11068         with XOPEN cpp guards.
11069
11070 2014-04-30  Julian Brown  <julian@codesourcery.com>
11071
11072         [BZ #16888]
11073         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11074         handling.
11075
11076 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11077
11078         [BZ #9894]
11079         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11080         Change to 2.6.32.
11081         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11082         * sysdeps/unix/sysv/linux/configure: Regenerated.
11083         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11084         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11085         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11086         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11087         * README: Update reference to required Linux kernel version.
11088         * manual/install.texi (Linux): Update reference to required Linux
11089         kernel headers version.
11090         * INSTALL: Regenerated.
11091
11092         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11093         header inclusion.
11094         [POSIX] (limits.h): Likewise.
11095         [POSIX] (math.h): Likewise.
11096         [POSIX] (sys/wait.h): Likewise.
11097         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11098         function.
11099         [POSIX] (stddef.h): Do not allow header inclusion.
11100
11101 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11102
11103         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11104
11105 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11106
11107         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11108         Return immediately after lll_futex_wake.
11109
11110 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11111
11112         [BZ #16791]
11113         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11114         structure.
11115         (datahead_init_pos): Call datahead_init_common early.
11116         (datahead_init_neg): Likewise.
11117
11118         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11119         datahead_init_neg): New functions.
11120         * nscd/aicache.c (addhstaiX): Use them.
11121         * nscd/grpcache.c (cache_addgr): Likewise.
11122         * nscd/hstcache.c (cache_addhst): Likewise.
11123         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11124         * nscd/netgroupcache.c (do_notfound): Likewise.
11125         (addgetnetgrentX): Likewise.
11126         (addinnetgrX): Likewise.
11127         * nscd/pwdcache.c (cache_addpw): Likewise.
11128         * nscd/servicescache.c (cache_addserv): Likewise.
11129
11130 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11131             Atsushi Onoe  <atsushi@onoe.org>
11132
11133         [BZ #14308]
11134         [BZ #12994]
11135         [BZ #13651]
11136         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11137         one response is valid.
11138         * resolv/res_send.c (send_dg): Check for validity of other
11139         response if the current response is a referral.
11140
11141 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11142
11143         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11144
11145 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11146
11147         [BZ #16823]
11148         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11149         Always divide by positive zero when computing -Inf result.
11150         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11151         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11152
11153 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11154
11155         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11156         FPSCR if value do not change.
11157         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11158         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11159         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11160         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11161         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11162         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11163         function.
11164
11165 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11166
11167         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11168         * sysdeps/unix/sysv/linux/hppa: Move directory from
11169         ports/systeps/unix/sysv/linux/hppa.
11170         * README: Update listing for hppa-*-linux-gnu.
11171
11172 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11173
11174         [BZ #16754]
11175         * manual/stdio.texi (Hook functions): Fix types of stream hook
11176         functions.
11177         [BZ #16854]
11178         * socket/sys/socket.h: Fix typo in comment.
11179
11180 2014-04-28  Wilco  <wdijkstr@arm.com>
11181
11182         * sysdeps/arm/fenv_private.h: New file.
11183         * sysdeps/arm/math_private.h: New file.
11184         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11185
11186 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11187
11188         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11189         with __int128_t.
11190         (La_x86_64_retval): Likewise.
11191
11192 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11193
11194         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11195         fpsr if value didn't change.
11196         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11197         to fpcr if value didn't change.
11198         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11199         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11200         fpsr or fpcr if value didn't change.
11201         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11202         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11203         fpcr if value didn't change.
11204         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11205         to fpsr if value didn't change.
11206
11207 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11208
11209         * nptl/tst-sem3.c: Use test-skeleton.c
11210         (main): Rename to do_test.  Use return instead of
11211         exit.
11212         * nptl/tst-sem4.c: Use test-skeleton.c
11213         (main): Rename to do_test.
11214
11215 2014-04-22  David S. Miller  <davem@davemloft.net>
11216
11217         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11218         (struct sigaction): New struct member __glibc_reserved0, change
11219         type of sa_flags to int.
11220
11221 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11222
11223         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11224         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11225
11226 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11227
11228         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11229         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11230
11231 2014-04-22  Will Newton  <will.newton@linaro.org>
11232             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11233
11234         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11235         (__longjmp): Add longjmp and longjmp_target SystemTap
11236         probes.
11237         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11238         (__sigsetjmp): Add setjmp SystemTap probe.
11239
11240 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11241
11242         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11243         match manual order.
11244
11245 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11246
11247         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11248
11249         * sysdeps/powerpc/fpu/fenv_private.h
11250         (libc_feholdexcept_setroundl_ctx): Define to
11251         libc_feholdexcept_setround_ppc_ctx.
11252         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11253         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11254         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11255         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11256
11257 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11258
11259         * sysdeps/aarch64/math-tests.h: New file.
11260
11261 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11262
11263         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11264         New.
11265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11266         Check and set bit_AVX2_Usable.
11267         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11268         macro.
11269         (bit_AVX2): Likewise.
11270         (index_AVX2_Usable): Likewise.
11271         (CPUID_AVX2): Likewise.
11272         (HAS_AVX2): Likewise.
11273
11274 2014-04-17  Will Newton  <will.newton@linaro.org>
11275
11276         * manual/setjmp.texi (System V contexts): Add note that
11277         calling setcontext on a context created by a call to a
11278         signal handler is undefined.  Update text to note that
11279         setcontext from a signal handler is possible but not
11280         recommended.
11281
11282         [BZ #16629]
11283         * stdlib/tst-setcontext.c: Include signal.h.
11284         (main): Check that the signal stack before and
11285         after swapcontext is the same.
11286
11287         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11288         Re-implement to restore registers in user code and avoid
11289         rt_sigreturn system call.
11290
11291 2014-04-17  Wilco  <wdijkstr@arm.com>
11292
11293         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11294         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11295         * math/test-fenv.c: Skip exception trap tests on targets which only
11296         support non-stop mode.
11297
11298 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11299             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11300
11301         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11302         (libc_feholdsetround_aarch64_ctx)
11303         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11304         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11305         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11306         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11307         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11308         (libc_feresetround_noexl_ctx): Define.
11309
11310 2014-04-16  Richard Henderson  <rth@redhat.com>
11311
11312         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11313
11314         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11315         unwind tables.
11316
11317         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11318         const from the non-libc, non-ldso copy.
11319
11320         * sysdeps/alpha/libm-test-ulps: Regenerate.
11321
11322 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11323             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11324
11325         * sysdeps/aarch64/fpu/math_private.h: New file.
11326
11327 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11328
11329         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11330
11331 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11332
11333         [BZ #16275]
11334         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11335         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11336         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11337         Intel MPX bound registers before _dl_profile_fixup.
11338         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11339         registers after _dl_profile_fixup.  Save and restore bound
11340         registers bnd0/bnd1 when calling _dl_call_pltexit.
11341         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11342         (LR_BND_OFFSET): Likewise.
11343         (LRV_BND0_OFFSET): Likewise.
11344         (LRV_BND1_OFFSET): Likewise.
11345
11346 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11347
11348         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11349         to...
11350         * sysdeps/mach/hurd/i386/tls.h: ... here.
11351         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11352         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11353         fields.
11354
11355 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11356
11357         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11358
11359 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11360
11361         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11362
11363 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11364
11365         [BZ #14770]
11366         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11367         * sysdeps/s390/configure: Regenerate.
11368
11369         [BZ #16824]
11370         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11371         Set round-to-nearest internally to reduce error accumulation.
11372
11373 2014-04-16  Alan Modra  <amodra@gmail.com>
11374
11375         [BZ #16740]
11376         [BZ #16619]
11377         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11378         * math/libm-test.inc (frexp_test_data): Add tests.
11379         * NEWS: Update fixed bug list.
11380
11381 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11382
11383         * benchtests/Makefile: Depend on libraries in build directory.
11384         (bench-math): Separate out math tests.
11385         (bench-pthread): Separate out pthread tests.
11386         (bench): Include math and pthread tests.
11387
11388 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11389
11390         [BZ #16831]
11391         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11392         _dl_debug_initialize.
11393
11394         * configure.ac: Remove SELinux header check.
11395         * configure: Regenerate.
11396         * nscd/selinux.c (perms): Array of const char* to permission names.
11397         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11398         default policy. Call string_to_security_class and string_to_av_perm to
11399         translate strings. Enforce default policy and call avs_has_perm with
11400         results of translated strings.
11401
11402 2014-04-13  David S. Miller  <davem@davemloft.net>
11403
11404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11405
11406 2014-04-12  Allan McRae  <allan@archlinux.org>
11407
11408         [BZ #16838]
11409         * manual/string.texi (Collation Functions): Fix qsort argument
11410         order in example.
11411         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11412
11413 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11414
11415         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11416         Make the test a no-op if there are no exceptions defined.
11417
11418 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11419
11420         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11421         enable-hardcoded-path-in-tests
11422
11423 2014-04-11  Will Newton  <will.newton@linaro.org>
11424
11425         * benchtests/Makefile (extra-objs): Add json-lib.o.
11426         (bench-func): Tidy up JSON output.
11427         * benchtests/bench-skeleton.c: Include json-lib.h.
11428         (main): Use JSON library functions to do output of
11429         benchmark results.
11430         * benchtests/bench-timing-type.c (main): Output the
11431         timing type simply, leaving formatting to the user.
11432         * benchtests/json-lib.c: New file.
11433         * benchtests/json-lib.h: Likewise.
11434
11435 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11436
11437         [BZ #15215]
11438         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11439         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11440         memory barriers.  Add comments.
11441         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11442         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11443         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11444         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11445         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11446         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11447
11448 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11449
11450         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11451         * sysdeps/s390/s390-64/configure.ac: ... this ...
11452         * sysdeps/s390/configure.ac: ... to here.
11453         * sysdeps/s390/s390-32/configure: Delete file.
11454         * sysdeps/s390/s390-64/configure: Delete file.
11455         * sysdeps/s390/configure: Regenerate.
11456
11457 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11458
11459         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11460
11461 2014-04-11  Will Newton  <will.newton@linaro.org>
11462
11463         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11464         to zero if it is not defined elsewhere.  (mtrim): Test
11465         the value of MALLOC_DEBUG with #if rather than #ifdef.
11466
11467 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11468
11469         * benchtests/pthread_once-inputs: New file.
11470         * benchtests/pthread_once-source.c: New file.
11471         * benchtests/README: Update documentation.
11472
11473 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11474             H.J. Lu  <hongjiu.lu@intel.com>
11475
11476         [BZ #16275]
11477         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11478         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11479         * sysdeps/x86_64/configure: Regenerated.
11480         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11481         macro.
11482         (REGISTER_SAVE_RAX): Likewise.
11483         (REGISTER_SAVE_RCX): Likewise.
11484         (REGISTER_SAVE_RDX): Likewise.
11485         (REGISTER_SAVE_RSI): Likewise.
11486         (REGISTER_SAVE_RDI): Likewise.
11487         (REGISTER_SAVE_R8): Likewise.
11488         (REGISTER_SAVE_R9): Likewise.
11489         (REGISTER_SAVE_BND0): Likewise.
11490         (REGISTER_SAVE_BND1): Likewise.
11491         (REGISTER_SAVE_BND2): Likewise.
11492         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11493         bound registers when calling _dl_fixup.
11494
11495 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11496
11497         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11498         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11499         of its definition.
11500         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11501         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11502         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11503         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11504         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11505         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11506         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11507
11508 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11509
11510         [BZ #15514]
11511         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11512         pathconf(_PC_NAME_MAX).
11513
11514 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11515
11516         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11517         Remove macro usage.
11518         (__PTHREAD_SPINS): Move definition to ...
11519         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11520         (__PTHREAD_SPINS): ... here.
11521         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11522         (__PTHREAD_SPIN): Likewise.
11523         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11524         (__PTHREAD_SPIN): Likewise.
11525         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11526         (__PTHREAD_SPIN): Likewise.
11527         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11528         (__PTHREAD_SPIN): Likewise.
11529         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11530         (__PTHREAD_SPIN): Likewise.
11531         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11532         (__PTHREAD_SPIN): Likewise.
11533         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11534         (__PTHREAD_SPIN): Likewise.
11535         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11536         (__PTHREAD_SPIN): Likewise.
11537         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11538         (__PTHREAD_SPIN): Likewise.
11539         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11540         (__PTHREAD_SPIN): Likewise.
11541         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11542         (__PTHREAD_SPIN): Likewise.
11543         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11544         (__PTHREAD_SPIN): Likewise.
11545
11546         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11547         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11548         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11549         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11550         imply folder.
11551         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11552         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11553         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11554         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11555         correct imply path.
11556         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11557         strlen symbol for non multi-arch builds.
11558         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11559         missing hidden_def and weak_alias.
11560
11561 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11562
11563         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11564
11565 2014-04-07  Will Newton  <will.newton@linaro.org>
11566
11567         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11568         and contents.  [!_LIBC] Remove #ifndef and contents.
11569         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11570         * string/memccpy.c (__memccpy): Use ANSI prototype.
11571         * string/memfrob.c (memfrob): Likewise.
11572         * string/strcoll.c (STRCOLL): Likewise.
11573         * string/strlen.c (strlen): Likewise.
11574         * string/strtok.c (STRTOK): Likewise.
11575         * string/strcat.c: Remove unused #include of memcopy.h.
11576         (strcat): Use ANSI prototype.
11577         * string/strchr.c: Remove unused #include of memcopy.h.
11578         (strchr): Use ANSI prototype.
11579         * string/strcmp.c: Remove unused #include of memcopy.h.
11580         (strcmp): Use ANSI prototype.
11581         * string/strcpy.c: Remove unused #include of memcopy.h.
11582         (strcpy): Use ANSI prototype.
11583
11584 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11585
11586         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11587         * config.make.in (config-extra-cppflags): Set it from
11588         libc_extra_cppflags.
11589         * configure.ac (libc_extra_cflags): Make it accumulate over
11590         configure fragments.
11591         (libc_extra_cppflags): New flag.
11592         * configure. Regenerate.
11593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11594         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11595         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11597
11598         [BZ #16815]
11599         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11600         result for FE_DOWNWARD rounding mode.
11601         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11602         Likewise.
11603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11604
11605 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11606
11607         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11608         in function argument name.
11609
11610 2014-04-03  David Svoboda  <svoboda@cert.org>
11611
11612         [BZ #5666]
11613         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11614         explicitly.
11615
11616 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11617
11618         * elf/dl-unmap-segments.h: New file.
11619         * sysdeps/generic/ldsodefs.h
11620         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11621         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11622         * elf/dl-fptr.c: Likewise.
11623         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11624         * sysdeps/aarch64/tlsdesc.c: Likewise.
11625         * sysdeps/arm/tlsdesc.c: Likewise.
11626         * sysdeps/i386/tlsdesc.c: Likewise.
11627         * sysdeps/tile/dl-runtime.c: Likewise.
11628         * sysdeps/x86_64/tlsdesc.c: Likewise.
11629         * elf/dl-load.h: New file.
11630         * elf/dl-load.c: Include it.
11631         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11632         Macros moved to dl-load.h.
11633         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11634         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11635         Use _dl_unmap_segments in place of __munmap.
11636         Break out segment-mapping loop into ...
11637         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11638
11639 2014-04-03  Will Newton  <will.newton@linaro.org>
11640
11641         * elf/dl-lookup.c (do_lookup_x): Remove comment
11642         referring to nested function and move variable
11643         declarations down to before first use.
11644
11645 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11646
11647         [BZ #16799]
11648         [BZ #16800]
11649         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11650         with 0 numerator.
11651         * math/s_catanf.c (__catanf): Likewise.
11652         * math/s_catanh.c (__catanh): Likewise.
11653         * math/s_catanhf.c (__catanhf): Likewise.
11654         * math/s_catanhl.c (__catanhl): Likewise.
11655         * math/s_catanl.c (__catanl): Likewise.
11656         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11657         by positive zero when computing -Inf result.
11658         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11659         (catanh_test): Likewise.
11660         * sysdeps/i386/fpu/libm-test-ulps: Update.
11661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11662
11663         [BZ #16789]
11664         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11665         instead of using underflowing value in computing result.
11666         * math/s_clog10.c (__clog10): Likewise.
11667         * math/s_clog10f.c (__clog10f): Likewise.
11668         * math/s_clog10l.c (__clog10l): Likewise.
11669         * math/s_clogf.c (__clogf): Likewise.
11670         * math/s_clogl.c (__clogl): Likewise.
11671         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11672         (clog10_test): Likewise.
11673         * sysdeps/i386/fpu/libm-test-ulps: Update.
11674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11675
11676 2014-04-02  Alan Modra  <amodra@gmail.com>
11677
11678         [BZ #16739]
11679         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11680         output when value is near a power of two.  Use int64_t for lx and
11681         remove casts.  Use decimal rather than hex exponent constants.
11682         Don't use long double multiplication when double will suffice.
11683         * math/libm-test.inc (nextafter_test_data): Add tests.
11684         * NEWS: Add 16739 and 16786 to bug list.
11685
11686         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11687
11688         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11689
11690 2014-04-01  Will Newton  <will.newton@linaro.org>
11691
11692         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11693         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11694
11695 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11696
11697         [BZ #13347]
11698         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11699         * nptl/tst-setuid2.c: New file.
11700         * nptl/Makefile (xtests): Add tst-setuid2.
11701
11702 2014-04-01  Alan Modra  <amodra@gmail.com>
11703
11704         [BZ #16786]
11705         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11706
11707 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11708
11709         [BZ #6803]
11710         [BZ #6804]
11711         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11712         set errno as appropriate.
11713         * math/w_scalbf.c (__scalbf): Likewise.
11714         * math/w_scalbl.c (__scalbl): Likewise.
11715         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11716         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11717         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11718         Add more NaN tests.
11719
11720         [BZ #16349]
11721         * math/w_atan2.c: Include <errno.h>.
11722         (__atan2): Set errno for result underflowing to zero.
11723         * math/w_atan2f.c: Include <errno.h>.
11724         (__atan2f): Set errno for result underflowing to zero.
11725         * math/w_atan2l.c: Include <errno.h>.
11726         (__atan2l): Set errno for result underflowing to zero.
11727         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11728         tests.
11729         * math/auto-libm-test-out: Regenerated.
11730
11731 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11732
11733         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11734         Encode instruction correctly in little endian.
11735         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11736         Likewise.
11737         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11738         Likewise.
11739         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11740         Likewise.
11741         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11742         Likewise.
11743
11744 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11745
11746         [BZ #9894]
11747         * sysdeps/unix/sysv/linux/kernel-features.h
11748         [__sparc__ && !__arch64__ && !__sparc_v9__]
11749         (__ASSUME_SET_ROBUST_LIST): Do not define.
11750         [__sparc__ && !__arch64__ && !__sparc_v9__]
11751         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11752         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11753         Likewise.
11754         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11755         (__ASSUME_FUTEX_LOCK_PI): Undefine.
11756         (__ASSUME_REQUEUE_PI): Likewise.
11757         (__ASSUME_SET_ROBUST_LIST): Likewise.
11758         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11759         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11760         Undefine.
11761         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11762         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11763         Likewise.
11764         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11765         Likewise.
11766         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11767         Likewise.
11768         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11769         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11770         Undefine.
11771         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11772         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11773         Likewise.
11774
11775         [BZ #16648]
11776         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11777         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11778         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11779
11780 2014-03-31  Will Newton  <will.newton@linaro.org>
11781
11782         * benchtests/Makefile (bench): Add ffs and ffsll to list
11783         of tests.
11784         * benchtests/ffs-inputs: New file.
11785         * benchtests/ffsll-inputs: Likewise.
11786
11787 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
11788
11789         [BZ #16770]
11790         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11791         too large before casting to int.
11792         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11793         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11794         * math/libm-test.inc (scalb_test_data): Add more tests.
11795
11796 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11797
11798         * benchtests/Makefile (DETAILED_OPT): New make option.
11799         (bench-func): Run benchmark program with -d if DETAILED_OPT is
11800         set.
11801         * benchtests/bench-skeleton.c: Include stdbool.h.
11802         (main): Store and print timings per input.
11803         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11804         member to each argument value.
11805         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11806         (_print_arg_data): Initialize per-input timing to 0.
11807
11808         * benchtests/Makefile (timing-type): New binary.
11809         (bench-clean): Also remove bench-timing-type.
11810         (bench): New target for timing-type.
11811         (bench-func): Print output in JSON format.
11812         * benchtests/bench-skeleton.c (main): Print output in JSON
11813         format.
11814         * benchtests/bench-timing-type.c: New file.
11815         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11816         (TIMING_PRINT_STATS): Remove.
11817         * benchtests/scripts/bench.py (_print_arg_data): Store variant
11818         name separately.
11819
11820         * benchtests/bench-modf.c: Remove.
11821         * benchtests/modf-inputs: New inputs file.
11822
11823 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
11824
11825         [BZ #16362]
11826         * math/s_clog10.c (M_PI_LOG10E): New macro.
11827         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11828         imaginary parts are 0.
11829         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11830         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11831         imaginary parts are 0.
11832         * math/s_clog10l.c (M_PI_LOG10El): New macro.
11833         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11834         imaginary parts are 0.
11835         * math/libm-test.inc (clog10_test_data): Update expected results
11836         for when real and imaginary parts are 0.
11837
11838 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
11839
11840         * elf/dl-load.c: Finish conversion of __builtin_expect into
11841         __glibc_{un}likely.
11842
11843 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
11844
11845         [BZ #16348]
11846         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11847         1+x for argument with exponent below -67.
11848         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11849         Likewise.
11850         * math/auto-libm-test-in: Add more tests of exp.
11851         * math/auto-libm-test-out: Regenerated.
11852
11853 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11854
11855         [BZ #16759]
11856         * inet/getnetgrent_r.c (get_nonempty_val): New function.
11857         (nscd_getnetgrent): Use it.
11858
11859         [BZ #16760]
11860         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11861         of stpcpy.
11862
11863 2014-03-27  Andi Kleen  <ak@linux.intel.com>
11864
11865         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11866         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11867         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11868         (lll_robust_unlock): Remove out of line section. Use cfi
11869         intrinsics.
11870         (LLL_STUB_UNWIND_INFO*): Remove.
11871         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11872         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11873         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11874         (lll_robust_unlock): Remove out of line section. Use cfi
11875         intrinsics.
11876         (LLL_STUB_UNWIND_INFO*): Remove.
11877
11878 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11879
11880         [BZ #16758]
11881         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11882         blank values.
11883
11884 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11885
11886         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11887
11888 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
11889
11890         [BZ #16198]
11891         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11892         fnstenv.
11893         * math/test-fenv-preserve.c: New file.
11894         * math/Makefile (tests): Add test-fenv-preserve.
11895
11896 2014-03-26  Will Newton <will.newton@linaro.org>
11897
11898         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11899
11900 2014-03-25  Roland McGrath  <roland@hack.frob.com>
11901
11902         * scripts/versionlist.awk: Partition the version sets and emit all
11903         GLIBC_* (sorted) before all others (sorted).
11904
11905 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11906
11907         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11908         GLIBC_2.2.5 version.
11909
11910 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11911
11912         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11913         calls.
11914
11915         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11916         previous change.
11917
11918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11919
11920 2014-03-25  Andreas Schwab  <schwab@suse.de>
11921
11922         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11923         label to be used after in6ailist is initialized.
11924
11925 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11926
11927         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11928         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11929
11930 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11931
11932         [BZ #16357]
11933         [BZ #16599]
11934         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11935         min_plus_half.
11936         (fp_formats): Update initializers.
11937         (init_fp_formats): Initialize new field.
11938         (output_for_one_input_case): Allow underflow for results up to
11939         min_plus_half.
11940         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11941         * math/auto-libm-test-in: Don't mark some underflows from asin and
11942         atanh as spurious.
11943         * math/auto-libm-test-out: Regenerated.
11944         * sysdeps/i386/fpu/libm-test-ulps: Update.
11945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11946
11947 2014-03-25  Andreas Schwab  <schwab@suse.de>
11948
11949         * libio/Makefile (tst-ftell-partial-wide-ENV)
11950         (tst-ftell-active-handler-ENV): Define.
11951
11952 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
11953
11954         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11955
11956 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11957
11958         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11959
11960 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11961
11962         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11963         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11964         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11965
11966 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11967
11968         [BZ #16634]
11969         * elf/dl-load.c (open_verify): Add mode parameter.
11970         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11971         (open_path): Change from boolean 'secure' to complete flag 'mode'
11972         (_dl_map_object): Adjust.
11973         * elf/Makefile (tests): Add tst-dlopen-aout.
11974         * elf/tst-dlopen-aout.c: New test.
11975
11976 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
11977
11978         [BZ #16714]
11979         * sysdeps/unix/sysv/linux/s390/bits/stat.h
11980         (struct stat): Rename member pad0 to __glibc_reserved0.
11981
11982         [BZ #16712]
11983         * sysdeps/s390/s390-32/bits/wordsize.h
11984         (__WORDSIZE32_SIZE_ULONG): New define.
11985         * sysdeps/s390/s390-64/bits/wordsize.h
11986         (__WORDSIZE32_SIZE_ULONG): Likewise.
11987         * sysdeps/generic/stdint.h (SIZE_MAX):
11988         Define as UL if __WORDSIZE32_SIZE_ULONG.
11989
11990         [BZ #16713]
11991         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11992         (__glibc_reserved0): New variable.
11993         (sa_flags): Change type to int.
11994
11995         * posix/Makefile (before-compile): Use += before-compile instead
11996         of a :=.
11997
11998         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11999         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12000
12001 2014-03-20  Andreas Schwab  <schwab@suse.de>
12002
12003         [BZ #16743]
12004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12005         non-matching result from nscd.
12006
12007 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12008
12009         * scripts/bench.py: Moved to ...
12010         * benchtests/scripts/bench.py: ... here.
12011         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12012
12013 2014-03-24  Andreas Schwab  <schwab@suse.de>
12014
12015         [BZ #16002]
12016         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12017         alloca_account and account alloca use for struct in6ailist.
12018
12019 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12020
12021         [BZ #16284]
12022         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12023         rounding mode to recompute results that overflow to infinity or
12024         underflow to zero.
12025         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12026         bug 16284.
12027         * math/auto-libm-test-out: Regenerated.
12028         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12029         (ccosh_test): Likewise.
12030         (csin_test_data): Use plus_oflow.
12031         (csin_test): Use ALL_RM_TEST.
12032         (csinh_test_data): Use plus_oflow.
12033         (csinh_test): Use ALL_RM_TEST.
12034         * sysdeps/i386/fpu/libm-test-ulps: Update.
12035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12036
12037 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12038
12039         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12040         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12041         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12042
12043         [BZ #16731]
12044         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12045         when x - 1 is zero.
12046         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12047         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12048         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12049         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12050         argument is 1.
12051         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12052         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12053         zero.
12054         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12055         * sysdeps/i386/fpu/libm-test-ulps: Update.
12056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12057
12058 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12059
12060         * scripts/bench.pl: Remove file.
12061         * scripts/bench.py: New benchmark script.
12062         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12063         * benchtests/README: Mention python dependency.
12064         * scripts/pylintrc: New file.
12065         * scripts/pylint: New file.
12066
12067         * bits/mathdef.h: Use #ifdef instead of #if.
12068         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12069         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12070         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12071         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12072         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12073         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12074
12075 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12076             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12077
12078         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12080         and strpbrk-ppc64 objects.
12081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12082         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12083         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12084         multiarch strpbrk for POWER7.
12085         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12086         multiarch strpbrk for PPC64.
12087         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12088         ifunc selector.
12089         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12090         strpbrk for POWER7.
12091
12092 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12093
12094         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12095         (atan_test): Likewise.
12096         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12097         (atanh_test): Use ALL_RM_TEST.
12098         (atan2_test_data): Likewise.
12099         (cabs_test): Likewise.
12100         (cacosh_test): Likewise.
12101         (carg_test): Likewise.
12102         (casin_test): Likewise.
12103         (casinh_test): Likewise.
12104         (cbrt_test): Likewise.
12105         (csqrt_test): Likewise.
12106         (erf_test): Likewise.
12107         (erfc_test): Likewise.
12108         (pow10_test): Likewise.
12109         (exp2_test): Likewise.
12110         (hypot_test): Likewise.
12111         (j0_test): Likewise.
12112         (j1_test): Likewise.
12113         (lgamma_test): Likewise.
12114         (gamma_test): Likewise.
12115         (sincos_test): Likewise.
12116         (tanh_test): Likewise.
12117         (y0_test): Likewise.
12118         (y1_test): Likewise.
12119         * sysdeps/i386/fpu/libm-test-ulps: Update.
12120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12121
12122 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12123
12124         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12126         and strcspn-ppc64 objects.
12127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12128         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12129         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12130         multiarch strcspn for POWER7.
12131         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12132         multiarch strcspn for PPC64.
12133         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12134         ifunc selector.
12135         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12136         strcspn for POWER7.
12137
12138 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12139
12140         * math/gen-libm-test.pl (generate_testfile): Expect only function
12141         name as argument to AUTO_TESTS_* and pass results for all rounding
12142         modes to parse_args.
12143         (parse_auto_input): Separate inputs of automatic tests from
12144         outputs before storing in %auto_tests.
12145         * math/libm-test.inc (acos_test_data): Update call to
12146         AUTO_TESTS_f_f.
12147         (acos_test): Use ALL_RM_TEST.
12148         (acos_tonearest_test_data): Remove.
12149         (acos_test_tonearest): Likewise.
12150         (acos_towardzero_test_data): Likewise.
12151         (acos_test_towardzero): Likewise.
12152         (acos_downward_test_data): Likewise.
12153         (acos_test_downward): Likewise.
12154         (acos_upward_test_data): Likewise.
12155         (acos_test_upward): Likewise.
12156         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12157         (asin_test_data): Likewise.
12158         (asin_test): Use ALL_RM_TEST.
12159         (asin_tonearest_test_data): Remove.
12160         (asin_test_tonearest): Likewise.
12161         (asin_towardzero_test_data): Likewise.
12162         (asin_test_towardzero): Likewise.
12163         (asin_downward_test_data): Likewise.
12164         (asin_test_downward): Likewise.
12165         (asin_upward_test_data): Likewise.
12166         (asin_test_upward): Likewise.
12167         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12168         (atan_test_data): Likewise.
12169         (atanh_test_data): Likewise.
12170         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12171         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12172         (carg_test_data): Likewise.
12173         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12174         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12175         (ccosh_test_data): Likewise.
12176         (cexp_test_data): Likewise.
12177         (clog_test_data): Likewise.
12178         (clog10_test_data): Likewise.
12179         (cos_test_data): Update call to AUTO_TESTS_f_f.
12180         (cos_test): Use ALL_RM_TEST.
12181         (cos_tonearest_test_data): Remove.
12182         (cos_test_tonearest): Likewise.
12183         (cos_towardzero_test_data): Likewise.
12184         (cos_test_towardzero): Likewise.
12185         (cos_downward_test_data): Likewise.
12186         (cos_test_downward): Likewise.
12187         (cos_upward_test_data): Likewise.
12188         (cos_test_upward): Likewise.
12189         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12190         (cosh_test): Use ALL_RM_TEST.
12191         (cosh_tonearest_test_data): Remove.
12192         (cosh_test_tonearest): Likewise.
12193         (cosh_towardzero_test_data): Likewise.
12194         (cosh_test_towardzero): Likewise.
12195         (cosh_downward_test_data): Likewise.
12196         (cosh_test_downward): Likewise.
12197         (cosh_upward_test_data): Likewise.
12198         (cosh_test_upward): Likewise.
12199         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12200         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12201         (ctan_test_data): Likewise.
12202         (ctan_test): Use ALL_RM_TEST.
12203         (ctan_tonearest_test_data): Remove.
12204         (ctan_test_tonearest): Likewise.
12205         (ctan_towardzero_test_data): Likewise.
12206         (ctan_test_towardzero): Likewise.
12207         (ctan_downward_test_data): Likewise.
12208         (ctan_test_downward): Likewise.
12209         (ctan_upward_test_data): Likewise.
12210         (ctan_test_upward): Likewise.
12211         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12212         (ctanh_test): Use ALL_RM_TEST.
12213         (ctanh_tonearest_test_data): Remove.
12214         (ctanh_test_tonearest): Likewise.
12215         (ctanh_towardzero_test_data): Likewise.
12216         (ctanh_test_towardzero): Likewise.
12217         (ctanh_downward_test_data): Likewise.
12218         (ctanh_test_downward): Likewise.
12219         (ctanh_upward_test_data): Likewise.
12220         (ctanh_test_upward): Likewise.
12221         (erf_test_data): Update call to AUTO_TESTS_f_f.
12222         (erfc_test_data): Likewise.
12223         (exp_test_data): Likewise.
12224         (exp_test): Use ALL_RM_TEST.
12225         (exp_tonearest_test_data): Remove.
12226         (exp_test_tonearest): Likewise.
12227         (exp_towardzero_test_data): Likewise.
12228         (exp_test_towardzero): Likewise.
12229         (exp_downward_test_data): Likewise.
12230         (exp_test_downward): Likewise.
12231         (exp_upward_test_data): Likewise.
12232         (exp_test_upward): Likewise.
12233         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12234         (exp10_test): Use ALL_RM_TEST.
12235         (exp10_tonearest_test_data): Remove.
12236         (exp10_test_tonearest): Likewise.
12237         (exp10_towardzero_test_data): Likewise.
12238         (exp10_test_towardzero): Likewise.
12239         (exp10_downward_test_data): Likewise.
12240         (exp10_test_downward): Likewise.
12241         (exp10_upward_test_data): Likewise.
12242         (exp10_test_upward): Likewise.
12243         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12244         (expm1_test_data): Likewise.
12245         (expm1_test): Use ALL_RM_TEST.
12246         (expm1_tonearest_test_data): Remove.
12247         (expm1_test_tonearest): Likewise.
12248         (expm1_towardzero_test_data): Likewise.
12249         (expm1_test_towardzero): Likewise.
12250         (expm1_downward_test_data): Likewise.
12251         (expm1_test_downward): Likewise.
12252         (expm1_upward_test_data): Likewise.
12253         (expm1_test_upward): Likewise.
12254         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12255         (fma_test): Use ALL_RM_TEST.
12256         (fma_towardzero_test_data): Remove.
12257         (fma_test_towardzero): Likewise.
12258         (fma_downward_test_data): Likewise.
12259         (fma_test_downward): Likewise.
12260         (fma_upward_test_data): Likewise.
12261         (fma_test_upward): Likewise.
12262         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12263         (j0_test_data): Update call to AUTO_TESTS_f_f.
12264         (j1_test_data): Likewise.
12265         (jn_test_data): Update call to AUTO_TESTS_if_f.
12266         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12267         (log_test_data): Update call to AUTO_TESTS_f_f.
12268         (log10_test_data): Likewise.
12269         (log1p_test_data): Likewise.
12270         (log2_test_data): Likewise.
12271         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12272         (pow_tonearest_test_data): Likewise.
12273         (sin_test_data): Update call to AUTO_TESTS_f_f.
12274         (sin_test): Use ALL_RM_TEST.
12275         (sin_tonearest_test_data): Remove.
12276         (sin_test_tonearest): Likewise.
12277         (sin_towardzero_test_data): Likewise.
12278         (sin_test_towardzero): Likewise.
12279         (sin_downward_test_data): Likewise.
12280         (sin_test_downward): Likewise.
12281         (sin_upward_test_data): Likewise.
12282         (sin_test_upward): Likewise.
12283         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12284         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12285         (sinh_test): Use ALL_RM_TEST.
12286         (sinh_tonearest_test_data): Remove.
12287         (sinh_test_tonearest): Likewise.
12288         (sinh_towardzero_test_data): Likewise.
12289         (sinh_test_towardzero): Likewise.
12290         (sinh_downward_test_data): Likewise.
12291         (sinh_test_downward): Likewise.
12292         (sinh_upward_test_data): Likewise.
12293         (sinh_test_upward): Likewise.
12294         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12295         (sqrt_test): Use ALL_RM_TEST.
12296         (sqrt_tonearest_test_data): Remove.
12297         (sqrt_test_tonearest): Likewise.
12298         (sqrt_towardzero_test_data): Likewise.
12299         (sqrt_test_towardzero): Likewise.
12300         (sqrt_downward_test_data): Likewise.
12301         (sqrt_test_downward): Likewise.
12302         (sqrt_upward_test_data): Likewise.
12303         (sqrt_test_upward): Likewise.
12304         (tan_test_data): Update call to AUTO_TESTS_f_f.
12305         (tan_test): Use ALL_RM_TEST.
12306         (tan_tonearest_test_data): Remove.
12307         (tan_test_tonearest): Likewise.
12308         (tan_towardzero_test_data): Likewise.
12309         (tan_test_towardzero): Likewise.
12310         (tan_downward_test_data): Likewise.
12311         (tan_test_downward): Likewise.
12312         (tan_upward_test_data): Likewise.
12313         (tan_test_upward): Likewise.
12314         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12315         (tgamma_test_data): Likewise.
12316         (y0_test_data): Likewise.
12317         (y1_test_data): Likewise.
12318         (yn_test_data): Update call to AUTO_TESTS_if_f.
12319         (main): Do not call removed functions.
12320
12321 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12322
12323         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12324         (ldexp_test_data): Remove.
12325         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12326         scalbn_test_data.
12327         (scalb_test): Use ALL_RM_TEST.
12328
12329 2014-03-19  Andreas Schwab  <schwab@suse.de>
12330
12331         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12332
12333 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12334
12335         [BZ #16649]
12336         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12337         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12338         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12339         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12340         (__ASSUME_PREADV): Undefine.
12341         (__ASSUME_PWRITEV): Likewise.
12342
12343 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12344
12345         * bits/mman-linux.h: Add comment about non-Linux use.
12346         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12347         bits/mman-linux.h resting place.
12348
12349         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12350         * bits/mman-linux.h: ... here.
12351
12352 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12353
12354         * conform/conformtest.pl: Add standard definition when calling C
12355         preprocessor on data files.
12356         (checknamespace): Remove unused variable.
12357
12358 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12359
12360         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12361         minus_oflow, plus_uflow and minus_uflow in expected results.
12362         * math/libm-test.inc (scalbn_test_data): Add more tests of
12363         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12364         minus_uflow.
12365         (scalbn_test): Use ALL_RM_TEST.
12366         (scalbln_test_data): Add more tests of negative arguments.  Use
12367         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12368         (scalbln_test): Use ALL_RM_TEST.
12369
12370 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12371
12372         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12373
12374 2014-03-18  Will Newton  <will.newton@linaro.org>
12375
12376         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12377         inaccurate comment.
12378
12379 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12380
12381         * Makerules [!subdir] (check-abi): Exit with error status if a
12382         test failed.
12383
12384 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12385
12386         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12387         for rint.  Include results for all rounding modes.
12388         (nearbyint_test): Use ALL_RM_TEST.
12389         (rint_test_data): Include all tests used for nearbyint.
12390
12391 2014-03-17  Will Newton  <will.newton@linaro.org>
12392
12393         * nptl/sysdeps/pthread/pthread.h: Revert previous
12394         change.
12395
12396         * sysdeps/generic/ldsodefs.h: Revert previous
12397         change.
12398
12399         * libio/genops.c: Revert previous change.
12400         * libio/libioP.h: Likewise.
12401         * stdio-common/vfprintf.c: Likewise.
12402
12403         * sysdeps/generic/math_private.h: Revert previous
12404         change.
12405
12406         * sysdeps/generic/math_private.h: Check whether
12407         HAVE_RM_CTX is defined with #ifdef rather
12408         than #if.
12409
12410         * argp/argp-fmtstream.h: Check whether
12411         __STRICT_ANSI__ is defined with #ifdef rather
12412         than #if.
12413         * argp/argp.h: Likewise.
12414
12415         * libio/genops.c: Check whether
12416         _IO_JUMPS_OFFSET is defined with #ifdef rather
12417         than #if.
12418         * libio/libioP.h: Likewise.
12419         * stdio-common/vfprintf.c: Likewise.
12420
12421         * sysdeps/generic/ldsodefs.h: Check whether
12422         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12423         than #if.
12424
12425         * nptl/sysdeps/pthread/pthread.h: Check
12426         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12427         its value.
12428
12429 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12430
12431         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12432         setting O_APPEND.
12433         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12434         test case.
12435
12436         [BZ #16680]
12437         * libio/fileops.c (_IO_file_open): Seek to end of file but
12438         don't cache the offset.
12439         (get_file_offset): Remove function.
12440         (do_ftell): Use cached offset when available.
12441         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12442         don't cache the offset.
12443         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12444         case.
12445         (do_one_test): Call it.
12446         (do_ftell_test): Fix up expected old offset for a+ mode.
12447         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12448         available.
12449
12450         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12451         up test status with function return status.
12452         (do_write_test): Likewise.
12453         (do_append_test): Likewise.
12454
12455         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12456         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12457         Remove.
12458
12459 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12460
12461         * math/gen-libm-test.pl (parse_args): Handle results specified for
12462         each rounding mode separately.
12463         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12464         tests and results from lrint_tonearest_test_data,
12465         lrint_towardzero_test_data, lrint_downward_test_data and
12466         lrint_upward_test_data.
12467         (lrint_test): Use ALL_RM_TEST.
12468         (lrint_tonearest_test_data): Remove.
12469         (lrint_test_tonearest): Likewise.
12470         (lrint_towardzero_test_data): Likewise.
12471         (lrint_test_towardzero): Likewise.
12472         (lrint_downward_test_data): Likewise.
12473         (lrint_test_downward): Likewise.
12474         (lrint_upward_test_data): Likewise.
12475         (lrint_test_upward): Likewise.
12476         (llrint_test_data): Merge in per-rounding-mode tests and results
12477         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12478         llrint_downward_test_data and llrint_upward_test_data.
12479         (llrint_test): Use ALL_RM_TEST.
12480         (llrint_tonearest_test_data): Remove.
12481         (llrint_test_tonearest): Likewise.
12482         (llrint_towardzero_test_data): Likewise.
12483         (llrint_test_towardzero): Likewise.
12484         (llrint_downward_test_data): Likewise.
12485         (llrint_test_downward): Likewise.
12486         (llrint_upward_test_data): Likewise.
12487         (llrint_test_upward): Likewise.
12488         (rint_test_data): Merge in per-rounding-mode tests and results
12489         from rint_tonearest_test_data, rint_towardzero_test_data,
12490         rint_downward_test_data and rint_upward_test_data.  Add
12491         per-rounding-mode results for tests not in those arrays.
12492         (rint_test): Use ALL_RM_TEST.
12493         (rint_tonearest_test_data): Remove.
12494         (rint_test_tonearest): Likewise.
12495         (rint_towardzero_test_data): Likewise.
12496         (rint_test_towardzero): Likewise.
12497         (rint_downward_test_data): Likewise.
12498         (rint_test_downward): Likewise.
12499         (rint_upward_test_data): Likewise.
12500         (rint_test_upward): Likewise.
12501         (main): Don't call removed functions.
12502
12503 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12504
12505         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12506         "Compiled on ..." crapola.  It is anti-useful.
12507
12508 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12509
12510         * scripts/evaluate-test.sh: Handle fourth argument to determine
12511         whether test run should stop on failure.
12512         * Makeconfig (stop-on-test-failure): New variable.
12513         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12514         $(stop-on-test-failure).
12515         * Makefile (tests): Give a summary of results from testing and
12516         exit with failure status if they include an ERROR or FAIL.
12517         (xtests): Likewise.
12518         * manual/install.texi (Configuring and compiling): Mention
12519         stop-on-test-failure=y.
12520         * INSTALL: Regenerated.
12521
12522 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12523
12524         * scripts/versionlist.awk: New file.
12525         * Makerules [$(build-shared) = yes]
12526         (postclean-generated): Add Versions.def, not Versions.def.v and
12527         Versions.def.v.i.
12528         ($(common-objpfx)Versions.def.v.i): Target removed.
12529         ($(common-objpfx)Versions.def): New target.
12530         ($(common-objpfx)Versions.all): Depend on that rather that
12531         $(common-objpfx)Versions.def.v.
12532         * Versions.def: File removed.
12533
12534         * Makeconfig (+gccwarn): Add -Wundef.
12535         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12536         a dl-sysdep.h breaking its contract.
12537         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12538         * include/stackinfo.h: New file.
12539         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12540         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12541         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12542         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12543         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12544         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12545         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12546         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12547         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12548         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12549         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12550         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12551         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12552         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12553         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12554
12555 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12556
12557         [BZ #16707]
12558         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12559         implementation.
12560         * math/libm-test.inc (round_test_data): Add more tests.
12561
12562         [BZ #16706]
12563         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12564         implementation.
12565         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12566
12567         [BZ #16701]
12568         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12569         implementation.
12570         * math/libm-test.inc (ceil_test_data): Add more tests.
12571
12572         * math/libm-test.inc (trunc_test_data): Add more tests related to
12573         BZ#16414.
12574
12575 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12576
12577         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12578         with #if rather than #ifdef.
12579         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12580
12581 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12582
12583         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12584         first.  Disable AVX-512 GCC support if assembler doesn't support
12585         it.
12586         * sysdeps/x86_64/configure: Regenerated.
12587
12588 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12589
12590         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12591         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12592         (__old_pthread_attr_setstack): Likewise.
12593         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12594         [!_STACK_GROWS_DOWN]: Likewise.
12595
12596 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12597
12598         * config.make.in (have-bash2): Delete.
12599         * configure.ac (libc_cv_have_bash2): Delete.
12600         * configure: Regenerate.
12601         * elf/Makefile (common-ldd-rewrite): Rename to ...
12602         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12603         (sh-ldd-rewrite): Delete.
12604         (bash-ldd-rewrite): Delete.
12605         (have-bash2): Delete checks.
12606         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12607         ldd-rewrite.
12608
12609         * config.make.in (have-ksh): Delete.
12610         (KSH): Delete.
12611         * configure.ac (libc_cv_have_ksh): Delete.
12612         * configure: Regenerate.
12613
12614         * elf/Makefile: Delete $(have-ksh) check.
12615         ($(objpfx)sotruss): Change KSH to BASH.
12616         * elf/sotruss.ksh: Rename to ...
12617         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12618         function style to match POSIX.  Drop ksh vim mode setting.
12619
12620         * manual/time.texi (Specifying the Time Zone with TZ): Change
12621         Tuesday to Thursday.
12622
12623         * debug/tst-longjmp_chk2.c: Update header comment.
12624         (stackoverflow_handler): Add comment.  Call assert on pass value.
12625
12626 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12627
12628         [BZ #16194]
12629         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12630         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12631         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12632         (La_x86_64_vector): Add zmm.
12633         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12634         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12635         ($(objpfx)tst-audit10): New target.
12636         ($(objpfx)tst-audit10.out): Likewise.
12637         (tst-audit10-ENV): New.
12638         (AVX512-CFLAGS): Likewise.
12639         (CFLAGS-tst-audit10.c): Likewise.
12640         (CFLAGS-tst-auditmod10a.c): Likewise.
12641         (CFLAGS-tst-auditmod10b.c): Likewise.
12642         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12643         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12644         * sysdeps/x86_64/configure: Regenerated.
12645         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12646         AVX-512 zmm register support.
12647         (_dl_x86_64_save_sse): Likewise.
12648         (_dl_x86_64_restore_sse): Likewise.
12649         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12650         size vector registers.
12651         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12652         (ZMM_SIZE): Likewise.
12653         * sysdeps/x86_64/tst-audit10.c: New file.
12654         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12655         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12656
12657 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12658
12659         * configure.ac (HAVE_EHDR_START): New check.
12660         * configure: Regenerated.
12661         * config.h.in (HAVE_EHDR_START): New #undef.
12662         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12663         assuming the lowest-addressed segment maps the start of the file.
12664
12665 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12666
12667         * INSTALL: Regenerated.
12668
12669 2014-03-13  Will Newton  <will.newton@linaro.org>
12670
12671         * manual/setjmp.texi (System V contexts): Improve
12672         clarity and grammar of documentation.
12673
12674 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12675
12676         [BZ #16381]
12677         * elf/Makefile (tests): Add tst-pie2.
12678         (tests-pie): Add tst-pie2.
12679         * elf/tst-pie2.c: New file.
12680         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12681         for ET_EXEC.
12682         * elf/rtld.c (map_doit): Load executable as lt_executable.
12683         (dl_main): Likewise.
12684
12685 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12686
12687         [BZ #16642]
12688         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12689         (__ASSUME_PSELECT): Undefine.
12690
12691 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12692
12693         [BZ #16689]
12694         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12695         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12696         static build.
12697         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12698         selector for static builds.
12699
12700 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12701
12702         [BZ #16695]
12703         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12704         key in the buffer.
12705
12706 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12707
12708         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12709         IFUNC selector for static builds.
12710
12711 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12712
12713         * sysdeps/mips/math_private.h [__mips_hard_float]
12714         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12715         libc_feresetround_mips_ctx.
12716         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12717         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12718         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12719
12720         [BZ #16677]
12721         * math/s_nextafter.c (__nextafter): Do not return value from
12722         overflowing computation.
12723         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12724         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12725         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12726         Likewise.
12727         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12728         Likewise.
12729         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12730         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12731
12732 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12733
12734         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12735         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12736         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12737         the new mov targetting sp.
12738
12739 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12740
12741         [BZ #16683]
12742         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12743         Define it for static builds as well.
12744         (NO_BZERO_IMPL): Likewise.
12745
12746 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12747
12748         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12749         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12750         multiarch strspn for PPC64.
12751         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12752         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12754         (__libc_ifunc_impl_list): Likewise.
12755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12756         multiarch optimizations
12757         * string/strspn.c (strspn): Using macro to redefine symbol name.
12758
12759 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12760             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12761
12762         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12763         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12764         multiarch strncat for PPC64.
12765         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12766         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12768         (__libc_ifunc_impl_list): Likewise.
12769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12770         multiarch optimizations
12771
12772 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12773
12774         [BZ #16639]
12775         * nscd/nscd.service: Make service type forking.
12776
12777 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12778
12779         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12780         sign in non default rounding modes.
12781         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12782
12783 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
12784
12785         * math/libm-test.inc (ALL_RM_TEST): New macro.
12786         (ceil_test): Use ALL_RM_TEST.
12787         (cimag_test): Likewise.
12788         (conj_test): Likewise.
12789         (copysign_test): Likewise.
12790         (cproj_test): Likewise.
12791         (creal_test): Likewise.
12792         (fabs_test): Likewise.
12793         (floor_test): Likewise.
12794         (fmax_test): Likewise.
12795         (fmin_test): Likewise.
12796         (fmod_test): Likewise.
12797         (fpclassify_test): Likewise.
12798         (frexp_test): Likewise.
12799         (ilogb_test): Likewise.
12800         (isfinite_test): Likewise.
12801         (finite_test): Likewise.
12802         (isgreater_test): Likewise.
12803         (isgreaterequal_test): Likewise.
12804         (isinf_test): Likewise.
12805         (isless_test): Likewise.
12806         (islessequal_test): Likewise.
12807         (islessgreater_test): Likewise.
12808         (isnan_test): Likewise.
12809         (isnormal_test): Likewise.
12810         (issignaling_test): Likewise.
12811         (isunordered_test): Likewise.
12812         (logb_test): Likewise.
12813         (logb_downward_test_data): Remove.
12814         (logb_test_downward): Likewise.
12815         (lround_test): Use ALL_RM_TEST.
12816         (llround_test): Likewise.
12817         (modf_test): Likewise.
12818         (nexttoward_test): Likewise.
12819         (remainder_test): Likewise.
12820         (drem_test): Likewise.
12821         (remainder_tonearest_test_data): Likewise.
12822         (remainder_test_tonearest): Likewise.
12823         (drem_test_tonearest): Likewise.
12824         (remainder_towardzero_test_data): Likewise.
12825         (remainder_test_towardzero): Likewise.
12826         (drem_test_towardzero): Likewise.
12827         (remainder_downward_test_data): Likewise.
12828         (remainder_test_downward): Likewise.
12829         (drem_test_downward): Likewise.
12830         (remainder_upward_test_data): Likewise.
12831         (remainder_test_upward): Likewise.
12832         (drem_test_upward): Likewise.
12833         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
12834         (round_test): Use ALL_RM_TEST.
12835         (signbit_test): Likewise.
12836         (trunc_test): Likewise.
12837         (significand_test): Likewise.
12838         (main): Don't call removed functions.
12839
12840 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12841
12842         [BZ #16674]
12843         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12844         || __USE_XOPEN2K8].
12845         (ILL_ILLOPN): Likewise.
12846         (ILL_ILLADR): Likewise.
12847         (ILL_ILLTRP): Likewise.
12848         (ILL_PRVOPC): Likewise.
12849         (ILL_PRVREG): Likewise.
12850         (ILL_COPROC): Likewise.
12851         (ILL_BADSTK): Likewise.
12852         (FPE_INTDIV): Likewise.
12853         (FPE_INTOVF): Likewise.
12854         (FPE_FLTDIV): Likewise.
12855         (FPE_FLTOVF): Likewise.
12856         (FPE_FLTUND): Likewise.
12857         (FPE_FLTRES): Likewise.
12858         (FPE_FLTINV): Likewise.
12859         (FPE_FLTSUB): Likewise.
12860         (SEGV_MAPERR): Likewise.
12861         (SEGV_ACCERR): Likewise.
12862         (BUS_ADRALN): Likewise.
12863         (BUS_ADRERR): Likewise.
12864         (BUS_OBJERR): Likewise.
12865         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12866         (TRAP_TRACE): Likewise.
12867         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12868         __USE_XOPEN2K8].
12869         (CLD_KILLED): Likewise.
12870         (CLD_DUMPED): Likewise.
12871         (CLD_TRAPPED): Likewise.
12872         (CLD_STOPPED): Likewise.
12873         (CLD_CONTINUED): Likewise.
12874         (POLL_IN): Likewise.
12875         (POLL_OUT): Likewise.
12876         (POLL_MSG): Likewise.
12877         (POLL_ERR): Likewise.
12878         (POLL_PRI): Likewise.
12879         (POLL_HUP): Likewise.
12880         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12881         Likewise.
12882         (ILL_ILLOPN): Likewise.
12883         (ILL_ILLADR): Likewise.
12884         (ILL_ILLTRP): Likewise.
12885         (ILL_PRVOPC): Likewise.
12886         (ILL_PRVREG): Likewise.
12887         (ILL_COPROC): Likewise.
12888         (ILL_BADSTK): Likewise.
12889         (FPE_INTDIV): Likewise.
12890         (FPE_INTOVF): Likewise.
12891         (FPE_FLTDIV): Likewise.
12892         (FPE_FLTOVF): Likewise.
12893         (FPE_FLTUND): Likewise.
12894         (FPE_FLTRES): Likewise.
12895         (FPE_FLTINV): Likewise.
12896         (FPE_FLTSUB): Likewise.
12897         (SEGV_MAPERR): Likewise.
12898         (SEGV_ACCERR): Likewise.
12899         (BUS_ADRALN): Likewise.
12900         (BUS_ADRERR): Likewise.
12901         (BUS_OBJERR): Likewise.
12902         (BUS_MCEERR_AR): Likewise.
12903         (BUS_MCEERR_AO): Likewise.
12904         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12905         (TRAP_TRACE): Likewise.
12906         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12907         __USE_XOPEN2K8].
12908         (CLD_KILLED): Likewise.
12909         (CLD_DUMPED): Likewise.
12910         (CLD_TRAPPED): Likewise.
12911         (CLD_STOPPED): Likewise.
12912         (CLD_CONTINUED): Likewise.
12913         (POLL_IN): Likewise.
12914         (POLL_OUT): Likewise.
12915         (POLL_MSG): Likewise.
12916         (POLL_ERR): Likewise.
12917         (POLL_PRI): Likewise.
12918         (POLL_HUP): Likewise.
12919         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12920         (ILL_ILLOPN): Likewise.
12921         (ILL_ILLADR): Likewise.
12922         (ILL_ILLTRP): Likewise.
12923         (ILL_PRVOPC): Likewise.
12924         (ILL_PRVREG): Likewise.
12925         (ILL_COPROC): Likewise.
12926         (ILL_BADSTK): Likewise.
12927         (FPE_INTDIV): Likewise.
12928         (FPE_INTOVF): Likewise.
12929         (FPE_FLTDIV): Likewise.
12930         (FPE_FLTOVF): Likewise.
12931         (FPE_FLTUND): Likewise.
12932         (FPE_FLTRES): Likewise.
12933         (FPE_FLTINV): Likewise.
12934         (FPE_FLTSUB): Likewise.
12935         (SEGV_MAPERR): Likewise.
12936         (SEGV_ACCERR): Likewise.
12937         (BUS_ADRALN): Likewise.
12938         (BUS_ADRERR): Likewise.
12939         (BUS_OBJERR): Likewise.
12940         (BUS_MCEERR_AR): Likewise.
12941         (BUS_MCEERR_AO): Likewise.
12942         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12943         (TRAP_TRACE): Likewise.
12944         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12945         __USE_XOPEN2K8].
12946         (CLD_KILLED): Likewise.
12947         (CLD_DUMPED): Likewise.
12948         (CLD_TRAPPED): Likewise.
12949         (CLD_STOPPED): Likewise.
12950         (CLD_CONTINUED): Likewise.
12951         (POLL_IN): Likewise.
12952         (POLL_OUT): Likewise.
12953         (POLL_MSG): Likewise.
12954         (POLL_ERR): Likewise.
12955         (POLL_PRI): Likewise.
12956         (POLL_HUP): Likewise.
12957         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12958         Likewise.
12959         (ILL_ILLOPN): Likewise.
12960         (ILL_ILLADR): Likewise.
12961         (ILL_ILLTRP): Likewise.
12962         (ILL_PRVOPC): Likewise.
12963         (ILL_PRVREG): Likewise.
12964         (ILL_COPROC): Likewise.
12965         (ILL_BADSTK): Likewise.
12966         (ILL_BADIADDR): Likewise.
12967         (ILL_BREAK): Likewise.
12968         (FPE_INTDIV): Likewise.
12969         (FPE_INTOVF): Likewise.
12970         (FPE_FLTDIV): Likewise.
12971         (FPE_FLTOVF): Likewise.
12972         (FPE_FLTUND): Likewise.
12973         (FPE_FLTRES): Likewise.
12974         (FPE_FLTINV): Likewise.
12975         (FPE_FLTSUB): Likewise.
12976         (FPE_DECOVF): Likewise.
12977         (FPE_DECDIV): Likewise.
12978         (FPE_DECERR): Likewise.
12979         (FPE_INVASC): Likewise.
12980         (FPE_INVDEC): Likewise.
12981         (SEGV_MAPERR): Likewise.
12982         (SEGV_ACCERR): Likewise.
12983         (SEGV_PSTKOVF): Likewise.
12984         (BUS_ADRALN): Likewise.
12985         (BUS_ADRERR): Likewise.
12986         (BUS_OBJERR): Likewise.
12987         (BUS_MCEERR_AR): Likewise.
12988         (BUS_MCEERR_AO): Likewise.
12989         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12990         (TRAP_TRACE): Likewise.
12991         (TRAP_BRANCH): Likewise.
12992         (TRAP_HWBKPT): Likewise.
12993         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12994         __USE_XOPEN2K8].
12995         (CLD_KILLED): Likewise.
12996         (CLD_DUMPED): Likewise.
12997         (CLD_TRAPPED): Likewise.
12998         (CLD_STOPPED): Likewise.
12999         (CLD_CONTINUED): Likewise.
13000         (POLL_IN): Likewise.
13001         (POLL_OUT): Likewise.
13002         (POLL_MSG): Likewise.
13003         (POLL_ERR): Likewise.
13004         (POLL_PRI): Likewise.
13005         (POLL_HUP): Likewise.
13006         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13007         (ILL_ILLOPN): Likewise.
13008         (ILL_ILLADR): Likewise.
13009         (ILL_ILLTRP): Likewise.
13010         (ILL_PRVOPC): Likewise.
13011         (ILL_PRVREG): Likewise.
13012         (ILL_COPROC): Likewise.
13013         (ILL_BADSTK): Likewise.
13014         (FPE_INTDIV): Likewise.
13015         (FPE_INTOVF): Likewise.
13016         (FPE_FLTDIV): Likewise.
13017         (FPE_FLTOVF): Likewise.
13018         (FPE_FLTUND): Likewise.
13019         (FPE_FLTRES): Likewise.
13020         (FPE_FLTINV): Likewise.
13021         (FPE_FLTSUB): Likewise.
13022         (SEGV_MAPERR): Likewise.
13023         (SEGV_ACCERR): Likewise.
13024         (BUS_ADRALN): Likewise.
13025         (BUS_ADRERR): Likewise.
13026         (BUS_OBJERR): Likewise.
13027         (BUS_MCEERR_AR): Likewise.
13028         (BUS_MCEERR_AO): Likewise.
13029         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13030         (TRAP_TRACE): Likewise.
13031         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13032         __USE_XOPEN2K8].
13033         (CLD_KILLED): Likewise.
13034         (CLD_DUMPED): Likewise.
13035         (CLD_TRAPPED): Likewise.
13036         (CLD_STOPPED): Likewise.
13037         (CLD_CONTINUED): Likewise.
13038         (POLL_IN): Likewise.
13039         (POLL_OUT): Likewise.
13040         (POLL_MSG): Likewise.
13041         (POLL_ERR): Likewise.
13042         (POLL_PRI): Likewise.
13043         (POLL_HUP): Likewise.
13044         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13045         (ILL_ILLOPN): Likewise.
13046         (ILL_ILLADR): Likewise.
13047         (ILL_ILLTRP): Likewise.
13048         (ILL_PRVOPC): Likewise.
13049         (ILL_PRVREG): Likewise.
13050         (ILL_COPROC): Likewise.
13051         (ILL_BADSTK): Likewise.
13052         (FPE_INTDIV): Likewise.
13053         (FPE_INTOVF): Likewise.
13054         (FPE_FLTDIV): Likewise.
13055         (FPE_FLTOVF): Likewise.
13056         (FPE_FLTUND): Likewise.
13057         (FPE_FLTRES): Likewise.
13058         (FPE_FLTINV): Likewise.
13059         (FPE_FLTSUB): Likewise.
13060         (SEGV_MAPERR): Likewise.
13061         (SEGV_ACCERR): Likewise.
13062         (BUS_ADRALN): Likewise.
13063         (BUS_ADRERR): Likewise.
13064         (BUS_OBJERR): Likewise.
13065         (BUS_MCEERR_AR): Likewise.
13066         (BUS_MCEERR_AO): Likewise.
13067         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13068         (TRAP_TRACE): Likewise.
13069         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13070         __USE_XOPEN2K8].
13071         (CLD_KILLED): Likewise.
13072         (CLD_DUMPED): Likewise.
13073         (CLD_TRAPPED): Likewise.
13074         (CLD_STOPPED): Likewise.
13075         (CLD_CONTINUED): Likewise.
13076         (POLL_IN): Likewise.
13077         (POLL_OUT): Likewise.
13078         (POLL_MSG): Likewise.
13079         (POLL_ERR): Likewise.
13080         (POLL_PRI): Likewise.
13081         (POLL_HUP): Likewise.
13082         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13083         (ILL_ILLOPN): Likewise.
13084         (ILL_ILLADR): Likewise.
13085         (ILL_ILLTRP): Likewise.
13086         (ILL_PRVOPC): Likewise.
13087         (ILL_PRVREG): Likewise.
13088         (ILL_COPROC): Likewise.
13089         (ILL_BADSTK): Likewise.
13090         (FPE_INTDIV): Likewise.
13091         (FPE_INTOVF): Likewise.
13092         (FPE_FLTDIV): Likewise.
13093         (FPE_FLTOVF): Likewise.
13094         (FPE_FLTUND): Likewise.
13095         (FPE_FLTRES): Likewise.
13096         (FPE_FLTINV): Likewise.
13097         (FPE_FLTSUB): Likewise.
13098         (SEGV_MAPERR): Likewise.
13099         (SEGV_ACCERR): Likewise.
13100         (BUS_ADRALN): Likewise.
13101         (BUS_ADRERR): Likewise.
13102         (BUS_OBJERR): Likewise.
13103         (BUS_MCEERR_AR): Likewise.
13104         (BUS_MCEERR_AO): Likewise.
13105         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13106         (TRAP_TRACE): Likewise.
13107         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13108         __USE_XOPEN2K8].
13109         (CLD_KILLED): Likewise.
13110         (CLD_DUMPED): Likewise.
13111         (CLD_TRAPPED): Likewise.
13112         (CLD_STOPPED): Likewise.
13113         (CLD_CONTINUED): Likewise.
13114         (POLL_IN): Likewise.
13115         (POLL_OUT): Likewise.
13116         (POLL_MSG): Likewise.
13117         (POLL_ERR): Likewise.
13118         (POLL_PRI): Likewise.
13119         (POLL_HUP): Likewise.
13120         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13121         (ILL_ILLOPN): Likewise.
13122         (ILL_ILLADR): Likewise.
13123         (ILL_ILLTRP): Likewise.
13124         (ILL_PRVOPC): Likewise.
13125         (ILL_PRVREG): Likewise.
13126         (ILL_COPROC): Likewise.
13127         (ILL_BADSTK): Likewise.
13128         (ILL_DBLFLT): Likewise.
13129         (ILL_HARDWALL): Likewise.
13130         (FPE_INTDIV): Likewise.
13131         (FPE_INTOVF): Likewise.
13132         (FPE_FLTDIV): Likewise.
13133         (FPE_FLTOVF): Likewise.
13134         (FPE_FLTUND): Likewise.
13135         (FPE_FLTRES): Likewise.
13136         (FPE_FLTINV): Likewise.
13137         (FPE_FLTSUB): Likewise.
13138         (SEGV_MAPERR): Likewise.
13139         (SEGV_ACCERR): Likewise.
13140         (BUS_ADRALN): Likewise.
13141         (BUS_ADRERR): Likewise.
13142         (BUS_OBJERR): Likewise.
13143         (BUS_MCEERR_AR): Likewise.
13144         (BUS_MCEERR_AO): Likewise.
13145         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13146         (TRAP_TRACE): Likewise.
13147         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13148         __USE_XOPEN2K8].
13149         (CLD_KILLED): Likewise.
13150         (CLD_DUMPED): Likewise.
13151         (CLD_TRAPPED): Likewise.
13152         (CLD_STOPPED): Likewise.
13153         (CLD_CONTINUED): Likewise.
13154         (POLL_IN): Likewise.
13155         (POLL_OUT): Likewise.
13156         (POLL_MSG): Likewise.
13157         (POLL_ERR): Likewise.
13158         (POLL_PRI): Likewise.
13159         (POLL_HUP): Likewise.
13160         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13161         (ILL_ILLOPN): Likewise.
13162         (ILL_ILLADR): Likewise.
13163         (ILL_ILLTRP): Likewise.
13164         (ILL_PRVOPC): Likewise.
13165         (ILL_PRVREG): Likewise.
13166         (ILL_COPROC): Likewise.
13167         (ILL_BADSTK): Likewise.
13168         (FPE_INTDIV): Likewise.
13169         (FPE_INTOVF): Likewise.
13170         (FPE_FLTDIV): Likewise.
13171         (FPE_FLTOVF): Likewise.
13172         (FPE_FLTUND): Likewise.
13173         (FPE_FLTRES): Likewise.
13174         (FPE_FLTINV): Likewise.
13175         (FPE_FLTSUB): Likewise.
13176         (SEGV_MAPERR): Likewise.
13177         (SEGV_ACCERR): Likewise.
13178         (BUS_ADRALN): Likewise.
13179         (BUS_ADRERR): Likewise.
13180         (BUS_OBJERR): Likewise.
13181         (BUS_MCEERR_AR): Likewise.
13182         (BUS_MCEERR_AO): Likewise.
13183         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13184         (TRAP_TRACE): Likewise.
13185         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13186         __USE_XOPEN2K8].
13187         (CLD_KILLED): Likewise.
13188         (CLD_DUMPED): Likewise.
13189         (CLD_TRAPPED): Likewise.
13190         (CLD_STOPPED): Likewise.
13191         (CLD_CONTINUED): Likewise.
13192         (POLL_IN): Likewise.
13193         (POLL_OUT): Likewise.
13194         (POLL_MSG): Likewise.
13195         (POLL_ERR): Likewise.
13196         (POLL_PRI): Likewise.
13197         (POLL_HUP): Likewise.
13198         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13199         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13200
13201         [BZ #16670]
13202         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13203         before #include of <time.h>.
13204         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13205         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13206         (test-xfail-UNIX98/sched.h/conform): Likewise.
13207
13208 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13209
13210         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13211         error absence of trapping exception support.
13212         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13213
13214 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13215
13216         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13217         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13218         * timezone/Makefile (testdata): Move definition above include of
13219         Rules.
13220         (test-zones): New variable.
13221         (tests-special): Add zone files.
13222         (build-testdata): Use $(evaluate-test).
13223
13224         * elf/Makefile (tests-special): Rename tests to end with .out.
13225         ($(objpfx)noload-mem): Likewise.
13226         ($(objpfx)tst-leaks1-mem): Likewise.
13227         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13228         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13229         $(objpfx)test-iconvconfig.out.
13230         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13231         set -e inside subshell and redirect output to file.
13232         * iconvdata/Makefile (generated): Rename tests to end with .out.
13233         Correct type.
13234         (tests-special): Rename tests to end with .out.
13235         ($(objpfx)mtrace-tst-loading): Likewise.
13236         * intl/Makefile (generated): Likewise.
13237         (tests-special): Likewise.
13238         ($(objpfx)mtrace-tst-gettext): Likewise.
13239         * misc/Makefile (generated): Likewise.
13240         (tests-special): Likewise.
13241         ($(objpfx)tst-error1-mem): Likewise.
13242         * nptl/Makefile (tests-special): Likewise.
13243         ($(objpfx)tst-stack3-mem): Likewise.
13244         (generated): Likewise.
13245         * posix/Makefile (generated): Likewise.
13246         (tests-special): Likewise.
13247         (xtests-special): Likewise.
13248         ($(objpfx)tst-fnmatch-mem): Likewise.
13249         ($(objpfx)bug-regex2-mem): Likewise.
13250         ($(objpfx)bug-regex14-mem): Likewise.
13251         ($(objpfx)bug-regex21-mem): Likewise.
13252         ($(objpfx)bug-regex31-mem): Likewise.
13253         ($(objpfx)tst-vfork3-mem): Likewise.
13254         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13255         ($(objpfx)tst-pcre-mem): Likewise.
13256         ($(objpfx)tst-boost-mem): Likewise.
13257         ($(objpfx)bug-ga2-mem): Likewise.
13258         ($(objpfx)bug-glob2-mem): Likewise.
13259         * resolv/Makefile (generate): Likewise.
13260         (tests-special): Likewise.
13261         (xtests-special): Likewise.
13262         (generated): Likewise.
13263         ($(objpfx)mtrace-tst-leaks): Likewise.
13264         ($(objpfx)mtrace-tst-leaks2): Likewise.
13265
13266         * scripts/merge-test-results.sh: New file.
13267         * Makefile (tests-special-notdir): New variable.
13268         (tests): Run merge-test-results.sh.
13269         (xtests): Likewise.
13270         * Rules (tests-special-notdir): New variable.
13271         (xtests-special-notdir): Likewise.
13272         (tests): Run merge-test-results.sh
13273         (xtests): Likewise.
13274
13275         * Makeconfig (test-xfail-name): New variable.
13276         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13277         compute variable name for expected failures.
13278         * conform/Makefile (conformtest-headers-data): New variable.
13279         (conformtest-standards): Likewise.
13280         (conformtest-headers-ISO): Likewise.
13281         (conformtest-headers-ISO99): Likewise.
13282         (conformtest-headers-ISO11): Likewise.
13283         (conformtest-headers-POSIX): Likewise.
13284         (conformtest-headers-XPG3): Likewise.
13285         (conformtest-headers-XPG4): Likewise.
13286         (conformtest-headers-UNIX98): Likewise.
13287         (conformtest-headers-XOPEN2K): Likewise.
13288         (conformtest-headers-POSIX2008): Likewise.
13289         (conformtest-headers-XOPEN2K8): Likewise.
13290         (conformtest-header-list-base): Likewise.
13291         (conformtest-header-list-tests): Likewise.
13292         (conformtest-header-base): Likewise.
13293         (conformtest-header-tests): Likewise.
13294         (tests-special): Add $(conformtest-header-list-tests).  If
13295         [$(fast-check) && !$(cross-compiling)], add
13296         $(conformtest-header-tests) instead of
13297         $(objpfx)run-conformtest.out.
13298         (generated): Add $(conformtest-header-list-base).  If
13299         [$(fast-check) && !$(cross-compiling)], add
13300         $(conformtest-header-base).  Remove previous setting.
13301         ($(conformtest-header-list-tests)): New target.
13302         (test-xfail-run-conformtest): Remove variable.
13303         ($(objpfx)run-conformtest.out): Remove target.
13304         (test-xfail-ISO11/complex.h/conform): New variable.
13305         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13306         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13307         (test-xfail-XPG3/varargs.h/conform): Likewise.
13308         (test-xfail-XPG4/varargs.h/conform): Likewise.
13309         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13310         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13311         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13312         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13313         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13314         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13315         (test-xfail-XPG3/ftw.h/conform): Likewise.
13316         (test-xfail-XPG3/grp.h/conform): Likewise.
13317         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13318         (test-xfail-XPG3/limits.h/conform): Likewise.
13319         (test-xfail-XPG3/pwd.h/conform): Likewise.
13320         (test-xfail-XPG3/search.h/conform): Likewise.
13321         (test-xfail-XPG3/signal.h/conform): Likewise.
13322         (test-xfail-XPG3/stdio.h/conform): Likewise.
13323         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13324         (test-xfail-XPG3/string.h/conform): Likewise.
13325         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13326         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13327         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13328         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13329         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13330         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13331         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13332         (test-xfail-XPG3/termios.h/conform): Likewise.
13333         (test-xfail-XPG3/time.h/conform): Likewise.
13334         (test-xfail-XPG3/unistd.h/conform): Likewise.
13335         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13336         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13337         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13338         (test-xfail-XPG4/netdb.h/conform): Likewise.
13339         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13340         (test-xfail-XPG4/signal.h/conform): Likewise.
13341         (test-xfail-XPG4/stdio.h/conform): Likewise.
13342         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13343         (test-xfail-XPG4/stropts.h/conform): Likewise.
13344         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13345         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13346         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13347         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13348         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13349         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13350         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13351         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13352         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13353         (test-xfail-XPG4/termios.h/conform): Likewise.
13354         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13355         (test-xfail-XPG4/unistd.h/conform): Likewise.
13356         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13357         (test-xfail-POSIX/sched.h/conform): Likewise.
13358         (test-xfail-POSIX/signal.h/conform): Likewise.
13359         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13360         (test-xfail-POSIX/tar.h/conform): Likewise.
13361         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13362         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13363         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13364         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13365         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13366         (test-xfail-UNIX98/sched.h/conform): Likewise.
13367         (test-xfail-UNIX98/signal.h/conform): Likewise.
13368         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13369         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13370         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13371         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13372         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13373         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13374         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13375         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13376         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13377         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13378         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13379         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13380         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13381         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13382         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13383         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13384         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13385         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13386         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13387         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13388         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13389         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13390         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13391         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13392         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13393         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13394         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13395         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13396         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13397         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13398         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13399         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13400         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13401         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13402         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13403         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13404         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13405         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13406         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13407         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13408         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13409         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13410         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13411         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13412         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13413         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13414         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13415         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13416         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13417         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13418         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13419         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13420         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13421         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13422         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13423         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13424         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13425         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13426         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13427         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13428         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13429         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13430         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13431         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13432         (conformtest-cc-flags): Likewise.
13433         ($(conformtest-header-tests): New target.
13434         * conform/check-header-lists.sh: New file.
13435         * conform/run-conformtest.sh: Remove.
13436
13437         * conform/conformtest.pl: Allow ' and \ in values given for
13438         constants.
13439         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13440         inclusion.
13441         [POSIX] (sys/types.h): Likewise.
13442         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13443         inclusion.
13444         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13445         inclusion.
13446         * conform/data/signal.h-data (SIGIO): Remove expectation.
13447         [XPG3] (SIGBUS): Do not expect.
13448         [POSIX || XPG3] (SIGPOLL): Likewise.
13449         [POSIX || XPG3] (SIGPROF): Likewise.
13450         [POSIX || XPG3] (SIGSYS): Likewise.
13451         [XPG3] (SIGTRAP): Likewise.
13452         [POSIX || XPG3] (SIGURG): Likewise.
13453         [POSIX || XPG3] (SIGVTALRM): Likewise.
13454         [POSIX || XPG3] (SIGXCPU): Likewise.
13455         [POSIX || XPG3] (SIGXFSZ): Likewise.
13456         [POSIX] (SA_SIGINFO): Expect.
13457         [XPG3] (siginfo_t): Do not expect type or contents.
13458         [POSIX] (si_pid): Do not expect element.
13459         [POSIX] (si_uid): Likewise.
13460         [POSIX] (si_addr): Likewise.
13461         [POSIX] (si_status): Likewise.
13462         [POSIX] (si_band): Likewise.
13463         [XPG4] (si_value): Likewise.
13464         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13465         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13466         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13467         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13468         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13469         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13470         [POSIX || XPG3] (ILL_COPROC): Likewise.
13471         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13472         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13473         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13474         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13475         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13476         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13477         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13478         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13479         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13480         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13481         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13482         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13483         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13484         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13485         [POSIX || XPG3] (CLD_EXITED): Likewise.
13486         [POSIX || XPG3] (CLD_KILLED): Likewise.
13487         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13488         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13489         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13490         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13491         [POSIX || XPG3] (POLL_IN): Likewise.
13492         [POSIX || XPG3] (POLL_OUT): Likewise.
13493         [POSIX || XPG3] (POLL_MSG): Likewise.
13494         [POSIX || XPG3] (POLL_ERR): Likewise.
13495         [POSIX || XPG3] (POLL_PRI): Likewise.
13496         [POSIX || XPG3] (POLL_HUP): Likewise.
13497         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13498         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13499         (SIG*): Do not allow.
13500         [XPG3] (si_*): Likewise.
13501         [XPG3] (SI_*): Likewise.
13502         [XPG3 || XPG4] (sigev_*): Likewise.
13503         [XPG3 || XPG4] (SIGEV_*): Likewise.
13504         [XPG3 || XPG4] (sival_*): Likewise.
13505         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13506         [POSIX || XPG3] (BUS_*): Likewise.
13507         [POSIX || XPG3] (CLD_*): Likewise.
13508         [POSIX || XPG3] (FPE_*): Likewise.
13509         [POSIX || XPG3] (ILL_*): Likewise.
13510         [POSIX || XPG3] (POLL_*): Likewise.
13511         [POSIX || XPG3] (SEGV_*): Likewise.
13512         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13513         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13514         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13515         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13516         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13517         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13518         Specify type and value.
13519         (TVERSLEN): Likewise.
13520         (REGTYPE): Likewise.
13521         (AREGTYPE): Likewise.
13522         (LNKTYPE): Likewise.
13523         (SYMTYPE): Likewise.
13524         (CHRTYPE): Likewise.
13525         (BLKTYPE): Likewise.
13526         (DIRTYPE): Likewise.
13527         (FIFOTYPE): Likewise.
13528         (CONTTYPE): Likewise.
13529         (TSUID): Likewise.
13530         (TSGID): Likewise.
13531         (TSVTX): Likewise.
13532         (TUREAD): Likewise.
13533         (TUWRITE): Likewise.
13534         (TUEXEC): Likewise.
13535         (TGREAD): Likewise.
13536         (TGWRITE): Likewise.
13537         (TGEXEC): Likewise.
13538         (TOREAD): Likewise.
13539         (TOWRITE): Likewise.
13540         (TOEXEC): Likewise.
13541         [POSIX] (TSVTX): Expect constant.
13542
13543 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13544
13545         * Makefile (tests): Change dependencies to ....
13546         (tests-special): ... additions to this variable.
13547         (tests): Depend on $(tests-special).
13548         * Makerules (check-abi-list): New variable.
13549         (check-abi): Depend on $(check-abi-list).
13550         [$(subdir) = elf] (tests-special): Add
13551         $(objpfx)check-abi-libc.out.
13552         [$(build-shared) = yes && subdir] (tests-special): Add
13553         $(check-abi-list).
13554         [$(build-shared) = yes && subdir] (tests): Do not depend on
13555         check-abi.
13556         * Rules (tests): Depend on $(tests-special).
13557         (xtests): Depend on $(xtests-special).
13558         * catgets/Makefile (tests): Change dependencies to ....
13559         (tests-special): ... additions to this variable.
13560         * conform/Makefile (tests): Change dependencies to ....
13561         (tests-special): ... additions to this variable.
13562         * elf/Makefile (tests): Change dependencies to ....
13563         (tests-special): ... additions to this variable.
13564         * grp/Makefile (tests): Change dependencies to ....
13565         (tests-special): ... additions to this variable.
13566         * iconv/Makefile (xtests): Change dependencies to ....
13567         (xtests-special): ... additions to this variable.
13568         * iconvdata/Makefile (tests): Change dependencies to ....
13569         (tests-special): ... additions to this variable.
13570         * intl/Makefile (tests): Change dependencies to ....
13571         (tests-special): ... additions to this variable.  Also add
13572         $(objpfx)tst-gettext.out.
13573         * io/Makefile (tests): Change dependencies to ....
13574         (tests-special): ... additions to this variable.
13575         * libio/Makefile (tests): Change dependencies to ....
13576         (tests-special): ... additions to this variable.
13577         * malloc/Makefile (tests): Change dependencies to ....
13578         (tests-special): ... additions to this variable.
13579         * misc/Makefile (tests): Change dependencies to ....
13580         (tests-special): ... additions to this variable.
13581         * nptl/Makefile (tests): Change dependencies to ....
13582         (tests-special): ... additions to this variable.
13583         * nptl_db/Makefile (tests): Change dependencies to ....
13584         (tests-special): ... additions to this variable.
13585         * posix/Makefile (tests): Change dependencies to ....
13586         (tests-special): ... additions to this variable.
13587         (xtests): Change dependencies to ....
13588         (xtests-special): ... additions to this variable.
13589         * resolv/Makefile (tests): Change dependencies to ....
13590         (tests-special): ... additions to this variable.
13591         (xtests): Change dependencies to ....
13592         (xtests-special): ... additions to this variable.
13593         * stdio-common/Makefile (tests): Change dependencies to ....
13594         (tests-special): ... additions to this variable.
13595         (do-tst-unbputc): Remove target.
13596         (do-tst-printf): Likewise.
13597         * stdlib/Makefile (tests): Change dependencies to ....
13598         (tests-special): ... additions to this variable.
13599         * string/Makefile (tests): Change dependencies to ....
13600         (tests-special): ... additions to this variable.
13601         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13602         (tests-special): ... additions to this variable.
13603
13604         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13605         whole file.
13606         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13607         whole file.
13608         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13609         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13610
13611         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13612         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13613         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13614         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13615         * conform/data/libgen.h-data [XPG3]: Likewise.
13616         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13617         * conform/data/ndbm.h-data [XPG3]: Likewise.
13618         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13619         * conform/data/netdb.h-data [XPG3]: Likewise.
13620         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13621         * conform/data/poll.h-data [XPG3]: Likewise.
13622         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13623         * conform/data/strings.h-data [XPG3]: Likewise.
13624         * conform/data/stropts.h-data [XPG3]: Likewise.
13625         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13626         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13627         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13628         Likewise.
13629         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13630         * conform/data/sys/time.h-data [XPG3]: Likewise.
13631         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13632         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13633         * conform/data/sys/un.h-data [XPG3]: Likewise.
13634         * conform/data/syslog.h-data [XPG3]: Likewise.
13635         * conform/data/ucontext.h-data [XPG3]: Likewise.
13636         * conform/data/utmpx.h-data [XPG3]: Likewise.
13637         * conform/data/varargs.h-data [UNIX98]: Enable file.
13638
13639         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13640
13641         * math/libm-test.inc (struct test_f_f_data): Move expected results
13642         into structure for each rounding mode.
13643         (struct test_ff_f_data): Likewise.
13644         (struct test_ff_f_data_nexttoward): Likewise.
13645         (struct test_fi_f_data): Likewise.
13646         (struct test_fl_f_data): Likewise.
13647         (struct test_if_f_data): Likewise.
13648         (struct test_fff_f_data): Likewise.
13649         (struct test_c_f_data): Likewise.
13650         (struct test_f_f1_data): Likewise.
13651         (struct test_fF_f1_data): Likewise.
13652         (struct test_ffI_f1_data): Likewise.
13653         (struct test_c_c_data): Likewise.
13654         (struct test_cc_c_data): Likewise.
13655         (struct test_f_i_data): Likewise.
13656         (struct test_ff_i_data): Likewise.
13657         (struct test_f_l_data): Likewise.
13658         (struct test_f_L_data): Likewise.
13659         (struct test_fFF_11_data): Likewise.
13660         (RM_): New macro.
13661         (RM_FE_DOWNWARD): Likewise.
13662         (RM_FE_TONEAREST): Likewise.
13663         (RM_FE_TOWARDZERO): Likewise.
13664         (RM_FE_UPWARD): Likewise.
13665         (RUN_TEST_LOOP_f_f): Update references to expected results.
13666         (RUN_TEST_LOOP_2_f): Likewise.
13667         (RUN_TEST_LOOP_fff_f): Likewise.
13668         (RUN_TEST_LOOP_c_f): Likewise.
13669         (RUN_TEST_LOOP_f_f1): Likewise.
13670         (RUN_TEST_LOOP_fF_f1): Likewise.
13671         (RUN_TEST_LOOP_fI_f1): Likewise.
13672         (RUN_TEST_LOOP_ffI_f1): Likewise.
13673         (RUN_TEST_LOOP_c_c): Likewise.
13674         (RUN_TEST_LOOP_cc_c): Likewise.
13675         (RUN_TEST_LOOP_f_i): Likewise.
13676         (RUN_TEST_LOOP_f_i_tg): Likewise.
13677         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13678         (RUN_TEST_LOOP_f_b): Likewise.
13679         (RUN_TEST_LOOP_f_b_tg): Likewise.
13680         (RUN_TEST_LOOP_f_l): Likewise.
13681         (RUN_TEST_LOOP_f_L): Likewise.
13682         (RUN_TEST_LOOP_fFF_11): Likewise.
13683         * math/gen-libm-test.pl (parse_args): Output four copies of
13684         expected results for each test.
13685
13686         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13687         (__ASSUME_UTIMES): Remove.
13688         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13689         (__ASSUME_UTIMES): Likewise.
13690
13691         * math/gen-auto-libm-tests.c: Update comment on output format.
13692         (output_for_one_input_case): Generate before-rounding and
13693         after-rounding information as conditions on output flags not
13694         floating-point format.
13695         * math/auto-libm-test-out: Regenerated.
13696         * math/gen-libm-test.pl (cond_value): New function.
13697         (or_cond_value): Use cond_value.
13698         (generate_testfile): Handle conditional exceptions.
13699
13700 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13701
13702         * math/libm-test.inc (max_valid_error): New variable.
13703         (init_max_error): Take new argument specifying whether function
13704         results are exactly determined.  Set max_valid_error and bound
13705         other variables for errors based on this argument.
13706         (set_max_error): Do not record results above max_valid_error.
13707         (check_float_internal): Only accept errors of up to 0.5ulps if
13708         also at most max_valid_error.
13709         (START): Take new argument EXACT and pass it to init_max_error.
13710         (acos_test): Update call to START.
13711         (acos_test_tonearest): Likewise.
13712         (acos_test_towardzero): Likewise.
13713         (acos_test_downward): Likewise.
13714         (acos_test_upward): Likewise.
13715         (acosh_test): Likewise.
13716         (asin_test): Likewise.
13717         (asin_test_tonearest): Likewise.
13718         (asin_test_towardzero): Likewise.
13719         (asin_test_downward): Likewise.
13720         (asin_test_upward): Likewise.
13721         (asinh_test): Likewise.
13722         (atan_test): Likewise.
13723         (atanh_test): Likewise.
13724         (atan2_test): Likewise.
13725         (cabs_test): Likewise.
13726         (cacos_test): Likewise.
13727         (cacosh_test): Likewise.
13728         (carg_test): Likewise.
13729         (casin_test): Likewise.
13730         (casinh_test): Likewise.
13731         (catan_test): Likewise.
13732         (catanh_test): Likewise.
13733         (cbrt_test): Likewise.
13734         (ccos_test): Likewise.
13735         (ccosh_test): Likewise.
13736         (ceil_test): Likewise.
13737         (cexp_test): Likewise.
13738         (cimag_test): Likewise.
13739         (clog_test): Likewise.
13740         (clog10_test): Likewise.
13741         (conj_test): Likewise.
13742         (copysign_test): Likewise.
13743         (cos_test): Likewise.
13744         (cos_test_tonearest): Likewise.
13745         (cos_test_towardzero): Likewise.
13746         (cos_test_downward): Likewise.
13747         (cos_test_upward): Likewise.
13748         (cosh_test): Likewise.
13749         (cosh_test_tonearest): Likewise.
13750         (cosh_test_towardzero): Likewise.
13751         (cosh_test_downward): Likewise.
13752         (cosh_test_upward): Likewise.
13753         (cpow_test): Likewise.
13754         (cproj_test): Likewise.
13755         (creal_test): Likewise.
13756         (csin_test): Likewise.
13757         (csinh_test): Likewise.
13758         (csqrt_test): Likewise.
13759         (ctan_test): Likewise.
13760         (ctan_test_tonearest): Likewise.
13761         (ctan_test_towardzero): Likewise.
13762         (ctan_test_downward): Likewise.
13763         (ctan_test_upward): Likewise.
13764         (ctanh_test): Likewise.
13765         (ctanh_test_tonearest): Likewise.
13766         (ctanh_test_towardzero): Likewise.
13767         (ctanh_test_downward): Likewise.
13768         (ctanh_test_upward): Likewise.
13769         (erf_test): Likewise.
13770         (erfc_test): Likewise.
13771         (exp_test): Likewise.
13772         (exp_test_tonearest): Likewise.
13773         (exp_test_towardzero): Likewise.
13774         (exp_test_downward): Likewise.
13775         (exp_test_upward): Likewise.
13776         (exp10_test): Likewise.
13777         (exp10_test_tonearest): Likewise.
13778         (exp10_test_towardzero): Likewise.
13779         (exp10_test_downward): Likewise.
13780         (exp10_test_upward): Likewise.
13781         (pow10_test): Likewise.
13782         (exp2_test): Likewise.
13783         (expm1_test): Likewise.
13784         (expm1_test_tonearest): Likewise.
13785         (expm1_test_towardzero): Likewise.
13786         (expm1_test_downward): Likewise.
13787         (expm1_test_upward): Likewise.
13788         (fabs_test): Likewise.
13789         (fdim_test): Likewise.
13790         (floor_test): Likewise.
13791         (fma_test): Likewise.
13792         (fma_test_towardzero): Likewise.
13793         (fma_test_downward): Likewise.
13794         (fma_test_upward): Likewise.
13795         (fmax_test): Likewise.
13796         (fmin_test): Likewise.
13797         (fmod_test): Likewise.
13798         (fpclassify_test): Likewise.
13799         (frexp_test): Likewise.
13800         (hypot_test): Likewise.
13801         (ilogb_test): Likewise.
13802         (isfinite_test): Likewise.
13803         (finite_test): Likewise.
13804         (isgreater_test): Likewise.
13805         (isgreaterequal_test): Likewise.
13806         (isinf_test): Likewise.
13807         (isless_test): Likewise.
13808         (islessequal_test): Likewise.
13809         (islessgreater_test): Likewise.
13810         (isnan_test): Likewise.
13811         (isnormal_test): Likewise.
13812         (issignaling_test): Likewise.
13813         (isunordered_test): Likewise.
13814         (j0_test): Likewise.
13815         (j1_test): Likewise.
13816         (jn_test): Likewise.
13817         (ldexp_test): Likewise.
13818         (lgamma_test): Likewise.
13819         (gamma_test): Likewise.
13820         (lrint_test): Likewise.
13821         (lrint_test_tonearest): Likewise.
13822         (lrint_test_towardzero): Likewise.
13823         (lrint_test_downward): Likewise.
13824         (lrint_test_upward): Likewise.
13825         (llrint_test): Likewise.
13826         (llrint_test_tonearest): Likewise.
13827         (llrint_test_towardzero): Likewise.
13828         (llrint_test_downward): Likewise.
13829         (llrint_test_upward): Likewise.
13830         (log_test): Likewise.
13831         (log10_test): Likewise.
13832         (log1p_test): Likewise.
13833         (log2_test): Likewise.
13834         (logb_test): Likewise.
13835         (logb_test_downward): Likewise.
13836         (lround_test): Likewise.
13837         (llround_test): Likewise.
13838         (modf_test): Likewise.
13839         (nearbyint_test): Likewise.
13840         (nextafter_test): Likewise.
13841         (nexttoward_test): Likewise.
13842         (pow_test): Likewise.
13843         (pow_test_tonearest): Likewise.
13844         (pow_test_towardzero): Likewise.
13845         (pow_test_downward): Likewise.
13846         (pow_test_upward): Likewise.
13847         (remainder_test): Likewise.
13848         (drem_test): Likewise.
13849         (remainder_test_tonearest): Likewise.
13850         (drem_test_tonearest): Likewise.
13851         (remainder_test_towardzero): Likewise.
13852         (drem_test_towardzero): Likewise.
13853         (remainder_test_downward): Likewise.
13854         (drem_test_downward): Likewise.
13855         (remainder_test_upward): Likewise.
13856         (drem_test_upward): Likewise.
13857         (remquo_test): Likewise.
13858         (rint_test): Likewise.
13859         (rint_test_tonearest): Likewise.
13860         (rint_test_towardzero): Likewise.
13861         (rint_test_downward): Likewise.
13862         (rint_test_upward): Likewise.
13863         (round_test): Likewise.
13864         (scalb_test): Likewise.
13865         (scalbn_test): Likewise.
13866         (scalbln_test): Likewise.
13867         (signbit_test): Likewise.
13868         (sin_test): Likewise.
13869         (sin_test_tonearest): Likewise.
13870         (sin_test_towardzero): Likewise.
13871         (sin_test_downward): Likewise.
13872         (sin_test_upward): Likewise.
13873         (sincos_test): Likewise.
13874         (sinh_test): Likewise.
13875         (sinh_test_tonearest): Likewise.
13876         (sinh_test_towardzero): Likewise.
13877         (sinh_test_downward): Likewise.
13878         (sinh_test_upward): Likewise.
13879         (sqrt_test): Likewise.
13880         (sqrt_test_tonearest): Likewise.
13881         (sqrt_test_towardzero): Likewise.
13882         (sqrt_test_downward): Likewise.
13883         (sqrt_test_upward): Likewise.
13884         (tan_test): Likewise.
13885         (tan_test_tonearest): Likewise.
13886         (tan_test_towardzero): Likewise.
13887         (tan_test_downward): Likewise.
13888         (tan_test_upward): Likewise.
13889         (tanh_test): Likewise.
13890         (tgamma_test): Likewise.
13891         (trunc_test): Likewise.
13892         (y0_test): Likewise.
13893         (y1_test): Likewise.
13894         (yn_test): Likewise.
13895         (significand_test): Likewise.
13896
13897         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13898         individual tests in comment.
13899         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13900         (prev_max_error): New variable.
13901         (prev_real_max_error): Likewise.
13902         (prev_imag_max_error): Likewise.
13903         (compare_ulp_data): Don't refer to test names in comment.
13904         (find_test_ulps): Remove function.
13905         (find_function_ulps): Likewise.
13906         (find_complex_function_ulps): Likewise.
13907         (init_max_error): Take function name as argument.  Look up ulps
13908         for that function.
13909         (print_ulps): Remove function.
13910         (print_max_error): Use prev_max_error instead of calling
13911         find_function_ulps.
13912         (print_complex_max_error): Use prev_real_max_error and
13913         prev_imag_max_error instead of calling find_complex_function_ulps.
13914         (check_float_internal): Take max_ulp parameter instead of calling
13915         find_test_ulps.  Don't call print_ulps.
13916         (check_float): Update call to check_float_internal.
13917         (check_complex): Update calls to check_float_internal.
13918         (START): Pass argument to init_max_error.
13919         * math/gen-libm-test.pl (%results): Don't include "kind"
13920         information.
13921         (parse_ulps): Don't handle ulps of individual tests.
13922         (print_ulps_file): Likewise.
13923         (output_ulps): Likewise.
13924         * math/README.libm-test: Update.
13925         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13926         individual tests.
13927         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13928         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13929         * sysdeps/arm/libm-test-ulps: Likewise.
13930         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13931         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13932         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13933         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13934         * sysdeps/microblaze/libm-test-ulps: Likewise.
13935         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13936         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13937         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13938         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13939         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13940         * sysdeps/sh/libm-test-ulps: Likewise.
13941         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13942         * sysdeps/tile/libm-test-ulps: Likewise.
13943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13944
13945 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
13946
13947         * math/libm-test.inc (print_complex_max_error): Check separately
13948         whether real and imaginary errors are within allowed range and
13949         pass 0 to print_complex_function_ulps instead of value within
13950         allowed range.
13951
13952 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13953
13954         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13955         formatting.
13956         (get_handles_fopen): Likewise.
13957         (do_write_test): Likewise.
13958
13959         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13960
13961         * libio/fileops.c (do_ftell): Use cached offset when
13962         available.
13963         * libio/iofwide.c (do_ftell_wide): Likewise.
13964         * libio/iofdopen.c (_IO_new_fdopen): Don't use
13965         _IO_file_attach.
13966         * libio/wfileops.c (_IO_fwide): Don't cache offset.
13967
13968         [BZ #16532]
13969         * libio/libioP.h (get_file_offset): New function.
13970         * libio/fileops.c (get_file_offset): Likewise.
13971         (do_ftell): Likewise.
13972         (_IO_new_file_seekoff): Split out ftell logic.
13973         * libio/wfileops.c (do_ftell_wide): Likewise.
13974         (_IO_wfile_seekoff): Split out ftell logic.
13975         * libio/tst-ftell-active-handler.c: New test case.
13976         * libio/Makefile (tests): Add it.
13977
13978 2014-03-03  Roland McGrath  <roland@hack.frob.com>
13979
13980         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13981         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13982
13983 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13984
13985         [BZ #16639]
13986         * nscd/connections.c (nscd_init): Call do_exit.
13987         (start_threads): Call do_exit and notify_parent.
13988         (begin_drop_privileges): Call do_exit.
13989         (finish_drop_privileges): Likewise.
13990         * nscd/selinux.c (preserve_capabilities): Likewise.
13991         (install_real_capabilities): Likewise.
13992         (nscd_selinux_enabled): Likewise.
13993         (avc_create_thread): Likewise.
13994         (avc_alloc_lock): Likewise.
13995         (nscd_avc_init): Likewise.
13996         * nscd/nscd.c (parent_fd): New static variable.
13997         (main): Create a pipe between parent and child processes.
13998         Skip closing parent_fd.
13999         (monitor_child): New function.
14000         (do_exit): Likewise.
14001         (notify_parent): Likewise.
14002         * nscd/nscd.h (notify_parent): Likewise.
14003         (do_exit): Likewise.
14004
14005 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14006
14007         * malloc/malloc.c (__libc_calloc): Revert last change.
14008
14009 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14010
14011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14012
14013 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14014
14015         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14017         implementation.
14018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14019         (__libc_ifunc_impl_list): Likewise.
14020         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14021         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14022         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14023         * string/strrchr.c: Define STRRCHR.
14024
14025 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14026
14027         * benchtest/bench-strtok.c (simple_strtok): Delete.
14028         (strtok_string): Use as benchmark.
14029         * string/strtok (STRTOK): New macro.
14030
14031 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14032
14033         * manual/threads.texi: Add header and standard comments to all
14034         functions.
14035
14036         * elf/dl-lookup.c (check_match): New function.
14037         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14038         (do_lookup_x): Remove nested function check_match. Use non-nested
14039         function check_match.
14040
14041 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14042
14043         * csu/Makefile (generated, before-compile): Use += rather than =.
14044         * catgets/Makefile (generated, generated-dirs): Likewise.
14045         * debug/Makefile (generated): Likewise.
14046         * dlfcn/Makefile (generated): Likewise.
14047         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14048         * iconvdata/Makefile (before-compile, generated): Likewise.
14049         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14050         * libio/Makefile (generated): Likewise.
14051         * malloc/Makefile (generated): Likewise.
14052         * manual/Makefile (generated, generated-dirs): Likewise.
14053         * misc/Makefile (generated): Likewise.
14054         * posix/Makefile (generated): Likewise.
14055         * resolv/Makefile (generated): Likewise.
14056         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14057         * timezone/Makefile (generated, generated-dirs): Likewise.
14058
14059         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14060
14061 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14062
14063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14064         power8 implementation.
14065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14066         file: POWER8 llround ifunc implementation.
14067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14068         (__lllround): Add POWER8 implementation.
14069         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14070         POWER8 llround implementation.
14071
14072         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14073         power8 implementation.
14074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14075         file: POWER8 llrint ifunc implementation.
14076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14077         Add POWER8 implementation.
14078         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14079         POWER8 llrint implementation.
14080
14081         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14082         power8 implementation.
14083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14084         file: POWER8 finite ifunc implementation.
14085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14086         Add POWER8 implementation.
14087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14088         Likewise.
14089         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14090         POWER8 finite implementation.
14091         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14092
14093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14094         power8 implementation.
14095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14096         file: POWER8 isinf ifunc implementation.
14097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14098         POWER8 implementation.
14099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14100         Likewise.
14101         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14102         isinf implementation.
14103         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14104
14105         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14106         (INIT_ARCH): Add hwcap2 initialization.
14107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14108         power8 implementation.
14109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14110         file: POWER8 isnan ifunc implementation.
14111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14112         POWER8 implementation.
14113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14114         Likewise.
14115         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14116         isnan implementation.
14117         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14118
14119 2014-02-27  Joey Ye  <joey.ye@arm.com>
14120
14121         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14122         (_FP_NANFRAC_Q): Set to zero.
14123
14124 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14125
14126         [BZ #16623]
14127         * math/auto-libm-test-in: New test inputs.
14128         * math/auto-libm-test-out: Regenerate.
14129         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14130         and DA.
14131         (__cos): Likewise.
14132         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14133
14134 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14135
14136         * scripts/evaluate-test.sh: Take new argument indicating whether
14137         failure is expected.
14138         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14139         indicating whether failure is expected.
14140         * conform/Makefile (test-xfail-run-conformtest): New variable.
14141         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14142         level.
14143         * posix/Makefile (test-xfail-annexc): New variable.
14144         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14145
14146 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14147
14148         * argp/Makefile: Include Makeconfig immediately after defining
14149         subdir.
14150         * assert/Makefile: Likewise.
14151         * benchtests/Makefile: Likewise.
14152         * catgets/Makefile: Likewise.
14153         * conform/Makefile: Likewise.
14154         * crypt/Makefile: Likewise.
14155         * csu/Makefile: Likewise.
14156         (all): Remove target.
14157         * ctype/Makefile: Include Makeconfig immediately after defining
14158         subdir.
14159         * debug/Makefile: Likewise.
14160         * dirent/Makefile: Likewise.
14161         * dlfcn/Makefile: Likewise.
14162         * gmon/Makefile: Likewise.
14163         * gnulib/Makefile: Likewise.
14164         * grp/Makefile: Likewise.
14165         * gshadow/Makefile: Likewise.
14166         * hesiod/Makefile: Likewise.
14167         * hurd/Makefile: Likewise.
14168         (all): Remove target.
14169         * iconvdata/Makefile: Include Makeconfig immediately after
14170         defining subdir.
14171         * inet/Makefile: Likewise.
14172         * intl/Makefile: Likewise.
14173         * io/Makefile: Likewise.
14174         * libio/Makefile: Likewise.
14175         (all): Remove target.
14176         * locale/Makefile: Include Makeconfig immediately after defining
14177         subdir.
14178         * login/Makefile: Likewise.
14179         * mach/Makefile: Likewise.
14180         (all): Remove target.
14181         * malloc/Makefile: Include Makeconfig immediately after defining
14182         subdir.
14183         (all): Remove target.
14184         * manual/Makefile: Include Makeconfig immediately after defining
14185         subdir.
14186         * math/Makefile: Likewise.
14187         * misc/Makefile: Likewise.
14188         * nis/Makefile: Likewise.
14189         * nss/Makefile: Likewise.
14190         * po/Makefile: Likewise.
14191         (all): Remove target.
14192         * posix/Makefile: Include Makeconfig immediately after defining
14193         subdir.
14194         * pwd/Makefile: Likewise.
14195         * resolv/Makefile: Likewise.
14196         * resource/Makefile: Likewise.
14197         * rt/Makefile: Likewise.
14198         * setjmp/Makefile: Likewise.
14199         * shadow/Makefile: Likewise.
14200         * signal/Makefile: Likewise.
14201         * socket/Makefile: Likewise.
14202         * soft-fp/Makefile: Likewise.
14203         * stdio-common/Makefile: Likewise.
14204         * stdlib/Makefile: Likewise.
14205         * streams/Makefile: Likewise.
14206         * string/Makefile: Likewise.
14207         * sunrpc/Makefile: Likewise.
14208         (all): Remove target.
14209         * sysvipc/Makefile: Include Makeconfig immediately after defining
14210         subdir.
14211         * termios/Makefile: Likewise.
14212         * time/Makefile: Likewise.
14213         * timezone/Makefile: Likewise.
14214         (all): Remove target.
14215         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14216         subdir.
14217         * wctype/Makefile: Likewise.
14218
14219 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14220
14221         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14222         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14223         (libc_feholdexcept_setround_mips): Ditto.
14224         (libc_feholdsetround): New.
14225         (libc_feholdsetroundf): New.
14226         (libc_feholdsetroundl): New.
14227         (libc_feupdateenv_test_mips): New.
14228         (libc_feupdateenv_test): New.
14229         (libc_feupdateenv_testf): New.
14230         (libc_feupdateenv_testl): New.
14231         (libc_feresetround): New.
14232         (libc_feresetroundf): New.
14233         (libc_feresetroundl): New.
14234         (libc_fetestexcept_mips): New.
14235         (libc_fetestexcept): New.
14236         (libc_fetestexceptf): New.
14237         (libc_fetestexceptl): New.
14238         (HAVE_RM_CTX): New.
14239         (libc_feholdexcept_setround_mips_ctx): New.
14240         (libc_feholdexcept_setround_ctx): New.
14241         (libc_feholdexcept_setroundf_ctx): New.
14242         (libc_feholdexcept_setroundl_ctx): New.
14243         (libc_fesetenv_mips_ctx): New.
14244         (libc_fesetenv_ctx): New.
14245         (libc_fesetenv_ctxf): New.
14246         (libc_fesetenv_ctxl): New.
14247         (libc_feupdateenv_mips_ctx): New.
14248         (libc_feupdateenv_ctx): New.
14249         (libc_feupdateenvf_ctx): New.
14250         (libc_feupdateenvl_ctx): New.
14251         (libc_feholdsetround_mips_ctx): New.
14252         (libc_feholdsetround_ctx): New.
14253         (libc_feholdsetroundf_ctx): New.
14254         (libc_feholdsetroundl_ctx): New.
14255         (libc_feresetround_mips_ctx): New.
14256         (libc_feresetround_ctx): New.
14257         (libc_feresetroundf_ctx): New.
14258         (libc_feresetroundl_ctx): New.
14259
14260 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14261
14262         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14263
14264         * manual/ipc.texi: New file.
14265         * manual/Makefile (chapters): Add ipc.
14266         * manual/job.texi: Add "Inter-Process Communication" to next.
14267         * manual/process.texi: Add "Inter-Process Communication" to prev.
14268
14269 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14270
14271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14272
14273 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14274
14275         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14276
14277         * manual/arith.texi: Fix spaces after sentences.
14278         * manual/charset.texi: Likewise.
14279         * manual/errno.texi: Likewise.
14280         * manual/install.texi: Likewise.
14281         * manual/llio.texi: Likewise.
14282         * manual/locale.texi: Likewise.
14283         * manual/maint.texi: Likewise.
14284         * manual/math.texi: Likewise.
14285         * manual/memory.texi: Likewise.
14286         * manual/message.texi: Likewise.
14287         * manual/probes.texi: Likewise.
14288         * manual/resource.texi: Likewise.
14289         * manual/signal.texi: Likewise.
14290         * manual/socket.texi: Likewise.
14291         * manual/stdio.texi: Likewise.
14292         * manual/string.texi: Likewise.
14293         * manual/time.texi: Likewise.
14294         * manual/users.texi: Likewise.
14295
14296 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14297
14298         [BZ #16632]
14299         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14300         _DEFAULT_SOURCE is defined.
14301
14302 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14303             Carlos O'Donell  <carlos@redhat.com>
14304
14305         [BZ #16613]
14306         * elf/dl-tls.c (_dl_count_modids): New function.
14307         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14308         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14309         audit library and increment generation counter.
14310         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14311         * elf/tst-audit9.c: New file.
14312         * elf/tst-auditmod9a.c: New file.
14313         * elf/tst-auditmod9b.c: New file.
14314         * elf/Makefile: Add rules to build and run tst-audit9.
14315
14316 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14317
14318         [BZ #15347]
14319         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14320
14321 2014-02-25  Will Newton  <will.newton@linaro.org>
14322
14323         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14324         (__longjmp): Restore sp and lr before restoring callee
14325         saved registers.  Add longjmp and longjmp_target
14326         SystemTap probe point.
14327         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14328         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14329         Define to zero to match jmpbuf layout.
14330         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14331         (__sigsetjmp): Save sp and lr before saving callee
14332         saved registers.  Add setjmp SystemTap probe point.
14333
14334 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14335
14336         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14337
14338 2014-02-24  Andreas Schwab  <schwab@suse.de>
14339
14340         [BZ #15804]
14341         * elf/pldd.c (wait_for_ptrace_stop): New function.
14342         (main): Call it after attaching.
14343
14344 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14345
14346         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14347         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14348         Versions files is now verboten.
14349         * hurd/Versions (libc: GLIBC_2.0):
14350         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14351         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14352         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14353         * mach/Versions: Likewise.
14354
14355         * csu/Versions: Remove unused %include.
14356         * resolv/Versions: Likewise.
14357
14358 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14359
14360         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14361         ($(objpfx)check-local-headers.out): Likewise.
14362         ($(objpfx)begin-end-check.out): Likewise.
14363         * Makerules (check-abi-%.out): Likewise.
14364         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14365         ($(objpfx)test2.cat): Likewise.
14366         ($(objpfx)de/libc.cat): Likewise.
14367         ($(objpfx)test-gencat.out): Likewise.
14368         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14369         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14370         ($(objpfx)noload-mem): Likewise.
14371         ($(objpfx)tst-pathopt.out): Likewise.
14372         ($(objpfx)tst-rtld-load-self.out): Likewise.
14373         ($(objpfx)tst-array1-cmp.out): Likewise.
14374         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14375         ($(objpfx)tst-array2-cmp.out): Likewise.
14376         ($(objpfx)tst-array3-cmp.out): Likewise.
14377         ($(objpfx)tst-array4-cmp.out): Likewise.
14378         ($(objpfx)tst-array5-cmp.out): Likewise.
14379         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14380         ($(objpfx)check-textrel.out): Likewise.
14381         ($(objpfx)check-execstack.out): Likewise.
14382         ($(objpfx)check-localplt.out): Likewise.
14383         ($(objpfx)order2-cmp.out): Likewise.
14384         ($(objpfx)tst-leaks1-mem): Likewise.
14385         ($(objpfx)tst-leaks1-static-mem): Likewise.
14386         ($(objpfx)tst-initorder-cmp.out): Likewise.
14387         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14388         ($(objpfx)tst-unused-dep.out): Likewise.
14389         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14390         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14391         * iconv/Makefile (test-iconvconfig): Likewise.
14392         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14393         ($(objpfx)iconv-test.out): Likewise.
14394         ($(objpfx)tst-tables.out): Likewise.
14395         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14396         ($(objpfx)tst-gettext.out): Likewise.
14397         ($(objpfx)tst-translit.out): Likewise.
14398         ($(objpfx)tst-gettext2.out): Likewise.
14399         ($(objpfx)tst-gettext4.out): Likewise.
14400         ($(objpfx)tst-gettext6.out): Likewise.
14401         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14402         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14403         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14404         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14405         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14406         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14407         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14408         ($(objpfx)wordexp-tst.out): Likewise.
14409         ($(objpfx)annexc.out): Likewise.
14410         ($(objpfx)tst-fnmatch-mem): Likewise.
14411         ($(objpfx)bug-regex2-mem): Likewise.
14412         ($(objpfx)bug-regex14-mem): Likewise.
14413         ($(objpfx)bug-regex21-mem): Likewise.
14414         ($(objpfx)bug-regex31-mem): Likewise.
14415         ($(objpfx)tst-vfork3-mem): Likewise.
14416         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14417         ($(objpfx)tst-pcre-mem): Likewise.
14418         ($(objpfx)tst-boost-mem): Likewise.
14419         ($(objpfx)tst-getconf.out): Likewise.
14420         ($(objpfx)bug-ga2-mem): Likewise.
14421         ($(objpfx)bug-glob2-mem): Likewise.
14422         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14423         ($(objpfx)mtrace-tst-leaks2): Likewise.
14424         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14425         ($(objpfx)tst-printf.out): Likewise.
14426         ($(objpfx)tst-setvbuf1.out): Likewise.
14427         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14428         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14429         ($(objpfx)tst-fmtmsg.out): Likewise.
14430         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14431         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14432
14433         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14434         * bits/sigaction.h [__USE_MISC]: Likewise.
14435         * bits/waitstatus.h: Update #endif comments.
14436         * ctype/ctype.h: Likewise.
14437         * dirent/dirent.h: Likewise.
14438         [__USE_MISC]: Remove redundant conditionals.
14439         * grp/grp.h: Update #endif comments.
14440         [__USE_GNU]: Remove redundant conditionals.
14441         [__USE_MISC]: Likewise.
14442         * inet/netinet/in.h [__USE_GNU]: Likewise.
14443         * io/sys/stat.h [__USE_MISC]: Likewise.
14444         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14445         * libio/bits/stdio.h: Update #endif comments.
14446         [__USE_MISC]: Remove redundant conditionals.
14447         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14448         * libio/stdio.h: Update #endif comments.
14449         [__USE_MISC]: Remove redundant conditionals.
14450         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14451         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14452         * math/math.h: Update #else and #endif comments.
14453         [__USE_MISC]: Remove redundant conditionals.
14454         * misc/sys/uio.h: Update #endif comments.
14455         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14456         * posix/glob.h [__USE_MISC]: Likewise.
14457         * posix/sys/types.h: Update #endif comments.
14458         [__USE_MISC]: Remove redundant conditionals.
14459         * posix/sys/wait.h: Update #endif comments.
14460         [__USE_MISC]: Remove redundant conditionals.
14461         * posix/unistd.h: Update #endif comments.
14462         [__USE_MISC]: Remove redundant conditionals.
14463         * pwd/pwd.h [__USE_GNU]: Likewise.
14464         [__USE_MISC]: Likewise.
14465         * resolv/netdb.h [__USE_GNU]: Likewise.
14466         * signal/signal.h: Update #endif comments.
14467         [__USE_MISC]: Remove redundant conditionals.
14468         * stdlib/stdlib.h: Update #else and #endif comments.
14469         [__USE_MISC]: Remove redundant conditionals.
14470         [__USE_GNU]: Likewise.
14471         * string/bits/string2.h [__USE_MISC]: Likewise.
14472         * string/string.h: Update #endif comments.
14473         [__USE_MISC]: Remove redundant conditionals.
14474         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14475         Likewise.
14476         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14477         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14478         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14479         Likewise.
14480         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14481         Likewise.
14482         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14483         comments.
14484         [__USE_MISC]: Remove redundant conditionals.
14485         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14486         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14487         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14488         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14489         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14490         Likewise.
14491         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14492         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14493         Likewise.
14494         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14495         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14496         Likewise.
14497         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14498         Likewise.
14499         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14500         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14501         Likewise.
14502         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14503         Likewise.
14504         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14505         * sysdeps/x86/bits/string.h: Update #endif comments.
14506         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14507         conditionals.
14508         * time/sys/time.h: Update #endif comments.
14509         * time/time.h: Likewise.
14510         [__USE_MISC]: Remove redundant conditionals.
14511
14512 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14513
14514         [BZ #16600]
14515         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14516
14517 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14518
14519         * Versions.def (librt): Add GLIBC_2.17.
14520
14521 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14522
14523         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14524         synonym for _SYS_AUXV_H to allow direct inclusion.
14525         * sysdeps/sparc/bits/hwcap.h: Likewise.
14526         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14527         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14528         * sysdeps/sparc/sysdep.h: Likewise.
14529
14530 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14531
14532         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14533
14534 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14535
14536         * benchtests/bench-strrchr.c: Print length instead of position.
14537
14538 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14539
14540         [BZ #16611]
14541         * sysdeps/unix/sysv/linux/kernel-features.h
14542         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14543         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14544         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14545         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14546         Likewise.
14547         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14548         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14549         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14550         (__ASSUME_SENDMMSG): Define instead of using previous
14551         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14552         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14553         (__ASSUME_SENDMMSG_SYSCALL): Define.
14554         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14555         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14556         Likewise.
14557         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14558         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14559         Likewise.
14560         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14561         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14562         Likewise.
14563         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14564         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14565         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14566         [__ASSUME_SENDMMSG]: Change conditionals to
14567         [__ASSUME_SENDMMSG_SOCKETCALL].
14568         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14569         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14570         Define.
14571         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14572         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14573         Likewise.
14574         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14575         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14576         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14577         [!__ASSUME_SENDMMSG]: Change conditional to
14578         [!__ASSUME_SENDMMSG_SOCKETCALL].
14579         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14580         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14581         Define.
14582
14583         [BZ #16610]
14584         * sysdeps/unix/sysv/linux/kernel-features.h
14585         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14586         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14587         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14588         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14589         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14590         [__i386__ || __sparc__]
14591         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14592         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14593         (__ASSUME_RECVMMSG): Define instead of using previous
14594         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14595         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14596         (__ASSUME_RECVMMSG_SYSCALL): Define.
14597         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14598         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14599         Likewise.
14600         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14601         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14602         Likewise.
14603         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14604         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14605         Likewise.
14606         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14607         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14608         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14609         [__ASSUME_RECVMMSG]: Change condition to
14610         [__ASSUME_RECVMMSG_SOCKETCALL].
14611         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14612         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14613         Define.
14614         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14615         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14616         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14617         Likewise.
14618         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14619         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14620         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14621         [!__ASSUME_RECVMMSG]: Change condition to
14622         [!__ASSUME_RECVMMSG_SOCKETCALL].
14623         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14624         (__ASSUME_RECVMMSG_SYSCALL): Define.
14625
14626         [BZ #16609]
14627         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14628         __powerpc__ || __s390__ || __sh__ || __sparc__]
14629         (__ASSUME_SOCKETCALL): Define.
14630         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14631         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14632         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14633         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14634         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14635         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14636         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14637         (__ASSUME_ACCEPT4): Define instead of using previous
14638         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14639         __powerpc__ || __sparc__ || __s390__)] condition.
14640         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14641         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14642         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14643         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14644         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14645         [!__ASSUME_ACCEPT4]: Change condition to
14646         [!__ASSUME_ACCEPT4_SOCKETCALL].
14647         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14648         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14649         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14650         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14651         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14652         __ASSUME_ACCEPT4_SYSCALL.
14653         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14654         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14655         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14656         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14657         __ASSUME_ACCEPT4_SYSCALL.
14658         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14659         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14660         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14661         [__ASSUME_ACCEPT4]: Change condition to
14662         [__ASSUME_ACCEPT4_SOCKETCALL].
14663         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14664         (__ASSUME_SOCKETCALL): Define.
14665         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14666         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14667         (__ASSUME_SOCKETCALL): Define.
14668         (__ASSUME_ACCEPT4): Remove.
14669         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14670         Define.
14671         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14672         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14673         Likewise.
14674         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14675         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14676
14677         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14678         macro.
14679         (HWCAP_ARM_LPAE): Likewise.
14680         (HWCAP_ARM_EVTSTRM): Likewise.
14681         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14682         Add vpfd32, lpae and evtstrm.
14683         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14684         Increase to 22.
14685
14686 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14687
14688         * math/auto-libm-test-in: Add tests of clog10.
14689         * math/auto-libm-test-out: Regenerated.
14690         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14691         * sysdeps/i386/fpu/libm-test-ulps: Update.
14692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14693
14694 2014-02-18  Andreas Schwab  <schwab@suse.de>
14695
14696         [BZ #16574]
14697         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14698         Store non-zero if the second buffer was newly allocated.
14699         (send_dg): Likewise.
14700         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14701         to send_vc and send_dg.
14702         (res_nsend): Pass NULL for ansp2_malloced.
14703         * resolv/res_query.c (__libc_res_nquery): Add parameter
14704         answerp2_malloced and pass it down to __libc_res_nsend.
14705         (res_nquery): Pass additional NULL to __libc_res_nquery.
14706         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14707         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14708         second answer buffer if answerp2_malloced was set.
14709         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14710         (__libc_res_nquerydomain): Add parameter
14711         answerp2_malloced and pass it down to __libc_res_nquery.
14712         (res_nquerydomain): Pass additional NULL to
14713         __libc_res_nquerydomain.
14714         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14715         additional NULL to __libc_res_nsend and __libc_res_nquery.
14716         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14717         additional NULL to __libc_res_nsearch.
14718         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14719         parameter of __libc_res_nsearch to check for separately allocated
14720         second buffer.
14721         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14722         __libc_res_nquery.
14723         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14724         additional NULL to __libc_res_nquery.
14725         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14726         __libc_res_nsearch.
14727         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14728         * include/resolv.h: Update prototypes of __libc_res_nquery,
14729         __libc_res_nsearch, __libc_res_nsend.
14730
14731 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14732
14733         * math/auto-libm-test-in: Add tests of fma.
14734         * math/auto-libm-test-out: Regenerated.
14735         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14736         (fma_towardzero_test_data): Likewise.
14737         (fma_downward_test_data): Likewise.
14738         (fma_upward_test_data): Likewise.
14739         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14740         mpc_mode.
14741         (rounding_modes): Add values for new field.
14742         (func_calc_method): Add value mpfr_fff_f.
14743         (func_calc_desc): Add mpfr_fff_f union field.
14744         (test_function): Add field exact_args.
14745         (FUNC): Add macro argument EXACT_ARGS.
14746         (FUNC_mpfr_f_f): Update call to FUNC.
14747         (FUNC_mpfr_f_f): Likewise.
14748         (FUNC_mpfr_ff_f): Likewise.
14749         (FUNC_mpfr_if_f): Likewise.
14750         (FUNC_mpc_c_f): Likewise.
14751         (FUNC_mpc_c_c): Likewise.
14752         (test_functions): Add fma.  Update calls to FUNC.
14753         (handle_input_arg): Add argument exact_args.
14754         (add_test): Update call to handle_input_arg.
14755         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
14756         (output_for_one_input_case): Update call to calc_generic_results.
14757         Recalculate exact zero results in each rounding mode.
14758
14759         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14760         non-negative before setting low bit.
14761         * math/auto-libm-test-in: Mark one asin test possibly having
14762         spurious underflow.
14763         * math/auto-libm-test-out: Regenerated.
14764         * sysdeps/i386/fpu/libm-test-ulps: Update.
14765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14766
14767 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
14768
14769         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14770         * sysdeps/unix/sysv/linux/microblaze: Move directory from
14771         ports/sysdeps/unix/sysv/linux/microblaze.
14772         * README: Add missing listing for microblaze*-*-linux-gnu.
14773
14774 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
14775
14776         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14777         duplicate code
14778
14779 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
14780
14781         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14782         * sysdeps/unix/sysv/linux/ia64: Move directory from
14783         ports/sysdeps/unix/sysv/linux/ia64.
14784         * README: Update listing for ia64-*-linux-gnu.
14785
14786 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
14787             Joseph Myers  <joseph@codesourcery.com>
14788
14789         * Makeconfig (test-name): New variable.
14790         (evaluate-test): Likewise.
14791         * Makerules (do-test-clean): Remove .test-result files.
14792         (common-mostlyclean): Likewise.
14793         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14794         * scripts/evaluate-test.sh: New file.
14795
14796 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
14797
14798         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14799         separate $(objpfx)tst-fopenloc-cmp.out and
14800         $(objpfx)tst-fopenloc-mem.out targets.
14801         (tests): Update dependencies.
14802         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14803         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14804         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14805         (tst-rxspencer-no-utf8-ARGS): New variable.
14806         (tst-rxspencer-no-utf8-ENV): Likewise.
14807         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14808         instead of $(objpfx)tst-rxspencer-mem.
14809         ($(objpfx)tst-rxspencer-mem): Change target to
14810         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
14811         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14812         * posix/tst-rxspencer-no-utf8.c: New file.
14813
14814         * elf/Makefile ($(objpfx)order.out): Remove rule.
14815         [$(run-built-tests) = yes] (tests): Depend on
14816         $(objpfx)order-cmp.out.
14817         ($(objpfx)order-cmp.out): New rule.
14818         [$(run-built-tests) = yes] (tests): Depend on
14819         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14820         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14821         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14822         $(objpfx)tst-array5-static-cmp.out.
14823         ($(objpfx)tst-array1.out): Remove rule.
14824         ($(objpfx)tst-array1-cmp.out): New rule.
14825         ($(objpfx)tst-array1-static.out): Remove rule.
14826         ($(objpfx)tst-array1-static-cmp.out): New rule.
14827         ($(objpfx)tst-array2.out): Remove rule.
14828         ($(objpfx)tst-array2-cmp.out): New rule.
14829         ($(objpfx)tst-array3.out): Remove rule.
14830         ($(objpfx)tst-array3-cmp.out): New rule.
14831         ($(objpfx)tst-array4.out): Remove rule.
14832         ($(objpfx)tst-array4-cmp.out): New rule.
14833         ($(objpfx)tst-array5.out): Remove rule.
14834         ($(objpfx)tst-array5-cmp.out): New rule.
14835         ($(objpfx)tst-array5-static.out): Remove rule.
14836         ($(objpfx)tst-array5-static-cmp.out): New rule.
14837         [$(run-built-tests) = yes] (tests): Depend on
14838         $(objpfx)order2-cmp.out.
14839         ($(objpfx)order2.out): Remove rule.
14840         ($(objpfx)order2-cmp.out): New rule.
14841         ($(objpfx)tst-initorder.out): Remove rule.
14842         [$(run-built-tests) = yes] (tests): Depend on
14843         $(objpfx)tst-initorder-cmp.out.
14844         ($(objpfx)tst-initorder-cmp.out): New rule.
14845         ($(objpfx)tst-initorder2.out): Remove rule.
14846         [$(run-built-tests) = yes] (tests): Depend on
14847         $(objpfx)tst-initorder2-cmp.out.
14848         ($(objpfx)tst-initorder2-cmp.out): New rule.
14849         [$(run-built-tests) = yes] (tests): Depend on
14850         $(objpfx)tst-unused-dep-cmp.out.
14851         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14852         ($(objpfx)tst-unused-dep-cmp.out): New rule.
14853         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14854         on $(objpfx)tst-setvbuf1-cmp.out.
14855         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14856         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14857         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14858         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14859         ($(objpfx)tst-svc.out): Remove rule.
14860         ($(objpfx)tst-svc-cmp.out): New rule.
14861
14862 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
14863
14864         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14865         * ctype/ctype.h [__USE_MISC]: Likewise.
14866         * dirent/dirent.h [__USE_MISC]: Likewise.
14867         * grp/grp.h [__USE_MISC]: Likewise.
14868         * io/fcntl.h [__USE_MISC]: Likewise.
14869         * io/sys/stat.h [__USE_MISC]: Likewise.
14870         * libio/stdio.h [__USE_MISC]: Likewise.
14871         * posix/unistd.h [__USE_MISC]: Likewise.
14872         * pwd/pwd.h [__USE_MISC]: Likewise.
14873         * stdlib.h [__USE_MISC]: Likewise.
14874         * string/bits/string2.h [__USE_MISC]: Likewise.
14875         * string/string.h [__USE_MISC]: Likewise.
14876         * time/time.h [__USE_MISC]: Likewise.
14877
14878 2014-02-13  Andreas Schwab  <schwab@suse.de>
14879
14880         [BZ #16574]
14881         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14882         second answer buffer if it was separately allocated.
14883
14884 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
14885
14886         * sysdeps/mips/math-tests.h: Include <features.h>.
14887         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14888         (ROUNDING_TESTS_long_double): Do not define.
14889         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14890         (EXCEPTION_TESTS_long_double): Likewise.
14891         * sysdeps/mips/mips64/libm-test-ulps: Update.
14892
14893         * include/features.h (__USE_BSD): Remove macro definitions.
14894         (__USE_SVID): Likewise.
14895         (_BSD_SOURCE): Likewise.
14896         (_SVID_SOURCE): Likewise.
14897         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14898         from definition of _DEFAULT_SOURCE.
14899         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14900         [_DEFAULT_SOURCE].
14901         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14902         * bits/mman.h [__USE_BSD]: Likewise.
14903         * bits/termios.h [__USE_BSD]: Likewise.
14904         * bits/waitstatus.h [__USE_BSD]: Likewise.
14905         * ctype/ctype.h [__USE_SVID]: Likewise.
14906         * dirent/dirent.h [__USE_BSD]: Likewise.
14907         * grp/grp.h [__USE_SVID]: Likewise.
14908         [__USE_BSD]: Likewise.
14909         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14910         * io/fcntl.h [__USE_BSD]: Likewise.
14911         * io/ftw.h [__USE_BSD]: Likewise.
14912         * io/sys/stat.h [__USE_BSD]: Likewise.
14913         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14914         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14915         * libio/stdio.h [__USE_SVID]: Likewise.
14916         [__USE_BSD]: Likewise.
14917         * math/math.h [__USE_SVID]: Likewise.
14918         [__USE_BSD]: Likewise.
14919         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14920         * misc/bits/syslog.h [__USE_BSD]: Likewise.
14921         * misc/search.h [__USE_SVID]: Likewise.
14922         * misc/sys/mman.h [__USE_BSD]: Likewise.
14923         * misc/sys/syslog.h [__USE_BSD]: Likewise.
14924         * misc/sys/uio.h [__USE_BSD]: Likewise.
14925         * posix/bits/unistd.h [__USE_BSD]: Likewise.
14926         * posix/glob.h [__USE_BSD]: Likewise.
14927         * posix/regex.h [__USE_BSD]: Likewise.
14928         * posix/sys/types.h [__USE_BSD]: Likewise.
14929         [__USE_SVID]: Likewise.
14930         * posix/sys/utsname.h [__USE_SVID]: Likewise.
14931         * posix/sys/wait.h [__USE_BSD]: Likewise.
14932         [__USE_SVID]: Likewise.
14933         * posix/unistd.h [__USE_BSD]: Likewise.
14934         [__USE_SVID]: Likewise.
14935         * pwd/pwd.h [__USE_SVID]: Likewise.
14936         * resolv/netdb.h [__USE_BSD]: Likewise.
14937         * setjmp/setjmp.h [__USE_BSD]: Likewise.
14938         * signal/signal.h [__USE_BSD]: Likewise.
14939         [__USE_SVID]: Likewise.
14940         * socket/sys/socket.h [__USE_BSD]: Likewise.
14941         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14942         * stdlib/stdlib.h [__USE_BSD]: Likewise.
14943         [__USE_SVID]: Likewise.
14944         * string/bits/string2.h [__USE_BSD]: Likewise.
14945         [__USE_SVID]: Likewise.
14946         * string/bits/string3.h [__USE_BSD]: Likewise.
14947         * string/endian.h [__USE_BSD]: Likewise.
14948         * string/string.h [__USE_SVID]: Likewise.
14949         [__USE_BSD]: Likewise.
14950         * string/strings.h [__USE_BSD]: Likewise.
14951         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14952         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14953         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14954         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14955         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14956         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14957         Likewise.
14958         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14959         Likewise.
14960         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14961         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14962         Likewise.
14963         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14964         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14965         Likewise.
14966         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14967         Likewise.
14968         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14969         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14970         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14971         Likewise.
14972         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14973         Likewise.
14974         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14975         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14976         * termios/termios.h [__USE_BSD]: Likewise.
14977         * time/sys/time.h [__USE_BSD]: Likewise.
14978         * time/time.h [__USE_BSD]: Likewise.
14979         [__USE_SVID]: Likewise.
14980
14981         * Makefile (subdir_targets): Remove subdir_lint.out.
14982
14983         * stdio-common/Makefile (do-tst-unbputc): Remove target.
14984         (do-tst-printf): Likewise.
14985         (tests): Depend directly on $(objpfx)tst-unbputc.out and
14986         $(objpfx)tst-printf.out.
14987
14988         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14989
14990         * Makerules (check-abi-%): Change target to
14991         $(objpfx)check-abi-%.out.
14992         (check-abi target): Update dependencies.
14993         (check-abi-pattern variable): Redirect output of diff to $@.
14994         (check-abi variable): Likewise.
14995         * elf/Makefile (check-abi): Update dependencies.
14996
14997         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14998         unused.
14999         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15000         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15001         subnormal range.
15002         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15003         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15004         value has largest subnormal exponent.
15005         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15006         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15007         * sysdeps/aarch64/soft-fp/sfp-machine.h
15008         (_FP_TININESS_AFTER_ROUNDING): New macro.
15009         * sysdeps/alpha/soft-fp/sfp-machine.h
15010         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15011         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15012         Likewise.
15013         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15014         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15015         * sysdeps/mips/soft-fp/sfp-machine.h
15016         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15017         * sysdeps/powerpc/soft-fp/sfp-machine.h
15018         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15019         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15020         Likewise.
15021         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15022         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15023         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15024         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15025         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15026         Likewise.
15027
15028 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15029
15030         [BZ #16545]
15031         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15032         model 1.
15033
15034 2014-02-12  Richard Henderson  <rth@redhat.com>
15035
15036         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15037         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15038         * sysdeps/unix/sysv/linux/alpha: Move directory from
15039         ports/sysdeps/unix/sysv/linux/alpha.
15040         * README: Update listing for alpha-*-linux-gnu.
15041
15042 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15043
15044         * include/features.h: Update comment documenting feature test
15045         macros.
15046         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15047         _DEFAULT_SOURCE.
15048         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15049         (_SVID_SOURCE): Likewise.
15050         (_DEFAULT_SOURCE): Update description of default features.
15051         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15052         with _GNU_SOURCE.
15053         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15054         (S_ISVTX): Likewise.
15055         * manual/math.texi (Mathematical Constants): Likewise.
15056         * manual/signal.texi (Interrupted Primitives): Likewise.
15057         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15058         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15059         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15060         Don't refer to _SVID_SOURCE in warning text.
15061
15062         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15063
15064         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15065         already defined.
15066         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15067         * sysdeps/mips/dl-lookup.c: Remove.
15068         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15069
15070 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15071
15072         [BZ #16447]
15073         * math/auto-libm-test-in: Add testcase for expl.
15074         * math/auto-libm-test-out: Regenerate.
15075         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15076         calculation of unsafe.
15077         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15078
15079 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15080
15081         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15082         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15083         ports/sysdeps/unix/sysv/linux/aarch64.
15084         * README: Update listing for aarch64*-*-linux-gnu.
15085
15086 2014-02-11  Will Newton  <will.newton@linaro.org>
15087
15088         * manual/probes.texi (Mathematical Function Probes): Use
15089         "triggered" instead of "hit".
15090
15091         * manual/probes.texi (Internal Probes): Add documentation
15092         of setjmp, longjmp and longjmp_target probes.
15093
15094         * include/stap-probe.h: Add comment about probe argument
15095         format.
15096
15097         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15098         definition.  (tr_where, tr_freehook, tr_mallochook,
15099         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15100
15101 2014-02-11  David S. Miller  <davem@davemloft.net>
15102
15103         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15104         processing int_tests.
15105
15106 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15107
15108         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15109         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15110         * sysdeps/unix/sysv/linux/mips: Move directory from
15111         ports/sysdeps/unix/sysv/linux/mips.
15112         * README: Update listing for mips-*-linux-gnu and
15113         mips64-*-linux-gnu.
15114
15115 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15116
15117         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15118         * sysdeps/unix/sysv/linux/m68k: Move directory from
15119         ports/sysdeps/unix/sysv/linux/m68k.
15120         * README: Update listing for m68k-*-linux-gnu.
15121
15122 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15123
15124         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15125         * sysdeps/unix/sysv/linux/generic: Move directory from
15126         ports/sysdeps/unix/sysv/linux/generic.
15127         * sysdeps/unix/sysv/linux/tile: Move directory from
15128         ports/sysdeps/unix/sysv/linux/tile.
15129         * README: Update listing for tile*-*-linux-gnu.
15130
15131 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15132
15133         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15134         __builtin_expect.
15135         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15136         * catgets/open_catalog.c (__open_catalog): Likewise.
15137         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15138         * debug/confstr_chk.c: Likewise.
15139         * debug/fread_chk.c (__fread_chk): Likewise.
15140         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15141         * debug/getgroups_chk.c: Likewise.
15142         * debug/mbsnrtowcs_chk.c: Likewise.
15143         * debug/mbsrtowcs_chk.c: Likewise.
15144         * debug/mbstowcs_chk.c: Likewise.
15145         * debug/memcpy_chk.c: Likewise.
15146         * debug/memmove_chk.c: Likewise.
15147         * debug/mempcpy_chk.c: Likewise.
15148         * debug/memset_chk.c: Likewise.
15149         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15150         * debug/strcat_chk.c (__strcat_chk): Likewise.
15151         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15152         * debug/strncat_chk.c (__strncat_chk): Likewise.
15153         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15154         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15155         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15156         * debug/wcpncpy_chk.c: Likewise.
15157         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15158         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15159         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15160         * debug/wcsncpy_chk.c: Likewise.
15161         * debug/wcsnrtombs_chk.c: Likewise.
15162         * debug/wcsrtombs_chk.c: Likewise.
15163         * debug/wcstombs_chk.c: Likewise.
15164         * debug/wmemcpy_chk.c: Likewise.
15165         * debug/wmemmove_chk.c: Likewise.
15166         * debug/wmempcpy_chk.c: Likewise.
15167         * debug/wmemset_chk.c: Likewise.
15168         * dirent/scandirat.c (SCANDIRAT): Likewise.
15169         * dlfcn/dladdr1.c (dladdr1): Likewise.
15170         * dlfcn/dladdr.c (dladdr): Likewise.
15171         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15172         * dlfcn/dlerror.c (__dlerror): Likewise.
15173         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15174         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15175         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15176         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15177         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15178         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15179         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15180         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15181         Likewise.
15182         * elf/dl-conflict.c: Likewise.
15183         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15184         * elf/dl-dst.h: Likewise.
15185         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15186         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15187         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15188         * elf/dl-init.c (call_init, _dl_init): Likewise.
15189         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15190         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15191         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15192         Likewise.
15193         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15194         Likewise.
15195         * elf/dl-minimal.c (__libc_memalign): Likewise.
15196         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15197         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15198         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15199         * elf/dl-sym.c (do_sym): Likewise.
15200         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15201         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15202         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15203         * elf/dl-writev.h (_dl_writev): Likewise.
15204         * elf/ldconfig.c (search_dir): Likewise.
15205         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15206         (dl_main): Likewise.
15207         * elf/setup-vdso.h (setup_vdso): Likewise.
15208         * grp/compat-initgroups.c (compat_call): Likewise.
15209         * grp/fgetgrent.c (fgetgrent): Likewise.
15210         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15211         * grp/putgrent.c (putgrent): Likewise.
15212         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15213         Likewise.
15214         * hurd/hurdinit.c: Likewise.
15215         * iconvdata/8bit-gap.c (struct): Likewise.
15216         * iconvdata/ansi_x3.110.c : Likewise.
15217         * iconvdata/big5.c : Likewise.
15218         * iconvdata/big5hkscs.c : Likewise.
15219         * iconvdata/cp1255.c: Likewise.
15220         * iconvdata/cp1258.c : Likewise.
15221         * iconvdata/cp932.c : Likewise.
15222         * iconvdata/euc-cn.c: Likewise.
15223         * iconvdata/euc-jisx0213.c : Likewise.
15224         * iconvdata/euc-jp.c: Likewise.
15225         * iconvdata/euc-jp-ms.c : Likewise.
15226         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15227         * iconvdata/gb18030.c : Likewise.
15228         * iconvdata/gbbig5.c (const): Likewise.
15229         * iconvdata/gbgbk.c: Likewise.
15230         * iconvdata/gbk.c : Likewise.
15231         * iconvdata/ibm1364.c : Likewise.
15232         * iconvdata/ibm930.c : Likewise.
15233         * iconvdata/ibm932.c: Likewise.
15234         * iconvdata/ibm933.c : Likewise.
15235         * iconvdata/ibm935.c : Likewise.
15236         * iconvdata/ibm937.c : Likewise.
15237         * iconvdata/ibm939.c : Likewise.
15238         * iconvdata/ibm943.c: Likewise.
15239         * iconvdata/iso_11548-1.c: Likewise.
15240         * iconvdata/iso-2022-cn.c : Likewise.
15241         * iconvdata/iso-2022-cn-ext.c : Likewise.
15242         * iconvdata/iso-2022-jp-3.c: Likewise.
15243         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15244         * iconvdata/iso-2022-kr.c : Likewise.
15245         * iconvdata/iso646.c (gconv_end): Likewise.
15246         * iconvdata/iso_6937-2.c : Likewise.
15247         * iconvdata/iso_6937.c : Likewise.
15248         * iconvdata/iso8859-1.c: Likewise.
15249         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15250         * iconvdata/shift_jisx0213.c : Likewise.
15251         * iconvdata/sjis.c : Likewise.
15252         * iconvdata/t.61.c : Likewise.
15253         * iconvdata/tcvn5712-1.c : Likewise.
15254         * iconvdata/tscii.c: Likewise.
15255         * iconvdata/uhc.c : Likewise.
15256         * iconvdata/unicode.c (gconv_end): Likewise.
15257         * iconvdata/utf-16.c (gconv_end): Likewise.
15258         * iconvdata/utf-32.c (gconv_end): Likewise.
15259         * iconvdata/utf-7.c (base64): Likewise.
15260         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15261         * iconv/gconv_close.c (__gconv_close): Likewise.
15262         * iconv/gconv_open.c (__gconv_open): Likewise.
15263         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15264         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15265         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15266         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15267         (ucs4le_internal_loop_single): Likewise.
15268         * iconv/iconv.c (iconv): Likewise.
15269         * iconv/iconv_close.c: Likewise.
15270         * iconv/loop.c (SINGLE): Likewise.
15271         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15272         * include/atomic.h: Likewise.
15273         * inet/inet6_option.c (option_alloc): Likewise.
15274         * intl/bindtextdom.c (set_binding_values): Likewise.
15275         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15276         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15277         * intl/localealias.c (read_alias_file): Likewise.
15278         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15279         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15280         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15281         * libio/fmemopen.c (fmemopen): Likewise.
15282         * libio/iofgets.c (_IO_fgets): Likewise.
15283         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15284         * libio/iofgetws.c (fgetws): Likewise.
15285         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15286         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15287         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15288         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15289         * locale/findlocale.c (_nl_find_locale): Likewise.
15290         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15291         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15292         Likewise.
15293         * locale/setlocale.c (setlocale): Likewise.
15294         * login/programs/pt_chown.c (main): Likewise.
15295         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15296         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15297         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15298         (mmap, mmap64, mremap, munmap): Likewise.
15299         * math/e_exp2l.c: Likewise.
15300         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15301         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15302         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15303         * math/s_catan.c (__catan): Likewise.
15304         * math/s_catanf.c (__catanf): Likewise.
15305         * math/s_catanh.c (__catanh): Likewise.
15306         * math/s_catanhf.c (__catanhf): Likewise.
15307         * math/s_catanhl.c (__catanhl): Likewise.
15308         * math/s_catanl.c (__catanl): Likewise.
15309         * math/s_ccosh.c (__ccosh): Likewise.
15310         * math/s_ccoshf.c (__ccoshf): Likewise.
15311         * math/s_ccoshl.c (__ccoshl): Likewise.
15312         * math/s_cexp.c (__cexp): Likewise.
15313         * math/s_cexpf.c (__cexpf): Likewise.
15314         * math/s_cexpl.c (__cexpl): Likewise.
15315         * math/s_clog10.c (__clog10): Likewise.
15316         * math/s_clog10f.c (__clog10f): Likewise.
15317         * math/s_clog10l.c (__clog10l): Likewise.
15318         * math/s_clog.c (__clog): Likewise.
15319         * math/s_clogf.c (__clogf): Likewise.
15320         * math/s_clogl.c (__clogl): Likewise.
15321         * math/s_csin.c (__csin): Likewise.
15322         * math/s_csinf.c (__csinf): Likewise.
15323         * math/s_csinh.c (__csinh): Likewise.
15324         * math/s_csinhf.c (__csinhf): Likewise.
15325         * math/s_csinhl.c (__csinhl): Likewise.
15326         * math/s_csinl.c (__csinl): Likewise.
15327         * math/s_csqrt.c (__csqrt): Likewise.
15328         * math/s_csqrtf.c (__csqrtf): Likewise.
15329         * math/s_csqrtl.c (__csqrtl): Likewise.
15330         * math/s_ctan.c (__ctan): Likewise.
15331         * math/s_ctanf.c (__ctanf): Likewise.
15332         * math/s_ctanh.c (__ctanh): Likewise.
15333         * math/s_ctanhf.c (__ctanhf): Likewise.
15334         * math/s_ctanhl.c (__ctanhl): Likewise.
15335         * math/s_ctanl.c (__ctanl): Likewise.
15336         * math/w_pow.c: Likewise.
15337         * math/w_powf.c: Likewise.
15338         * math/w_powl.c: Likewise.
15339         * math/w_scalb.c (sysv_scalb): Likewise.
15340         * math/w_scalbf.c (sysv_scalbf): Likewise.
15341         * math/w_scalbl.c (sysv_scalbl): Likewise.
15342         * misc/error.c (error_tail): Likewise.
15343         * misc/pselect.c (__pselect): Likewise.
15344         * nis/nis_callback.c (__nis_create_callback): Likewise.
15345         * nis/nis_call.c (__nisfind_server): Likewise.
15346         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15347         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15348         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15349         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15350         * nis/nis_lookup.c (nis_lookup): Likewise.
15351         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15352         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15353         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15354         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15355         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15356         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15357         * nis/nss_compat/compat-initgroups.c (add_group)
15358         (internal_getgrent_r): Likewise.
15359         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15360         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15361         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15362         (internal_getspnam_r): Likewise.
15363         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15364         (_nss_nis_getaliasbyname_r): Likewise.
15365         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15366         (_nss_nis_getntohost_r): Likewise.
15367         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15368         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15369         (_nss_nis_getgrgid_r): Likewise.
15370         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15371         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15372         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15373         (_nss_nis_gethostbyname4_r): Likewise.
15374         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15375         (initgroups_netid): Likewise.
15376         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15377         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15378         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15379         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15380         (_nss_nis_getprotobynumber_r): Likewise.
15381         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15382         (_nss_nis_getsecretkey): Likewise.
15383         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15384         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15385         (_nss_nis_getpwuid_r): Likewise.
15386         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15387         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15388         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15389         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15390         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15391         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15392         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15393         Likewise.
15394         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15395         (_nss_nisplus_getntohost_r): Likewise.
15396         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15397         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15398         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15399         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15400         Likewise.
15401         * nis/nss_nisplus/nisplus-initgroups.c
15402         (_nss_nisplus_initgroups_dyn): Likewise.
15403         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15404         (_nss_nisplus_getnetbyaddr_r): Likewise.
15405         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15406         (_nss_nisplus_getprotobynumber_r): Likewise.
15407         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15408         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15409         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15410         Likewise.
15411         * nis/nss_nisplus/nisplus-service.c
15412         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15413         (_nss_nisplus_getservbyport_r): Likewise.
15414         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15415         (_nss_nisplus_getspnam_r): Likewise.
15416         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15417         Likewise.
15418         * nscd/aicache.c (addhstaiX): Likewise.
15419         * nscd/cache.c (cache_search, prune_cache): Likewise.
15420         * nscd/connections.c (register_traced_file, send_ro_fd)
15421         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15422         (main_loop_epoll): Likewise.
15423         * nscd/grpcache.c (addgrbyX): Likewise.
15424         * nscd/hstcache.c (addhstbyX): Likewise.
15425         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15426         * nscd/mem.c (gc, mempool_alloc): Likewise.
15427         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15428         (addinnetgrX): Likewise.
15429         * nscd/nscd-client.h (__nscd_acquire_maplock)
15430         (__nscd_drop_map_ref): Likewise.
15431         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15432         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15433         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15434         Likewise.
15435         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15436         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15437         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15438         (__nscd_get_map_ref): Likewise.
15439         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15440         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15441         Likewise.
15442         * nscd/pwdcache.c (addpwbyX): Likewise.
15443         * nscd/selinux.c (preserve_capabilities): Likewise.
15444         * nscd/servicescache.c (addservbyX): Likewise.
15445         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15446         * posix/fnmatch.c (fnmatch): Likewise.
15447         * posix/getopt.c (_getopt_internal_r): Likewise.
15448         * posix/glob.c (glob, glob_in_dir): Likewise.
15449         * posix/wordexp.c (exec_comm_child): Likewise.
15450         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15451         (getanswer_r, gaih_getanswer_slice): Likewise.
15452         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15453         * resolv/res_init.c: Likewise.
15454         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15455         * resolv/res_query.c (__libc_res_nquery): Likewise.
15456         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15457         Likewise.
15458         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15459         * stdio-common/perror.c (perror): Likewise.
15460         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15461         * stdio-common/tmpnam.c (tmpnam): Likewise.
15462         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15463         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15464         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15465         Likewise.
15466         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15467         * stdlib/putenv.c (putenv): Likewise.
15468         * stdlib/setenv.c (__add_to_environ): Likewise.
15469         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15470         * stdlib/strtol_l.c (INTERNAL): Likewise.
15471         * string/memmem.c (memmem): Likewise.
15472         * string/strerror.c (strerror): Likewise.
15473         * string/strnlen.c (__strnlen): Likewise.
15474         * string/test-memmem.c (simple_memmem): Likewise.
15475         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15476         * sunrpc/pm_getport.c (__get_socket): Likewise.
15477         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15478         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15479         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15480         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15481         Likewise.
15482         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15483         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15484         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15485         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15486         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15487         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15488         Likewise.
15489         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15490         Likewise.
15491         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15492         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15493         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15494         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15495         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15497         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15498         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15499         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15500         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15501         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15502         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15503         Likewise.
15504         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15505         Likewise.
15506         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15507         Likewise.
15508         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15509         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15510         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15511         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15512         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15513         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15514         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15515         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15516         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15517         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15518         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15519         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15520         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15521         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15522         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15523         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15524         Likewise.
15525         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15526         Likewise.
15527         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15528         Likewise.
15529         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15530         Likewise.
15531         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15532         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15533         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15534         Likewise.
15535         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15536         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15537         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15538         * sysdeps/posix/sleep.c: Likewise.
15539         * sysdeps/posix/tempname.c: Likewise.
15540         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15541         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15542         Likewise.
15543         * sysdeps/powerpc/powerpc32/dl-machine.h
15544         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15545         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15546         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15547         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15548         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15549         Likewise.
15550         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15551         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15552         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15553         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15554         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15555         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15556         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15557         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15558         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15559         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15560         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15561         (elf_machine_lazy_rel): Likewise.
15562         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15563         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15564         (elf_machine_lazy_rel): Likewise.
15565         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15566         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15567         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15568         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15569         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15570         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15571         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15572         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15573         Likewise.
15574         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15575         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15576         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15577         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15578         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15579         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15580         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15581         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15582         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15583         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15584         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15585         Likewise.
15586         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15587         (__posix_fallocate64_l64): Likewise.
15588         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15589         (posix_fallocate): Likewise.
15590         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15591         Likewise.
15592         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15593         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15594         (getifaddrs_internal): Likewise.
15595         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15596         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15597         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15598         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15599         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15600         (__posix_fallocate64_l64): Likewise.
15601         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15602         Likewise.
15603         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15604         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15605         (__get_clockfreq): Likewise.
15606         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15607         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15608         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15609         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15611         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15612         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15613         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15614         Likewise.
15615         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15616         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15617         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15618         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15619         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15620         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15621         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15622         Likewise.
15623         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15624         (posix_fallocate): Likewise.
15625         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15626         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15627         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15628         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15629         (elf_machine_rela, elf_machine_rela_relative)
15630         (elf_machine_lazy_rel): Likewise.
15631         * time/asctime.c (asctime_internal): Likewise.
15632         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15633         * time/tzset.c (__tzset_parse_tz): Likewise.
15634         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15635         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15636         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15637         * wcsmbs/wcsmbsload.h: Likewise.
15638
15639         [BZ #15894]
15640         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15641
15642         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15643         (arena_get2): Remove THREAD_STATS conditionals.
15644         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15645         (__malloc_stats, int): Likewise.
15646
15647 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15648
15649         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15650         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15651
15652         * manual/setjmp.texi: Fix typos/grammar errors.
15653
15654         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15655         Only return early when n is <= 0.  Delete unused return statement.
15656
15657         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15658         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15659         * debug/tst-longjmp_chk3.c: New file.
15660
15661         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15662         (test_main): Replace code with set_fortify_handler call.
15663         * debug/test-strcpy_chk.c: Likewise.
15664         * debug/tst-chk1.c: Likewise.
15665         * debug/tst-longjmp_chk.c: Likewise.
15666         * test-skeleton.c: Include fcntl.h & paths.h
15667         (set_fortify_handler): Define.
15668
15669         * debug/tst-longjmp_chk.c: Add header comment and include
15670         ../test-skeleton.c.
15671         (do_test): Mark static.
15672         (TEST_FUNCTION): Define.
15673
15674         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15675         (IP_PMTUDISC_INTERFACE): Likewise.
15676         (IP_MULTICAST_IF): Likewise.
15677         (IP_MULTICAST_TTL): Likewise.
15678         (IP_MULTICAST_LOOP): Likewise.
15679         (IP_ADD_MEMBERSHIP): Likewise.
15680         (IP_DROP_MEMBERSHIP): Likewise.
15681         (IP_UNBLOCK_SOURCE): Likewise.
15682         (IP_BLOCK_SOURCE): Likewise.
15683         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15684         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15685         (IP_MSFILTER): Likewise.
15686         (MCAST_JOIN_GROUP): Likewise.
15687         (MCAST_BLOCK_SOURCE): Likewise.
15688         (MCAST_UNBLOCK_SOURCE): Likewise.
15689         (MCAST_LEAVE_GROUP): Likewise.
15690         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15691         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15692         (MCAST_MSFILTER): Likewise.
15693         (IP_MULTICAST_ALL): Likewise.
15694         (IP_UNICAST_IF): Likewise.
15695
15696         * timezone/Makefile: Delete $(have-ksh) check.
15697         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15698         * timezone/tzselect.ksh: Add +x mode bits.
15699
15700         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15701         (ANON_INODE_FS_MAGIC): Likewise.
15702         (BDEVFS_MAGIC): Likewise.
15703         (BINFMTFS_MAGIC): Likewise.
15704         (BTRFS_TEST_MAGIC): Likewise.
15705         (CRAMFS_MAGIC_WEND): Likewise.
15706         (DEBUGFS_MAGIC): Likewise.
15707         (ECRYPTFS_SUPER_MAGIC): Likewise.
15708         (EXT3_SUPER_MAGIC): Likewise.
15709         (EXT4_SUPER_MAGIC): Likewise.
15710         (FUTEXFS_SUPER_MAGIC): Likewise.
15711         (HOSTFS_SUPER_MAGIC): Likewise.
15712         (HUGETLBFS_MAGIC): Likewise.
15713         (MINIX3_SUPER_MAGIC): Likewise.
15714         (MTD_INODE_FS_MAGIC): Likewise.
15715         (NILFS_SUPER_MAGIC): Likewise.
15716         (OPENPROM_SUPER_MAGIC): Likewise.
15717         (PIPEFS_MAGIC): Likewise.
15718         (PSTOREFS_MAGIC): Likewise.
15719         (QNX6_SUPER_MAGIC): Likewise.
15720         (RAMFS_MAGIC): Likewise.
15721         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15722         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15723         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15724         (SECURITYFS_MAGIC): Likewise.
15725         (SELINUX_MAGIC): Likewise.
15726         (SMACK_MAGIC): Likewise.
15727         (SOCKFS_MAGIC): Likewise.
15728         (SQUASHFS_MAGIC): Likewise.
15729         (STACK_END_MAGIC): Likewise.
15730         (TMPFS_MAGIC): Likewise.
15731         (USBDEVICE_SUPER_MAGIC): Likewise.
15732         (V9FS_MAGIC): Likewise.
15733         (XENFS_SUPER_MAGIC): Likewise.
15734         (CRAMFS_MAGIC): Fix typo in comment.
15735         (EXT2_SUPER_MAGIC): Update comment.
15736         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15737
15738 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15739
15740         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15741         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15742         * sysdeps/unix/sysv/linux/arm: Move directory from
15743         ports/sysdeps/unix/sysv/linux/arm.
15744         * README: Update listing for arm-*-linux-gnueabi.
15745
15746         * README: Remove mention of am33.
15747
15748 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15749
15750         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15751         than the comma operator, to avoid "rhs of comma has no effect"
15752         compiler warnings.
15753         (__sigfillset, __sigandset, __sigorset): Likewise.
15754         * include/signal.h (__sigemptyset): Likewise.
15755         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15756
15757 2014-02-07  Allan McRae  <allan@archlinux.org>
15758
15759         * version.h (RELEASE): Set to "development".
15760         (VERSION): Set to "2.19.90"
15761         * NEWS: Add 2.20 section.
15762
15763 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
15764
15765         [BZ #16529]
15766         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15767
15768 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15769
15770         * manual/contrib.texi: Update entry for Carlos O'Donell,
15771         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15772
15773 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
15774
15775         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15776
15777         * sysdeps/unix/sysv/linux/kernel-features.h
15778         [__LINUX_KERNEL_VERSION >= 0x020621]
15779         (__ASSUME_PROC_PID_TASK_COMM): Define.
15780
15781 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15782
15783         [BZ #16398]
15784         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15785         conversion when destination buffer does not have enough space.
15786         * libio/tst-ftell-partial-wide.c: New test case.
15787         * libio/Makefile (tests): Add tst-ftell-partial-wide.
15788
15789         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15790         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
15791         Leonard and Allan McRae.
15792
15793 2014-02-04  David S. Miller  <davem@davemloft.net>
15794
15795         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15796         32-bit.
15797
15798 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15799
15800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15801         New file
15802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15803         New file
15804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15805         New file.
15806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15807         New file.
15808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15809         New file.
15810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15811         New file.
15812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15813         New file.
15814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15815         New file.
15816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15817         New file.
15818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15819         New file.
15820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15821         New file.
15822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15823         New file.
15824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15825         New file.
15826
15827 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15828
15829         * nptl/shlib-versions: Change powerpc*le start to 2.17.
15830         * shlib-versions: Likewise.
15831
15832 2014-02-04  Roland McGrath  <roland@hack.frob.com>
15833             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15834
15835         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15836         (abilist-pattern): New variable, set to %-le.abilist.
15837
15838         * Makerules (abilist-pattern): New variable.
15839         (vpath): Use $(abilist-pattern) in place of %.abilist.
15840         (check-abi-% pattern rule): Likewise.
15841         (check-abi, update-abi): Likewise.
15842
15843 2014-02-04  Eric Wong  <normalperson@yhbt.net>
15844
15845         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15846
15847 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
15848
15849         * manual/startup.texi: Add next, previous, and top entries for
15850         the `Program Arguments' and `Environment Variables' nodes.
15851
15852 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
15853
15854         * manual/macros.texi: Add comments before MTASC-safety macros.
15855
15856         * manual/users.texi: Document MTASC-safety properties.
15857
15858         * manual/threads.texi (pthread_key_create, pthread_key_delete)
15859         (pthread_getspecific, pthread_setspecific): Format with
15860         @deftypefun, and add @safety note.
15861         * manual/signal.texi: Move comments that analyze the above
15862         functions to their home place.
15863
15864 2014-02-03  Allan McRae  <allan@archlinux.org>
15865
15866         * po/sl.po: Update Slovenian translation from translation project.
15867
15868 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
15869
15870         * manual/time.texi (timegm): Add missing blank after @c.
15871         Reported by Joseph Myers <joseph@codesourcery.com>.
15872
15873 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
15874
15875         * manual/check-safety.sh: New.
15876         * manual/Makefile ($(objpfx)stamp-summary): Run it.
15877
15878         * manual/terminal.texi: Document MTASC-safety properties.
15879
15880         * manual/filesys.texi: Document MTASC-safety properties.
15881
15882         * manual/errno.texi: Document MTASC-safety properties.
15883
15884         * manual/intro.texi: Document safety identifiers and
15885         conditionals.
15886
15887         * manual/string.texi (wcstok): Fix prototype.
15888         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15889
15890         * manual/time.texi: Document MTASC-safety properties.
15891
15892         * manual/string.texi: Document MTASC-safety properties.
15893
15894         * manual/threads.texi: Document MTASC-safety properties.
15895
15896         * manual/stdio.texi: Document MTASC-safety properties.
15897
15898         * manual/syslog.texi: Document MTASC-safety properties.
15899
15900         * manual/sysinfo.texi: Document MTASC-safety properties.
15901
15902         * manual/startup.texi: Document MTASC-safety properties.
15903
15904         * manual/socket.texi: Document MTASC-safety properties.
15905
15906         * manual/signal.texi: Document MTASC-safety properties.
15907
15908 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
15909
15910         * manual/setjmp.texi: Document MTASC-safety properties.
15911
15912         * manual/search.texi: Document MTASC-safety properties.
15913
15914         * manual/resource.texi: Document MTASC-safety properties.
15915
15916         * manual/process.texi: Document MTASC-safety properties.
15917
15918         * manual/platform.texi: Document MTASC-safety properties.
15919
15920         * manual/pipe.texi: Document MTASC-safety properties.
15921
15922         * manual/pattern.texi: Document MTASC-safety properties.
15923
15924         * manual/message.texi: Document MTASC-safety properties.
15925
15926         [BZ #12751]
15927         * manual/memory.texi: Document MTASC-safety properties.
15928
15929         * manual/math.texi: Document MTASC-safety properties.
15930
15931         * manual/locale.texi: Document MTASC-safety properties.
15932
15933         * manual/llio.texi: Document MTASC-safety properties.
15934
15935         * manual/libdl.texi: New.
15936
15937         * manual/lang.texi: Document MTASC-safety properties.
15938
15939         * manual/job.texi: Document MTASC-safety properties.
15940
15941         * manual/getopt.texi: Document MTASC-safety properties.
15942
15943         * manual/ctype.texi: Document MTASC-safety properties.
15944
15945 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
15946
15947         [BZ #16046]
15948         * csu/libc-tls.c (static_map): Remove variable.
15949         (__libc_setup_tls): Use main executable's link map for TLS data.
15950         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15951         casing for LM_ID_BASE and GL(dl_nns).
15952         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15953         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
15954         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15955         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15956         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15957         member.
15958         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15959         l_phnum members.
15960
15961 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
15962
15963         * manual/debug.texi: Document MTASC-safety properties.
15964
15965 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
15966
15967         [BZ #16510]
15968         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15969         of __x86_64__ when disabling x87 inline functions.
15970
15971 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
15972
15973         * manual/charset.texi: Document MTASC-safety properties.
15974
15975         * manual/crypt.texi: Document MTASC-safety properties.
15976
15977         * manual/conf.texi: Document MTASC-safety properties.
15978
15979         * manual/arith.texi: Document MTASC-safety properties.
15980
15981         * manual/argp.texi: Document MTASC-safety properties.
15982
15983         * manual/macros.texi: Introduce macros to document multi
15984         thread, asynchronous signal and asynchronous cancellation
15985         safety properties.
15986         * manual/intro.texi: Introduce the properties themselves.
15987
15988 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15989
15990         * sysdeps/sh/sh4/Makefile: New file.
15991
15992 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
15993
15994         * math/gen-libm-test.pl ($srcdir): New variable.
15995         ($auto_input): Use it.
15996
15997 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15998
15999         [BZ #16506]
16000         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16001         access beyond array bounds when parsing netgroups file.
16002
16003         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16004         the old buffer before realloc.
16005
16006 2014-01-27  Allan McRae  <allan@archlinux.org>
16007
16008         * po/fr.po: Update French translation from translation project.
16009
16010 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16011
16012         * sysdeps/sh/libm-test-ulps: Regenerate.
16013
16014 2014-01-24  David S. Miller  <davem@davemloft.net>
16015
16016         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16017
16018 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16019
16020         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16021         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16022
16023 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16024
16025         [BZ #16474]
16026         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16027         string pointers after reallocation.
16028
16029 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16030
16031         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16032         __SH4A__ instead of __SH_FPU_ANY__.
16033
16034 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16035
16036         * sysdeps/sh/fpu_control.h: New file.
16037         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16038         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16039         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16040         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16041         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16042         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16043         * sysdeps/sh/sys/ucontext.h: Remove.
16044         * sysdeps/sh/sys: Remove directory.
16045
16046 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16047
16048         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16049         s390/sys/ucontext.h.
16050         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16051         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16052
16053 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16054
16055         [BZ #15605]
16056         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16057
16058 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16059
16060         [BZ#16431]
16061         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16062         Adjust the vDSO correctly for internal calls.
16063         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16064
16065 2014-01-20  Allan McRae  <allan@archlinux.org>
16066
16067         * po/ca.po: Update Catalan translation from translation project.
16068
16069 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16070
16071         * sysdeps/s390/sotruss-lib.c: New file.
16072
16073 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16074
16075         [BZ#16430]
16076         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16077         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16078         local calls issues by not having a PLT stub required for IFUNC calls.
16079         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16080
16081 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16082
16083         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16084         * math/test-fpucw-static.c: Likewise.
16085
16086 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16087
16088         [BZ #16453]
16089         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16090
16091 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16092
16093         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16094         implementation for powerpc.
16095
16096 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16097
16098         [BZ #14782]
16099         * sysdeps/posix/system.c (__libc_system): Do not enable
16100         asynchronous cancellation.
16101
16102 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16103
16104         [BZ #16427]
16105         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16106         handling only for numbers special also in the IEEE case.
16107
16108 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16109
16110         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16111
16112 2014-01-11  Allan McRae  <allan@archlinux.org>
16113
16114         * po/bg.po: Update Bulgarian translation from translation project.
16115
16116         * po/de.po: Update German translation from translation project.
16117
16118 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16119
16120         * sysdeps/generic/gcc-compat.h: New file.
16121
16122 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16123
16124         * benchtests/asin-inputs: Correct slow inputs.
16125         * benchtests/acos-inputs: Likewise.
16126
16127 2014-01-10  Allan McRae  <allan@archlinux.org>
16128
16129         * po:sv.po: Update Swedish translation from translation project.
16130
16131         * po/vi.po: Update Vietnamese translation from translation project.
16132
16133         * po/eo.po: Update Esperanto translation from translation project.
16134
16135         * po/cs.po: Update Czech translation from translation project.
16136
16137         * po/nl.po: Update Dutch translation from translation project.
16138
16139         * po/pl.po: Update Polish translation from translation project.
16140
16141         * po/ru.po: Update Russian translation from translation project.
16142
16143         * po/uk.po: Update Ukrainian translation from translation project.
16144
16145 2014-01-08  Brooks Moses  <bmoses@google.com>
16146
16147         * elf/dl-load.c: Fix comment typo.
16148
16149 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16150
16151         * po/header.pot: Rename to...
16152         * po/pot.header: ... this.
16153         * po/Makefile: Use pot.header.
16154
16155 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16156             Maxim Kuvyrkov  <maxim@kugelworks.com>
16157
16158         [BZ #16394]
16159         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16160         SRC and DEST against LEN.
16161
16162 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16163
16164         [BZ #16414]
16165         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16166         implementation.
16167         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16168
16169 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16170
16171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16172
16173 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16174
16175         [BZ #16408]
16176         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16177         for large positive arguments.
16178
16179 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16180
16181         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16182
16183         * math/auto-libm-test-in: Mark various tests with
16184         xfail-rounding:ldbl-128ibm.
16185         * math/auto-libm-test-out: Regenerated.
16186
16187         [BZ #16407]
16188         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16189         Increase overflow threshold.
16190
16191 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16192
16193         [BZ #14286]
16194         * stdio-common/vfprintf.c: Check for integer overflow.
16195
16196 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16197
16198         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16199         the first argument and return value of __tls_get_addr_internal.
16200
16201 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16202
16203         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16204         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16205
16206 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16207
16208         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16209         * sysdeps/s390/rtld-global-offsets.sym: New file.
16210         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16211         GLIBC_2.19 symbol.
16212         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16213         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16214         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16215         ... this.
16216         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16217         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16218         ... this.
16219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16220         Regenerate.
16221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16222         Regenerate.
16223         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16224         halfs of GPRs for high_gprs contexts.
16225         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16226         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16227         field.
16228         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16229         uc_flags field.
16230         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16231         64 bit versions:
16232         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16233         for high GPRs (uc_high_gprs) and for future extensions
16234         (__reserved).
16235         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16236         for future extensions (__reserved).
16237         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16238         64 bit versions:
16239         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16240         SC_HIGHGPRS offset definition.
16241         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16242         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16243
16244         * Versions.def: Add GLIBC_2.19 for libpthread.
16245         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16246         siglongjmp for libpthread with GLIBC_2.19 symver.
16247         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16248         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16249         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16250         * sysdeps/s390/__longjmp.c: New file.
16251         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16252         * sysdeps/s390/longjmp.c: New file.
16253         * sysdeps/s390/setjmp.S: New file.
16254         * sysdeps/s390/sigjmp.S: New file.
16255         * sysdeps/s390/v1-longjmp.c: New file.
16256         * sysdeps/s390/v1-setjmp.h: New file.
16257         * sysdeps/s390/v1-sigjmp.c: New file.
16258         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16259         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16260         GLIBC_2.19 version.
16261         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16262         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16263         versioned symbols for ____longjmp_chk.
16264         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16265         Likewise.
16266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16267         Regenerate.
16268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16269         Regenerate.
16270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16271         Regenerate.
16272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16273         Regenerate.
16274         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16275         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16276         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16277         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16278         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16279         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16280         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16281         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16282         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16283         * sysdeps/s390/rtld-__longjmp.c: New file.
16284         * sysdeps/s390/rtld-setjmp.S: New file.
16285
16286 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16287
16288         [BZ #16400]
16289         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16290         Return -__logl (x) for small positive arguments without evaluating
16291         a polynomial.
16292
16293 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16294
16295         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16296         Rename to ...
16297         (__ptrace_peeksiginfo_args): ... this.
16298         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16299         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16300         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16301
16302 2014-01-06  Allan McRae  <allan@archlinux.org>
16303
16304         * inet/netinet/in.h: Fix typo in comment.
16305
16306 2014-01-05  Andreas Jaeger  <aj@suse.de>
16307
16308         * sysdeps/i386/fpu/libm-test-ulps: Update.
16309
16310 2014-01-05  Allan McRae  <allan@archlinux.org>
16311
16312         * po/libc.pot: Regenerated.
16313
16314         * malloc/memusagestat.c: Fix gettext call formatting.
16315
16316 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16317
16318         * nscd/nscd.c: Improve usage() output.
16319
16320 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16321
16322         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16323         * sysdeps/unix/sysv/linux/configure: Regenerated.
16324         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16325         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16326
16327 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16328
16329         [BZ #16390]
16330         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16331         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16332
16333 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16334
16335         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16336         extra tokens at end of #undef directive.
16337         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16338         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16339         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16340
16341 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16342
16343         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16344
16345         * math/auto-libm-test-in: Mark various tests with
16346         xfail-rounding:ldbl-128ibm.
16347         * math/auto-libm-test-out: Regenerated.
16348
16349 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16350
16351         [BZ #16386]
16352         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16353         numbers with subnormal high part when calculating exponent.
16354
16355         [BZ #16385]
16356         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16357         fabs.
16358
16359         [BZ #16384]
16360         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16361         M_LN2l.
16362         (__ieee754_acoshl): Use __log1pl not __log1p.
16363
16364 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16365
16366         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16367         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16368         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16369         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16370         (reused_arena, arena_get2): Convert to GNU style.
16371         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16372         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16373         (memalign_check, __malloc_set_state): Likewise.
16374         * malloc/mallocbug.c (main): Likewise.
16375         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16376         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16377         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16378         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16379         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16380         (__posix_memalign, malloc_info): Likewise.
16381         * malloc/malloc.h: Likewise.
16382         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16383         (mallochook, memalignhook, reallochook, mabort): Likewise.
16384         * malloc/mcheck.h: Likewise.
16385         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16386         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16387         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16388         * malloc/morecore.c (__default_morecore): Likewise.
16389         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16390         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16391         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16392         (print_and_abort): Likewise.
16393         * malloc/obstack.h: Likewise.
16394         * malloc/set-freeres.c (__libc_freeres): Likewise.
16395         * malloc/tst-mallocstate.c (main): Likewise.
16396         * malloc/tst-mtrace.c (main): Likewise.
16397         * malloc/tst-realloc.c (do_test): Likewise.
16398
16399 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16400
16401         [BZ #16366]
16402         * nscd/netgroupcache.c (do_notfound): New function.
16403         (addgetnetgrentX): Use it.
16404
16405         [BZ # 16365]
16406         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16407         NSS_STATUS_NOTFOUND.
16408
16409 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16410
16411         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16413
16414 2014-01-01  Allan McRae  <allan@archlinux.org>
16415
16416         * scripts/update-copyrights: Update configure input file suffix.
16417
16418         * NEWS: Update copyright year.
16419         * catgets/gencat.c: Likewise.
16420         * csu/version.c: Likewise.
16421         * debug/catchsegv.sh: Likewise.
16422         * debug/pcprofiledump.c: Likewise.
16423         * debug/xtrace.sh: Likewise.
16424         * elf/ldconfig.c: Likewise.
16425         * elf/ldd.bash.in: Likewise.
16426         * elf/pldd.c: Likewise.
16427         * elf/sotruss.ksh: Likewise.
16428         * elf/sprof.c: Likewise.
16429         * iconv/iconv_prog.c: Likewise.
16430         * iconv/iconvconfig.c: Likewise.
16431         * locale/programs/locale.c: Likewise.
16432         * locale/programs/localedef.c: Likewise.
16433         * login/programs/pt_chown.c: Likewise.
16434         * malloc/memusage.sh: Likewise.
16435         * malloc/memusagestat.c: Likewise.
16436         * malloc/mtrace.pl: Likewise.
16437         * manual/libc.texinfo: Likewise.
16438         * nscd/nscd.c: Likewise.
16439         * nss/getent.c: Likewise.
16440         * nss/makedb.c: Likewise.
16441         * posix/getconf.c: Likewise.
16442         * scripts/test-installation.pl: Likewise.
16443
16444         * All files with FSF copyright notices: Update copyright dates
16445         using scripts/update-copyrights.
16446         * intl/plural.c: Regenerated.
16447         * locale/programs/charmap-kw.h: Likewise.
16448         * locale/programs/locfile-kw.h: Likewise.
16449
16450 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16451
16452         * sysdeps/unix/sysv/linux/configure: Regenerated.
16453         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16454         the linux/fanotify.h header.
16455         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16456         HAVE_LINUX_FANOTIFY_H is defined.
16457
16458 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16459
16460         * benchtests/cos-inputs: New inputs.
16461         * benchtests/sin-inputs: Likewise.
16462
16463         * benchtests/atan-inputs: New inputs. Fix name of multiple
16464         precision fallback inputs.
16465
16466         * benchtests/atanh-inputs: New inputs.
16467         * benchtests/tanh-inputs: Likewise.
16468
16469         * benchtests/acosh-inputs: New inputs.
16470         * benchtests/asinh-inputs: Likewise.
16471
16472         * benchtests/cosh-inputs: New inputs.
16473         * benchtests/sinh-inputs: Likewise.
16474
16475         * benchtests/acos-inputs: Add more inputs.
16476         * benchtests/asin-inputs: Likewise.
16477
16478 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16479
16480         [BZ #16375]
16481         * manual/arith.texi: Fix spelling.
16482         * manual/charset.texi: Likewise.
16483         * manual/errno.texi: Likewise.
16484         * manual/filesys.texi: Likewise.
16485         * manual/lang.texi: Likewise.
16486         * manual/llio.texi: Likewise.
16487         * manual/locale.texi: Likewise.
16488         * manual/message.texi: Likewise.
16489         * manual/resource.texi: Likewise.
16490         * manual/search.texi: Likewise.
16491         * manual/setjmp.texi: Likewise.
16492         * manual/stdio.texi: Likewise.
16493         * manual/string.texi: Likewise.
16494         * manual/sysinfo.texi: Likewise.
16495         * manual/time.texi: Likewise.
16496
16497 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16498
16499         * po/sl.po: New file.
16500
16501 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16502
16503         * .gitignore: Add core/.gdbinit/.gdb_history.
16504
16505 2013-12-27  Allan McRae  <allan@archlinux.org>
16506
16507         [BZ #16369]
16508         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16509         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16510
16511 2013-12-24  Brooks Moses  <bmoses@google.com>
16512
16513         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16514         all compilers that claim C++98 compliance, not just GCC.
16515         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16516         Likewise.
16517
16518 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16519
16520         * NEWS: Restore accidentally deleted bug-fix entries.
16521
16522 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16523             Ondřej Bílka  <neleai@seznam.cz>
16524
16525         [BZ #15073]
16526         * malloc/malloc.c (_int_free): Perform sanity check only if we
16527         have_lock.
16528
16529 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16530
16531         [BZ #12986]
16532         * manual/stdio.texi (String Input Conversions): Clarify that character
16533         classes are not supported.
16534
16535 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16536
16537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16538
16539 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16540
16541         [BZ #16337]
16542         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16543         Calculate results for small negative arguments directly rather
16544         than using reflection formula with special underflow handling.
16545
16546         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16547         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16548         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16549         (fchflags): Likewise.
16550         (revoke): Likewise.
16551         (setlogin): Likewise.
16552         (sigaltstack): Likewise.
16553         (wait4): Likewise.
16554         (sigblock): Remove.
16555         (sigsetmask): Likewise.
16556         (wait3): Likewise.
16557         (waitpid): Likewise.
16558         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16559         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16560         file.
16561         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16562         * sysdeps/unix/bsd/Makefile: ... here.
16563         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16564         * sysdeps/unix/bsd/Versions: ... here.
16565         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16566         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16567         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16568         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16569         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16570         * sysdeps/unix/bsd/sigblock.c: ... here.
16571         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16572         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16573         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16574         * sysdeps/unix/bsd/sigvec.c: ... here.
16575         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16576         * sysdeps/unix/bsd/tcdrain.c: ... here.
16577         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16578         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16579         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16580         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16581         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16582         * sysdeps/unix/bsd/wait.c: ... here.
16583         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16584         * sysdeps/unix/bsd/wait3.c: ... here.
16585         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16586         * sysdeps/unix/bsd/waitpid.c: ... here.
16587
16588 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16589
16590         [BZ #16356]
16591         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16592         round-to-nearest for [!USE_AS_EXPM1L].
16593         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16594         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16595         more tests of exp and exp10.  Expect some exp10 tests to miss
16596         exceptions or fail in directed rounding modes.
16597         * math/auto-libm-test-out: Regenerated.
16598         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16599         (exp10_test_tonearest): New function.
16600         (exp10_towardzero_test_data): New array.
16601         (exp10_test_towardzero): New function.
16602         (exp10_downward_test_data): New array.
16603         (exp10_test_downward): New function.
16604         (exp10_upward_test_data): New array.
16605         (exp10_test_upward): New function.
16606         (main): Call the new functions.
16607         * sysdeps/i386/fpu/libm-test-ulps: Update.
16608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16609
16610 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16611
16612         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16613         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16614         * math/auto-libm-test-out: Regenerated.
16615         * math/libm-test.inc (acosh_test_data): Add more tests.
16616         (atanh_test_data): Likewise.
16617         (ceil_test_data): Likewise.
16618         (copysign_test_data): Likewise.
16619         * sysdeps/i386/fpu/libm-test-ulps: Update.
16620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16621
16622         * timezone/checktab.awk: Update from tzcode 2013i.
16623         * timezone/private.h: Likewise.
16624         * timezone/scheck.c: Likewise.
16625         * timezone/tzfile.h: Likewise.
16626         * timezone/tzselect.ksh: Likewise.
16627         * timezone/zdump.c: Likewise.
16628         * timezone/zic.c: Likewise.
16629
16630         * math/auto-libm-test-in: Add tests of cpow.
16631         * math/auto-libm-test-out: Regenerated.
16632         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16633         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16634         mpc_cc_c.
16635         (func_calc_desc): Add mpc_cc_c union field.
16636         (test_functions): Add cpow.
16637         (special_fill_2pi): New function.
16638         (special_real_inputs): Add 2pi.
16639         (calc_generic_results): Handle mpc_cc_c.
16640         * sysdeps/i386/fpu/libm-test-ulps: Update.
16641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16642
16643         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16644         csqrt, ctan and ctanh.
16645         * math/auto-libm-test-out: Regenerated.
16646         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16647         (TEST_COND_x86): Likewise.
16648         (ccos_test_data): Use AUTO_TESTS_c_c.
16649         (ccosh_test_data): Likewise.
16650         (cexp_test_data): Likewise.
16651         (clog_test_data): Likewise.
16652         (csqrt_test_data): Likewise.
16653         (ctan_test_data): Likewise.
16654         (ctan_tonearest_test_data): Likewise.
16655         (ctan_towardzero_test_data): Likewise.
16656         (ctan_downward_test_data): Likewise.
16657         (ctan_upward_test_data): Likewise.
16658         (ctanh_test_data): Likewise.
16659         (ctanh_tonearest_test_data): Likewise.
16660         (ctanh_towardzero_test_data): Likewise.
16661         (ctanh_downward_test_data): Likewise.
16662         (ctanh_upward_test_data): Likewise.
16663         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16664         mpc_c_c.
16665         (func_calc_desc): Add mpc_c_c union field.
16666         (FUNC_mpc_c_c): New macro.
16667         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16668         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16669         ctanh.
16670         (special_fill_min_subnorm_p120): New function.
16671         (special_real_inputs): Add min_subnorm_p120.
16672         (calc_generic_results): Handle mpc_c_c.
16673         * sysdeps/i386/fpu/libm-test-ulps: Update.
16674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16675
16676 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16677
16678         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16679         (do_sin_slow): New functions.
16680         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16681         (cslow2, csloww1, csloww2): Use the new functions.
16682
16683         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16684         Use M to change sign of result instead of X.  Assume X is
16685         positive.
16686         (csloww1): Likewise.
16687         (__sin): Adjust.
16688         (__cos): Adjust.
16689
16690         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16691         arguments A and DA.
16692         (__sin): Adjust.
16693         (__cos): Likewise.
16694
16695         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16696         (__cos): Likewise.
16697         (sloww1): Don't adjust sign of DX.
16698         (csloww1): Likewise.
16699         (sloww2): Use X directly and don't adjust sign of DX.
16700         (csloww2): Likewise.
16701
16702 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16703
16704         * math/auto-libm-test-in: Add tests of cabs and carg.
16705         * math/auto-libm-test-out: Regenerated.
16706         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16707         (carg_test_data): Likewise.
16708         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16709         mpc_c_f.
16710         (func_calc_desc): Add mpc_c_f union field.
16711         (test_functions): Add cabs and carg.
16712         (calc_generic_results): Handle mpc_c_f.
16713
16714         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16715         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16716         as a macro and a compat symbol.
16717         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16718         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16719         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16720         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16721         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16722         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16723         not use .hidden.
16724         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16725         Likewise.
16726         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16727         Likewise.
16728         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16729         Likewise.
16730         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16731         Likewise.
16732         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16733         Likewise.
16734         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16735         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16736         from GLIBC_2.3.2.
16737
16738 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16739
16740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16741
16742 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16743
16744         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16745         trailing whitespace removed.
16746         * scripts/config.guess: Update to version 2013-11-29.
16747         * scripts/config.sub: Update to version 2013-10-01.
16748
16749         * math/auto-libm-test-in: Add tests of sincos.
16750         * math/auto-libm-test-out: Regenerated.
16751         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16752         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16753         mpfr_f_11.
16754         (func_calc_desc): Add mpfr_f_11 union field.
16755         (test_functions): Add sincos.
16756         (calc_generic_results): Handle mpfr_f_11.
16757         * sysdeps/i386/fpu/libm-test-ulps: Update.
16758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16759
16760 2013-12-19  Andreas Schwab  <schwab@suse.de>
16761
16762         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16763         CALL_MCOUNT.
16764         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16765         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16766         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16767
16768 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16769
16770         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16771         * sysdeps/i386/fpu/libm-test-ulps: Update.
16772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16773
16774         [BZ #16293]
16775         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16776         round-to-nearest mode when using frndint.
16777         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16778         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16779         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16780         Likewise.
16781         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
16782         sinh test to fail.
16783         * math/auto-libm-test-out: Regenerated.
16784         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16785         (TEST_COND_x86): Likewise.
16786         (expm1_tonearest_test_data): New array.
16787         (expm1_test_tonearest): New function.
16788         (expm1_towardzero_test_data): New array.
16789         (expm1_test_towardzero): New function.
16790         (expm1_downward_test_data): New array.
16791         (expm1_test_downward): New function.
16792         (expm1_upward_test_data): New array.
16793         (expm1_test_upward): New function.
16794         (main): Run the new test functions.
16795         * sysdeps/i386/fpu/libm-test-ulps: Update.
16796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16797
16798         * include/features.h: Update comment documenting feature test
16799         macros.  Mention _DEFAULT_SOURCE in comment.
16800         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16801         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16802         _BSD_SOURCE and _SVID_SOURCE.
16803         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16804         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16805         !_SVID_SOURCE]: Likewise.
16806         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16807         (__USE_POSIX_IMPLICITLY): Define.
16808         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16809         (_POSIX_SOURCE): Undefine and redefine.
16810         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16811         (_POSIX_C_SOURCE): Likewise.
16812         * manual/creature.texi (_DEFAULT_SOURCE): Document.
16813         (Feature Test Macros): Update documentation of default features.
16814
16815 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16816
16817         * benchtests/Makefile: Add bench-strtok.
16818         * benchtests/bench-strtok.c: New file: strtok benchtest.
16819
16820 2013-12-19  Allan McRae  <allan@archlinux.org>
16821
16822         * manual/install.texi: Suppress menu for plain text output.
16823         * INSTALL: Regenerated.
16824
16825 2013-12-18  Brooks Moses  <bmoses@google.com>
16826
16827         [BZ #15846]
16828         * misc/getauxval.c: Include errno.h.
16829         (__getauxval): Set errno to ENOENT if the requested type is not
16830         found.
16831         * misc/sys/auxv.h (getauxval): Document that it may set errno;
16832         don't declare with __attribute_const__.
16833         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16834         * manual/startup.texi: Document that getauxval sets errno.
16835
16836 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16837
16838         * math/auto-libm-test-in: Add tests of jn and yn.
16839         * math/auto-libm-test-out: Regenerated.
16840         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16841         (yn_test_data): Likewise.
16842         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16843         mpfr_if_f.
16844         (func_calc_desc): Add mpfr_if_f union field.
16845         (FUNC_mpfr_if_f): New macro.
16846         (test_functions): Add jn and yn.
16847         (calc_generic_results): Assert type of second input for
16848         mpfr_ff_f.  Handle mpfr_if_f.
16849         (output_for_one_input_case): Disable all checking for arguments
16850         fitting floating-point types in case of an integer argument.
16851         * sysdeps/i386/fpu/libm-test-ulps: Update.
16852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16853
16854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16855         Don't expect fegetround reference in libm.so.
16856
16857 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16858
16859         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16860         $(config-cflags-nofma).
16861
16862 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16863
16864         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16865         * math/auto-libm-test-out: Regenerated.
16866
16867         [BZ #16338]
16868         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16869         to determine exponent and adjust argument to have exponent of -1.
16870         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16871         log2.
16872         * math/auto-libm-test-out: Regenerated.
16873         * sysdeps/i386/fpu/libm-test-ulps: Update.
16874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16875
16876 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
16877
16878         * manual/probes.texi: Remove cases when per-thread arenas are
16879         disabled.
16880
16881 2013-12-18  Andreas Schwab  <schwab@suse.de>
16882
16883         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16884         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16885         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16886         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16887         * sysdeps/i386/i686/multiarch/Makefile: Update.
16888         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16889
16890 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16891
16892         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16893         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16894
16895 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
16896
16897         [BZ #15968]
16898         Support TZ transition times < 00:00:00.
16899         This is needed for version-3 tz-format files; it supports time
16900         stamps past 2037 for America/Godthab (the only entry in the tz
16901         database for which this change is relevant).
16902         * manual/time.texi (TZ Variable): Document transition times
16903         from -167:59:59 through -00:00:01.
16904         * time/tzset.c (tz_rule): Time of day is now signed.
16905         (__tzset_parse_tz): Parse negative time of day.
16906
16907         Document TZ transition times >= 25:00:00.
16908         * manual/time.texi (TZ Variable): Document transition times from
16909         25:00:00 through 167:59:59.  These are already supported, and this
16910         support will help with version-3 tz-format files.
16911
16912         * manual/time.texi (TZ Variable): Modernize North America example
16913         to reflect current (i.e., 2007-and-later) daylight saving rules.
16914
16915         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16916
16917 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16918
16919         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16920         * sysdeps/unix/bsd/bits/stat.h: Likewise.
16921         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16922         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16923         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16924         * sysdeps/unix/bsd/bsdstat.h: Likewise.
16925         * sysdeps/unix/bsd/clock.c: Likewise.
16926         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16927         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16928         * sysdeps/unix/bsd/init-posix.c: Likewise.
16929         * sysdeps/unix/bsd/poll.c: Likewise.
16930         * sysdeps/unix/bsd/ptsname.c: Likewise.
16931         * sysdeps/unix/bsd/seekdir.c: Likewise.
16932         * sysdeps/unix/bsd/setegid.c: Likewise.
16933         * sysdeps/unix/bsd/seteuid.c: Likewise.
16934         * sysdeps/unix/bsd/setgid.c: Likewise.
16935         * sysdeps/unix/bsd/setrgid.c: Likewise.
16936         * sysdeps/unix/bsd/setruid.c: Likewise.
16937         * sysdeps/unix/bsd/setsid.c: Likewise.
16938         * sysdeps/unix/bsd/setuid.c: Likewise.
16939         * sysdeps/unix/bsd/sigaction.c: Likewise.
16940         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16941         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16942         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16943         * sysdeps/unix/bsd/telldir.c: Likewise.
16944         * sysdeps/unix/bsd/times.c: Likewise.
16945         * sysdeps/unix/bsd/usleep.c: Likewise.
16946
16947         * misc/Makefile (install-lib): Remove libbsd-compat.a.
16948         ($(objpfx)libbsd-compat.a): Remove rule.
16949
16950         * include/features.h (__FAVOR_BSD): Do not define.
16951         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16952         features conflicting with POSIX.
16953         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16954         (_BSD_SOURCE): Remove description of not being a subset of other
16955         feature test macros.
16956         * manual/job.texi (getpgrp): Do not document BSD version.
16957         (getpgid): Do not document by reference to BSD getpgrp.
16958         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16959         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16960         * signal/signal.h [__FAVOR_BSD]: Likewise.
16961         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16962         instead of making contents conditional on [__FAVOR_BSD].
16963         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16964
16965 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16966
16967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16968
16969 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16970
16971         [BZ #16314]
16972         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16973         values below 2**-450, not 2**-500.
16974         * math/auto-libm-test-in: Don't allow spurious underflow from
16975         hypot.
16976         * math/auto-libm-test-out: Regenerated.
16977
16978         [BZ #16316]
16979         [BZ #16330]
16980         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16981         values of ha and hb and sort them after adjusting subnormal
16982         arguments.
16983         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16984         Likewise.
16985         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16986         values of ea and eb and sort them after adjusting subnormal
16987         arguments.
16988         * math/auto-libm-test-in: Do not expect some hypot tests of
16989         subnormals to fail.  Add more hypot tests.
16990         * math/auto-libm-test-out: Regenerated.
16991
16992 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16993
16994         [BZ #13304]
16995         * sysdeps/sh/s_fma.c: New file.
16996         * sysdeps/sh/s_fmaf.c: New file.
16997         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
16998         version.
16999         * sysdeps/sh/Implies: Add sh/soft-fp.
17000
17001 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17002
17003         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17004         level of indirection to members `objname', `errstring', `malloced'.
17005         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17006         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17007         it as the __longjmp argument (just pass 1 instead).
17008         (_dl_catch_error): Initialize C with argument pointers and address of
17009         volatile local ERRCODE rather than copying values out of C at return.
17010
17011 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17012
17013         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17014         * math/auto-libm-test-out: Regenerated.
17015         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17016         (hypot_test_data): Likewise.
17017         (pow_test_data): Likewise.
17018         (pow_tonearest_test_data): Likewise.
17019         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17020         mpfr_ff_f.
17021         (func_calc_desc): Add mpfr_ff_f union field.
17022         (FUNC_mpfr_ff_f): New macro.
17023         (test_functions): Add atan2, hypot and pow.
17024         (special_fill_min): New function.
17025         (special_fill_minus_min): Likewise.
17026         (special_fill_min_subnorm): Likewise.
17027         (special_fill_minus_min_subnorm): Likewise.
17028         (special_real_inputs): Add min, -min, min_subnorm and
17029         -min_subnorm.
17030         (calc_generic_results): Handle mpfr_ff_f.
17031         * sysdeps/i386/fpu/libm-test-ulps: Update.
17032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17033
17034 2013-12-16  Will Newton  <will.newton@linaro.org>
17035
17036         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17037         (Aligned Memory Blocks): Add documentation for aligned_alloc
17038         and suggest it as an alternative to posix_memalign.
17039         (Hooks for Malloc): Document __memalign_hook is also called
17040         for aligned_alloc.  (Summary of Malloc): Add summary for
17041         aligned alloc.  Document __memalign_hook is also called
17042         for aligned_alloc.
17043
17044 2013-12-16  Will Newton  <will.newton@linaro.org>
17045
17046         * manual/memory.texi (Malloc Examples): Clarify default
17047         alignment documentation.  Suggest posix_memalign rather
17048         than memalign or valloc.
17049         (Aligned Memory Blocks): Remove suggestion to use memalign
17050         or valloc.  Remove obsolete comment about BSD.
17051         Document memalign errno values and mark the function obsolete.
17052         Document posix_memalign returned error codes.  Mark valloc
17053         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17054         called for posix_memalign and valloc.
17055         (Summary of Malloc): Add posix_memalign to function summary.
17056         __memalign_hook is also called for posix_memalign and valloc.
17057
17058 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17059
17060         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17061         TAYLOR_SIN.
17062         (__sin): Adjust.
17063         (__cos): Likewise.
17064         (sloww): Use mynumber union.  Expand ternary operator into
17065         if-else statements.
17066         (cslow): use mynumber union.
17067
17068 2013-12-16  Allan McRae  <allan@archlinux.org>
17069
17070         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17071         * configure: Regenerated.
17072
17073         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17074
17075         [BZ #14120]
17076         * configure.ac: Added --enable-maintainer-mode. Check for
17077         autoconf when enabled.
17078         * configure: Regenerated.
17079
17080         * nscd/nscd.service: New file.
17081         * nscd/nscd.tmpfiles: New file.
17082
17083 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17084
17085         [BZ #12100]
17086         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17087         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17088         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17089         (strstr): Add __strstr_sse2_unaligned ifunc.
17090         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17091         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17092         (strcasestr): Remove __strcasestr_sse42 ifunc.
17093         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17096
17097 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17098
17099         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17100         * sysdeps/sh/bits/fenv.h: ... here.
17101         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17102
17103 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17104
17105         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17106
17107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17108         hypotf multiarch implementations.
17109         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17110         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17111         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17112         multiarch hypot for PPC64.
17113         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17114         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17115         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17116         multiarch hypotf for PPC64.
17117
17118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17119         modff multiarch implementations.
17120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17123         multiarch modf for PPC64.
17124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17127         multiarch modff for PPC64.
17128
17129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17130         and logl multiarch implementations.
17131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17134         multiarch logb for PPC64.
17135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17138         multiarch logb for PPC64.
17139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17142         multiarch logb for PPC64.
17143
17144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17145         isinff multiarch implementation.
17146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17147         file.
17148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17150         multiarch isinf for PPC64.
17151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17152         file.
17153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17154         multiarch isinff for PPC64.
17155
17156         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17157         finitef multiarch implementation.
17158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17159         file.
17160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17162         multiarch finite for PPC64.
17163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17164         file.
17165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17166         multiarch finitef for PPC64.
17167
17168         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17169         lrint multiarch implementation.
17170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17171         file.
17172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17174         multiarch llrint for PPC64.
17175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17176         multiarch lrint for PPC64.
17177
17178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17179         copysignf multiarch implementation.
17180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17181         file.
17182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17183         file.
17184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17185         multiarch copysign for PPC64.
17186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17187         multiarch copysignf for PPC64.
17188
17189         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17190         multiarch implementation.
17191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17192         file.
17193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17194         file.
17195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17196         file.
17197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17198         file.
17199         multiarch llround for PPC64.
17200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17201         multiarch trunc for PPC64.
17202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17203         multiarch truncf for PPC64.
17204
17205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17206         multiarch implementation.
17207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17208         file.
17209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17210         file.
17211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17212         file.
17213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17214         file.
17215         multiarch llround for PPC64.
17216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17217         multiarch round for PPC64.
17218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17219         multiarch roundf for PPC64.
17220
17221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17222         multiarch implementation.
17223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17224         file.
17225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17226         file.
17227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17228         file.
17229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17230         file.
17231         multiarch llround for PPC64.
17232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17233         multiarch floor for PPC64.
17234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17235         multiarch floorf for PPC64.
17236
17237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17238         multiarch implementation.
17239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17240         file.
17241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17242         file.
17243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17244         file.
17245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17246         file.
17247         multiarch llround for PPC64.
17248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17249         multiarch ceil for PPC64.
17250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17251         multiarch ceilf for PPC64.
17252
17253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17254         multiarch implementation.
17255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17256         file.
17257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17258         file.
17259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17260         file.
17261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17262         multiarch llround for PPC64.
17263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17264         multiarch lround for PPC64.
17265
17266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17267         multiarch implementation.
17268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17271         file.
17272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17275         multiarch isnan for PPC64.
17276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17277         multiarch isnanf for PPC64.
17278
17279         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17280         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17281         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17282         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17283         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17285
17286         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17287         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17288         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17289         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17290
17291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17292         multiarch implementations.
17293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17294         (__libc_ifunc_impl_list): Likewise.
17295         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17296         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17297         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17298         multiarch stpcpy for PPC64.
17299
17300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17301         multiarch implementations.
17302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17303         (__libc_ifunc_impl_list): Likewise.
17304         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17305         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17306         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17307         multiarch strcpy for PPC64.
17308
17309         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17310         redefine function name.
17311         (_wordcopy_fwd_dest_aligned): Likewise.
17312         (_wordcopy_bwd_aligned): Likewise.
17313         (_wordcopy_bwd_dest_aligned): Likewise.
17314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17315         multiarch implementations.
17316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17317         (__libc_ifunc_impl_list): Likewise.
17318         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17319         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17320         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17321         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17322         multiarch wcscpy for PPC64.
17323
17324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17325         multiarch implementations.
17326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17327         (__libc_ifunc_impl_list): Likewise.
17328         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17329         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17330         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17331         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17332         multiarch wcscpy for PPC64.
17333
17334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17335         multiarch implementations.
17336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17337         (__libc_ifunc_impl_list): Likewise.
17338         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17339         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17340         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17341         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17342         multiarch wcsrchr for PPC64.
17343
17344         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17345         multiarch implementations.
17346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17347         (__libc_ifunc_impl_list): Likewise.
17348         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17349         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17350         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17351         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17352         multiarch wcschr for PPC64.
17353
17354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17355         multiarch implementations.
17356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17357         (__libc_ifunc_impl_list): Likewise.
17358         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17359         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17360         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17361         multiarch strchrnul for PPC64.
17362
17363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17364         implementations.
17365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17366         (__libc_ifunc_impl_list): Likewise.
17367         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17368         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17369         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17370         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17371         strchr for PPC64.
17372
17373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17374         implementations.
17375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17376         (__libc_ifunc_impl_list): Likewise.
17377         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17378         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17379         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17380         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17381         strncmp for PPC64.
17382
17383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17384         multiarch implementations.
17385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17386         (__libc_ifunc_impl_list): Likewise.
17387         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17388         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17389         strncasecmp for PPC64.
17390         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17391         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17392         multiarch strncasecmp_l for PPC64.
17393
17394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17395         multiarch implementations.
17396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17397         (__libc_ifunc_impl_list): Likewise.
17398         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17399         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17400         multiarch strcasecmp for PPC64.
17401         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17402         file.
17403         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17404         multiarch strcasecmp_l for PPC64.
17405
17406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17407         implementations.
17408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17409         (__libc_ifunc_impl_list): Likewise.
17410         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17411         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17412         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17413         strnlen for PPC64.
17414
17415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17416         implementations.
17417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17418         (__libc_ifunc_impl_list): Likewise.
17419         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17420         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17421         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17422         strlen for PPC64.
17423
17424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17425         implementations.
17426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17427         (__libc_ifunc_impl_list): Likewise.
17428         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17429         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17430         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17431         rawmemrchr for PPC64.
17432
17433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17434         implementation.
17435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17436         (__libc_ifunc_impl_list): Likewise.
17437         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17438         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17439         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17440         memrchr for PPC64.
17441
17442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17443         implementation.
17444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17445         (__libc_ifunc_impl_list): Likewise.
17446         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17447         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17448         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17449         memchr for PPC64.
17450
17451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17452         implementation.
17453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17454         (__libc_ifunc_impl_list): Likewise.
17455         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17456         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17457         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17458         mempcpy for PPC64.
17459
17460         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17461         avoid cretion of __bzero symbol.
17462         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17463         Likewise.
17464         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17465         Likewise.
17466         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17467         Likewise.
17468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17469         multiarch implementations.
17470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17471         (__libc_ifunc_impl_list): Likewise.
17472         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17473         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17474         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17475         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17476         bzero for PPC32.
17477         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17478         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17479         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17480         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17481         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17482         memset for PPC64.
17483         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17484
17485         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17487         implementations.
17488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17489         (__libc_ifunc_impl_list): Likewise.
17490         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17491         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17492         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17493         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17494         memcmp for PPC64.
17495
17496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17497         multiarch for POWER/PPC64.
17498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17499         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17500         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17501         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17502         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17503         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17504         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17505         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17506         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17507         memcpy for PPC64.
17508
17509         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17510         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17511         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17512         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17513         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17514         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17515         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17516         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17517         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17518         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17519         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17520         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17521         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17522         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17523         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17531
17532 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17533
17534         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17535
17536 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17537
17538         * benchtests/Makefile (bench): Add exp2 and log2.
17539         (LDLIBS-bench-exp2): Add -lm.
17540         (LDLIBS-bench-log2): Likewise.
17541         * benchtests/exp2-inputs: New inputs file.
17542         * benchtests/log2-inputs: New inputs file.
17543         * benchtests/log-inputs: Add new inputs.
17544         * benchtests/tan-inputs: Likewise.
17545
17546 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17547
17548         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17549         definition...
17550         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17551         (csloww2): ... from here.
17552
17553         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17554         instead of structures.
17555         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17556         (POLYNOMIAL): Likewise.
17557         (TAYLOR_SLOW): Likewise.
17558         (__sin): Likewise.
17559         (__cos): Likewise.
17560         (slow1): Likewise.
17561         (slow2): Likewise.
17562         (sloww): Likewise.
17563         (sloww1); Likewise.
17564         (sloww2): Likewise.
17565         (bsloww1): Likewise.
17566         (bsloww2): Likewise.
17567         (cslow2): Likewise.
17568         (csloww): Likewise.
17569         (csloww1): Likewise.
17570         (csloww2): Likewise.
17571
17572 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17573
17574         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17575         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17576         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17577         * malloc/hooks.c (realloc_check): Likewise.
17578
17579         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17580         * malloc/arena.c: Remove PER_THREAD conditional.
17581         [!PER_THREAD]: Remove code.
17582         (ptmalloc_unlock_all2): Likewise.
17583         (ptmalloc_init): Likewise.
17584         (_int_new_arena): Likewise.
17585         (arena_get2): Likewise.
17586         * malloc/hooks.c (__malloc_get_state): Likewise.
17587         (__malloc_set_state): Likewise.
17588         * malloc/malloc.c: Likewise.
17589         (struct malloc_state): Likewise.
17590         (struct malloc_par): Likewise.
17591         (__libc_realloc): Likewise.
17592         (__libc_mallopt): Likewise.
17593
17594 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17595
17596         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17597
17598 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17599
17600         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17601         macro to a function.  Check for zero perturb_byte.
17602         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17603
17604         * malloc/malloc.c: (force_reg): Remove.
17605         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17606         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17607         force_reg by atomic_forced_read.
17608         * malloc/arena.c (ptmalloc_init): Likewise.
17609         * malloc/hooks.c (top_check): Likewise.
17610
17611 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17612
17613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17614
17615 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17616
17617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17618
17619 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17620
17621         * math/auto-libm-test-in: Add tests of lgamma.
17622         * math/auto-libm-test-out: Regenerated.
17623         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17624         (M_LOG_2_SQRT_PIl): Likewise.
17625         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17626         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17627         mpfr_f_f1.
17628         (func_calc_desc): Add mpfr_f_f1 union field.
17629         (ARGS1): New macro.
17630         (ARGS2): Likewise.
17631         (ARGS3): Likewise.
17632         (ARGS4): Likewise.
17633         (RET1): Likewise.
17634         (RET2): Likewise.
17635         (CALC): Likewise.
17636         (FUNC): Likewise.
17637         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17638         (test_functions): Add lgamma.
17639         (calc_generic_results): Handle mpfr_f_f1.
17640         * sysdeps/i386/fpu/libm-test-ulps: Update.
17641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17642
17643 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17644
17645         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17646         __mpn_add_n for PowerPC64/POWER7.
17647         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17648         __mpn_sub_n for PowerPC64/POWER7.
17649
17650         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17651         __mpn_addmul_1 for PowerPC64.
17652         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17653         __mpn_submul_1 for PowerPC64.
17654         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17655         for PowerPC64.
17656         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17657         for PowerPC64.
17658
17659 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17660
17661         [BZ #15089]
17662         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17663
17664 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17665
17666         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17667
17668         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17669         add multiarch folders.
17670         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17671         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17672         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17673         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17674         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17675         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17676         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17677         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17678         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17679         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17680         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17687
17688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17689         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17691         New file.
17692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17693         New file.
17694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17695         multiarch __ieee754_hypot for PowerPC32.
17696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17697         New file.
17698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17699         New file.
17700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17701         multiarch __ieee754_hypotf for PowerPC32.
17702
17703         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17704         long_double_symbol only if __logbl is defined.
17705         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17706         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17707         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17708         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17709         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17710         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17711         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17712         path for implementation.
17713         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17714         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17716         logb, and logbl multiarch implementations for PowerPC32.
17717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17718         file.
17719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17720         file.
17721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17722         multiarch logb for PowerPC32.
17723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17724         file.
17725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17726         file.
17727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17728         multiarch logbf for PowerPC32.
17729         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17731         file.
17732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17733         multiarch logbl implementation for PowerPC32.
17734
17735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17736         and modff multiarch implementations.
17737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17738         New file.
17739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17740         New file.
17741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17742         multiarch modf for PowerPC32.
17743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17744         New file.
17745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17746         New file.
17747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17748         multiarch modff for PowerPC32.
17749
17750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17751         and lrintf multiarch implementations.
17752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17753         New file.
17754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17755         New file.
17756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17757         multiarch lrint for PowerPC32.
17758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17759         file: multiarch lrintf for PowerPC32.
17760
17761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17762         and lroundf multiarch implementations.
17763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17764         New file.
17765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17766         New file.
17767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17768         New file.
17769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17770         multiarch lround for PowerPC32.
17771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17772         file: multiarch lroundf for PowerPC32.
17773
17774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17775         copysign and copysignf multiarch implementations.
17776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17777         New file.
17778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17779         New file.
17780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17781         file: multiarch copysign for PowerPC32.
17782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17783         file: multiarch copysignf for PowerPC32.
17784
17785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17786         and truncf multiarch implementations.
17787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17788         New file.
17789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17790         file.
17791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17792         multiarch trunc for PowerPC32.
17793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17794         New file.
17795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17796         New file.
17797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17798         multiarch truncf for PowerPC32.
17799
17800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17801         and roundf multiarch implementations.
17802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17803         New file.
17804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17805         file.
17806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17807         multiarch round for PowerPC32.
17808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17809         New file.
17810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17811         New file.
17812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17813         multiarch roundf for PowerPC32.
17814
17815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17816         and floorf multiarch implementations.
17817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17818         New file.
17819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17820         file.
17821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17822         multiarch floor for PowerPC32.
17823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17824         New file.
17825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17826         New file.
17827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17828         multiarch floorf for PowerPC32.
17829
17830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17831         and ceilf multiarch implementations.
17832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17833         New file.
17834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17835         file.
17836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17837         multiarch ceil for PowerPC32.
17838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17839         New file.
17840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17841         file.
17842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17843         multiarch ceilf for PowerPC32.
17844
17845         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17846         is defined.
17847         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17848         FINITEF is defined.
17849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17850         and finitef multiarch implementations.
17851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17852         New file.
17853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17854         file.
17855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17856         multiarch finite for PowerPC32.
17857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17858         New file.
17859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17860         file: multiarch finitef for PowerPC32.
17861
17862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17863         and isinff multiarch implementations.
17864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17865         file.
17866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17867         file.
17868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17869         multiarch isinf for PowerPC32.
17870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17871         New file.
17872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17873         multiarch isinff for PowerPC32.
17874
17875         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17876         alias when __isnan is defined.
17877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17878         and isnanf multiarch implementations.
17879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17880         file.
17881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17882         file.
17883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17884         file.
17885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17886         file.
17887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17888         multiarch isnan for PowerPC32.
17889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17890         New file.
17891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17892         New file.
17893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17894         multiarch isnanf for PowerPC32.
17895
17896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17897         and sqrtf multiarch implementations.
17898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17899         file.
17900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17901         file.
17902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17903         multiarch sqrt for PowerPC32.
17904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17905         file.
17906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17907         file.
17908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17909         multiarch sqrtf for PowerPC32.
17910
17911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17912         and llroundf multiarch implementations.
17913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17914         New file.
17915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17916         New file.
17917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17918         New file.
17919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17920         file: multiarch llround for PowerPC32.
17921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17922         file: multiarch llroundf for PowerPC32.
17923
17924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17925         multiarch PowerPC32 fpu implementations.
17926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17927         New file.
17928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17929         New file.
17930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17931         multiarch llrint for PowerPC32.
17932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17933         New file.
17934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17935         New file.
17936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17937         file.
17938
17939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17940
17941         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17942         file.
17943         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17944         file.
17945         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17946         file.
17947         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17948         multiarch wordcopy for PPC32.
17949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17950         wordcopy objects.
17951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17952         (__libc_ifunc_impl_list): Likewise.
17953         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17954         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17955         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17956         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17957         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17958         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17959
17960         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17961         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17962         file.
17963         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17964         file.
17965         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17966         file.
17967         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17968         multiarch wcscpy for PPC32.
17969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17970         multiarch objects.
17971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17972         (__libc_ifunc_impl_list): Likewise.
17973         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17974         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17975         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17976         sysdeps/powerpc/power6/wcscpy.c.
17977
17978         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17979         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17980         file.
17981         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17982         file.
17983         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17984         file.
17985         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17986         multiarch wcsrchr for PPC32.
17987         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17988         multiarch objects.
17989         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17990         (__libc_ifunc_impl_list): Likewise.
17991         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17992         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17993         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17994         sysdeps/powerpc/power6/wcsrchr.c.
17995
17996         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17997         file.
17998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17999         file.
18000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18002         multiarch wcschr for PPc32.
18003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18004         multiarch objects.
18005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18006         (__libc_ifunc_impl_list): Likewise.
18007         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18008         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18009         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18010         sysdeps/powerpc/power6/wcschr.c.
18011
18012         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18013         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18014         file.
18015         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18016         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18017         file: multiarch strchr for PPC32.
18018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18019         multiarch objects.
18020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18021         (__libc_ifunc_impl_list): Likewise.
18022
18023         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18024         name.
18025         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18026         file.
18027         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18028         file.
18029         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18030         multiarch strchrnul for PPC32.
18031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18032         multiarch objects.
18033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18034         (__libc_ifunc_impl_list): Likewise.
18035
18036         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18037         file.
18038         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18039         multiarch strncasecmp for PPC32.
18040         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18041         file.
18042         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18043         multiarch strncasecmp_l for PPC32.
18044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18045         strncasecmp multiarch objects.
18046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18047         (__libc_ifunc_impl_list): Likewise.
18048
18049         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18050         file.
18051         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18052         multiarch strncasecmp for PPC32.
18053         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18054         New file.
18055         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18056         multiarch strcasecmp_l for PPC32.
18057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18058         multiarch objects.
18059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18060         (__libc_ifunc_impl_list): Likewise.
18061
18062         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18063         file.
18064         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18065         file.
18066         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18067         multiarch strncmp for PPC32.
18068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18069         multiarch objects.
18070         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18071         (__libc_ifunc_impl_list): Likewise.
18072
18073         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18074         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18075         file.
18076         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18077         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18078         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18079         multiarch objects.
18080         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18081         (__libc_ifunc_impl_list): Likewise.
18082
18083         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18084         file.
18085         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18086         file.
18087         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18089         multiarch objects.
18090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18091         (__libc_ifunc_impl_list): Likewise.
18092
18093         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18094         file.
18095         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18096         file.
18097         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18098         multiarch rawmemchr for PPC32.
18099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18100         multiarch objects.
18101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18102         (__libc_ifunc_impl_list): Likewise.
18103
18104         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18105         file.
18106         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18107         file.
18108         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18109         file: memrchr multiarch for PPC32.
18110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18111         multiarch objects.
18112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18113         (__libc_ifunc_impl_list): Likewise.
18114
18115         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18116         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18117         file.
18118         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18119         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18120         multiarch memchr for PPC32.
18121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18122         multiarch objects.
18123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18124         (__libc_ifunc_impl_list): Likewise.
18125
18126         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18127         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18128         file.
18129         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18130         file.
18131         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18132         file: multiarch mempcpy for PPC32.
18133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18134         multiarch objects.
18135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18136         (__libc_ifunc_impl_list): Likewise.
18137
18138         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18139         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18140         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18141         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18142         multiarch bzero for PPC32.
18143         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18144         file.
18145         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18146         file.
18147         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18148         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18149         file: multiarch memset for PPC32.
18150         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18152         memset multiarch objects.
18153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18154         (__libc_ifunc_impl_list): Likewise.
18155
18156         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18157         file.
18158         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18159         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18160         memcmp for PPC32.
18161         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18162         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18163         multiarch objects.
18164         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18165         (__libc_ifunc_impl_list): Likewise.
18166
18167         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18168         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18169         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18170         file.
18171         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18172         file.
18173         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18174         file.
18175         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18176         multiarch memcpy for PPC32.
18177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18178         multiarch objects.
18179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18180         (__libc_ifunc_impl_list): Likewise.
18181
18182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18183         support multiarch for POWER/PPC32.
18184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18185         Likewise.
18186         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18188         Implies file to make multiarch folder appers before the fpu and
18189         default folder for power4 configuration.
18190
18191 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18192
18193         * scripts/bench.pl: Append volatile keyword to type.
18194
18195 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18196
18197         * sysdeps/sh/sotruss-lib.c: New file.
18198         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18199
18200 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18201
18202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18203
18204 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18205
18206         [BZ #6810]
18207         * math/w_tgamma.c: Include <errno.h>.
18208         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18209         * math/w_tgammaf.c: Include <errno.h>.
18210         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18211         * math/w_tgammal.c: Include <errno.h>.
18212         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18213         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18214         underflow.  Add more tgamma tests.
18215         * math/auto-libm-test-out: Regenerated.
18216         * sysdeps/i386/fpu/libm-test-ulps: Update.
18217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18218
18219         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18220         sin, sinh, tan, tanh, tgamma, y0 and y1.
18221         * math/auto-libm-test-out: Regenerated.
18222         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18223         (TEST_COND_x86): Likewise.
18224         (M_E2l): Remove macro.
18225         (M_E3l): Likewise.
18226         (M_2_SQRT_PIl): Likewise.
18227         (M_SQRT_PIl): Likewise.
18228         (M_1_DIV_El): Likewise.
18229         (log_test_data): Use AUTO_TESTS_f_f.
18230         (log10_test_data): Likewise.
18231         (log1p_test_data): Likewise.
18232         (log2_test_data): Likewise.
18233         (sin_test_data): Likewise.
18234         (sin_tonearest_test_data): Likewise.
18235         (sin_towardzero_test_data): Likewise.
18236         (sin_downward_test_data): Likewise.
18237         (sin_upward_test_data): Likewise.
18238         (sinh_test_data): Likewise.
18239         (sinh_tonearest_test_data): Likewise.
18240         (sinh_towardzero_test_data): Likewise.
18241         (sinh_downward_test_data): Likewise.
18242         (sinh_upward_test_data): Likewise.
18243         (tan_test_data): Likewise.
18244         (tan_tonearest_test_data): Likewise.
18245         (tan_towardzero_test_data): Likewise.
18246         (tan_downward_test_data): Likewise.
18247         (tan_upward_test_data): Likewise.
18248         (tanh_test_data): Likewise.
18249         (tgamma_test_data): Likewise.
18250         (y0_test_data): Likewise.
18251         (y1_test_data): Likewise.
18252         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18253         (special_real_inputs): Add pi/4.
18254         * sysdeps/i386/fpu/libm-test-ulps: Update.
18255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18256
18257 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18258
18259         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18260         "longjmp_target" static probes.
18261         (__longjmp): Rename to __longjmp_symbol.
18262         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18263         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18264         on which longjmp to generate.
18265         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18266         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18267         probe.
18268         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18269         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18270         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18271         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18272         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18273         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18275         __longjmp_symbol based on which __longjmp to generate.
18276         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18277         probe.
18278         (setjmp): Rename to setjmp_symbol.
18279         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18280         (_setjmp): Rename to _setjmp_symbol.
18281         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18282         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18283         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18284         which setjmp to generate.
18285         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18286         "longjmp_target" static probes.
18287
18288 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18289
18290         * benchtests/README: Add note about output arguments.
18291         * benchtests/bench-sincos.c: Remove file.
18292         * benchtests/sincos-inputs: New file.
18293         * scripts/bench.pl: Identify output arguments and define
18294         static variables for them.
18295
18296         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18297
18298         [BZ #15941]
18299         * Makefile (INSTALL): Add install-plain.texi as the primary
18300         dependency.
18301         * manual/install-plain.texi: New file.
18302         * manual/install.texi: Include node directive only for
18303         non-plaintext output.
18304
18305 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18306
18307         * stdlib/longlong.h: Update from GCC.
18308
18309         [BZ #6807]
18310         [BZ #15901]
18311         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18312         * math/w_j0f.c (y0f): Likewise.
18313         * math/w_j0l.c (__y0l): Likewise.
18314         * math/w_j1.c (y1): Likewise.
18315         * math/w_j1f.c (y1f): Likewise.
18316         * math/w_j1l.c (__y1l): Likewise
18317         * math/w_jn.c (yn): Likewise.
18318         * math/w_jnf.c (ynf): Likewise.
18319         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18320         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18321         value for Bessel function domain errors outside _SVID_ mode.
18322         Adjust sign of return value for yn (negative integer, 0).
18323         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18324         by zero in return for negative x and set sign appropriately for
18325         negative n.
18326         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18327         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18328         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18329         expectations in error cases.
18330         (y1_test_data): Likewise.
18331         (yn_test_data): Likewise.
18332         * sysdeps/i386/fpu/libm-test-ulps: Update.
18333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18334
18335 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18336
18337         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18338         "64" to "64-v1".  Add "64-v2".
18339         (abi-64-options): Rename to ...
18340         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18341         (abi-64-condition): Rename to ...
18342         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18343         (abi-64-ld-soname): Rename to ...
18344         (abi-64-v1-ld-soname): ... this.
18345         (abi-64-v2-options): Define.
18346         (abi-64-v2-condition): Likewise.
18347         (abi-64-v2-ld-soname): Likewise.
18348         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18349         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18353
18354 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18355             Alan Modra  <amodra@gmail.com>
18356
18357         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18358         New versions for use with the ELFv2 ABI.
18359         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18360         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18361         declaration.
18362         (struct La_ppc64v2_retval): Likewise.
18363         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18364         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18365         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18366         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18367         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18368         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18369         Do not save or restore CR.
18370         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18371         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18372         return values for ELFv2 ABI.  Fix location of FPR return registers.
18373         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18374         updated values for _CALL_ELF == 2.
18375         (La_regs, La_retval, int_retval): Likewise.
18376
18377 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18378
18379         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18380         (FRAME_MIN_SIZE_PARM): Likewise.
18381         (FRAME_BACKCHAIN): Likewise.
18382         (FRAME_CR_SAVE): Likewise.
18383         (FRAME_LR_SAVE): Likewise.
18384         (FRAME_TOC_SAVE): Likewise.
18385         (FRAME_PARM_SAVE): Likewise.
18386         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18387         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18388         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18389         (call_mcount_parm_offset): New macro.
18390         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18391         (PROF): Use symbolic stack frame offsets.
18392         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18393         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18394         Redefine in terms of FRAME_MIN_SIZE.
18395         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18396         (_dl_profile_resolve): Likewise.  Update comment.
18397         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18398         symbols stack frame offsets.
18399         (__sigsetjmp): Likewise.
18400         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18401         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18402         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18403         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18404
18405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18406         (FRAME_BACKCHAIN): Remove.
18407         (FRAME_CR_SAVE): Likewise.
18408         (FRAME_LR_SAVE): Likewise.
18409         (FRAME_COMPILER_DW): Likewise.
18410         (FRAME_LINKER_DW): Likewise.
18411         (FRAME_TOC_SAVE): Likewise.
18412         (FRAME_PARM_SAVE): Likewise.
18413         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18414         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18415         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18417         (CHECK_SP): Use symbolic stack frame offsets.
18418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18419         zone" instead of caller's parameter save area for temp storage.
18420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18421         Likewise.  Also, use symbolic stack frame offsets.
18422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18423         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18424         our own stack frame instead of the caller's.
18425         (__socket): Use symbolic stack frame offsets.
18426
18427 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18428             Alan Modra  <amodra@gmail.com>
18429
18430         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18431         Define.
18432         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18433         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18434         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18435         New function.
18436         (elf_machine_fixup_plt): Call it.
18437         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18438         reloc arguments.
18439         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18440         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18441         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18442         r2 before calling target.
18443
18444 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18445             Alan Modra  <amodra@gmail.com>
18446
18447         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18448         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18449         versions of macros to support ELFv2 ABI.
18450         (LOCALENTRY): New macro.
18451         (ENTRY, EALIGN): Use it.
18452         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18453         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18454         fall through into ENTRY entry point.
18455         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18456         Only define if _CALL_ELF != 2.
18457
18458         (elf_machine_matches_host): Verify ABI version matches.
18459         (RTLD_START): Use LOCALENTRY.
18460         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18461         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18462         (PLT_ENTRY_WORDS): New macro.
18463         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18464         (elf_machine_runtime_setup): Support ELFv2 ABI.
18465         (elf_machine_fixup_plt): Likewise.
18466         (elf_machine_plt_conflict): Likewise.
18467         (resolve_ifunc): Likewise.
18468         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18469         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18470         Likewise.
18471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18472         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18474         (makecontext): Support ELFv2 ABI.
18475         * elf/elf.h (EF_PPC64_ABI): Define.
18476
18477 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18478
18479         * sysdeps/powerpc/powerpc64/sysdep.h
18480         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18481         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18482         (ENTRY) [ASSEMBLER]: ... but instead here ...
18483         (EALIGN) [ASSEMBLER]: ... and here.
18484         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18485         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18486         (ENTRY_2) [!ASSEMBLER]: Use it.
18487         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18488         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18489         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18490         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18491         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18493         Use PPC64_LOAD_FUNCPTR.
18494
18495         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18496
18497 2013-12-04  Alan Modra  <amodra@gmail.com>
18498
18499         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18500         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18501         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18502         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18503
18504         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18505         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18506         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18507         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18508         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18509         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18510
18511 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18512
18513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18514         (__makecontext): Fix incorrect CFI when backtracing out of
18515         context created via makecontext.
18516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18517         (__setcontext): Fix incorrect CFI during switch to new context.
18518         (__novec_setcontext): Likewise.
18519
18520 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18521
18522         [BZ #4772]
18523         * time/strptime_l.c (__strptime_internal): Allow modifiers
18524         in strptime.
18525         * time/tst-strptime.c (day_tests): Add testcase.
18526
18527 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18528
18529         * scripts/bench.pl: Skip over blank lines.
18530
18531 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18532
18533         [BZ #926]
18534         * manual/time.texi (Calendar Time): Clarify what timezone functions
18535         use.
18536
18537 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18538
18539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18540
18541 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18542
18543         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18544         implementation.
18545         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18546         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18547         * debug/memset_chk.c (__memset_chk): Likewise.
18548         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18549         * debug/strncpy_chk.c: Likewise.
18550
18551 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18552
18553         [BZ #15268]
18554         [BZ #15425]
18555         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18556         (__ieee754_exp): For possibly underflowing results, check size of
18557         result and force underflow exception if required.
18558         * math/auto-libm-test-in: Add more tests of exp.
18559         * math/auto-libm-test-out: Regenerated.
18560         * sysdeps/i386/fpu/libm-test-ulps: Update.
18561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18562
18563         [BZ #16283]
18564         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18565         * math/w_exp2f.c (__exp2f): Likewise.
18566         * math/w_exp2l.c (__exp2l): Likewise.
18567         * math/auto-libm-test-in: Do not allow missing errno on exp2
18568         underflow.
18569         * math/auto-libm-test-out: Regenerated.
18570
18571 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18572
18573         [BZ #16274]
18574         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18575         handle filename validation.
18576         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18577         (do_open): Delete.
18578
18579 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18580
18581         [BZ #6786]
18582         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18583         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18584         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18585         <float.h>.
18586         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18587         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18588         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18589         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18590         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18591         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18592         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18593         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18594         Add more erfc tests.
18595         * math/auto-libm-test-out: Regenerated.
18596         * sysdeps/i386/fpu/libm-test-ulps: Update.
18597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18598
18599         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18600         exp2, expm1, j0 and j1.
18601         * math/auto-libm-test-out: Regenerated.
18602         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18603         (erfc_test_data): Likewise.
18604         (exp_test_data): Likewise.
18605         (exp_tonearest_test_data): Likewise.
18606         (exp_towardzero_test_data): Likewise.
18607         (exp_downward_test_data): Likewise.
18608         (exp_upward_test_data): Likewise.
18609         (exp10_test_data): Likewise.
18610         (exp2_test_data): Likewise.
18611         (expm1_test_data): Likewise.
18612         (j0_test_data): Likewise.
18613         (j1_test_data): Likewise.
18614         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18615         (input_flag_type): Add flag_xfail_rounding.
18616         (input_flags): Add xfail-rounding.
18617         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18618         (output_for_one_input_case): Handle flag_xfail_rounding.
18619         * sysdeps/i386/fpu/libm-test-ulps: Update.
18620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18621
18622 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18623
18624         [BZ #16289]
18625         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18626         division by 0.
18627
18628 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18629
18630         [BZ #16195]
18631         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18632         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18633         (STAP_PROBE0): New macro.
18634         (STAP_PROBE1): Likewise.
18635         (STAP_PROBE2): Likewise.
18636         (STAP_PROBE3): Likewise.
18637         (STAP_PROBE4): Likewise.
18638
18639 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18640
18641         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18642
18643 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18644
18645         * benchtests/Makefile (bench): Add sqrt.
18646         (LDLIBS-bench-sqrt): New.
18647         * benchtests/sqrt-input: New.
18648
18649 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18650
18651         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18652         (GAIH_EAI): Likewise.
18653         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18654         (gaih_inet): Likewise.
18655         (getaddrinfo): Don't use GAIH_EAI.
18656
18657         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18658         (struct gaih): Remove definition.
18659
18660 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18661
18662         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18663         Use HERRNOP directly.
18664
18665 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18666
18667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18668
18669 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18670
18671         * math/gen-auto-libm-tests.c (test_functions): Add more
18672         single-argument functions.
18673         (special_fill_pi_2): New function.
18674         (special_fill_minus_pi_2): Likewise.
18675         (special_fill_pi_6): Likewise.
18676         (special_fill_minus_pi_6): Likewise.
18677         (special_fill_pi_3): Likewise.
18678         (special_fill_2pi_3): Likewise.
18679         (special_fill_e): Likewise.
18680         (special_fill_1_e): Likewise.
18681         (special_fill_e_minus_1): Likewise.
18682         (special_real_inputs): Add more special inputs.
18683         (output_for_one_input_case): Do not require ERANGE on underflow to
18684         zero if round-to-nearest result does not underflow to zero, unless
18685         exact results required.
18686         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18687         atan, atanh, cbrt, cos and cosh.
18688         * math/auto-libm-test-out: Regenerated.
18689         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18690         (acos_tonearest_test_data): Likewise.
18691         (acos_towardzero_test_data): Likewise.
18692         (acos_downward_test_data): Likewise.
18693         (acos_upward_test_data): Likewise.
18694         (acosh_test_data): Likewise.
18695         (asin_test_data): Likewise.
18696         (asin_tonearest_test_data): Likewise.
18697         (asin_towardzero_test_data): Likewise.
18698         (asin_upward_test_data): Likewise.
18699         (asinh_test_data): Likewise.
18700         (atan_test_data): Likewise.
18701         (atanh_test_data): Likewise.
18702         (cbrt_test_data): Likewise.
18703         (cos_test_data): Likewise.
18704         (cos_tonearest_test_data): Likewise.
18705         (cos_towardzero_test_data): Likewise.
18706         (cos_downward_test_data): Likewise.
18707         (cos_upward_test_data): Likewise.
18708         (cosh_test_data): Likewise.
18709         (cosh_tonearest_test_data): Likewise.
18710         (cosh_towardzero_test_data): Likewise.
18711         (cosh_downward_test_data): Likewise.
18712         (cosh_upward_test_data): Likewise.
18713         * sysdeps/i386/fpu/libm-test-ulps: Update.
18714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18715
18716 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18717
18718         [BZ #6787]
18719         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18720         * math/w_exp10f.c (__exp10f): Likewise.
18721         * math/w_exp10l.c (__exp10l): Likewise.
18722         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18723         errno settings in existing tests.
18724
18725         [BZ #14032]
18726         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18727         precision control set to double precision.
18728         * sysdeps/i386/fpu/w_sqrt.c: New file.
18729         * math/auto-libm-test-in: Add more tests.
18730         * math/auto-libm-test-out: Update.
18731
18732         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18733         (sqrt_test_tonearest): New function.
18734         (sqrt_towardzero_test_data): New variable.
18735         (sqrt_test_towardzero): New function.
18736         (sqrt_downward_test_data): New variable.
18737         (sqrt_test_downward): New function.
18738         (sqrt_upward_test_data): New variable.
18739         (sqrt_test_upward): New function.
18740         (main): Call the new functions.
18741
18742         * math/gen-auto-libm-tests.c: New file.
18743         * math/auto-libm-test-in: Likewise.
18744         * math/auto-libm-test-out: New generated file.
18745         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18746         variables.
18747         (%beautify): Add generated representations of zero.
18748         (top level): Set $auto_input and call parse_auto_input.
18749         (beautify): Remove trailing "f" from hex float constants.
18750         (parse_args): Handle XFAIL_TEST.
18751         (convert_condition): New function.
18752         (or_value): Likewise.
18753         (or_cond_value): Likewise.
18754         (generate_testfile): Handle AUTO_TESTS_* lines.
18755         (parse_auto_input): New function.
18756         * math/libm-test.inc (XFAIL_TEST): New macro.
18757         (ERRNO_UNCHANGED): Update value.
18758         (ERRNO_EDOM): Likewise.
18759         (ERRNO_ERANGE): Likewise.
18760         (IGNORE_RESULT): Likewise.
18761         (TEST_COND_flt_32): New macro.
18762         (TEST_COND_dbl_64): Likewise.
18763         (TEST_COND_ldbl_96_intel): Likewise.
18764         (TEST_COND_ldbl_96_m68k): Likewise.
18765         (TEST_COND_ldbl_128): Likewise.
18766         (TEST_COND_ldbl_128ibm): Likewise.
18767         (TEST_COND_long32): Likewise.
18768         (TEST_COND_long64): Likewise.
18769         (TEST_COND_before_rounding): Likewise.
18770         (TEST_COND_after_rounding): Likewise.
18771         (enable_test): Handle XFAIL_TEST flag.
18772         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18773         with finite results.
18774         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18775         auto-libm-test-out.
18776
18777 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18778             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18779
18780         [BZ #16214]
18781         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18782         __tls_get_addr_internal instead of __tls_get_offset in order to
18783         avoid GOT pointer dependency.  Make rtld export
18784         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18785         __tls_get_addr since we are a __tls_get_offset platform.
18786         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18787         GOT pointer being set up before.
18788         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18789
18790 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
18791
18792         * manual/math.texi (Errors in Math Functions): Document accuracy
18793         goals.
18794
18795         [BZ #15004]
18796         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18797         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18798         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18799         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18800         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18801         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18802         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18803         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18804         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18805         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18806         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18807         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18808         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18809         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18810         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18811         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18812
18813         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18814         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18815         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18816         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18817         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18818         Likewise.
18819         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18820         Likewise.
18821         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18822         Likewise.
18823         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18824         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18825         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18826         atomic-feupdateenv and flt-rounds.
18827         * sysdeps/powerpc/nofpu/Versions (libc): Add
18828         __atomic_feholdexcept, __atomic_feclearexcept,
18829         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18830         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18831         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18832         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18833         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18834         here.
18835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18836         Update.
18837
18838         * manual/arith.texi (FP Exceptions): Document that exceptions may
18839         not be raised when matherr is used.
18840         (Math Error Reporting): Document overflow in directed rounding
18841         modes.  Document that errno may not be set when finite values are
18842         returned on overflow.  Document intent to set errno on underflow
18843         only for underflow to zero.
18844
18845         [BZ #16271]
18846         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18847         round-to-nearest then adjust result for other rounding modes.
18848         * include/fenv.h (fegetround): Use libm_hidden_proto.
18849         * math/fegetround.c (fegetround): Use libm_hidden_def.
18850         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18851         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18852         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18853         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18854         Likewise.
18855         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18856         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18857         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18858         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18859
18860 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18861
18862         [BZ #16077]
18863         * nss/Versions (libnss_files): Add
18864         _nss_files_gethostbyname3_r.
18865         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18866         New function.
18867         (HOST_DB_LOOKUP): Remove macro.
18868         (_nss_files_gethostbyname_r): Implement function without the
18869         HOST_DB_LOOKUP macro.
18870         (_nss_files_gethostbyname2_r): Likewise.
18871
18872 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
18873
18874         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18875
18876 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
18877
18878         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18879         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18880         warning.
18881
18882 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18883
18884         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18885         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18886         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18887         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18888         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18889         __fe_nomask_env_priv and attribute_hidden.
18890         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18891         (libc_feupdateenv_test_ppc): Likewise.
18892         (libc_feresetround_ppc): Likewise.
18893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18894         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18895         compat_symbol macro.
18896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18897         (__fe_nomask_env): Likewise.
18898         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18899
18900 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18901
18902         * string/Makefile: Remove ifunc tests.
18903         * string/test-string.h: Define TEST_IFUNC.
18904         * string/test-bcopy-ifunc.c: Remove.
18905         * string/test-bzero-ifunc.c: Likewise.
18906         * string/test-memccpy-ifunc.c: Likewise.
18907         * string/test-memchr-ifunc.c: Likewise.
18908         * string/test-memcmp-ifunc.c: Likewise.
18909         * string/test-memcpy-ifunc.c: Likewise.
18910         * string/test-memmem-ifunc.c: Likewise.
18911         * string/test-memmove-ifunc.c: Likewise.
18912         * string/test-mempcpy-ifunc.c: Likewise.
18913         * string/test-memrchr-ifunc.c: Likewise.
18914         * string/test-memset-ifunc.c: Likewise.
18915         * string/test-rawmemchr-ifunc.c: Likewise.
18916         * string/test-stpcpy-ifunc.c: Likewise.
18917         * string/test-stpncpy-ifunc.c: Likewise.
18918         * string/test-strcasecmp-ifunc.c: Likewise.
18919         * string/test-strcasestr-ifunc.c: Likewise.
18920         * string/test-strcat-ifunc.c: Likewise.
18921         * string/test-strchr-ifunc.c: Likewise.
18922         * string/test-strchrnul-ifunc.c: Likewise.
18923         * string/test-strcmp-ifunc.c: Likewise.
18924         * string/test-strcpy-ifunc.c: Likewise.
18925         * string/test-strcspn-ifunc.c: Likewise.
18926         * string/test-strlen-ifunc.c: Likewise.
18927         * string/test-strncasecmp-ifunc.c: Likewise.
18928         * string/test-strncat-ifunc.c: Likewise.
18929         * string/test-strncmp-ifunc.c: Likewise.
18930         * string/test-strncpy-ifunc.c: Likewise.
18931         * string/test-strnlen-ifunc.c: Likewise.
18932         * string/test-strpbrk-ifunc.c: Likewise.
18933         * string/test-strrchr-ifunc.c: Likewise.
18934         * string/test-strspn-ifunc.c: Likewise.
18935         * string/test-strstr-ifunc.c: Likewise.
18936
18937 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18938
18939         * benchtests/Makefile: Remove ifunc tests.
18940         * benchtests/bench-string.h: Define TEST_IFUNC.
18941         * benchtests/bench-bcopy-ifunc.c: Remove.
18942         * benchtests/bench-bzero-ifunc.c: Likewise.
18943         * benchtests/bench-memccpy-ifunc.c: Likewise.
18944         * benchtests/bench-memchr-ifunc.c: Likewise.
18945         * benchtests/bench-memcmp-ifunc.c: Likewise.
18946         * benchtests/bench-memcpy-ifunc.c: Likewise.
18947         * benchtests/bench-memmem-ifunc.c: Likewise.
18948         * benchtests/bench-memmove-ifunc.c: Likewise.
18949         * benchtests/bench-mempcpy-ifunc.c: Likewise.
18950         * benchtests/bench-memrchr-ifunc.c: Likewise.
18951         * benchtests/bench-memset-ifunc.c: Likewise.
18952         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18953         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18954         * benchtests/bench-stpcpy-ifunc.c: Likewise.
18955         * benchtests/bench-stpncpy-ifunc.c: Likewise.
18956         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18957         * benchtests/bench-strcasestr-ifunc.c: Likewise.
18958         * benchtests/bench-strcat-ifunc.c: Likewise.
18959         * benchtests/bench-strchr-ifunc.c: Likewise.
18960         * benchtests/bench-strchrnul-ifunc.c: Likewise.
18961         * benchtests/bench-strcmp-ifunc.c: Likewise.
18962         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18963         * benchtests/bench-strcpy-ifunc.c: Likewise.
18964         * benchtests/bench-strcspn-ifunc.c: Likewise.
18965         * benchtests/bench-strlen-ifunc.c: Likewise.
18966         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18967         * benchtests/bench-strncat-ifunc.c: Likewise.
18968         * benchtests/bench-strncmp-ifunc.c: Likewise.
18969         * benchtests/bench-strncpy-ifunc.c: Likewise.
18970         * benchtests/bench-strnlen-ifunc.c: Likewise.
18971         * benchtests/bench-strpbrk-ifunc.c: Likewise.
18972         * benchtests/bench-strrchr-ifunc.c: Likewise.
18973         * benchtests/bench-strsep-ifunc.c: Likewise.
18974         * benchtests/bench-strspn-ifunc.c: Likewise.
18975         * benchtests/bench-strstr-ifunc.c: Likewise.
18976
18977 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18978
18979         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18980
18981 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18982
18983         * resolv/netdb.h: Use __glibc_reserved instead __unused.
18984         * rt/aio.h: Likewise.
18985         * sysdeps/gnu/bits/utmp.h: Likewise.
18986         * sysdeps/gnu/bits/utmpx.h: Likewise.
18987         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18988         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18989         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18990         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18991         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18992         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18993         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18994         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18995         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18996         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18997         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18998         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18999         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19001         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19002         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19003         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19004         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19005         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19006         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19007         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19008         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19009         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19010         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19011         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19012         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19013         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19014         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19015         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19016         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19017         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19018         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19019         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19020         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19021         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19022         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19023         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19024         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19025         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19026         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19027         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19028         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19029
19030 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19031
19032         [BZ #16245]
19033         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19034         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19035
19036 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19037
19038         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19039         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19040         Likewise.
19041
19042 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19043
19044         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19045         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19046         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19047         (__fesetround): Remove define.
19048         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19049         rounding and exceptions handling.
19050         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19051         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19052         (__fe_nomask_env): Likewise.
19053         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19054         __fegetround instead of fegetround.
19055         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19056         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19057
19058 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19059
19060         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19061         it's there.
19062
19063         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19064
19065 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19066
19067         [BZ #11157]
19068         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19069         (encrypt_r): Likewise.
19070         * malloc/obstack.h (obstack_free): Likewise.
19071         * posix/unistd.h (encrypt): Likewise.
19072
19073 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19074
19075         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19076         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19077         DL_CALL_DT_FINI() that call the functions directly.
19078         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19079         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19080         * elf/dl-fini.c: Likewise.
19081
19082 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19083
19084         * malloc/hooks.c (memalign_check): Add alignment rounding.
19085         * malloc/malloc.c (_mid_memalign): New function.
19086         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19087         Implement by calling _mid_memalign.
19088         * manual/probes.texi (Memory Allocation Probes): Remove
19089         memory_valloc_retry and memory_pvalloc_retry.
19090
19091 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19092
19093         * locale/programs/locarchive.c (open_archive): Add const
19094         qualifier to ARCHIVEFNAME and copy default fname to
19095         DEFAULT_FNAME.
19096
19097         [BZ #15601]
19098         * libio/tst-widetext.input: Rename Oriya to Odia.
19099         * locale/iso-639.def: Likewise.
19100
19101         * manual/probes.texi (Mathematical Function Probes): Add
19102         documentation for sin, cos, asin and acos probes.
19103         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19104         (__sin32): Add slowasin probe.
19105         (__cos32): Add slowacos probe.
19106         (__mpsin): Add slowsin probe.
19107         (__mpcos): Add slowcos probe.
19108
19109 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19110
19111         [BZ #15483]
19112         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19113         thread-local __sim_exceptions_thread and global
19114         __sim_exceptions_global.
19115         (__sim_disabled_exceptions): Change to thread-local
19116         __sim_disabled_exceptions_thread and global
19117         __sim_disabled_exceptions_global.
19118         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19119         and global __sim_round_mode_global.
19120         (__simulate_exceptions): Use thread-local floating-point state and
19121         set global state from it as needed.
19122         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19123         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19124         __sim_round_mode_thread.
19125         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19126         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19127         and global __sim_exceptions_global.
19128         (__sim_disabled_exceptions): Change to thread-local
19129         __sim_disabled_exceptions_thread and global
19130         __sim_disabled_exceptions_global.
19131         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19132         and global __sim_round_mode_global.
19133         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19134         (SIM_SET_GLOBAL): Likewise.
19135         * sysdeps/powerpc/soft-fp/sfp-machine.h
19136         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19137         __sim_round_mode_thread.
19138         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19139         __sim_disabled_exceptions_thread.
19140         (__sim_exceptions): Change to __sim_exceptions_thread.
19141         (__sim_disabled_exceptions): Change to
19142         __sim_disabled_exceptions_thread.
19143         (__sim_round_mode): Change to __sim_round_mode_thread.
19144         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19145         thread-local floating-point state and set global state from it as
19146         needed.
19147         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19148         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19149         (__sim_disabled_exceptions): Remove extern declaration.
19150         (feenableexcept): Use thread-local floating-point state and set
19151         global state from it as needed.
19152         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19153         extern declaration.
19154         (__sim_disabled_exceptions): Likewise.
19155         (__sim_round_mode): Likewise.
19156         (__fegetenv): Use thread-local floating-point state.
19157         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19158         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19159         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19160         floating-point state and set global state from it as needed.
19161         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19162         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19163         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19164         Likewise.
19165         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19166         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19167         Likewise.
19168         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19169         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19170         Use __sim_round_mode_thread.
19171         * math/test-fenv-tls.c: New file.
19172         * math/Makefile (tests): Add test-fenv-tls.
19173         ($(objpfx)test-fenv-tls): Depend on
19174         $(common-objpfx)nptl/libpthread.so.
19175
19176 2013-11-19  Andreas Schwab  <schwab@suse.de>
19177
19178         * locale/programs/locale.c (show_info): Decode wordarray elements.
19179         * locale/categories.def (LC_MONETARY): Add element for
19180         _NL_MONETARY_CRNCYSTR.
19181         * locale/C-monetary.c (conversion_rate): New variable.
19182         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19183         element.
19184
19185 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19186
19187         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19188         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19189
19190 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19191
19192         * elf/Makefile (tst-auxv): New test.
19193         * elf/tst-auxv.c: New
19194         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19195
19196 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19197
19198         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19199         (hidden_proto): Caller changed.
19200         (hidden_tls_proto): New macro.
19201         (libc_hidden_tls_proto): Likewise.
19202         (rtld_hidden_tls_proto): Likewise.
19203         (libm_hidden_tls_proto): Likewise.
19204         (libresolv_hidden_tls_proto): Likewise.
19205         (librt_hidden_tls_proto): Likewise.
19206         (libdl_hidden_tls_proto): Likewise.
19207         (libnss_files_hidden_tls_proto): Likewise.
19208         (libnsl_hidden_tls_proto): Likewise.
19209         (libnss_nisplus_hidden_tls_proto): Likewise.
19210         (libutil_hidden_tls_proto): Likewise.
19211
19212 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19213
19214         [BZ #10253]
19215         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19216         (decompose_rpath): Defer expansion to fillin_rpath.
19217         (_dl_init_paths): Pass linkmap to fillin_rpath.
19218
19219 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19220
19221         * benchtests/Makefile: Add strsep.
19222         * benchtests/bench-strsep.c: New file: strsep benchtest.
19223         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19224
19225 2013-11-18  Andreas Schwab  <schwab@suse.de>
19226
19227         * locale/programs/locale.c (show_info) [case byte]: Check for
19228         '\377' instead of '\177'.
19229         * locale/C-monetary.c (not_available): Always use "\377".
19230         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19231         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19232         detect unavailable sign_posn locale elements.
19233         * locale/localeconv.c (__localeconv): For grouping and
19234         mon_grouping handle "\177" and "\377" like no grouping.
19235         (INT_ELEM): New macro.  Use it to set all numeric members.
19236         * locale/programs/ld-monetary.c (monetary_read)
19237         <tok_mon_grouping>: Normalize single -1 to the empty string.
19238         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19239         Likewise.
19240
19241 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19242
19243         [BZ #16055]
19244         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19245         when we match (nil).
19246         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19247
19248 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19249
19250         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19251         (NO_TEST_INLINE): Update value.
19252         (ERRNO_UNCHANGED): Likewise.
19253         (ERRNO_EDOM): Likewise.
19254         (ERRNO_ERANGE): Likewise.
19255         (IGNORE_RESULT): Likewise.
19256         (check_float_internal): Check signs of NaN results if
19257         TEST_NAN_SIGN used.
19258         (check_complex): Pass TEST_NAN_SIGN flag through to second
19259         check_float_internal call.
19260         (copysign_test_data): Add tests with quiet NaNs as second
19261         argument.  Use TEST_NAN_SIGN.
19262         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19263         TEST_NAN_SIGN.
19264         (signbit_test_data): Add tests of quiet NaN argument.
19265         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19266
19267         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19268         $ignore_result.
19269         (parse_args): Handle function results specified as IGNORE.
19270         * math/libm-test.inc (IGNORE_RESULT): New macro.
19271         (check_float_internal): Do not check numerical result if flag
19272         IGNORE_RESULT set.
19273         (check_complex): Pass through IGNORE_RESULT to second
19274         check_float_internal call.
19275         (check_int): Do not check numerical result if flag IGNORE_RESULT
19276         set.
19277         (check_long): Likewise.
19278         (check_bool): Likewise.
19279         (check_longlong): Likewise.
19280         (lrint_test_data): Add tests of infinite and NaN arguments.
19281         (lrint_tonearest_test_data): Likewise.
19282         (lrint_towardzero_test_data): Likewise.
19283         (lrint_downward_test_data): Likewise.
19284         (lrint_upward_test_data): Likewise.
19285         (llrint_test_data): Likewise.
19286         (llrint_tonearest_test_data): Likewise.
19287         (llrint_towardzero_test_data): Likewise.
19288         (llrint_downward_test_data): Likewise.
19289         (llrint_upward_test_data): Likewise.
19290         (lround_test_data): Likewise.
19291         (llround_test_data): Likewise.
19292
19293         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19294         (ERRNO_UNCHANGED): Update value.
19295         (ERRNO_EDOM): Likewise.
19296         (ERRNO_ERANGE): Likewise.
19297         (NO_TEST_INLINE_FLOAT): New macro.
19298         (NO_TEST_INLINE_DOUBLE): Likewise.
19299         (enable_test): New function.
19300         (RUN_TEST_f_f): Check enable_test before running test.
19301         (RUN_TEST_2_f): Likewise.
19302         (RUN_TEST_fff_f): Likewise.
19303         (RUN_TEST_c_f): Likewise.
19304         (RUN_TEST_f_f1): Likewise.
19305         (RUN_TEST_fF_f1): Likewise.
19306         (RUN_TEST_fI_f1): Likewise.
19307         (RUN_TEST_ffI_f1): Likewise.
19308         (RUN_TEST_c_c): Likewise.
19309         (RUN_TEST_cc_c): Likewise.
19310         (RUN_TEST_f_i): Likewise.
19311         (RUN_TEST_f_i_tg): Likewise.
19312         (RUN_TEST_ff_i_tg): Likewise.
19313         (RUN_TEST_f_b): Likewise.
19314         (RUN_TEST_f_b_tg): Likewise.
19315         (RUN_TEST_f_l): Likewise.
19316         (RUN_TEST_f_L): Likewise.
19317         (RUN_TEST_fFF_11): Likewise.
19318         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19319         conditionals.
19320         (cosh_test_data): Likewise.
19321         (exp_test_data): Likewise.
19322         (expm1_test_data): Likewise.
19323         (hypot_test_data): Likewise.
19324         (pow_test_data): Likewise.
19325         (sinh_test_data): Likewise.
19326         (tanh_test_data): Likewise.
19327         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19328         flags argument.
19329
19330         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19331         tests with quiet NaN input and output.
19332         (acosh_test_data): Likewise.
19333         (asin_test_data): Likewise.
19334         (asinh_test_data): Likewise.
19335         (atan_test_data): Likewise.
19336         (atanh_test_data): Likewise.
19337         (atan2_test_data): Likewise.
19338         (cbrt_test_data): Likewise.
19339         (cos_test_data): Likewise.
19340         (cosh_test_data): Likewise.
19341         (erf_test_data): Likewise.
19342         (erfc_test_data): Likewise.
19343         (exp_test_data): Likewise.
19344         (exp10_test_data): Likewise.
19345         (exp2_test_data): Likewise.
19346         (expm1_test_data): Likewise.
19347         (hypot_test_data): Likewise.
19348         (j0_test_data): Likewise.
19349         (j1_test_data): Likewise.
19350         (jn_test_data): Likewise.
19351         (lgamma_test_data): Likewise.
19352         (log_test_data): Likewise.
19353         (log10_test_data): Likewise.
19354         (log1p_test_data): Likewise.
19355         (log2_test_data): Likewise.
19356         (pow_test_data): Likewise.
19357         (scalb_test_data): Likewise.
19358         (sin_test_data): Likewise.
19359         (sincos_test_data): Likewise.
19360         (sinh_test_data): Likewise.
19361         (tan_test_data): Likewise.
19362         (tanh_test_data): Likewise.
19363         (tgamma_test_data): Likewise.
19364         (y0_test_data): Likewise.
19365         (y1_test_data): Likewise.
19366         (yn_test_data): Likewise.
19367
19368         [BZ #16167]
19369         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19370         argument being NaN and avoid computations with second argument in
19371         that case.
19372         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19373         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19374         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19375
19376 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19377
19378         * locale/iso-639.def: Add Chitwani Tharu (the).
19379
19380 2013-11-14  Andreas Schwab  <schwab@suse.de>
19381
19382         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19383         word instead of empty string.
19384
19385 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19386
19387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19388         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19390         (__fe_nomask_env): Likewise.
19391
19392 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19393
19394         * benchtests/bench-timing.h: Include time.h.
19395
19396 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19397
19398         [BZ #15997]
19399         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19400         to 3.4.0 for x32.
19401         * sysdeps/unix/sysv/linux/configure: Regenerated.
19402
19403 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19404
19405         [BZ #16151]
19406         * stdlib/strtod_l.c (round_and_return): Do not consider
19407         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19408         exponent one less than half the least subnormal exponent.
19409         * stdlib/test-strtod-round-data: Add more tests.
19410         * stdlib/tst-strtod-round.c (tests): Regenerated.
19411
19412 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19413
19414         [BZ #14143]
19415         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19416         (__fe_mask_env): Likewise.
19417         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19418         libm_hidden_proto and add function prototype.
19419         (__fe_mask_env): Add function prototype.
19420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19421         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19423         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19425         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19426
19427 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19428
19429         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19430         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19431
19432 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19433
19434         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19435         of htab_find_slot().
19436
19437 2013-11-11  David S. Miller  <davem@davemloft.net>
19438
19439         [BZ #16150]
19440         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19441         symbol in the non-vis3 case in static builds.
19442         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19443         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19444         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19445         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19446
19447 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19448
19449         [BZ #387]
19450         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19451         it is empty.
19452
19453 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19454
19455         * benchtests/Makefile: Add bench-strtod.
19456         * benchtests/bench-strtod.c: New file: strtod benchtest
19457
19458 2013-11-11  Andreas Schwab  <schwab@suse.de>
19459
19460         [BZ #16153]
19461         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19462         terminating NUL in key length.
19463
19464 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19465
19466         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19467         Add artificial ODP entry for vDSO symbol for PPC64.
19468         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19469         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19470
19471 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19472
19473         [BZ #15374]
19474         * nss/getent.c (services_keys): Recognize services starting with digit.
19475
19476 2013-11-06  David S. Miller  <davem@davemloft.net>
19477
19478         [BZ #15985]
19479         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19480         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19481
19482 2013-11-06  Will Newton  <will.newton@linaro.org>
19483
19484         * manual/memory.texi (Malloc Examples): Remove register
19485         keyword from examples.
19486
19487 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19488
19489         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19490
19491 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19492
19493         [BZ #6981]
19494         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19495         depending on [__GCC_IEC_559 > 0].
19496         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19497         depending on [__GCC_IEC_559_COMPLEX > 0].
19498
19499 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19500
19501         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19502         to iso-639.def.
19503
19504 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19505
19506         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19507
19508 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19509
19510         [BZ #16112]
19511         * malloc/malloc (malloc_info): Do not handle first bin as
19512         special case.
19513
19514 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19515
19516         * locale/iso-639.def: Add Central Nahuatl (nhn).
19517
19518 2013-11-01  Bruno Haible  <bruno@clisp.org>
19519
19520         [BZ #7003]
19521         * manual/math.texi (BSD Random): Specify range upper bound as
19522         in POSIX.
19523
19524 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19525
19526         * locale/iso-639.def: Add Meadow Mari (mhr).
19527
19528 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19529
19530         [BZ #14752], [BZ #15763]
19531         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19532         Validate name.
19533         * rt/tst_shm.c: Add test for escaping directory.
19534
19535 2013-10-31  Andreas Schwab  <schwab@suse.de>
19536
19537         [BZ #15917]
19538         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19539         followed by 'x' as part of digit sequence.
19540         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19541
19542 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19543
19544         [BZ #16037]
19545         * configure.ac: allow GNU Make 4.0 and greater.
19546         * configure: Regenerated.
19547
19548 2013-10-30  Will Newton  <will.newton@linaro.org>
19549
19550         [BZ #16038]
19551         * malloc/hooks.c (memalign_check): Limit alignment to the
19552         maximum representable power of two.
19553         * malloc/malloc.c (__libc_memalign): Likewise.
19554         * malloc/tst-memalign.c (do_test): Add test for very
19555         large alignment values.
19556         * malloc/tst-posix_memalign.c (do_test): Likewise.
19557
19558 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19559
19560         [BZ #11087]
19561         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19562         (munmap_chunk): Likewise.
19563         (mremap_chunk): Likewise.
19564
19565 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19566
19567         [BZ #15799]
19568         * stdlib/div.c (div): Remove obsolete code.
19569         * stdlib/ldiv.c (ldiv): Likewise.
19570         * stdlib/lldiv.c (lldiv): Likewise.
19571
19572 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19573
19574         [BZ #16071]
19575         * nss/nss_files/files-XXX.c (get_contents_ret): New
19576         enumerator.
19577         (get_contents): New function.
19578         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19579
19580 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19581
19582         * configure.in: Moved to ...
19583         * configure.ac: ... here. Change reference to configure.in
19584         to configure.ac.
19585         * sysdeps/arm/preconfigure.ac: ... here.
19586         configure.in to configure.ac.
19587         * sysdeps/gnu/configure.in: Moved to ...
19588         * sysdeps/gnu/configure.ac: ... here.
19589         * sysdeps/i386/configure.in: Moved to ...
19590         * sysdeps/i386/configure.ac: ... here.
19591         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19592         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19593         * sysdeps/mach/configure.in: Moved to ...
19594         * sysdeps/mach/configure.ac: ... here.
19595         * sysdeps/mach/hurd/configure.in: Moved to ...
19596         * sysdeps/mach/hurd/configure.ac: ... here.
19597         * sysdeps/powerpc/configure.in: Moved to ...
19598         * sysdeps/powerpc/configure.ac: ... here.
19599         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19600         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19601         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19602         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19603         * sysdeps/s390/s390-32/configure.in: Moved to ...
19604         * sysdeps/s390/s390-32/configure.ac: ... here.
19605         * sysdeps/s390/s390-64/configure.in: Moved to ...
19606         * sysdeps/s390/s390-64/configure.ac: ... here.
19607         * sysdeps/sh/configure.in: Moved to ...
19608         * sysdeps/sh/configure.ac: ... here.
19609         * sysdeps/sparc/configure.in: Moved to ...
19610         * sysdeps/sparc/configure.ac: ... here.
19611         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19612         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19613         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19614         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19615         * sysdeps/x86_64/configure.in: Moved to ...
19616         * sysdeps/x86_64/configure.ac: ... here.
19617         * sysdeps/x86_64/preconfigure.in: Moved to ...
19618         * sysdeps/x86_64/preconfigure.ac: ... here.
19619         * aclocal.m4: Change reference to configure.in to configure.ac.
19620         * config.h.in: Likewise.
19621         * manual/install.texi: Likewise.
19622         * manual/maint.texi: Likewise.
19623         * Makefile: Likewise.
19624         * malloc/Makefile: Likewise.
19625         * nscd/Makefile: Likewise.
19626         * Makeconfig: Change reference to configure.in and
19627         preconfigure.in to configure.ac and preconfigure.ac
19628         respectively.
19629         * INSTALL: Regenerated.
19630         * configure: Likewise.
19631         * sysdeps/gnu/configure: Likewise.
19632         * sysdeps/i386/configure: Likewise.
19633         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19634         * sysdeps/mach/configure: Likewise.
19635         * sysdeps/mach/hurd/configure: Likewise.
19636         * sysdeps/powerpc/configure: Likewise.
19637         * sysdeps/powerpc/powerpc32/configure: Likewise.
19638         * sysdeps/powerpc/powerpc64/configure: Likewise.
19639         * sysdeps/s390/s390-32/configure: Likewise.
19640         * sysdeps/s390/s390-64/configure: Likewise.
19641         * sysdeps/sh/configure: Likewise.
19642         * sysdeps/sparc/configure: Likewise.
19643         * sysdeps/unix/sysv/linux/configure: Likewise.
19644         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19645         * sysdeps/x86_64/configure: Likewise.
19646         * sysdeps/x86_64/preconfigure: Likewise.
19647
19648 2013-10-29  Andreas Schwab  <schwab@suse.de>
19649
19650         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19651
19652 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19653
19654         * benchtests/pow-inputs: Add new inputs.
19655
19656         * benchtests/exp-inputs: Add new inputs.
19657
19658         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19659         conditional check for return value.
19660         (__cos32): Likewise.
19661
19662 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19663
19664         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19665         to provide a boost for large inputs with word alignment.
19666         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19667         implementation based on optimized PPC64 strcpy.
19668         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19669         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19670         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19671         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19672
19673 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19674
19675         [BZ #2801]
19676         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19677
19678 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19679
19680         [BZ #14876]
19681         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19682         * time/tst-strptime.c (day_tests): Add testcase.
19683
19684 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19685
19686         [BZ #14029]
19687         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19688
19689 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19690
19691         [BZ #16074]
19692         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19693         MAP_FAILED on error.
19694
19695 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19696
19697         [BZ #16072]
19698         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19699         heap for large requests.
19700
19701 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19702
19703         [BZ #9954]
19704         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19705         result if the result has no associated interface.
19706         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19707         interface for all 127.X.Y.Z addresses.
19708
19709 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19710
19711         * locale/iso-639.def: Add Ligurian (lij)
19712
19713 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19714
19715         [BZ #15825]
19716         * sunrpc/rpc_main.c: Document rpcgen -5.
19717
19718 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19719
19720         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19721
19722 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19723
19724         [BZ #10278]
19725         * posix/glob.c: Match only directories when trailing slash is present.
19726         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19727         (main): Add testcase.
19728
19729 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19730
19731         [BZ #15670]
19732         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19733
19734 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19735
19736         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19737         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19738         AUTH_DES and cindex for FIPS 140-2.
19739         (DES Encryption): Add cindex FIPS 46-3.
19740
19741         * locale/locarchive.h (struct locarhandle): Add fname.
19742         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19743         if an optional argument was specified to --list-archive,
19744         otherwise NULL.
19745         * locale/programs/locarchive.c (show_archive_content): Take new
19746         argument fname and pass it via ah.fname to open_archive.
19747         * locale/programs/localedef.h: Update decl.
19748         (open_archive): If AH->fname is non-null, open that file
19749         rather than the default file name, and don't ignore ENOENT.
19750         (create_archive): Set AH.fname to NULL.
19751         (delete_locales_from_archive): Likewise.
19752         (add_locales_to_archive): Likewise.
19753         * locale/programs/locfile.c (write_all_categories): Likewise.
19754
19755 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
19756             Aldy Hernandez  <aldyh@redhat.com>
19757
19758         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19759         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19760         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19761         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19762         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19763         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19764         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19765         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19766         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19767         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19768         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19769         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19770         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19771         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19772         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19773         Likewise.
19774         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19775         Likewise.
19776         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19777         Likewise.
19778         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19779         Likewise.
19780         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19781         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19782         Likewise.
19783         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19784         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19785         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19786         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19787         Likewise.
19788         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19789         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19790         * sysdeps/powerpc/preconfigure: Likewise.
19791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19792         Likewise.
19793         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19794         Replace contents of file by #include of <fenv_libc.h>.
19795         * sysdeps/powerpc/soft-fp/sfp-machine.h
19796         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19797         and <sys/prctl.h>.
19798         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19799         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19800         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19801         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19802         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19803         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19804         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19805         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19806         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19807         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19808         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19809         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19811         Allow copysignl PLT reference to be missing.
19812
19813 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
19814             Joseph Myers  <joseph@codesourcery.com
19815
19816         [BZ #15948]
19817         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19818         single character.
19819         (add_to_tablewc): Assert sequence of wide characters is nonempty.
19820
19821 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19822
19823         * elf/tst-tls-dlinfo.c: Don't include tls.h.
19824         * elf/tst-tls1.c: Likewise.
19825         * elf/tst-tls10.h: Likewise.
19826         * elf/tst-tls14.c: Likewise.
19827         * elf/tst-tls2.c: Likewise.
19828         * elf/tst-tls3.c: Likewise.
19829         * elf/tst-tls4.c: Likewise.
19830         * elf/tst-tls5.c: Likewise.
19831         * elf/tst-tls6.c: Likewise.
19832         * elf/tst-tls7.c: Likewise.
19833         * elf/tst-tls8.c: Likewise.
19834         * elf/tst-tls9.c: Likewise.
19835         * elf/tst-tlsmod1.c: Likewise.
19836         * elf/tst-tlsmod13.c: Likewise.
19837         * elf/tst-tlsmod13a.c: Likewise.
19838         * elf/tst-tlsmod14a.c: Likewise.
19839         * elf/tst-tlsmod16a.c: Likewise.
19840         * elf/tst-tlsmod16b.c: Likewise.
19841         * elf/tst-tlsmod2.c: Likewise.
19842         * elf/tst-tlsmod3.c: Likewise.
19843         * elf/tst-tlsmod4.c: Likewise.
19844         * elf/tst-tlsmod5.c: Likewise.
19845         * elf/tst-tlsmod6.c: Likewise.
19846
19847 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
19848
19849         [BZ #12486]
19850         * malloc/malloc.c: remove checks for statistics.
19851
19852 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19853
19854         [BZ #15277]
19855         * inet/inet_net.c (inet_network): Detect additional invalid strings.
19856         * inet/tst-network.c: Add testcase.
19857
19858 2013-10-17  Andreas Schwab  <schwab@suse.de>
19859
19860         [BZ #15218]
19861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19862         to determine canonical name.
19863
19864 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19865
19866         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19867         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19868         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19869         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19870         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19871         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19872         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19873         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19874         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19875         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19876         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19877         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19878         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19879         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19880         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19881         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19882         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19883         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19884         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19885         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19886         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19887         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19888         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19889         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19890         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19891         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19892         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19893         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19894         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19895         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19896         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19897         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19898         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19899         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19900         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19901         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19902         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19903         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19904         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19905         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19906         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19907         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19908         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19909         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19910         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19911         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19912         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19913         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19914         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19915         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19916         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19917         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19918         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19919         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19920         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19921         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19922         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19923         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19924
19925 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
19926
19927         [BZ #16041]
19928         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19929         make result into a quiet NaN.
19930
19931 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
19932
19933         * soft-fp/adddf3.c: Fix horizontal whitespace.
19934         * soft-fp/addsf3.c: Likewise.
19935         * soft-fp/addtf3.c: Likewise.
19936         * soft-fp/divdf3.c: Likewise.
19937         * soft-fp/divsf3.c: Likewise.
19938         * soft-fp/divtf3.c: Likewise.
19939         * soft-fp/double.h: Likewise.
19940         * soft-fp/eqdf2.c: Likewise.
19941         * soft-fp/eqsf2.c: Likewise.
19942         * soft-fp/eqtf2.c: Likewise.
19943         * soft-fp/extenddftf2.c: Likewise.
19944         * soft-fp/extended.h: Likewise.
19945         * soft-fp/extendsfdf2.c: Likewise.
19946         * soft-fp/extendsftf2.c: Likewise.
19947         * soft-fp/extendxftf2.c: Likewise.
19948         * soft-fp/fixdfdi.c: Likewise.
19949         * soft-fp/fixdfsi.c: Likewise.
19950         * soft-fp/fixdfti.c: Likewise.
19951         * soft-fp/fixsfdi.c: Likewise.
19952         * soft-fp/fixsfsi.c: Likewise.
19953         * soft-fp/fixsfti.c: Likewise.
19954         * soft-fp/fixtfdi.c: Likewise.
19955         * soft-fp/fixtfsi.c: Likewise.
19956         * soft-fp/fixtfti.c: Likewise.
19957         * soft-fp/fixunsdfdi.c: Likewise.
19958         * soft-fp/fixunsdfsi.c: Likewise.
19959         * soft-fp/fixunsdfti.c: Likewise.
19960         * soft-fp/fixunssfdi.c: Likewise.
19961         * soft-fp/fixunssfsi.c: Likewise.
19962         * soft-fp/fixunssfti.c: Likewise.
19963         * soft-fp/fixunstfdi.c: Likewise.
19964         * soft-fp/fixunstfsi.c: Likewise.
19965         * soft-fp/fixunstfti.c: Likewise.
19966         * soft-fp/floatdidf.c: Likewise.
19967         * soft-fp/floatdisf.c: Likewise.
19968         * soft-fp/floatditf.c: Likewise.
19969         * soft-fp/floatsidf.c: Likewise.
19970         * soft-fp/floatsisf.c: Likewise.
19971         * soft-fp/floatsitf.c: Likewise.
19972         * soft-fp/floattidf.c: Likewise.
19973         * soft-fp/floattisf.c: Likewise.
19974         * soft-fp/floattitf.c: Likewise.
19975         * soft-fp/floatundidf.c: Likewise.
19976         * soft-fp/floatundisf.c: Likewise.
19977         * soft-fp/floatunditf.c: Likewise.
19978         * soft-fp/floatunsidf.c: Likewise.
19979         * soft-fp/floatunsisf.c: Likewise.
19980         * soft-fp/floatunsitf.c: Likewise.
19981         * soft-fp/floatuntidf.c: Likewise.
19982         * soft-fp/floatuntisf.c: Likewise.
19983         * soft-fp/floatuntitf.c: Likewise.
19984         * soft-fp/fmadf4.c: Likewise.
19985         * soft-fp/fmasf4.c: Likewise.
19986         * soft-fp/fmatf4.c: Likewise.
19987         * soft-fp/gedf2.c: Likewise.
19988         * soft-fp/gesf2.c: Likewise.
19989         * soft-fp/getf2.c: Likewise.
19990         * soft-fp/ledf2.c: Likewise.
19991         * soft-fp/lesf2.c: Likewise.
19992         * soft-fp/letf2.c: Likewise.
19993         * soft-fp/muldf3.c: Likewise.
19994         * soft-fp/mulsf3.c: Likewise.
19995         * soft-fp/multf3.c: Likewise.
19996         * soft-fp/negdf2.c: Likewise.
19997         * soft-fp/negsf2.c: Likewise.
19998         * soft-fp/negtf2.c: Likewise.
19999         * soft-fp/op-1.h: Likewise.
20000         * soft-fp/op-2.h: Likewise.
20001         * soft-fp/op-4.h: Likewise.
20002         * soft-fp/op-8.h: Likewise.
20003         * soft-fp/op-common.h: Likewise.
20004         * soft-fp/quad.h: Likewise.
20005         * soft-fp/single.h: Likewise.
20006         * soft-fp/soft-fp.h: Likewise.
20007         * soft-fp/sqrtdf2.c: Likewise.
20008         * soft-fp/sqrtsf2.c: Likewise.
20009         * soft-fp/sqrttf2.c: Likewise.
20010         * soft-fp/subdf3.c: Likewise.
20011         * soft-fp/subsf3.c: Likewise.
20012         * soft-fp/subtf3.c: Likewise.
20013         * soft-fp/truncdfsf2.c: Likewise.
20014         * soft-fp/trunctfdf2.c: Likewise.
20015         * soft-fp/trunctfsf2.c: Likewise.
20016         * soft-fp/trunctfxf2.c: Likewise.
20017         * soft-fp/unorddf2.c: Likewise.
20018         * soft-fp/unordsf2.c: Likewise.
20019         * soft-fp/unordtf2.c: Likewise.
20020
20021 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20022
20023         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20024         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20025
20026 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20027
20028         * elf/dl-libc.c: Clear initfini list after freeing.
20029
20030 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20031
20032         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20033         * soft-fp/addsf3.c: Likewise.
20034         * soft-fp/addtf3.c: Likewise.
20035         * soft-fp/divdf3.c: Likewise.
20036         * soft-fp/divsf3.c: Likewise.
20037         * soft-fp/divtf3.c: Likewise.
20038         * soft-fp/double.h: Likewise.
20039         * soft-fp/eqdf2.c: Likewise.
20040         * soft-fp/eqsf2.c: Likewise.
20041         * soft-fp/eqtf2.c: Likewise.
20042         * soft-fp/extenddftf2.c: Likewise.
20043         * soft-fp/extended.h: Likewise.
20044         * soft-fp/extendsfdf2.c: Likewise.
20045         * soft-fp/extendsftf2.c: Likewise.
20046         * soft-fp/extendxftf2.c: Likewise.
20047         * soft-fp/fixdfdi.c: Likewise.
20048         * soft-fp/fixdfsi.c: Likewise.
20049         * soft-fp/fixdfti.c: Likewise.
20050         * soft-fp/fixsfdi.c: Likewise.
20051         * soft-fp/fixsfsi.c: Likewise.
20052         * soft-fp/fixsfti.c: Likewise.
20053         * soft-fp/fixtfdi.c: Likewise.
20054         * soft-fp/fixtfsi.c: Likewise.
20055         * soft-fp/fixtfti.c: Likewise.
20056         * soft-fp/fixunsdfdi.c: Likewise.
20057         * soft-fp/fixunsdfsi.c: Likewise.
20058         * soft-fp/fixunsdfti.c: Likewise.
20059         * soft-fp/fixunssfdi.c: Likewise.
20060         * soft-fp/fixunssfsi.c: Likewise.
20061         * soft-fp/fixunssfti.c: Likewise.
20062         * soft-fp/fixunstfdi.c: Likewise.
20063         * soft-fp/fixunstfsi.c: Likewise.
20064         * soft-fp/fixunstfti.c: Likewise.
20065         * soft-fp/floatdidf.c: Likewise.
20066         * soft-fp/floatdisf.c: Likewise.
20067         * soft-fp/floatditf.c: Likewise.
20068         * soft-fp/floatsidf.c: Likewise.
20069         * soft-fp/floatsisf.c: Likewise.
20070         * soft-fp/floatsitf.c: Likewise.
20071         * soft-fp/floattidf.c: Likewise.
20072         * soft-fp/floattisf.c: Likewise.
20073         * soft-fp/floattitf.c: Likewise.
20074         * soft-fp/floatundidf.c: Likewise.
20075         * soft-fp/floatundisf.c: Likewise.
20076         * soft-fp/floatunsidf.c: Likewise.
20077         * soft-fp/floatunsisf.c: Likewise.
20078         * soft-fp/floatuntidf.c: Likewise.
20079         * soft-fp/floatuntisf.c: Likewise.
20080         * soft-fp/floatuntitf.c: Likewise.
20081         * soft-fp/fmadf4.c: Likewise.
20082         * soft-fp/fmasf4.c: Likewise.
20083         * soft-fp/fmatf4.c: Likewise.
20084         * soft-fp/gedf2.c: Likewise.
20085         * soft-fp/gesf2.c: Likewise.
20086         * soft-fp/getf2.c: Likewise.
20087         * soft-fp/ledf2.c: Likewise.
20088         * soft-fp/lesf2.c: Likewise.
20089         * soft-fp/letf2.c: Likewise.
20090         * soft-fp/muldf3.c: Likewise.
20091         * soft-fp/mulsf3.c: Likewise.
20092         * soft-fp/multf3.c: Likewise.
20093         * soft-fp/negdf2.c: Likewise.
20094         * soft-fp/negsf2.c: Likewise.
20095         * soft-fp/negtf2.c: Likewise.
20096         * soft-fp/op-1.h: Likewise.
20097         * soft-fp/op-2.h: Likewise.
20098         * soft-fp/op-4.h: Likewise.
20099         * soft-fp/op-8.h: Likewise.
20100         * soft-fp/op-common.h: Likewise.
20101         * soft-fp/quad.h: Likewise.
20102         * soft-fp/single.h: Likewise.
20103         * soft-fp/soft-fp.h: Likewise.
20104         * soft-fp/sqrtdf2.c: Likewise.
20105         * soft-fp/sqrtsf2.c: Likewise.
20106         * soft-fp/sqrttf2.c: Likewise.
20107         * soft-fp/subdf3.c: Likewise.
20108         * soft-fp/subsf3.c: Likewise.
20109         * soft-fp/subtf3.c: Likewise.
20110         * soft-fp/truncdfsf2.c: Likewise.
20111         * soft-fp/trunctfdf2.c: Likewise.
20112         * soft-fp/trunctfsf2.c: Likewise.
20113         * soft-fp/trunctfxf2.c: Likewise.
20114         * soft-fp/unorddf2.c: Likewise.
20115         * soft-fp/unordsf2.c: Likewise.
20116         * soft-fp/unordtf2.c: Likewise.
20117
20118 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20119
20120         [BZ #15672]
20121         * misc/error.c (error_tail): Fix possible buffer overflow.
20122
20123 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20124
20125         [BZ #13028]
20126         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20127         address.
20128
20129 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20130
20131         [BZ #832]
20132         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20133         testing pipefail option.
20134
20135 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20136
20137         * soft-fp/double.h: Indent preprocessor directives inside #if.
20138         * soft-fp/extended.h: Likewise.
20139         * soft-fp/op-2.h: Likewise.
20140         * soft-fp/op-4.h: Likewise.
20141         * soft-fp/op-common.h: Likewise.
20142         * soft-fp/quad.h: Likewise.
20143         * soft-fp/single.h: Likewise.
20144         * soft-fp/soft-fp.h: Likewise.
20145
20146 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20147
20148         * iconv/iconv_prog.c: Fix typos.
20149         * stdio-common/psiginfo-data.h: Likewise.
20150
20151 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20152
20153         [BZ #15764]
20154         * locale/setlocale.c: Fix typo.
20155
20156 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20157
20158         [BZ #16036]
20159         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20160         signaling NaN arguments.
20161         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20162         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20163
20164         [BZ #14910]
20165         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20166         unordered operands.
20167         * soft-fp/gesf2.c (__gesf2): Likewise.
20168         * soft-fp/getf2.c (__getf2): Likewise.
20169         * soft-fp/ledf2.c (__ledf2): Likewise.
20170         * soft-fp/lesf2.c (__lesf2): Likewise.
20171         * soft-fp/letf2.c (__letf2): Likewise.
20172
20173         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20174         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20175         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20176         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20177         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20178         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20179         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20180         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20181         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20182         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20183         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20184         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20185         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20186         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20187         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20188         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20189         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20190         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20191         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20192         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20193         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20194         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20195         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20196         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20197         * soft-fp/floattidf.c (__floattidf): Likewise.
20198         * soft-fp/floattisf.c (__floattisf): Likewise.
20199         * soft-fp/floattitf.c (__floattitf): Likewise.
20200         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20201         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20202         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20203         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20204         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20205         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20206         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20207         * soft-fp/gesf2.c (__gesf2): Likewise.
20208         * soft-fp/getf2.c (__getf2): Likewise.
20209         * soft-fp/ledf2.c (__ledf2): Likewise.
20210         * soft-fp/lesf2.c (__lesf2): Likewise.
20211         * soft-fp/letf2.c (__letf2): Likewise.
20212
20213         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20214         Undefine and redefine.
20215         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20216         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20217         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20218         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20219         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20220         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20221         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20222         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20223         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20224         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20225         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20226         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20227         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20228         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20229         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20230
20231         [BZ #16032]
20232         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20233         without decrementing exponent if mantissa >= that for the
20234         denominator, not >.
20235         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20236         denominator, not >.  Decrement exponent in < case instead of
20237         incrementing in >= case.
20238         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20239         without decrementing exponent if mantissa >= that for the
20240         denominator, not >.
20241
20242         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20243         computing saturated result for unsigned overflow.
20244
20245 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20246             Jeff Law  <law@redhat.com>
20247
20248         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20249         (atan2Mp): Add systemtap probe marker.
20250         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20251         (__ieee754_log): Add systemtap probe marker.
20252         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20253         (atanMp): Add systemtap probe marker.
20254         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20255         (tanMp): Add systemtap probe marker.
20256         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20257         (__slowexp): Add systemtap probe marker.
20258         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20259         (__slowpow): Add systemtap probe marker.
20260         * manual/probes.texi: Document probes.
20261
20262 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20263
20264         [BZ #15362]
20265         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20266         written.
20267         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20268         written.
20269         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20270         written to buffer but not flushed.
20271         * libio/iofwrite_u.c:  Likewise.
20272         * libio/iopadn.c:  Return bytes returned even if EOF was
20273         encountered.
20274         * libio/iowpadn.c:  Likewise.
20275         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20276         if _IO_padn does not write the whole buffer.
20277         [!COMPILE_WPRINTF] (PAD): Likewise.
20278
20279 2013-10-10  David S. Miller  <davem@davemloft.net>
20280
20281         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20282         directory block.
20283
20284 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20285
20286         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20287         instead of FSF address.
20288         * soft-fp/fixdfti.c: Likewise.
20289         * soft-fp/fixsfti.c: Likewise.
20290         * soft-fp/fixtfti.c: Likewise.
20291         * soft-fp/fixunsdfti.c: Likewise.
20292         * soft-fp/fixunssfti.c: Likewise.
20293         * soft-fp/fixunstfti.c: Likewise.
20294         * soft-fp/floattidf.c: Likewise.
20295         * soft-fp/floattisf.c: Likewise.
20296         * soft-fp/floattitf.c: Likewise.
20297         * soft-fp/floatuntidf.c: Likewise.
20298         * soft-fp/floatuntisf.c: Likewise.
20299         * soft-fp/floatuntitf.c: Likewise.
20300         * soft-fp/trunctfxf2.c: Likewise.
20301
20302         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20303         * soft-fp/fixdfti.c: Likewise.
20304         * soft-fp/fixsfti.c: Likewise.
20305         * soft-fp/fixtfti.c: Likewise.
20306         * soft-fp/fixunsdfti.c: Likewise.
20307         * soft-fp/fixunssfti.c: Likewise.
20308         * soft-fp/fixunstfti.c: Likewise.
20309         * soft-fp/floattidf.c: Likewise.
20310         * soft-fp/floattisf.c: Likewise.
20311         * soft-fp/floattitf.c: Likewise.
20312         * soft-fp/floatuntidf.c: Likewise.
20313         * soft-fp/floatuntisf.c: Likewise.
20314         * soft-fp/floatuntitf.c: Likewise.
20315         * soft-fp/trunctfxf2.c: Likewise.
20316
20317 2013-10-10  David S. Miller  <davem@davemloft.net>
20318
20319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20320
20321 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20322
20323         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20324         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20325         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20326         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20327         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20328         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20329         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20330
20331         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20332         for NaNs before doing comparisons on argument.
20333         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20334         Likewise.
20335
20336 2013-10-10  Will Newton  <will.newton@linaro.org>
20337
20338         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20339         passed to _int_memalign does not overflow.
20340
20341 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20342
20343         * scripts/bench.pl: Add include-sources directive.
20344         * benchtests/README: Update documentation.
20345
20346 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20347
20348         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20349         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20350         instead of FP_INIT_ROUNDMODE.
20351         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20352         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20353
20354         [BZ #16034]
20355         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20356         copy class of input value.
20357         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20358         not handle exceptions.
20359         * soft-fp/negsf2.c (__negsf2): Likewise.
20360         * soft-fp/negtf2.c (__negtf2): Likewise.
20361         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20362
20363 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20364
20365         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20366         semicolon.  From Linux kernel.
20367
20368 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20369
20370         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20371
20372 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20373
20374         [BZ #156]
20375         * manual/socket.texi: Added statement about buffer
20376         for gethostbyname2_r.
20377
20378 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20379
20380         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20381         Use .p2align directive instead, throughout.
20382         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20383         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20384         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20385         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20386         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20387         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20388         * sysdeps/x86_64/strchr.S: Likewise.
20389         * sysdeps/x86_64/strrchr.S: Likewise.
20390
20391 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20392
20393         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20394
20395         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20396
20397         * sysdeps/generic/math_private.h (__mpsin1): Remove
20398         declaration.
20399         (__mpcos1): Likewise.
20400         (__mpsin): New argument __range_reduce.
20401         (__mpcos): Likewise.
20402         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20403         (slow): Use __mpsin and __mpcos.
20404         (slow1): Likewise.
20405         (slow2): Likewise.
20406         (sloww): Likewise.
20407         (sloww1): Likewise.
20408         (sloww2): Likewise.
20409         (bsloww): Likewise.
20410         (bsloww1): Likewise.
20411         (bsloww2): Likewise.
20412         (cslow2): Likewise.
20413         (csloww): Likewise.
20414         (csloww1): Likewise.
20415         (csloww2): Likewise.
20416         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20417         range_reduce.  Merge in __mpsin1.
20418         (__mpcos): Likewise.
20419         (__mpsin1): Remove.
20420         (__mpcos1): Likewise.
20421
20422 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20423
20424         * locale/loadlocale.c (_nl_intern_locale_data): Use
20425         LOCFILE_ALIGNED_P.
20426         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20427         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20428         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20429         obstack data is appropriately aligned.
20430         (obstack_int32_grow_fast): Likewise.
20431         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20432         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20433         (add_locale_uint32_array): Likewise.
20434
20435 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20436
20437         * benchtests/Makefile: Remove ARGLIST and RET variables.
20438         ($(objpfx)bench-%.c): Pass only function name to the script.
20439         * benchtests/README: Update documentation.
20440         * benchtests/acos-inputs: Add new directives.
20441         * benchtests/acosh-inputs: Likewise.
20442         * benchtests/asin-inputs: Likewise.
20443         * benchtests/asinh-inputs: Likewise.
20444         * benchtests/atan-inputs: Likewise.
20445         * benchtests/atanh-inputs: Likewise.
20446         * benchtests/cos-inputs: Likewise.
20447         * benchtests/cosh-inputs: Likewise.
20448         * benchtests/exp-inputs: Likewise.
20449         * benchtests/log-inputs: Likewise.
20450         * benchtests/pow-inputs: Likewise.
20451         * benchtests/rint-inputs: Likewise.
20452         * benchtests/sin-inputs: Likewise.
20453         * benchtests/sinh-inputs: Likewise.
20454         * benchtests/tan-inputs: Likewise.
20455         * benchtests/tanh-inputs: Likewise.
20456         * scripts/bench.pl: Add support for new directives.
20457
20458 2013-10-07  Alan Modra  <amodra@gmail.com>
20459
20460         * README: Fix careless merge.
20461
20462 2013-10-05  Alan Modra  <amodra@gmail.com>
20463
20464         * NEWS: Mention powerpc64le support and bugs fixed.
20465         * README: Both big-endian and little-endian powerpc64 supported.
20466
20467 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20468
20469         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20470         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20471         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20472         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20473
20474 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20475
20476         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20477         match prototype.
20478
20479 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20480
20481         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20482         Move -mhard-float appending from
20483         ports/sysdeps/powerpc/powerpc32/Makefile.
20484         [$(with-fp) = yes] (ASFLAGS): Likewise.
20485         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20486         * sysdeps/powerpc/nofpu: Move directory from
20487         ports/sysdeps/powerpc/nofpu.
20488         * sysdeps/powerpc/soft-fp: Move directory from
20489         ports/sysdeps/powerpc/soft-fp.
20490         * sysdeps/powerpc/powerpc32/405: Move directory from
20491         ports/sysdeps/powerpc/powerpc32/405.
20492         * sysdeps/powerpc/powerpc32/440: Move directory from
20493         ports/sysdeps/powerpc/powerpc32/440.
20494         * sysdeps/powerpc/powerpc32/464: Move directory from
20495         ports/sysdeps/powerpc/powerpc32/464.
20496         * sysdeps/powerpc/powerpc32/476: Move directory from
20497         ports/sysdeps/powerpc/powerpc32/476.
20498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20499         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20501         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20503         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20505         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20507         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20508         * README: Update for powerpc-*-linux-gnu software floating point
20509         support in libc.
20510
20511         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20512         case to powerpc/powerpc32*.
20513         * sysdeps/unix/sysv/linux/configure: Regenerated.
20514
20515         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20516         (_FPU_MASK_OM): Define as 0x04.
20517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20519         0x00c10080.
20520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20521         0x0000003c.
20522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20523
20524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20525         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20526         getcontext_e500.
20527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20528         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20529         setcontext_e500.
20530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20531         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20532         and setcontext_e500.
20533
20534 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20535
20536         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20537
20538 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20539
20540         * manual/threads.texi (Default Thread Attributes): Fix typo.
20541
20542 2013-10-04  Will Newton  <will.newton@linaro.org>
20543
20544         * malloc/Makefile: Add tst-memalign.
20545         * malloc/tst-memalign.c: New file.
20546
20547         * malloc/tst-posix_memalign.c: Add comments.
20548         (do_test): Add comments and call free on all potentially
20549         allocated pointers. Add space after cast.
20550
20551         * malloc/tst-pvalloc.c: Add comments.
20552         (do_test): Add comments and call free on all potentially
20553         allocated pointers. Remove duplicate check for NULL pointer.
20554         Add space after cast.
20555
20556         * malloc/tst-valloc.c: Add comments.
20557         (do_test): Add comments and call free on all potentially
20558         allocated pointers. Remove duplicate check for NULL pointer.
20559         Add space after cast.
20560
20561 2013-10-04  Alan Modra  <amodra@gmail.com>
20562
20563         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20564         Use stdint types in rather than __attribute__((mode())).
20565         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20566
20567 2013-10-04  Alan Modra  <amodra@gmail.com>
20568
20569         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20570         Correct handling of unaligned relocs for little-endian.
20571         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20572
20573 2013-10-04  Alan Modra  <amodra@gmail.com>
20574
20575         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20576         * configure: Regenerate.
20577         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20578         * shlib-versions: Likewise.
20579
20580 2013-10-04  Alan Modra  <amodra@gmail.com>
20581
20582         * string/tester.c (test_memrchr): Increment reported test cycle.
20583
20584 2013-10-04  Alan Modra  <amodra@gmail.com>
20585
20586         * string/test-memcpy.c (do_one_test): When reporting errors, print
20587         string address and don't overrun end of string.
20588
20589 2013-10-04  Alan Modra  <amodra@gmail.com>
20590
20591         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20592         insrdi.  Make better use of reg selection to speed exit slightly.
20593         Schedule entry path a little better.  Remove useless "are we done"
20594         checks on entry to main loop.  Handle wrapping around zero address.
20595         Correct main loop count.  Handle single left-over word from main
20596         loop inline rather than by using loop_small.  Remove extra word
20597         case in loop_small caused by wrong loop count.  Add little-endian
20598         support.
20599         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20600         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20601         cache hint.
20602         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20603         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20604         support.  Avoid rlwimi.
20605         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20606
20607 2013-10-04  Alan Modra  <amodra@gmail.com>
20608
20609         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20610         insrdi.  Formatting.
20611         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20612         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20613         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20614         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20615         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20616         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20617
20618 2013-10-04  Alan Modra  <amodra@gmail.com>
20619
20620         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20621         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20622         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20623         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20624         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20625         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20626         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20627         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20628         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20629         use of regs.  Use power7 mtocrf.  Tidy function tails.
20630
20631 2013-10-04  Alan Modra  <amodra@gmail.com>
20632
20633         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20634         Formatting.  Consistently use rXXX register defines or rN defines.
20635         Use early exit labels that avoid restoring unused non-volatile regs.
20636         Make cr field use more consistent with rWORDn compares.  Rename
20637         regs used as shift registers for unaligned loop, using rN defines
20638         for short lifetime/multiple use regs.
20639         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20640         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20641         addi 1,1,64 to pop stack frame.  Simplify return value code.
20642         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20643
20644 2013-10-04  Alan Modra  <amodra@gmail.com>
20645
20646         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20647         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20648         rather than rlwimi.
20649         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20650         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20651         little-endian support.  Correct typos.
20652         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20653         rather than rlwimi.
20654         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20655         in loop and entry code to keep "and." results.
20656         (strchr): Add little-endian support.  Comment.  Move cntlzd
20657         earlier in tail.
20658         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20659
20660 2013-10-04  Alan Modra  <amodra@gmail.com>
20661
20662         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20663         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20664         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20665         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20666
20667 2013-10-04  Alan Modra  <amodra@gmail.com>
20668
20669         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20670         (rTMP): Define as r11.
20671         (strcmp): Add little-endian support.  Optimise tail.
20672         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20673         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20674         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20675         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20676         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20677         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20678         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20679
20680 2013-10-04  Alan Modra  <amodra@gmail.com>
20681
20682         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20683         little-endian support.  Remove unnecessary "are we done" tests.
20684         Handle "s" wrapping around zero and extremely large "size".
20685         Correct main loop count.  Handle single left-over word from main
20686         loop inline rather than by using small_loop.  Correct comments.
20687         Delete "zero" tail, use "end_max" instead.
20688         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20689
20690 2013-10-04  Alan Modra  <amodra@gmail.com>
20691
20692         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20693         support.  Don't branch over align.
20694         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20695         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20696         support.  Rearrange tmp reg use to suit.  Comment.
20697         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20698
20699 2013-10-04  Alan Modra  <amodra@gmail.com>
20700
20701         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20702
20703 2013-10-04  Alan Modra  <amodra@gmail.com>
20704
20705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20706         conditional form of branch and link when obtaining pc.
20707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20708
20709 2013-10-04  Alan Modra  <amodra@gmail.com>
20710
20711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20712         HIWORD/LOWORD.
20713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20715
20716 2013-10-04  Alan Modra  <amodra@gmail.com>
20717
20718         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20719         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20720         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20721         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20722         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20723         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20724         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20725         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20726         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20727         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20728
20729 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20730             Alistair Popple <alistair@ozlabs.au.ibm.com>
20731             Alan Modra <amodra@gmail.com>
20732
20733         [BZ #15723]
20734         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20735         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20736         _dl_hwcap access for little-endian.
20737         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20738         destroy vmx regs when saving unaligned.
20739         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20740         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20741         destroy vmx regs when saving unaligned.
20742
20743 2013-10-04  Alan Modra  <amodra@gmail.com>
20744
20745         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20746         Don't use a union to pack hi/low value.
20747
20748 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20749
20750         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20751         for little-endian.
20752         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20753         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20754         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20755         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20756         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20757
20758 2013-10-04  Alan Modra  <amodra@gmail.com>
20759
20760         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20761         constants to usual value for .cst8 section, and remove redundant
20762         high address load.
20763         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20764         constant for 0x1p52.  Load little-endian words of double from
20765         correct stack offsets.
20766
20767 2013-10-04  Alan Modra  <amodra@gmail.com>
20768
20769         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20770         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20771         words of double from correct stack offsets.
20772         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20773         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20774         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20775         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20776         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20777         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20778         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20779         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20780         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20781         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20782         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20783         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20784         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20785         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20786         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20787         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20788         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20789
20790 2013-10-04  Alan Modra  <amodra@gmail.com>
20791
20792         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20793         64-bit int/double union.
20794         (_FPU_SETCW): Likewise.
20795         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20796         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20797
20798 2013-10-04  Alan Modra  <amodra@gmail.com>
20799
20800         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20801         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20802
20803 2013-10-04  Alan Modra  <amodra@gmail.com>
20804
20805         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20806         use vector int constants.
20807         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20808
20809 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20810
20811         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20812         array with long long.
20813         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20814         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20815         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20816         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20817         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20818         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20819         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20820         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20821         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20822         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20823         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20824         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20825         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20826
20827 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20828
20829         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20830         (__signbit): Likewise.  Correct for little-endian.
20831         (__signbitl): Call __signbit.
20832         (lrint): Correct for little-endian.
20833         (lrintf): Call lrint.
20834
20835 2013-10-04  Alan Modra  <amodra@gmail.com>
20836
20837         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20838         union 32-bit int array member with 64-bit int array.
20839         (t515, tm256): Double rather than long double.
20840         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20841
20842 2013-10-04  Alan Modra  <amodra@gmail.com>
20843
20844         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20845         Delete.
20846         (IEEE854_LONG_DOUBLE_BIAS): Delete.
20847         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20848         version of math_ldbl.h.
20849
20850 2013-10-04  Alan Modra  <amodra@gmail.com>
20851
20852         [BZ #15734], [BZ #15735]
20853         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20854         all uses of ieee875 long double macros and unions.  Simplify test
20855         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
20856         ldbl_extract_mantissa value for ix,iy exponents.  Properly
20857         normalize after ldbl_extract_mantissa, and don't add hidden bit
20858         already handled.  Don't treat low word of ieee854 mantissa like
20859         low word of IBM long double and mask off bit when testing for
20860         zero.
20861         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20862         all uses of ieee875 long double macros and unions.  Simplify tests
20863         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
20864         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
20865         two1022, instead use their values.  Recognise that tests for large
20866         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
20867         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20868         Rewrite all uses of ieee875 long double macros and unions.  Simplify
20869         test for 0.0L and nan.  Correct negation.
20870         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20871         ieee875 long double macros and unions.  Correct output for large
20872         magnitude x.  Correct absolute value calculation.
20873         (__erfcl): Likewise.
20874         * math/libm-test.inc: Add tests for errors discovered in IBM long
20875         double versions of fmodl, remainderl, erfl and erfcl.
20876
20877 2013-10-04  Alan Modra  <amodra@gmail.com>
20878
20879         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20880         all uses of ieee854 long double macros and unions.  Simplify tests
20881         for long doubles that are fully specified by the high double.
20882         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20883         Likewise.
20884         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20885         Remove dead code too.
20886         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20887         (__ieee754_ynl): Likewise.
20888         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20889         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20890         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20891         Remove dead code too.
20892         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20893         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20894         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20895         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20896         Simplify.
20897         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20898         Simplify.
20899         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20900         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20901         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20902         Comment on variable precision.
20903         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20904         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20905         Likewise.
20906         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20907         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20908         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20909         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20910         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20911
20912 2013-10-04  Alan Modra  <amodra@gmail.com>
20913
20914         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20915         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20916         all uses of ieee854 long double macros and unions.
20917         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20918         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20919         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20920         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20921         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20922         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20923         Likewise.
20924         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20925         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20926         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20927         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20928         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20929         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20930         Simplify sign and nan test too.
20931         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20932         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20933         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20934         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20935         Likewise.
20936         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20937         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20938         Likewise.
20939         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20940         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20941         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20942         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20943         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20944         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20945
20946 2013-10-04  Alan Modra  <amodra@gmail.com>
20947
20948         * stdio-common/printf_size.c (__printf_size): Don't use
20949         union ieee854_long_double in fpnum union.
20950         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
20951         signbit macro to retrieve sign from long double.
20952         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20953         retrieve sign from long double.
20954         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20955         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20956         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20957         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20958         * math/test-misc.c (main): Don't use union ieee854_long_double.
20959
20960 2013-10-04  Alan Modra  <amodra@gmail.com>
20961
20962         [BZ #15680]
20963         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20964         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20965         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20966         calculation.  Remove unnecessary test for denormal exponent.
20967         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20968         Correct handling of denormals.  Avoid undefined shift behaviour.
20969         Correct normalisation of low mantissa when low double is denormal.
20970         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20971         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
20972         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20973         Correct normalisation of low mantissa.  Test for overflow of high
20974         mantissa and normalise.
20975         (ldbl_nearbyint): Use more readable constant for two52.
20976         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20977         (__mpn_construct_long_double): Fix test for overflow of high
20978         mantissa and correct normalisation.  Avoid undefined shift.
20979
20980 2013-10-04  Alan Modra  <amodra@gmail.com>
20981
20982         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20983         (union ibm_extended_long_double): Define as an array of ieee754_double.
20984         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20985         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20986         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20987         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20988         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20989         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20990         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20991         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20992         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20993         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20994         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20995
20996 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
20997
20998         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20999         page size instead of calling getpagesize.
21000
21001         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21002         (LOCFILE_ALIGN_MASK): Likewise.
21003         (LOCFILE_ALIGN_UP): Likewise.
21004         (LOCFILE_ALIGNED_P): Likewise.
21005         * locale/programs/ld-collate.c (collate_output): Use the new
21006         macros instead of __alignof__ (int32_t).
21007         * locale/weight.h (findidx): Likewise.
21008
21009 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21010
21011         [BZ #431]
21012         * manual/string.texi: Fix strncat and wcsncat.
21013
21014 2013-10-03  Brooks Moses  <bmoses@google.com>
21015
21016         [BZ #15915]
21017         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21018         * Makerules: ...here, and adjust associated comments.
21019
21020 2013-10-02  Will Newton  <will.newton@linaro.org>
21021
21022         * malloc/Makefile: Add tst-pvalloc.
21023         * malloc/tst-pvalloc.c: New file.
21024
21025 2013-10-02  Will Newton  <will.newton@linaro.org>
21026
21027         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21028         improve test coverage.
21029
21030 2013-10-02  Will Newton  <will.newton@linaro.org>
21031
21032         * malloc/Makefile: Add tst-posix_memalign.
21033         * malloc/tst-posix_memalign.c: New file.
21034
21035 2013-10-01  Eric Blake  <eblake@redhat.com>
21036
21037         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21038         Use __THROWNL rather than __THROW on static functions.
21039
21040 2013-09-30  Petr Machata  <pmachata@redhat.com>
21041
21042         * elf/elf.h (R_AARCH64_ABS16): New macro.
21043         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21044         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21045         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21046         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21047         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21048         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21049         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21050         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21051         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21052         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21053         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21054         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21055         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21056         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21057         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21058         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21059         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21060         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21061         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21062         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21063         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21064         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21065         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21066         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21067         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21068         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21069         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21070         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21071         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21072         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21073         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21074         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21075         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21076         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21077         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21078         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21079         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21080         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21081         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21082         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21083         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21084         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21085         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21086         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21087         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21088         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21089         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21090         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21091         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21092         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21093         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21094         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21095         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21096         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21097         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21098         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21099         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21100         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21101         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21102         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21103         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21104         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21105         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21106         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21107         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21108         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21109         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21110         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21111         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21112         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21113         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21114         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21115         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21116         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21117         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21118         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21119         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21120         (R_AARCH64_TLSDESC_LDR): Likewise.
21121         (R_AARCH64_TLSDESC_ADD): Likewise.
21122         (R_AARCH64_TLSDESC_CALL): Likewise.
21123
21124 2013-09-30  Andreas Schwab  <schwab@suse.de>
21125
21126         [BZ #15048]
21127         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21128         the nss database lookup.
21129         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21131
21132 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21133
21134         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21135
21136 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21137
21138         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21139         ${Bash-specific parameter/pattern/string} parameter expansion.
21140         * sysdeps/unix/make-syscalls.sh: Likewise.
21141
21142 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21143
21144         * sysdeps/sh/stackguard-macros.h: New file.
21145
21146 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21147
21148         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21149         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21150         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21151         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21152         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21153         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21154
21155 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21156
21157         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21158         Fix thread ID register.
21159
21160 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21161
21162         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21163         [POSIX || UNIX98]: Require rather than permitting all symbols from
21164         <time.h>.
21165         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21166         element of struct sched_param.
21167         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21168         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21169         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21170         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21171         constant.
21172
21173 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21174
21175         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21176         argument calculation.
21177
21178 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21179
21180         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21181         Expect macro.
21182         [POSIX] (pthread_attr_t): Do not require type.
21183         [POSIX] (pthread_cond_t): Likewise.
21184         [POSIX] (pthread_condattr_t): Likewise.
21185         [POSIX] (pthread_key_t): Likewise.
21186         [POSIX] (pthread_mutex_t): Likewise.
21187         [POSIX] (pthread_mutexattr_t): Likewise.
21188         [POSIX] (pthread_once_t): Likewise.
21189         [POSIX] (pthread_t): Likewise.
21190         [POSIX-based standards] (pthread_atfork): Expect function.
21191
21192 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21193             Richard Sandiford  <richard@codesourcery.com>
21194
21195         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21196         (swap_endianness_p): New extern variable.
21197         (set_big_endian): New inline function.
21198         (maybe_swap_uint32): Likewise.
21199         (maybe_swap_uint32_array): Likewise.
21200         (maybe_swap_uint32_obstack): Likewise.
21201         * locale/programs/locfile.c: Include <stdbool.h>.
21202         (swap_endianness_p): New variable.
21203         (add_locale_uint32): Call maybe_swap_uint32.
21204         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21205         (write_locale_data): Call maybe_swap_uint32_array.
21206         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21207         maybe_swap_uint32.
21208         (obstack_int32_grow_fast): Likewise.
21209         (output_weightwc): Call maybe_swap_uint32_obstack.
21210         (collate_output): Likewise.
21211         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21212         (OPT_LITTLE_ENDIAN): Likewise.
21213         (options): Add --little-endian and --big-endian options.
21214         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21215         * locale/programs/locarchive.c: Include "locfile.h".
21216         (GET): New macro.
21217         (SET): Likewise.
21218         (INC): Likewise.
21219         (create_archive): Use the new macros to access fields of
21220         structures directly mapped from or written to locale archives.
21221         (oldlocrecentcmp): Likewise.
21222         (enlarge_archive): Likewise.
21223         (insert_name): Likewise.
21224         (add_alias): Likewise.
21225         (add_locale): Likewise.
21226         (delete_locales_from_archive): Likewise.
21227         (show_archive_content): Likewise.
21228         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21229         locale data.
21230
21231 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21232
21233         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21234         http://www.gnu.org/doc/freemanuals.texi.
21235         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21236
21237 2013-09-24  Will Newton  <will.newton@linaro.org>
21238
21239         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21240         macro.
21241
21242 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21243
21244         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21245         unsigned char.
21246
21247 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21248
21249         * manual/threads.texi (POSIX Threads): Fix a typo.
21250
21251 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21252
21253         [BZ #14547]
21254         * string/tst-strcoll-overflow.c: New test case.
21255         * string/Makefile (xtests): Add tst-strcoll-overflow.
21256         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21257         cache if string sizes may cause integer overflow.
21258
21259         [BZ #14547]
21260         * string/strcoll_l.c (coll_seq): New members rule, idx,
21261         save_idx and back_us.
21262         (get_next_seq_nocache): New function.
21263         (do_compare_nocache): New function.
21264         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21265         when malloc fails.
21266
21267 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21268
21269         [BZ #15754]
21270         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21271         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21272         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21273
21274         [BZ #15754]
21275         * elf/Makefile (tests): Add tst-ptrguard1.
21276         (tests-static): Add tst-ptrguard1-static.
21277         (tst-ptrguard1-ARGS): Define.
21278         (tst-ptrguard1-static-ARGS): Define.
21279         * elf/tst-ptrguard1.c: New file.
21280         * elf/tst-ptrguard1-static.c: New file.
21281         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21282         * sysdeps/i386/stackguard-macros.h: Likewise.
21283         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21284         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21285         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21286         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21287         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21288         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21289
21290 2013-09-23  Hector Marco  <hecmargi@upv.es>
21291             Ismael Ripoll  <iripoll@disca.upv.es>
21292             Carlos O'Donell  <carlos@redhat.com>
21293
21294         [BZ #15754]
21295         * sysdeps/generic/stackguard-macros.h: Define
21296         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21297         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21298         Define __pointer_chk_guard_local.
21299         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21300         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21301
21302 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21303
21304         [BZ #15859]
21305         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21306
21307 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21308
21309         * include/string.h (__ffs): Declare as hidden.
21310         * string/ffs.c (__ffs): Define as hidden.
21311         * sysdeps/i386/ffs.c (__ffs): Likewise.
21312         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21313         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21314         * sysdeps/s390/ffs.c (__ffs): Likewise.
21315         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21316
21317 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21318
21319         * NEWS: Mention malloc probes.
21320
21321         * malloc/arena.c (new_heap): New memory_heap_new probe.
21322         (grow_heap): New memory_heap_more probe.
21323         (shrink_heap): New memory_heap_less probe.
21324         (heap_trim): New memory_heap_free probe.
21325         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21326         (systrim): New memory_sbrk_less probe.
21327         * manual/probes.texi: Document them.
21328
21329         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21330         * manual/probes.texi: Document it.
21331
21332         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21333         (__libc_realloc): Add memory_realloc_retry probe.
21334         (__libc_memalign): Add memory_memalign_retry probe.
21335         (__libc_valloc): Add memory_valloc_retry probe.
21336         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21337         (__libc_calloc): Add memory_calloc_retry probe.
21338         * manual/probes.texi: Document them.
21339
21340         * malloc/arena.c (get_free_list): Add probe
21341         memory_arena_reuse_free_list.
21342         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21343         and memory_arena_reuse.
21344         (arena_get2) [!PER_THREAD]: Likewise.
21345         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21346         memory_arena_reuse_realloc.
21347         * manual/probes.texi: Document them.
21348
21349         * malloc/malloc.c (__libc_free): Add
21350         memory_mallopt_free_dyn_thresholds probe.
21351         (__libc_mallopt): Add multiple memory_mallopt probes.
21352         * manual/probes.texi: Document them.
21353
21354         * malloc/malloc.c: Include stap-probe.h.
21355         (__libc_mallopt): Add memory_mallopt probe.
21356         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21357         * manual/probes.texi: New.
21358         * manual/Makefile (chapters): Add probes.
21359         * manual/threads.texi: Set next node.
21360
21361 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21362
21363         [BZ #15963, #13985]
21364         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21365         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21366         Add `Chinese' to `nan' entry name.
21367
21368 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21369
21370         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21371         (POLYNOMIAL): Likewise.
21372         (TAYLOR_SINCOS): Likewise.
21373         (TAYLOR_SLOW): Likewise.
21374         (__sin): Use TAYLOR_SINCOS.
21375         (__cos): Likewise.
21376         (slow): Use TAYLOR_SLOW.
21377         (sloww): Likewise.
21378         (bsloww): Likewise.
21379         (csloww): Likewise.
21380
21381 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21382
21383         * stdlib/strtod_l.c: Fix buffer overrun.
21384
21385 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21386
21387         * benchtests/Makefile (bench): Add sincos.
21388         * benchtests/bench-sincos.c: New file.
21389
21390         * math/libm-test.inc (cos_test_data): New test inputs.
21391         (sin_test_data): Likewise.
21392
21393         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21394         macro.
21395         (__sin): Use it.
21396         (__cos): Likewise.
21397         (slow1): Likewise.
21398         (slow2): Likewise.
21399         (sloww1): Likewise.
21400         (sloww2): Likewise.
21401         (bsloww1): Likewise.
21402         (bsloww2): Likewise.
21403         (cslow2): Likewise.
21404         (csloww1): Likewise.
21405         (csloww2): Likewise.
21406
21407         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21408         function.
21409         (__sin): Use it.
21410         (__cos): Likewise.
21411
21412         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21413         gotos.
21414         (__cos): Likewise.
21415
21416 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21417
21418         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21419         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21420         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21421         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21422         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21423         * elf/cache.c (print_entry): Handle the new cache flags.
21424
21425 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21426             Aldy Hernandez  <aldyh@redhat.com>
21427
21428         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21429         Change condition to [_SOFT_FLOAT].
21430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21431         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21432         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21433         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21434         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21435         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21437         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21439         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21440         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21441         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21442         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21443         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21444         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21445         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21446         declaration.
21447
21448 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21449
21450         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21451         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21452         (__longjmp): Use LOAD_GP to load saved GPRs.
21453         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21454         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21455         (__sigsetjmp): Use SAVE_GP to save GPRs.
21456
21457         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21458         Do not append -msoft-float.
21459         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21460
21461 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21462
21463         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21464
21465 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21466
21467         [BZ #15966]
21468         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21469         (_FPU_GETCW): Use initial "__" on variable and field names but not
21470         on macro parameter name.
21471         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21472         parentheses around reference to macro parameter.
21473
21474 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21475
21476         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21477         prototype.
21478         (ctype_startup): Use uint32_t in cast and sizeof for
21479         ctype->charnames.
21480
21481 2013-09-11  Jia Liu  <proljc@gmail.com>
21482
21483         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21484         __daddr_t_defined.
21485         [__FreeBSD__]: Likewise.
21486
21487 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21488
21489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21490         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21491         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21492         (strchr): Remove __strchr_sse42 ifunc selection.
21493         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21494         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21495
21496 2013-09-11  Will Newton  <will.newton@linaro.org>
21497
21498         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21499         parameter to RES. Remove hardcoded 1000 value.
21500         * benchtests/bench-skeleton.c (main): Pass RES parameter
21501         to TIMING_INIT and multiply result by 1000.
21502
21503 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21504
21505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21506
21507 2013-09-11  Andreas Schwab  <schwab@suse.de>
21508
21509         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21510         if not defined.
21511         (O_TMPFILE) [__USE_GNU]: Define.
21512         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21513         Define.
21514
21515 2013-09-11  Will Newton  <will.newton@linaro.org>
21516
21517         [BZ #15857]
21518         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21519         does not overflow.
21520
21521 2013-09-11  Will Newton  <will.newton@linaro.org>
21522
21523         [BZ #15856]
21524         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21525         does not overflow.
21526
21527 2013-09-11  Will Newton  <will.newton@linaro.org>
21528
21529         [BZ #15855]
21530         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21531         does not overflow.
21532
21533 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21534
21535         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21536         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21537         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21538         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21539         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21540
21541 2013-09-10  Allan McRae  <allan@archlinux.org>
21542
21543         [BZ #15748]
21544         * manual/arith.texi (Parsing of Floats): Clarify
21545         cross-reference.
21546
21547         [BZ #15849]
21548         * manual/install.texi (Running make install): Mention
21549         --enable-pt-chown.
21550         * INSTALL: Regenerated.
21551
21552 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21553
21554         * csu/init-first.c (_init): Remove the !SHARED condition around
21555         FPU control word initialization.
21556         * elf/dl-support.c (_dl_fpu_control): New variable.
21557         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21558         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21559         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21560         * math/test-fpucw-static.c: New file.
21561         * math/test-fpucw-ieee.c: New file.
21562         * math/test-fpucw-ieee-static.c: New file.
21563         * math/Makefile (tests): Add `test-fpucw-ieee' and
21564         `$(tests-static)'.
21565         (tests-static): New variable.
21566         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21567         dependency to...
21568         [($(build-shared),yes)]
21569         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21570         ... this.
21571         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21572         New dependency.
21573
21574 2013-09-09  Allan McRae  <allan@archlinux.org>
21575
21576         [BZ #15939]
21577         * manual/string.texi (Collation Functions): Fix typo in
21578         strcoll example.
21579         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21580
21581         [BZ #15893]
21582         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21583
21584         [BZ #15892]
21585         * libio/memstream.c (open_memstream): Fix memory leak.
21586         * libio/wmemstream.c (open_wmemstream): Likewise.
21587
21588         [BZ #15895]
21589         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21590
21591 2013-09-09  Will Newton  <will.newton@linaro.org>
21592
21593         * malloc/Makefile: Add tst-realloc to tests.
21594         * malloc/tst-realloc.c: New file.
21595
21596 2013-09-09  Allan McRae  <allan@archlinux.org>
21597
21598         [BZ #15844]
21599         * COPYING: Update from GNU website to fix FSF address.
21600         * COPYING.LIB: Likewise.
21601
21602 2013-09-06  David S. Miller  <davem@davemloft.net>
21603
21604         * po/zh_TW.po: Update Chinese (traditional) translation from
21605         translation project.
21606
21607 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21608             Joseph Myers  <joseph@codesourcery.com>
21609
21610         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21611         "localeinfo.h".
21612         (obstack_chunk_alloc): New macro.
21613         (obstack_chunk_free): Likewise.
21614         (record_offset): New function.
21615         (init_locale_data): Likewise.
21616         (align_locale_data): Likewise.
21617         (add_locale_empty): Likewise.
21618         (add_locale_raw_data): Likewise.
21619         (add_locale_raw_obstack): Likewise.
21620         (add_locale_string): Likewise.
21621         (add_locale_wstring): Likewise.
21622         (add_locale_uint32): Likewise.
21623         (add_locale_uint32_array): Likewise.
21624         (add_locale_char): Likewise.
21625         (start_locale_structure): Likewise.
21626         (end_locale_structure): Likewise.
21627         (start_locale_prelude): Likewise.
21628         (end_locale_prelude): Likewise.
21629         (write_locale_data): Take locale_file structure rather than an
21630         iovec.
21631         * locale/programs/locfile.h: Include "obstack.h".
21632         (struct locale_file): Change to store locale file contents instead
21633         of header.
21634         (init_locale_data): New prototype.
21635         (align_locale_data): Likewise.
21636         (add_locale_empty): Likewise.
21637         (add_locale_raw_data): Likewise.
21638         (add_locale_raw_obstack): Likewise.
21639         (add_locale_string): Likewise.
21640         (add_locale_wstring): Likewise.
21641         (add_locale_uint32): Likewise.
21642         (add_locale_uint32_array): Likewise.
21643         (add_locale_char): Likewise.
21644         (start_locale_structure): Likewise.
21645         (end_locale_structure): Likewise.
21646         (start_locale_prelude): Likewise.
21647         (end_locale_prelude): Likewise.
21648         (write_locale_data): Update prototype.
21649         * locale/programs/3level.h (struct TABLE): Remove result field.
21650         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21651         Use new locale_file interface.
21652         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21653         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21654         * locale/programs/ld-address.c (address_output): Use new
21655         locale_file interface.
21656         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21657         NO_ADD_LOCALE.
21658         (collate_finish): Don't call collseq_table_finalize.
21659         (collate_output): Use new locale_file interface.
21660         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21661         in file.
21662         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21663         (TABLE): Move defines earlier in file.
21664         (ELEMENT): Likewise.
21665         (DEFAULT): Likewise.
21666         (wctrans_table_add): Move macro and inline function earlier in
21667         file.
21668         (struct wctype_table): Move type earlier in file.
21669         (add_locale_wctype_table): New static prototype.
21670         (struct locale_ctype_t): Use logical types instead of struct iovec
21671         pointers for members.
21672         (ctype_output): Use new locale_file interface.
21673         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21674         new locale_file interface.
21675         (allocate_arrays): Update for use of new locale_file interface.
21676         * locale/programs/ld-identification.c (identification_output): Use
21677         new locale_file interface.
21678         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21679         * locale/programs/ld-messages.c (messages_output): Likewise.
21680         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21681         * locale/programs/ld-name.c (name_output): Likewise.
21682         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21683         * locale/programs/ld-paper.c (paper_output): Likewise.
21684         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21685         * locale/programs/ld-time.c (time_output): Likewise.
21686
21687 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21688
21689         * benchtests/Makefile: Add memrchr benchmark.
21690         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21691         benchmark as memrchr.
21692         * benchtests/bench-memrchr-ifunc.c: New file.
21693         * benchtests/bench-memrchr.c: New file.
21694
21695 2013-09-06   Will Newton  <will.newton@linaro.org>
21696
21697         * benchtests/Makefile (string-bench): Add memcpy.
21698
21699 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21700             Cong Wang  <amwang@redhat.com>
21701
21702         [BZ #15850]
21703         * sysdeps/unix/sysv/linux/bits/in.h
21704         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21705         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21706         before __USE_KERNEL_IPV6_DEFS uses.
21707         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21708         IPPROTO_BEETPH.
21709         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21710         sockaddr_in6, or ipv6_mreq.
21711
21712 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21713
21714         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21715         memory access for final bytes in some large inputs.
21716         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21717
21718 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21719
21720         * string/test-memrchr.c: New file.
21721         * string/test-memrchr-ifunc.c: New file.
21722         * string/Makefile: Add new memrchr testcase.
21723
21724 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21725
21726         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21727         fanotify_init returns EPERM.
21728
21729 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21730
21731         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21732         errors.
21733         (top level): Treat second token from macro or constant entries for
21734         allowed headers as allowed.
21735         * include/complex.h: Condition internal declarations on
21736         [!_ISOMAC].
21737         * include/fenv.h: Condition include of <stdbool.h> and internal
21738         declarations on [!_ISOMAC].
21739
21740 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21741
21742         [BZ #15923]
21743         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21744
21745 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21746
21747         * configure.in (--enable-versioning): Remove configure option.
21748         (libc_cv_asm_symver_directive): Remove configure test.
21749         (libc_cv_ld_version_script_option): Likewise.
21750         (VERSIONING): Remove variable and AC_SUBST.
21751         (DO_VERSIONING): Remove AC_DEFINE.
21752         * configure: Regenerated.
21753         * config.h.in (DO_VERSIONING): Remove macro.
21754         * Makerules [$(versioning) = yes]: Change conditionals to
21755         [$(build-shared) = yes].
21756         * config.make.in (versioning): Remove variable.
21757         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21758         [$(build-shared) = yes].
21759         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21760         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21761         * elf/Makefile [$(versioning) = yes]: Change conditionals to
21762         [$(build-shared) = yes].
21763         * extra-lib.mk [$(versioning) = yes]: Likewise.
21764         * hurd/Makefile [$(versioning) = yes]: Likewise.
21765         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21766         [SHARED].
21767         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21768         [SHARED].
21769         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21770         [SHARED && !NO_HIDDEN].
21771         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21772         [SHARED].
21773         [SHARED && DO_VERSIONING]: Likewise..
21774         * libio/Makefile [$(versioning) = yes]: Change conditionals to
21775         [$(build-shared) = yes].
21776         * manual/install.texi (--disable-versioning): Remove
21777         documentation.
21778         * INSTALL: Regenerated.
21779         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21780         to [SHARED].
21781         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21782         [$(build-shared) = yes].
21783         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21784         * sysdeps/i386/i686/multiarch/strstr-c.c
21785         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21786         [SHARED && !NO_HIDDEN].
21787         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21788         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21789         * sysdeps/powerpc/powerpc32/dl-machine.c
21790         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21791         * sysdeps/powerpc/powerpc32/sysdep.h
21792         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21793         to [SHARED && PIC && !NO_HIDDEN].
21794         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21795         conditional to [SHARED].
21796
21797 2013-09-04   Will Newton  <will.newton@linaro.org>
21798
21799         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21800         * benchtests/bench-string.h: Include bench-timing.h instead
21801         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21802         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21803         call to HP_TIMING_DIFF_INIT.
21804         * benchtests/bench-memccpy.c: Use bench-timing.h macros
21805         instead of hp-timing.h macros.
21806         * benchtests/bench-memchr.c: Likewise.
21807         * benchtests/bench-memcmp.c: Likewise.
21808         * benchtests/bench-memcpy.c: Likewise.
21809         * benchtests/bench-memmem.c: Likewise.
21810         * benchtests/bench-memmove.c: Likewise.
21811         * benchtests/bench-memset.c: Likewise.
21812         * benchtests/bench-rawmemchr.c: Likewise.
21813         * benchtests/bench-strcasecmp.c: Likewise.
21814         * benchtests/bench-strcasestr.c: Likewise.
21815         * benchtests/bench-strcat.c: Likewise.
21816         * benchtests/bench-strchr.c: Likewise.
21817         * benchtests/bench-strcmp.c: Likewise.
21818         * benchtests/bench-strcpy.c: Likewise.
21819         * benchtests/bench-strcpy_chk.c: Likewise.
21820         * benchtests/bench-strlen.c: Likewise.
21821         * benchtests/bench-strncasecmp.c: Likewise.
21822         * benchtests/bench-strncat.c: Likewise.
21823         * benchtests/bench-strncmp.c: Likewise.
21824         * benchtests/bench-strncpy.c: Likewise.
21825         * benchtests/bench-strnlen.c: Likewise.
21826         * benchtests/bench-strpbrk.c: Likewise.
21827         * benchtests/bench-strrchr.c: Likewise.
21828         * benchtests/bench-strspn.c: Likewise.
21829         * benchtests/bench-strstr.c: Likewise.
21830
21831 2013-09-04  Will Newton  <will.newton@linaro.org>
21832
21833         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21834
21835 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
21836
21837         [BZ #15427]
21838         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21839         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21840         * math/libm-test.inc (lgamma_test_data): Add more tests.
21841         * sysdeps/i386/fpu/libm-test-ulps: Update.
21842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21843
21844 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
21845
21846         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21848         Add ifunc.
21849         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21850         Add strcmp-sse2-unaligned
21851         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21852
21853 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21854
21855         * Versions.def (libc): Add GLIBC_2.19.
21856
21857 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21858
21859         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21860         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21861
21862 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
21863
21864         [BZ #14155]
21865         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21866         intermediate calculations in recurrence.
21867         (__ieee754_ynf): Likewise.
21868         * math/libm-test.inc (jn_test_data): Do not allow spurious
21869         underflow exception.  Add more tests.
21870         (yn_test_data): Add more tests.
21871         * sysdeps/i386/fpu/libm-test-ulps: Update.
21872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21873
21874 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
21875
21876         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21877
21878 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21879
21880         * csu/init-first.c: Fix then/than typos.
21881         * locale/programs/ld-collate.c: Likewise.
21882         * locale/programs/linereader.h: Likewise.
21883         * manual/charset.texi: Likewise.
21884         * manual/filesys.texi: Likewise.
21885         * manual/stdio.texi: Likewise.
21886         * manual/string.texi: Likewise.
21887         * stdlib/fmtmsg.c: Likewise.
21888         * sysdeps/i386/stpncpy.S: Likewise.
21889         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21890         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21891         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21892         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21893
21894 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21895
21896         * elf/dl-open.c: Fix typos.
21897         * iconvdata/gbbig5.c: Likewise.
21898         * iconvdata/iso-2022-jp.c: Likewise.
21899         * iconv/gconv_int.h: Likewise.
21900         * iconv/loop.c: Likewise.
21901         * nis/rpcsvc/nis.h: Likewise.
21902         * resolv/ns_name.c: Likewise.
21903         * stdio-common/vfscanf.c: Likewise.
21904         * streams/stropts.h: Likewise.
21905         * sunrpc/rpc_thread.c: Likewise.
21906         * sysdeps/i386/strpbrk.S: Likewise.
21907         * sysdeps/ieee754/k_standard.c: Likewise.
21908         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21909         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21910         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21911         * sysdeps/mach/hurd/profil.c: Likewise.
21912         * sysdeps/s390/dl-procinfo.h: Likewise.
21913         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21914         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21915         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21916         * sysdeps/x86_64/dl-trampoline.S: Likewise.
21917         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21918
21919 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
21920
21921         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21922         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21923
21924 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
21925
21926         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21927         aix specific files.
21928         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21929         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21930         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21931         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21932         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21933         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21934         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21935         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21936
21937 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21938             Roland McGrath  <roland@hack.frob.com>
21939
21940         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21941         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21942
21943 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21944
21945         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21946         __executable_start symbol instead of _start.
21947
21948 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21949
21950         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21951         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21952         Move macros to...
21953         * sysdeps/gnu/ldsodefs.h: ... this new file.
21954
21955         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21956         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21957         instead of ELFOSABI_LINUX.
21958
21959         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21960         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21961         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21962         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21963         Likewise.
21964         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21965         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21966         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21967         Likewise.
21968         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21969         (ibm_extended_long_double): Add ieee_nan member.
21970         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21971         (do_test): New function.
21972
21973         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21974         TEST_TRUNC.
21975         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21976         functions, renamed from truncdfsf_test, trunctfsf_test,
21977         trunctfdf_test.
21978         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21979         functions.
21980         (do_test): Run all these.
21981
21982 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
21983
21984         * argp/argp-help.c: Fix typos.
21985         * argp/argp-parse.c: Likewise.
21986         * debug/backtracesyms.c: Likewise.
21987         * elf/elf.h: Likewise.
21988         * malloc/malloc.c: Likewise.
21989         * nis/nis_print.c: Likewise.
21990         * resolv/res_comp.c: Likewise.
21991         * stdlib/stdlib.h: Likewise.
21992         * sunrpc/clnt_tcp.c: Likewise.
21993         * sunrpc/clnt_udp.c: Likewise.
21994         * sunrpc/clnt_unix.c: Likewise.
21995         * sysdeps/unix/bsd/ptsname.c: Likewise.
21996         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21997         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21999         Likewise.
22000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22001         Likewise.
22002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22003         Likewise.
22004         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22005
22006 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22007
22008         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22010
22011 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22012
22013         [BZ #15897]
22014         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22015         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22016         ($(objpfx)bug-dl-leaf): New rule.
22017         ($(objpfx)bug-dl-leaf.so): Likewise.
22018         ($(objpfx)bug-dl-leaf.out): Likewise.
22019         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22020         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22021         * dlfcn/bug-dl-leaf.c: New test.
22022         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22023         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22024         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22025         (dlclose): Likewise.
22026         (dlmopen): Likewise.
22027
22028 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22029
22030         * include/netdb.h [!_ISOMAC]:
22031         Don't include <tls.h>.
22032         (h_errno, __libc_h_errno): Move declaration and macros out of
22033         [_LIBC_REENTRANT].
22034
22035         * include/resolv.h [_RESOLV_H_]:
22036         Don't include <tls.h>.
22037         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22038         * resolv/res_libc.c: Don't include <tls.h>.
22039         (_res): Use __attribute__ ((nocommon)) in place of
22040         __attribute__ ((section (".bss"))).
22041
22042         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22043         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22044
22045         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22046
22047         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22048         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22049
22050         * resolv/res_mkquery.c: Include <sys/time.h>.
22051
22052         * inet/ifreq.c: Moved to ...
22053         * sysdeps/unix/ifreq.c: ... here.
22054         * inet/ifreq.c: New file, true stub version.
22055
22056         * socket/sa_len.c: New file.
22057         * socket/Makefile (aux): Add it.
22058         * sysdeps/unix/sysv/linux/Makefile
22059         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22060         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22061         and #include <socket/sa_len.c>.
22062         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22063         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22064
22065         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22066         * bits/socket.h: ... here.
22067
22068         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22069         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22070         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22071
22072 2013-08-27  Andreas Schwab  <schwab@suse.de>
22073
22074         [BZ #15736]
22075         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22076         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22077         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22078         * string/test-strcasecmp.c (test_main): Run tests in several
22079         locales.
22080         * string/test-strncasecmp.c (test_main): Likewise.
22081
22082         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22083         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22084         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22085         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22086         (__strncasecmp_ssse3) [PIC]: Likewise.
22087
22088 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22089
22090         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22091
22092         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22093         instead of explicitly declaring xdecrypt.
22094         * nis/nss_nis/nis-publickey.c: Likewise.
22095
22096 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22097
22098         [BZ #15890]
22099         * nscd/aicache.c: Include res_hconf.h.
22100         (addhstaiX): Initialize res_hconf.
22101
22102 2013-08-26  Andreas Schwab  <schwab@suse.de>
22103
22104         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22105         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22106
22107 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22108
22109         * nscd/aicache.c (addhstaiX): Fix indentation.
22110
22111 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22112
22113         * configure.ac: Quote $build_pt_chown test.
22114         * configure: Regenerated.
22115
22116 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22117
22118         [BZ #15532]
22119         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22120         * math/s_cexpf.c (__cexpf): Likewise.
22121         * math/s_cexpl.c (__cexpl): Likewise.
22122         * math/libm-test.inc (cexp_test_data): Correct expected return
22123         value for NaN + i0.  Add another test.
22124
22125 2013-08-22  David S. Miller  <davem@davemloft.net>
22126
22127         * po/ca.po: Update Catalan translation from translation project.
22128         * po/uk.po: Add Ukrainian translations from translation project.
22129
22130 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22131
22132         [BZ #15797]
22133         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22134         is infinite, not alongside NaN test.
22135         * math/s_fdimf.c (__fdimf): Likewise.
22136         * math/s_fdiml.c (__fdiml): Likewise.
22137         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22138         errno is unchanged.
22139
22140 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22141
22142         * argp/argp-help.c: Fix typos.
22143         * crypt/speeds.c: Likewise.
22144         * csu/check_fds.c: Likewise.
22145         * elf/dl-load.c: Likewise.
22146         * elf/dl-open.c: Likewise.
22147         * elf/reldep3.c: Likewise.
22148         * elf/reldep.c: Likewise.
22149         * elf/sprof.c: Likewise.
22150         * iconv/iconv_charmap.c: Likewise.
22151         * iconv/skeleton.c: Likewise.
22152         * iconv/strtab.c: Likewise.
22153         * io/lockf64.c: Likewise.
22154         * libio/libioP.h: Likewise.
22155         * resolv/gai_notify.c: Likewise.
22156         * resolv/ns_name.c: Likewise.
22157         * resolv/ns_samedomain.c: Likewise.
22158         * resolv/res_send.c: Likewise.
22159         * stdlib/random.c: Likewise.
22160         * sunrpc/rpc/xdr.h: Likewise.
22161         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22162         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22163         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22164         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22165         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22166         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22167         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22168         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22169         * sysdeps/mach/hurd/check_fds.c: Likewise.
22170         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22171         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22172         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22173         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22174         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22175         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22176         * sysdeps/pthread/aio_notify.c: Likewise.
22177         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22178         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22179         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22180         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22181         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22182
22183 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22184
22185         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22186         version if bit_Slow_SSE4_2 is set.
22187         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22188         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22189
22190 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22191
22192         [BZ #15867]
22193         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22194         trampoline stack frame information.
22195         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22196         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22197         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22198         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22199         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22200         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22201         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22202         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22203         sa_flags value.
22204         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22205         interrupting a syscall and set with option SA_SIGINFO.
22206
22207 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22208
22209         [BZ #15531]
22210         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22211         argument is infinite.
22212         * math/s_cprojf.c (__cprojf): Likewise.
22213         * math/s_cprojl.c (__cprojl): Likewise.
22214         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22215         * math/libm-test.inc (cproj_test_data): Add more tests.
22216
22217         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22218
22219         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22220         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22221         size.  Use __ffs to determine corresponding shift.
22222
22223 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22224             Roland McGrath  <roland@hack.frob.com>
22225
22226         * Makefile (INSTALL): Remove trailing blank lines from output of
22227         makeinfo.
22228
22229 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22230
22231         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22232         Align 32 bit compat elf_greg to 8 bytes.
22233
22234 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22235
22236         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22237
22238 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22239
22240         * string/strcoll_l.c (coll_seq): New structure.
22241         (get_next_seq_cached): New function.
22242         (get_next_seq): New function.
22243         (do_compare): New function.
22244         (STRCOLL): Use GNU style definition.  Simplify implementation
22245         by using get_next_seq, get_next_seq_cached and do_compare.
22246
22247 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22248
22249         [BZ #14699]
22250         CVE-2013-4237
22251         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22252         member.
22253         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22254         member.
22255         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22256         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22257         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22258         conditional.
22259         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22260         GETDENTS_64BIT_ALIGNED.
22261         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22262         * manual/filesys.texi (Reading/Closing Directory): Document
22263         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22264         strongly.
22265         * manual/conf.texi (Limits for Files): Add portability note to
22266         NAME_MAX, PATH_MAX.
22267         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22268
22269 2013-08-13  Andreas Schwab  <schwab@suse.de>
22270
22271         [BZ #15749]
22272         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22273         of fabs.
22274         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22275         LDBL_MAX_EXP >= 16384]: Add tests for it.
22276
22277 2013-08-12  David S. Miller  <davem@davemloft.net>
22278
22279         * version.h (RELEASE): Set to "development".
22280         (VERSION): Set to "2.18.90".
22281         * NEWS: Add 2.19 section.
22282
22283 2013-08-03  David S. Miller  <davem@davemloft.net>
22284
22285         * po/ko.po: Update Korean translation from translation project.
22286
22287 2013-08-01  David S. Miller  <davem@davemloft.net>
22288
22289         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22290         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22291         Bilka.
22292
22293 2013-07-30  David S. Miller  <davem@davemloft.net>
22294
22295         * po/fr.po: Update French translation from translation project.
22296
22297 2013-07-28  David S. Miller  <davem@davemloft.net>
22298
22299         * po/cs.po: Update Czech translation from translation project.
22300
22301         * po/sv.po: Update Swedish translation from translation project.
22302
22303 2013-07-27  David S. Miller  <davem@davemloft.net>
22304
22305         * po/eo.po: Update Esperanto translation from translation project.
22306
22307         * po/vi.po: Update Vietnamese translation from translation project.
22308
22309         * po/de.po: Update German translation from translation project.
22310
22311 2013-07-26  David S. Miller  <davem@davemloft.net>
22312
22313         * po/bg.po: Update Bulgarian translation from translation project.
22314
22315         * po/nl.po: Update Dutch translation from translation project.
22316         * po/pl.po: Update Polish translation from translation project.
22317         * po/ru.po: Update Russian translation from translation project.
22318
22319 2013-07-24  David S. Miller  <davem@davemloft.net>
22320
22321         * po/libc.pot: Update.
22322
22323 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22324
22325         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22326         variable page size.
22327         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22328         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22329         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22330
22331 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22332
22333         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22334
22335 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22336             Andreas Schwab  <schwab@suse.de>
22337             Roland McGrath  <roland@hack.frob.com>
22338             Joseph Myers  <joseph@codesourcery.com>
22339             Carlos O'Donell  <carlos@redhat.com>
22340
22341         [BZ #15755]
22342         * config.h.in: Define HAVE_PT_CHOWN.
22343         * config.make.in (build-pt-chown): New variable.
22344         * configure.in (--enable-pt_chown): New configure option.
22345         * configure: Regenerate.
22346         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22347         build-pt-chown is enabled.
22348         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22349         pt_chown to fix pty ownership.
22350         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22351         CLOSE_ALL_FDS.
22352         * manual/install.texi (Configuring and compiling): Mention
22353         --enable-pt_chown. Add @findex for grantpt.
22354         * INSTALL: Regenerate.
22355
22356 2013-07-20  David S. Miller  <davem@davemloft.net>
22357
22358         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22359         difference between 32-bit and 64-bit.
22360
22361 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22362
22363         [BZ #15711]
22364         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22365         Avoid system header dependency with -ffreestanding.
22366         ($(objpfx)bits/syscall%d): Likewise.
22367
22368 2013-07-13  David S. Miller  <davem@davemloft.net>
22369
22370         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22371         underflows from atanl/atan2l due to bug 15319.
22372         (casinh_test_data): Likewise.
22373
22374 2013-07-07  David S. Miller  <davem@davemloft.net>
22375
22376         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22377
22378 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22379
22380         * sysdeps/i386/fpu/libm-test-ulps: Update.
22381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22382
22383 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22384
22385         * configure.in (--enable-lock-elision): Fix message text.
22386         * INSTALL: Regenerate.
22387         * configure: Regenerate.
22388
22389 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22390
22391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22392
22393 2013-07-03  Andreas Jaeger  <aj@suse.de>
22394
22395         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22396         define.
22397         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22398         (ptrace_peeksiginfo_args): Add.
22399         (__ptrace_peeksiginfo_flags): Add.
22400         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22401         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22402         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22403
22404 2013-07-03  Allan McRae  <allan@archlinux.org>
22405
22406         * sysdeps/i386/fpu/libm-test-ulps: Update.
22407
22408 2013-07-02  David S. Miller  <davem@davemloft.net>
22409
22410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22411
22412 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22413
22414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22415
22416 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22417
22418         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22420
22421 2013-07-02  Andi Kleen <ak@linux.intel.com>
22422
22423         * config.h.in (ENABLE_LOCK_ELISION): Add.
22424         * configure.in (--enable-lock-elision): Add option.
22425         * manual/install.texi: Document --enable lock elision.
22426         * configure: Regenerate
22427         * INSTALL: Regenerate.
22428
22429 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22430
22431         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22432         SSE4.2 strcasecmp for libc.a.
22433         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22434
22435 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22436
22437         [BZ #13304]
22438         * soft-fp/op-common.h (_FP_FMA): New macro.
22439         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22440         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22441         (_FP_MUL_MEAT_1_imm): ... here.
22442         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22443         (_FP_MUL_MEAT_1_wide): ... here.
22444         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22445         (_FP_MUL_MEAT_1_hard): ... here.
22446         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22447         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22448         (_FP_MUL_MEAT_2_wide): ... here.
22449         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22450         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22451         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22452         (_FP_MUL_MEAT_2_gmp): ... here.
22453         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22454         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22455         (_FP_MUL_MEAT_4_wide): ... here.
22456         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22457         (_FP_MUL_MEAT_4_gmp): ... here.
22458         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22459         (_FP_WFRACBITS_DW_S): Likewise.
22460         (_FP_WFRACXBITS_DW_S): Likewise.
22461         (_FP_HIGHBIT_DW_S): Likewise.
22462         (FP_FMA_S): Likewise.
22463         (_FP_FRAC_HIGH_DW_S): Likewise.
22464         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22465         (_FP_WFRACBITS_DW_D): Likewise.
22466         (_FP_WFRACXBITS_DW_D): Likewise.
22467         (_FP_HIGHBIT_DW_D): Likewise.
22468         (FP_FMA_D): Likewise.
22469         (_FP_FRAC_HIGH_DW_D): Likewise.
22470         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22471         (_FP_WFRACBITS_DW_E): Likewise.
22472         (_FP_WFRACXBITS_DW_E): Likewise.
22473         (_FP_HIGHBIT_DW_E): Likewise.
22474         (FP_FMA_E): Likewise.
22475         (_FP_FRAC_HIGH_DW_E): Likewise.
22476         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22477         (_FP_WFRACBITS_DW_Q): Likewise.
22478         (_FP_WFRACXBITS_DW_Q): Likewise.
22479         (_FP_HIGHBIT_DW_Q): Likewise.
22480         (FP_FMA_Q): Likewise.
22481         (_FP_FRAC_HIGH_DW_Q): Likewise.
22482         * soft-fp/fmasf4.c: New file.
22483         * soft-fp/fmadf4.c: Likewise.
22484         * soft-fp/fmatf4.c: Likewise.
22485
22486 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22487
22488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22489         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22490         Silvermont.
22491         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22492         macro.
22493         (index_Slow_SSE4_2): Likewise.
22494         (index_Prefer_PMINUB_for_stringop): Likewise.
22495         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22496         bit_Slow_SSE4_2 is set.
22497         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22498         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22499
22500 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22501
22502         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22503         rtld_global._dl_hwcap2.
22504         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22505         POWER8.
22506         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22507         POWER8 feature descriptions defined in _dl_hwcap2.
22508         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22509         string handling for POWER8 feature bits.
22510         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22511         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22512         _dl_powerpc_cap_flags.
22513         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22514         * sysdeps/powerpc/rtld-global-offsets.sym
22515         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22516         _dl_hwcap2 in the rtld_global_ro structure.
22517
22518 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22519
22520         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22521         hardware capabilities in support of AT_HWCAP2.
22522         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22523         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22524         GLRO(dl_hwcap2).
22525         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22526         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22527         explicitly the unknown a_type display mechanism is used.
22528         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22529         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22530         struct member.
22531         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22532         to macro prototype for AT_HWCAP2 support.
22533         * sysdeps/i386/dl-procinfo.h: Likewise.
22534         * sysdeps/s390/dl-procinfo.h: Likewise.
22535         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22536         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22537         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22538         return -1 for unknown a_type display fallback.
22539         * sysdeps/sparc/dl-procinfo.h: Likewise.
22540         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22541         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22542
22543 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22544
22545         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22546         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22547
22548 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22549
22550         [BZ #12492]
22551         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22552         mprotect making __stack_prot writable.
22553
22554 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22555             Joseph Myers  <joseph@codesourcery.com>
22556
22557         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22558         as being properly aligned.
22559
22560 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22561
22562         * dlfcn/modstatic5.c: New file.
22563         * dlfcn/tststatic5.c: New file.
22564         * dlfcn/Makefile (tests): Add tststatic5.
22565         (tests-static): Likewise.
22566         (modules-names): Add modstatic5.
22567         (tststatic5-ENV): New variable.
22568         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22569
22570         [BZ #15022]
22571         * elf/dl-support.c (_dl_main_map): New variable.
22572         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22573         (_dl_nns, _dl_load_adds): Set to 1.
22574         (_dl_initial_searchlist): Refer to _dl_main_map.
22575         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22576         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22577         call to _dl_get_origin.
22578         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22579         around call_map.
22580         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22581         * dlfcn/modstatic3.c: New file.
22582         * dlfcn/tststatic3.c: New file.
22583         * dlfcn/tststatic4.c: New file.
22584         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22585         (tests-static): Likewise.
22586         (modules-names): Add modstatic3.
22587         (tststatic3-ENV, tststatic4-ENV): New variables.
22588         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22589         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22590
22591 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22592
22593         * configure.in (CC): Require GCC version 4.4 or later.
22594         * configure: Regenerated.
22595         * manual/install.texi (Tools for Compilation): Update GCC version
22596         requirement.
22597         * INSTALL: Regenerated.
22598
22599 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22600
22601         [BZ #15674]
22602         * string/test-memcmp.c (check2): New.
22603         (main): Call check2.
22604
22605         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22606
22607 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22608
22609         [BZ #15022]
22610         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22611         over to...
22612         (dl_open_worker) [!SHARED]: ... here.
22613
22614 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22615
22616         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22617
22618 2013-06-25  Richard Henderson  <rth@redhat.com>
22619
22620         * locale/programs/locarchive.c: Include <libc-internal.h>
22621
22622 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22623
22624         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22625         trailing whitespace removed.
22626
22627 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22628
22629         [BZ #10283]
22630         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22631         * locale/programs/locarchive.c: Include libc-mmap.h.
22632         (prepare_address_space): Take two new outputs (the mmap base and len).
22633         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22634         values.
22635         (create_archive): Declare new mmap base and len values for
22636         prepare_address_space, and store the result in ah.
22637         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22638         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22639         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22640         Declare new mmap base and len values for
22641         prepare_address_space, and store the result in new_ah.
22642         (open_archive): Declare new mmap base and len values for
22643         prepare_address_space, and store the result in ah.
22644         (close_archive): If ah->mmap_base is not NULL, use that and
22645         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22646         * sysdeps/generic/libc-mmap.h: New file.
22647
22648 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22649
22650         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22651         (ALIGN_UP): Likewise.
22652         (PTR_ALIGN_DOWN): Likewise.
22653         (PTR_ALIGN_UP): Likewise.
22654
22655 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22656
22657         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22658         entry mapped to PPC_PLATFORM_POWER8.
22659         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22660         POWER8.
22661         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22662         (_dl_string_platform): Add case for exporting platform position for
22663         POWER8.
22664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22665         search path to sysdeps/powerpc/powerpc32/power8 directory.
22666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22667         search path to sysdeps/powerpc/powerpc64/power8 directory.
22668         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22669         power7 directories.
22670         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22671         power7 directories.
22672
22673 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22674
22675         * INSTALL: Regenerate.
22676
22677         * nscd/connections.c (nscd_init): Fix comment.
22678
22679 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22680
22681         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22682
22683         [BZ #15667]
22684         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22685         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22686
22687 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22688
22689         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22690         DL_DST_REQ_STATIC.
22691         (DL_DST_REQ_STATIC): Remove macro.
22692
22693 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22694
22695         [BZ #7006]
22696         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22697         with a shift of 0 bits.
22698
22699 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22700
22701         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22702         $(tststatic-ENV).
22703
22704 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22705
22706         [BZ #15655]
22707         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22708
22709 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22710
22711         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22712         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22713         accepts -fno-tree-loop-distribute-patterns.
22714         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22715         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22716         recursive call.
22717         * string/memset.c (memset): Likewise.
22718         * string/test-memmove.c (simple_memmove): Disable loop transformation
22719         to library calls.
22720         * string/test-memset.c (simple_memset): Likewise.
22721         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22722         * benchtests/bench-memset.c (simple_memset): Likewise.
22723         * configure: Regenerated.
22724
22725 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22726
22727         * math/test-misc.c (main): Ignore fesetround failure when failures
22728         of subsequent rounding tests would be ignored.
22729
22730         [BZ #15654]
22731         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22732         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22733         * math/fegetenv.c (__fegetenv): Return 0.
22734         * math/fegetexcept.c (fegetexcept): Return 0.
22735         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22736         FE_TONEAREST.
22737         * math/feholdexcpt.c (feholdexcept): Return 0.
22738         * math/fesetenv.c (__fesetenv): Return 0.
22739         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22740         argument FE_TONEAREST.
22741         * math/feupdateenv.c (__feupdateenv): Return 0.
22742         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22743
22744 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22745
22746         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22747         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22748         ($(objpfx)rtld-%.os rules): Use them.
22749
22750 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22751
22752         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22753         fields.
22754
22755 2013-06-17  Roland McGrath  <roland@hack.frob.com>
22756
22757         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22758         length of target pattern, then descending length of dependency pattern.
22759         * configure.in (AWK): Require gawk 3.1.2 or newer.
22760         * manual/install.texi (Tools for Compilation): Say that we do.
22761         * configure: Regenerated.
22762
22763         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22764         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22765         * scripts/sysd-rules.awk: ... this new script.
22766         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22767         than a glob-style pattern.
22768
22769 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
22770
22771         * math/test-misc.c (main): Do not treat incorrectly rounded
22772         conversions as failure unless ROUNDING_TESTS passes.
22773
22774 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
22775
22776         [BZ #15631]
22777         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22778         restore exception state around main square root computation, then
22779         check for inexactness explicitly.
22780
22781         * math/libm-test.inc (fma_test_data): Add another test.
22782
22783 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22784
22785         * manual/threads.texi (Non-POSIX Extensions): New document
22786         node.  Document pthread_getattr_default_np and
22787         pthread_setattr_default_np.
22788
22789         * Versions.def (libpthread): Add GLIBC_2.18.
22790         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22792         Likewise.
22793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22794         Likewise.
22795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22796         Likewise.
22797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22798         Likewise.
22799         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22800         Likewise.
22801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22802         Likewise.
22803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22804         Likewise.
22805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22806         Likewise.
22807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22808         Likewise.
22809
22810 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22811
22812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22813         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22814
22815 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22816             H.J. Lu  <hjl.tools@gmail.com>
22817
22818         [BZ #15627]
22819         * sysdeps/x86_64/rtld-memset.c: Remove file.
22820         * sysdeps/x86_64/rtld-memset.S: New file.
22821
22822 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
22823
22824         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22825         (test_in_one_mode): Take arguments for whether the rounding mode
22826         is supported for each floating-point type.
22827         (do_test): Pass new arguments to test_in_one_mode using
22828         ROUNDING_TESTS.
22829
22830 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22831
22832         * posix/tst-waitid.c (do_test): Distinguish different instances of
22833         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
22834         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22835         before entering the kernel for waitpid.
22836
22837 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22838
22839         * NEWS: Fix note on clock function precision.  Text by Roland
22840         McGrath.
22841
22842 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22843
22844         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22845         it into place only when and if the sanity check passes.
22846
22847 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
22848
22849         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22850         output for whether conversion result is exact.  Take argument
22851         indicating whether type is IBM long double.
22852         (round_for_all): Change need_exact field to ibm_ld.
22853         * stdlib/tst-strtod-round.c (struct exactness): New type.
22854         (struct test): Change bool ld_ok field to struct exactness exact.
22855         (TEST): Update all definitions for change to field.
22856         (tests): Regenerate array contents.
22857         (test_in_one_mode): Take pointer to new field instead of old ld_ok
22858         field value.  Check for IBM long double here.
22859         (do_test): Update calls to test_in_one_mode.
22860
22861 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22862
22863         [BZ #12515]
22864         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22865         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22866
22867 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22868
22869         [BZ #15605]
22870         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22871         generated by the compiler on loop optimizations.
22872         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22873         general definitions.
22874
22875 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
22876
22877         * math/bug-nextafter.c: Include <math-tests.h>.
22878         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22879         the relevant type.
22880         * math/bug-nexttoward.c: Include <math-tests.h>.
22881         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22882         the relevant type.
22883         * math/test-misc.c: Include <math-tests.h>.
22884         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22885         the relevant type.
22886
22887 2013-06-12  Andreas Jaeger  <aj@suse.de>
22888
22889         * po/ia.po: Update Interlingua translation from translation
22890         project.
22891
22892 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22893
22894         * include/fenv.h: Include stdbool.h.
22895         (struct rm_ctx): New structure.
22896         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22897         Define macro.
22898         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22899         (SET_RESTORE_ROUNDF): Likewise.
22900         (SET_RESTORE_ROUNDL): Likewise.
22901         (SET_RESTORE_ROUND_NOEX): Likewise.
22902         (SET_RESTORE_ROUND_NOEXF): Likewise.
22903         (SET_RESTORE_ROUND_NOEXL): Likewise.
22904         (SET_RESTORE_ROUND_53BIT): Likewise.
22905         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22906         (libc_feresetround_noexf_ctx): Likewise.
22907         (libc_feresetround_noexl_ctx): Likewise.
22908         (libc_feholdsetround_53bit_ctx): Likewise.
22909         (libc_feresetround_53bit_ctx): Likewise.
22910         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22911         (libc_feholdexcept_setround_sse_ctx): New function.
22912         (libc_fesetenv_sse_ctx): Likewise.
22913         (libc_feupdateenv_sse_ctx): Likewise.
22914         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22915         (libc_feholdexcept_setround_387_ctx): Likewise.
22916         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22917         (libc_feholdsetround_387_prec_ctx): Likewise.
22918         (libc_feholdsetround_387_ctx): Likewise.
22919         (libc_feholdsetround_387_53bit_ctx): Likewise.
22920         (libc_feholdsetround_sse_ctx): Likewise.
22921         (libc_feresetround_sse_ctx): Likewise.
22922         (libc_feresetround_387_ctx): Likewise.
22923         (libc_feupdateenv_387_ctx): Likewise.
22924         (libc_feholdexcept_setroundf_ctx): Define macro.
22925         (libc_fesetenvf_ctx): Likewise.
22926         (libc_feupdateenvf_ctx): Likewise.
22927         (libc_feholdsetroundf_ctx): Likewise.
22928         (libc_feresetroundf_ctx): Likewise.
22929         (libc_feholdexcept_setround_ctx): Likewise.
22930         (libc_fesetenv_ctx): Likewise.
22931         (libc_feupdateenv_ctx): Likewise.
22932         (libc_feholdsetround_ctx): Likewise.
22933         (libc_feresetround_ctx): Likewise.
22934         (libc_feholdexcept_setroundl_ctx): Likewise.
22935         (libc_feupdateenvl_ctx): Likewise.
22936         (libc_feholdsetroundl_ctx): Likewise.
22937         (libc_feresetroundl_ctx): Likewise.
22938         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22939         (libc_feresetround_53bit_ctx): Likewise.
22940
22941 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22942
22943         * locale/iso-639.def: Convert to UTF-8.
22944
22945 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
22946
22947         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22948         (EXCEPTION_TESTS_double): Likewise.
22949         (EXCEPTION_TESTS_long_double): Likewise.
22950         (EXCEPTION_TESTS): Likewise.
22951         * math/libm-test.inc (test_exceptions): Only test exceptions if
22952         EXCEPTION_TESTS (FLOAT).
22953
22954 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22955
22956         * benchtests/Makefile (string-bench): Add strcpy_chk and
22957         stpcpy_chk.
22958         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22959         * benchtests/bench-stpcpy_chk.c: New file.
22960         * benchtests/bench-strcpy_chk-ifunc.c: New file.
22961         * benchtests/bench-strcpy_chk.c: New file.
22962         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22963         code.
22964         (do_test): Likewise.
22965
22966 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22967
22968         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22969         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22970         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22971         with tabs where appropriate.
22972         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22973         dl-procinfo.h.
22974         [PPC_PLATFORM_PPC440]: Likewise.
22975         [PPC_PLATFORM_PPC464]: Likewise.
22976         [PPC_PLATFORM_PPC476]: Likewise.
22977         (_dl_string_platform): Add support for detecting ppc405, ppc440,
22978         ppc464, and ppc476 platform strings merging from ports/
22979         dl-procinfo.h.
22980
22981 2013-06-11  Andreas Schwab  <schwab@suse.de>
22982
22983         [BZ #14991]
22984         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22985         (from_ucs4_idx): Regenerate.
22986         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22987         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22988         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22989         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22990         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22991         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22992         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22993         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22994         from FROM_LOOP and TO_LOOP specific macros.
22995         (BODY): Handle combining characters.
22996         * iconvdata/BIG5HKSCS.irreversible: Update.
22997         * iconvdata/BIG5HKSCS.precomposed: New file.
22998         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22999         characters.
23000         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23001
23002 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23003
23004         * include/sys/time.h: Fix indentation and add copyright header.
23005
23006         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23007         (do_test): Likewise.
23008         * string/test-memchr.c (do_one_test): Likewise.
23009         (do_test): Likewise.
23010         * string/test-memcmp.c (do_one_test): Likewise.
23011         (do_test): Likewise.
23012         * string/test-memcpy.c (do_one_test): Likewise.
23013         (do_test): Likewise.
23014         * string/test-memmem.c (do_one_test): Likewise.
23015         (do_test): Likewise.
23016         (do_random_tests): Likewise.
23017         * string/test-memmove.c (do_one_test): Likewise.
23018         (do_test): Likewise.
23019         * string/test-memset.c (do_one_test): Likewise.
23020         (do_test): Likewise.
23021         * string/test-rawmemchr.c (do_one_test): Likewise.
23022         (do_test): Likewise.
23023         * string/test-strcasecmp.c (do_one_test): Likewise.
23024         (do_test): Likewise.
23025         * string/test-strcasestr.c (do_one_test): Likewise.
23026         (do_test): Likewise.
23027         * string/test-strcat.c (do_one_test): Likewise.
23028         (do_test): Likewise.
23029         * string/test-strchr.c (do_one_test): Likewise.
23030         (do_test): Likewise.
23031         * string/test-strcmp.c (do_one_test): Likewise.
23032         (do_test): Likewise.
23033         * string/test-strcpy.c (do_one_test): Likewise.
23034         (do_test): Likewise.
23035         * string/test-string.h: Likewise.
23036         (test_init): Likewise.
23037         * string/test-strlen.c (do_one_test): Likewise.
23038         (do_test): Likewise.
23039         * string/test-strncasecmp.c (do_one_test): Likewise.
23040         (do_test): Likewise.
23041         * string/test-strncat.c (do_one_test): Likewise.
23042         (do_test): Likewise.
23043         * string/test-strncmp.c (do_one_test): Likewise.
23044         (do_test_limit): Likewise.
23045         (do_test): Likewise.
23046         * string/test-strncpy.c (do_one_test): Likewise.
23047         (do_test): Likewise.
23048         * string/test-strnlen.c (do_one_test): Likewise.
23049         (do_test): Likewise.
23050         * string/test-strpbrk.c (do_one_test): Likewise.
23051         (do_test): Likewise.
23052         * string/test-strrchr.c (do_one_test): Likewise.
23053         (do_test): Likewise.
23054         * string/test-strspn.c (do_one_test): Likewise.
23055         (do_test): Likewise.
23056         * string/test-strstr.c (do_one_test): Likewise.
23057         (do_test): Likewise.
23058
23059         * benchtests/Makefile (string-bench): Add string benchmarks.
23060         * benchtests/bench-bcopy-ifunc.c: New file.
23061         * benchtests/bench-bcopy.c: New file.
23062         * benchtests/bench-bzero-ifunc.c: New file.
23063         * benchtests/bench-bzero.c: New file.
23064         * benchtests/bench-memccpy-ifunc.c: New file.
23065         * benchtests/bench-memccpy.c: New file.
23066         * benchtests/bench-memchr-ifunc.c: New file.
23067         * benchtests/bench-memchr.c: New file.
23068         * benchtests/bench-memcmp-ifunc.c: New file.
23069         * benchtests/bench-memcmp.c: New file.
23070         * benchtests/bench-memmem-ifunc.c: New file.
23071         * benchtests/bench-memmem.c: New file.
23072         * benchtests/bench-memmove-ifunc.c: New file.
23073         * benchtests/bench-memmove.c: New file.
23074         * benchtests/bench-mempcpy-ifunc.c: New file.
23075         * benchtests/bench-mempcpy.c: New file.
23076         * benchtests/bench-memset-ifunc.c: New file.
23077         * benchtests/bench-memset.c: New file.
23078         * benchtests/bench-rawmemchr-ifunc.c: New file.
23079         * benchtests/bench-rawmemchr.c: New file.
23080         * benchtests/bench-stpcpy-ifunc.c: New file.
23081         * benchtests/bench-stpcpy.c: New file.
23082         * benchtests/bench-stpncpy-ifunc.c: New file.
23083         * benchtests/bench-stpncpy.c: New file.
23084         * benchtests/bench-strcasecmp-ifunc.c: New file.
23085         * benchtests/bench-strcasecmp.c: New file.
23086         * benchtests/bench-strcasestr-ifunc.c: New file.
23087         * benchtests/bench-strcasestr.c: New file.
23088         * benchtests/bench-strcat-ifunc.c: New file.
23089         * benchtests/bench-strcat.c: New file.
23090         * benchtests/bench-strchr-ifunc.c: New file.
23091         * benchtests/bench-strchr.c: New file.
23092         * benchtests/bench-strchrnul-ifunc.c: New file.
23093         * benchtests/bench-strchrnul.c: New file.
23094         * benchtests/bench-strcmp-ifunc.c: New file.
23095         * benchtests/bench-strcmp.c: New file.
23096         * benchtests/bench-strcpy-ifunc.c: New file.
23097         * benchtests/bench-strcpy.c: New file.
23098         * benchtests/bench-strcspn-ifunc.c: New file.
23099         * benchtests/bench-strcspn.c: New file.
23100         * benchtests/bench-strlen-ifunc.c: New file.
23101         * benchtests/bench-strlen.c: New file.
23102         * benchtests/bench-strncasecmp-ifunc.c: New file.
23103         * benchtests/bench-strncasecmp.c: New file.
23104         * benchtests/bench-strncat-ifunc.c: New file.
23105         * benchtests/bench-strncat.c: New file.
23106         * benchtests/bench-strncmp-ifunc.c: New file.
23107         * benchtests/bench-strncmp.c: New file.
23108         * benchtests/bench-strncpy-ifunc.c: New file.
23109         * benchtests/bench-strncpy.c: New file.
23110         * benchtests/bench-strnlen-ifunc.c: New file.
23111         * benchtests/bench-strnlen.c: New file.
23112         * benchtests/bench-strpbrk-ifunc.c: New file.
23113         * benchtests/bench-strpbrk.c: New file.
23114         * benchtests/bench-strrchr-ifunc.c: New file.
23115         * benchtests/bench-strrchr.c: New file.
23116         * benchtests/bench-strspn-ifunc.c: New file.
23117         * benchtests/bench-strspn.c: New file.
23118         * benchtests/bench-strstr-ifunc.c: New file.
23119         * benchtests/bench-strstr.c: New file.
23120
23121         * benchtests/Makefile: Disable parallel execution of targets.
23122         (string-bench): Add memcpy.
23123         (benchset): New variable to store a list of benchmark sets.
23124         (bench-func): Renamed from bench.
23125         (bench-set): New target.
23126         (bench): Depend on bench-func and bench-set.
23127         * benchtests/README: Add section on benchmark sets.
23128         * benchtests/bench-memcpy-ifunc.c: New file.
23129         * benchtests/bench-memcpy.c: New file.
23130         * benchtests/bench-string.h: New file.
23131
23132 2013-06-11  Andreas Schwab  <schwab@suse.de>
23133
23134         [BZ #15577]
23135         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23136         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23137         values in the triple.
23138         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23139         terminator in the group key.
23140
23141 2013-06-11  Andreas Jaeger  <aj@suse.de>
23142
23143         * po/zh_TW.po: Update Chinese (traditional) translation from
23144         translation project.
23145
23146 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23147
23148         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23149         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23150         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23151         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23152         (clock_getcpuclockid): Likewise.
23153         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23154         Add weak_alias and libc_hidden_def.
23155         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23156         * rt/clock_gettime.c (clock_gettime): Rename to
23157         __clock_gettime.  Add weak_alias and libc_hidden_def.
23158         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23159         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23160         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23161         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23162         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23163         Likewise.
23164         * rt/clock_settime.c (clock_settime): Rename to
23165         __clock_settime.  Add weak_alias and libc_hidden_def.
23166         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23167
23168 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23169
23170         * mach/err_boot.sub: Remove trailing whitespace.
23171         * mach/err_ipc.sub: Likewise.
23172         * mach/err_mach.sub: Likewise.
23173
23174         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23175         (ROUNDING_TESTS_double): Likewise.
23176         (ROUNDING_TESTS_long_double): Likewise.
23177         (ROUNDING_TESTS): Likewise.
23178         * math/libm-test.inc: Include <math-tests.h>.
23179         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23180         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23181         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23182         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23183
23184 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23185
23186         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23187         of assigning.
23188
23189 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23190
23191         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23192         otherwise empty TRANS lines.
23193         * sysdeps/gnu/errlist.c: Regenerated.
23194
23195         * catgets/gencat.c (error_print): Use (void) in function
23196         definition.
23197         * crypt/crypt_util.c (__init_des): Likewise.
23198         * crypt/speeds.c (Stop): Likewise.
23199         (main): Likewise.
23200         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23201         * inet/ruserpass.c (token): Likewise.
23202         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23203         * intl/localealias.c (extend_alias_table): Likewise.
23204         * intl/plural-exp.c (init_germanic_plural): Likewise.
23205         * libio/fcloseall.c (__fcloseall): Likewise.
23206         * libio/genops.c (_IO_flush_all): Likewise.
23207         (_IO_flush_all_linebuffered): Likewise.
23208         (_IO_cleanup): Likewise.
23209         (_IO_iter_begin): Likewise.
23210         (_IO_iter_end): Likewise.
23211         (_IO_list_lock): Likewise.
23212         (_IO_list_unlock): Likewise.
23213         (_IO_list_resetlock): Likewise.
23214         * libio/getchar.c (getchar): Likewise.
23215         * libio/getchar_u.c (getchar_unlocked): Likewise.
23216         * libio/getwchar.c (getwchar): Likewise.
23217         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23218         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23219         * login/getpt.c (__getpt): Likewise.
23220         * login/tst-utmp.c (main): Likewise.
23221         * malloc/hooks.c (__malloc_check_init): Likewise.
23222         * malloc/malloc.c (__malloc_stats): Likewise.
23223         * malloc/mtrace.c (tr_break): Likewise.
23224         (mtrace): Likewise.
23225         (muntrace): Likewise.
23226         * misc/fstab.c (endfsent): Likewise.
23227         * misc/getclktck.c (__getclktck): Likewise.
23228         * misc/getdtsz.c (__getdtablesize): Likewise.
23229         * misc/gethostid.c (gethostid): Likewise.
23230         * misc/getpagesize.c (__getpagesize): Likewise.
23231         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23232         (__get_nprocs): Likewise.
23233         (__get_phys_pages): Likewise.
23234         (__get_avphys_pages): Likewise.
23235         * misc/getttyent.c (getttyent): Likewise.
23236         (setttyent): Likewise.
23237         (endttyent): Likewise.
23238         * misc/getusershell.c (getusershell): Likewise.
23239         (endusershell): Likewise.
23240         (setusershell): Likewise.
23241         (initshells): Likewise.
23242         * misc/hsearch.c (__hdestroy): Likewise.
23243         * misc/sync.c (sync): Likewise.
23244         * misc/syslog.c (closelog_internal): Likewise.
23245         (closelog): Likewise.
23246         * misc/ttyslot.c (ttyslot): Likewise.
23247         * misc/vhangup.c (vhangup): Likewise.
23248         * posix/fork.c (__fork): Likewise.
23249         * posix/getegid.c (__getegid): Likewise.
23250         * posix/geteuid.c (__geteuid): Likewise.
23251         * posix/getgid.c (__getgid): Likewise.
23252         * posix/getpid.c (__getpid): Likewise.
23253         * posix/getppid.c (__getppid): Likewise.
23254         * posix/getuid.c (__getuid): Likewise.
23255         * posix/pause.c (pause): Likewise.
23256         * posix/setpgrp.c (setpgrp): Likewise.
23257         * posix/setsid.c (__setsid): Likewise.
23258         * posix/test-vfork.c (noop): Likewise.
23259         * resolv/gethnamaddr.c (_endhtent): Likewise.
23260         (_gethtent): Likewise.
23261         (ht_endhostent): Likewise.
23262         (gethostent): Likewise.
23263         (dns_service): Likewise.
23264         * stdlib/drand48.c (drand48): Likewise.
23265         * stdlib/lrand48.c (lrand48): Likewise.
23266         * stdlib/mrand48.c (mrand48): Likewise.
23267         * stdlib/rand.c (rand): Likewise.
23268         * stdlib/random.c (__random): Likewise.
23269         * stdlib/setenv.c (clearenv): Likewise.
23270         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23271         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23272         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23273         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23274         (__get_nprocs): Likewise.
23275         (__get_phys_pages): Likewise.
23276         (__get_avphys_pages): Likewise.
23277         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23278         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23279         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23280         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23281         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23282         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23283         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23284         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23285         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23286         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23287         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23288         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23289         * sysdeps/posix/clock.c (clock): Likewise.
23290         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23291         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23292         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23293         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23294         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23295         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23296         (__get_nprocs_conf): Likewise.
23297         (__get_phys_pages): Likewise.
23298         (__get_avphys_pages): Likewise.
23299         * time/clock.c (clock): Likewise.
23300         * time/tzset.c (__tzname_max): Likewise.
23301
23302 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23303
23304         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23305         (__bswap_32): Do not use "register".
23306         * crypt/crypt.c (_ufc_doit_r): Likewise.
23307         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23308         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23309         * gmon/gmon.c (__monstartup): Likewise.
23310         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23311         * hurd/hurdmalloc.c (more_memory): Likewise.
23312         (malloc): Likewise.
23313         (free): Likewise.
23314         (realloc): Likewise.
23315         (malloc_fork_prepare): Likewise.
23316         (malloc_fork_parent): Likewise.
23317         (malloc_fork_child): Likewise.
23318         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23319         (_svcauth_des): Likewise.
23320         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23321         * inet/inet_net.c (inet_network): Likewise.
23322         * inet/inet_netof.c (inet_netof): Likewise.
23323         * inet/rcmd.c (__validuser2_sa): Likewise.
23324         * io/fts.c (fts_open): Likewise.
23325         (fts_load): Likewise.
23326         (fts_close): Likewise.
23327         (fts_read): Likewise.
23328         (fts_children): Likewise.
23329         (fts_build): Likewise.
23330         (fts_stat): Likewise.
23331         (fts_sort): Likewise.
23332         (fts_alloc): Likewise.
23333         (fts_lfree): Likewise.
23334         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23335         (_IO_file_xsgetn): Likewise.
23336         (_IO_file_xsgetn_mmap): Likewise.
23337         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23338         (_IO_cookie_write): Likewise.
23339         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23340         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23341         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23342         * malloc/obstack.c (_obstack_begin): Likewise.
23343         (_obstack_begin_1): Likewise.
23344         (_obstack_newchunk): Likewise.
23345         (_obstack_allocated_p): Likewise.
23346         (obstack_free): Likewise.
23347         (_obstack_memory_used): Likewise.
23348         * misc/getttyent.c (getttynam): Likewise.
23349         (getttyent): Likewise.
23350         (skip): Likewise.
23351         (value): Likewise.
23352         * misc/getusershell.c (initshells): Likewise.
23353         * misc/syslog.c (__vsyslog_chk): Likewise.
23354         * misc/ttyslot.c (ttyslot): Likewise.
23355         * nis/nis_hash.c (__nis_hash): Likewise.
23356         * posix/fnmatch_loop.c (FCT): Likewise.
23357         * posix/getconf.c (print_all): Likewise.
23358         (main): Likewise.
23359         * posix/getopt.c (exchange): Likewise.
23360         * posix/glob.c (globfree): Likewise.
23361         (prefix_array): Likewise.
23362         (__glob_pattern_type): Likewise.
23363         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23364         (NS_GET32): Likewise.
23365         (NS_PUT16): Likewise.
23366         (NS_PUT32): Likewise.
23367         * resolv/gethnamaddr.c (getanswer): Likewise.
23368         (gethostbyname2): Likewise.
23369         (gethostbyaddr): Likewise.
23370         (_gethtent): Likewise.
23371         (_gethtbyname2): Likewise.
23372         (_gethtbyaddr): Likewise.
23373         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23374         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23375         * resolv/res_init.c (__res_vinit): Likewise.
23376         (net_mask): Likewise.
23377         * resolv/res_mkquery.c (outchar): Likewise.
23378         (PRINT): Likewise.
23379         * stdio-common/printf_fp.c (outchar): Likewise.
23380         (PRINT): Likewise.
23381         * stdio-common/printf_fphex.c (outchar): Likewise.
23382         (PRINT): Likewise.
23383         * stdio-common/printf_size.c (outchar): Likewise.
23384         (PRINT): Likewise.
23385         * stdio-common/test_rdwr.c (main): Likewise.
23386         * stdio-common/tfformat.c (matches): Likewise.
23387         * stdio-common/vfprintf.c (outchar): Likewise.
23388         (printf_unknown): Likewise.
23389         (buffered_vfprintf): Likewise.
23390         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23391         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23392         (ReadFile): Likewise.
23393         * stdlib/qsort.c (SWAP): Likewise.
23394         (_quicksort): Likewise.
23395         * stdlib/setenv.c (__add_to_environ): Likewise.
23396         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23397         * stdlib/strtol_l.c (__strtol_l): Likewise.
23398         * stdlib/tst-strtod.c (main): Likewise.
23399         * stdlib/tst-strtol.c (main): Likewise.
23400         * stdlib/tst-strtoll.c (main): Likewise.
23401         * string/bits/string2.h (__strcmp_cc): Likewise.
23402         (__strcmp_cg): Likewise.
23403         (__strcspn_c1): Likewise.
23404         (__strcspn_c2): Likewise.
23405         (__strcspn_c3): Likewise.
23406         (__strspn_c1): Likewise.
23407         (__strspn_c2): Likewise.
23408         (__strspn_c3): Likewise.
23409         (__strsep_1c): Likewise.
23410         (__strsep_2c): Likewise.
23411         (__strsep_3c): Likewise.
23412         * string/memccpy.c (__memccpy): Likewise.
23413         * string/stpcpy.c (__stpcpy): Likewise.
23414         * string/strcmp.c (strcmp): Likewise.
23415         * string/strrchr.c (strrchr): Likewise.
23416         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23417         Likewise.
23418         * sysdeps/mach/hurd/getcwd.c
23419         (_hurd_canonicalize_directory_name_internal): Likewise.
23420         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23421         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23422         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23423         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23424         Likewise, in both definitions.
23425         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23426         definitions.
23427         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23428         64] (__bswap_64): Likewise.
23429         * time/test_time.c (main): Likewise.
23430         * time/tzfile.c (__tzfile_read): Likewise.
23431         (__tzfile_compute): Likewise.
23432         * time/tzset.c (__tzset_parse_tz): Likewise.
23433         (tzset_internal): Likewise.
23434         (compute_change): Likewise.
23435         * wcsmbs/wcscat.c (__wcscat): Likewise.
23436         * wcsmbs/wcschr.c (wcschr): Likewise.
23437         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23438         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23439         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23440         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23441         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23442         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23443         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23444         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23445         * wcsmbs/wmemset.c (wmemset): Likewise.
23446
23447 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23448
23449         * scripts/config.guess: Update to version 2013-05-16.
23450         * scripts/config.sub: Update to version 2013-04-24.
23451         * scripts/install-sh: Update to version 2011-11-20.07.
23452         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23453         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23454
23455 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23456
23457         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23458         * elf/sln.c: Likewise.
23459         * hurd/hurd/ioctl.h: Likewise.
23460         * hurd/hurdmalloc.c: Likewise.
23461         * hurd/xattr.c: Likewise.
23462         * include/shlib-compat.h: Likewise.
23463         * inet/ruserpass.c: Likewise.
23464         * libio/iofgets_u.c: Likewise.
23465         * libio/iofgetws_u.c: Likewise.
23466         * locale/programs/ld-identification.c: Likewise.
23467         * locale/programs/ld-time.c: Likewise.
23468         * mach/msg-destroy.c: Likewise.
23469         * nss/nss_files/files-netgrp.c: Likewise.
23470         * resolv/res_data.c: Likewise.
23471         * soft-fp/op-1.h: Likewise.
23472         * soft-fp/op-2.h: Likewise.
23473         * soft-fp/op-4.h: Likewise.
23474         * soft-fp/op-common.h: Likewise.
23475         * stdio-common/printf_fphex.c: Likewise.
23476         * stdlib/strtod_l.c: Likewise.
23477         * sunrpc/rpc/clnt.h: Likewise.
23478         * sysdeps/generic/framestate.c: Likewise.
23479         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23480         * sysdeps/i386/bsd-setjmp.S: Likewise.
23481         * sysdeps/i386/__longjmp.S: Likewise.
23482         * sysdeps/i386/setjmp.S: Likewise.
23483         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23484         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23485         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23486         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23487         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23488         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23489         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23490         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23491         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23492         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23493         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23494         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23495         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23496         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23497         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23498         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23499         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23500         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23501         * sysdeps/ieee754/support.c: Likewise.
23502         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23503         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23504         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23505         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23506         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23507         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23508         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23509         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23510         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23511         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23512         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23513         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23514         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23515         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23516         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23517         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23518         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23520
23521 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23522
23523         * posix/transbug.c: Remove executable mode.
23524
23525 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23526
23527         * crypt/speeds.c: Remove trailing whitespace.
23528         * dlfcn/default.c: Likewise.
23529         * elf/ifuncdep2.c: Likewise.
23530         * elf/ifuncmain1.c: Likewise.
23531         * elf/ifuncmain1vis.c: Likewise.
23532         * elf/testobj.h: Likewise.
23533         * elf/tst-stackguard1.c: Likewise.
23534         * gmon/sys/gmon.h: Likewise.
23535         * hurd/hurdmsg.c: Likewise.
23536         * hurd/new-fd.c: Likewise.
23537         * hurd/ports-get.c: Likewise.
23538         * iconvdata/ibm1008_420.c: Likewise.
23539         * inet/tst-getni1.c: Likewise.
23540         * inet/tst-getni2.c: Likewise.
23541         * libio/ioungetc.c: Likewise.
23542         * libio/wfiledoalloc.c: Likewise.
23543         * manual/libm-err-tab.pl: Likewise.
23544         * math/w_dremf.c: Likewise.
23545         * misc/ftruncate.c: Likewise.
23546         * posix/bug-glob2.c: Likewise.
23547         * posix/tst-pcre.c: Likewise.
23548         * posix/wait4.c: Likewise.
23549         * resolv/README: Likewise.
23550         * resolv/res_debug.h: Likewise.
23551         * resolv/tst-inet_ntop.c: Likewise.
23552         * setjmp/bug269-setjmp.c: Likewise.
23553         * soft-fp/extended.h: Likewise.
23554         * soft-fp/op-1.h: Likewise.
23555         * soft-fp/op-2.h: Likewise.
23556         * soft-fp/op-4.h: Likewise.
23557         * soft-fp/op-8.h: Likewise.
23558         * soft-fp/testit.c: Likewise.
23559         * stdio-common/bug16.c: Likewise.
23560         * stdlib/random.c: Likewise.
23561         * sunrpc/rpcsvc/rquota.x: Likewise.
23562         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23563         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23564         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23565         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23566         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23567         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23568         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23569         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23570         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23571         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23572         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23573         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23574         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23575         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23576         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23577         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23578         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23579         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23580         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23581         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23582         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23583         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23584         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23585         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23586         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23587         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23588         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23589         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23590         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23591         * sysdeps/ieee754/s_lib_version.c: Likewise.
23592         * sysdeps/mach/hurd/check_fds.c: Likewise.
23593         * sysdeps/mach/hurd/getsockname.c: Likewise.
23594         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23595         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23596         * sysdeps/powerpc/bits/link.h: Likewise.
23597         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23598         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23599         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23600         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23601         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23602         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23603         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23604         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23605         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23606         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23607         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23608         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23609         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23610         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23611         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23612         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23613         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23614         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23615         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23616         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23617         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23618         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23619         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23620         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23621         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23622         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23623         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23624         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23625         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23626         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23627         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23628         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23629         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23630         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23631         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23632         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23633         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23634         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23635         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23636         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23637         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23638         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23639         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23640         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23641         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23642         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23643         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23644         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23645         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23646         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23647         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23648         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23649         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23650         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23651         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23652         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23653         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23654         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23655         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23656         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23657         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23658         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23659         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23660         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23661         * sysdeps/powerpc/sysdep.h: Likewise.
23662         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23663         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23664         * sysdeps/sh/dl-trampoline.S: Likewise.
23665         * sysdeps/sh/memset.S: Likewise.
23666         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23667         * sysdeps/sh/strlen.S: Likewise.
23668         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23669         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23670         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23671         * sysdeps/sparc/sparc32/rem.S: Likewise.
23672         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23673         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23674         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23675         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23676         * sysdeps/sparc/sparc32/urem.S: Likewise.
23677         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23678         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23679         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23680         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23681         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23682         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23683         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23684         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23685         * sysdeps/unix/bsd/times.c: Likewise.
23686         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23687         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23691         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23692         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23693         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23694         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23695         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23696         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23697         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23698         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23699         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23700         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23701         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23702         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23703         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23704         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23705         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23706         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23707         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23708         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23709         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23710         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23711         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23712         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23713         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23714         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23715         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23716         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23717         * sysdeps/x86_64/strcspn.S: Likewise.
23718
23719 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23720
23721         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23722         generated file.  Regenerate properly from gen-translit.pl.
23723         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23724         locale/C-translit.h.
23725
23726 2013-06-05  Andreas Schwab  <schwab@suse.de>
23727
23728         [BZ #15100]
23729         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23730         week as 6 instead of -1.
23731         * time/tst-strptime.c (day_tests): Add test case.
23732
23733 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23734
23735         * sysdeps/generic/math_private.h
23736         (libc_feholdexcept_setround_53bit): Replace with
23737         libc_feholdsetround_53bit.
23738         (libc_feupdateenv_53bit): Replace with
23739         libc_feresetround_53bit.
23740         (SET_RESTORE_ROUND_53BIT): Adjust.
23741
23742 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23743
23744         * string/test-strchrnul.c: Add copyright header.
23745
23746         * posix/tst-getaddrinfo4.c: Increase test timeout.
23747
23748 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23749
23750         [BZ #15536]
23751         * math/libm-test.inc (MAX_EXP): Remove
23752         (MIN_EXP): Define.
23753         (ulp): Use MIN_EXP - MANT_DIG.
23754         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23755
23756 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
23757
23758         * po/be.po: Revert last change.
23759         * po/zh_CN.po: Likewise.
23760         * po/header.pot: Likewise.
23761
23762 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
23763
23764         * Makefile ($(common-objpfx)linkobj/libc.so): Define
23765         link-libc-deps to empty as target-specific variable.
23766         * Makerules (link-libc-args): New variable.
23767         (libc-for-link): Likewise.
23768         (link-libc-deps): Likewise.
23769         (lib%.so): Depend on $(link-libc-deps).  Link with
23770         $(link-libc-args).
23771         (build-module): Link with $(link-libc-args).
23772         (build-module-asneeded): Likewise.
23773         (build-module-helper-objlist): Filter out $(link-libc-deps) from
23774         list of objects.
23775         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23776         target-specific variable.
23777         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23778         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23779         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23780         libc.
23781         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23782         libc and ld.so.
23783         ($(objpfx)libpcprofile.so): Likewise.
23784         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23785         libc_nonshared.a.
23786         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23787         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23788         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23789         $(link-libc-deps).
23790         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23791         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23792         * login/Makefile ($(objpfx)libutil.so): Likewise.
23793         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23794         * math/Makefile ($(objpfx)libm.so): Likewise.
23795         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23796         $(objpfx)libnsl.so): Define libc-for-link as target-specific
23797         variable instead of depending directly on libc.
23798         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23799         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23800         $(link-libc-deps).
23801         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23802         libc.
23803         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23804         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23805         ($(objpfx)libanl.so): Likewise.
23806         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23807         ld.so.
23808         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23809         $(link-libc-deps).
23810         * sysdeps/i386/fpu/Makefile: Remove file.
23811         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23812         ($(objpfx)libm.so): Remove dependency on ld.so.
23813
23814 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
23815
23816         [BZ # 15553]
23817         * nis/yp_xdr.c (XDRMAXNAME): Define.
23818         (XDRMAXRECORD): Define.
23819         (xdr_domainname): Use XDRMAXNAME.
23820         (xdr_mapname): Likewise.
23821         (xdr_peername): Likewise.
23822         (xdr_keydat): Use XDRMAXRECORD.
23823         (xdr_valdat): Likewise.
23824
23825 2013-05-30  Jeff Law  <law@redhat.com>
23826
23827         [BZ #14256]
23828         * manual/errno.texi (ESTALE): Update to account for more than
23829         just NFS file systems.
23830         * sysdeps/gnu/errlist.c: Regenerated.
23831
23832 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23833
23834         [BZ #15465]
23835         * elf/Makefile (tests): Add tst-null-argv.
23836         (modules-names):  Add tst-null-argv-lib.
23837         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23838         (tst-null-argv-ENV): Set environment for tst-null-argv.
23839         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23840         (RTLD_PROGNAME): New macro.
23841         * elf/tst-null-argv.c: New test case.
23842         * elf/tst-null-argv-lib.c: Library for test case.
23843         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23844         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23845         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23846         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23847         * elf/dl-init.c (call_init): Likewise.
23848         (_dl_init): Likewise.
23849         * elf/dl-load.c (print_search_path): Likewise.
23850         (_dl_map_object): Likewise.
23851         * elf/dl-lookup.c (do_lookup_x): Likewise.
23852         (add_dependency): Likewise.
23853         (_dl_lookup_symbol_x): Likewise.
23854         (_dl_debug_bindings): Likewise.
23855         * elf/dl-open.c (_dl_show_scope): Likewise.
23856         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23857         * elf/dl-version.c (match_symbol): Likewise.
23858         (_dl_check_map_versions): Likewise.
23859         * elf/rtld.c (dl_main): Likewise.
23860         (print_unresolved): Use RTLD_PROGNAME.
23861         (print_missing_version): Likewise.
23862         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23863         (elf_machine_rela): Likewise.
23864         * sysdeps/powerpc/powerpc32/dl-machine.c
23865         (__process_machine_rela): Likewise.
23866         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23867         Likewise.
23868         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23869         Likewise.
23870         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23871         Likewise.
23872         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23873         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23874         Likewise.
23875         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23876         Likewise.
23877         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23878
23879 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
23880
23881         * po/be.po: Add descriptive title.
23882         * po/zh_CN.po: Likewise.
23883         * po/header.pot: Likewise.
23884
23885 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
23886
23887         * locale/programs/locarchive.c (create_archive): Inlucde fname in
23888         error message.
23889         (enlarge_archive): Likewise.
23890
23891 2013-05-28  Ben North  <ben@redfrontdoor.org>
23892
23893         * manual/arith.texi (frexp): It is the magnitude of the return
23894         value which lies in [0.5, 1), not the return value itself.
23895
23896 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23897
23898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23899
23900 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
23901
23902         * stdio-common/bug26.c (main): Correct fscanf template.
23903
23904         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23905         declare _dl_skip_args.
23906
23907         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23908         Don't declare.
23909
23910         * manual/platform.texi: Add missing @end deftypefun.
23911
23912 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23913
23914         [BZ #15529]
23915         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23916         bit of mantissa of 2^16382.
23917         * math/libm-test.inc (hypot_test_data): Add more tests.
23918
23919         * math/libm-test.inc: Add drem and pow10 to list of tested
23920         functions.
23921         (pow10_test): New function.
23922         (drem_test): Likewise.
23923         (drem_test_tonearest): Likewise.
23924         (drem_test_towardzero): Likewise.
23925         (drem_test_downward): Likewise.
23926         (drem_test_upward): Likewise.
23927         (main): Call the new functions.
23928
23929         * math/libm-test.inc (finite_test_data): Remove.
23930         (finite_test): Run tests from isfinite_test_data.
23931         (gamma_test_data): Remove.
23932         (gamma_test): Run tests from lgamma_test_data.
23933         * sysdeps/i386/fpu/libm-test-ulps: Update.
23934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23935
23936 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23937
23938         * manual/platform.texi: Add PowerPC PPR function set documentation.
23939         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23940         implementation.
23941
23942 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
23943
23944         * math/libm-test.inc (MAX_EXP): Define.
23945         (ULPDIFF): Define.
23946         (ulp): New function.
23947         (check_float_internal): Use ULPDIFF.
23948         (cpow_test): Disable failing test.
23949         (check_ulp): Test ulp() implemetnation.
23950         (main): Call check_ulp before starting tests.
23951
23952 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23953
23954         * math/gen-libm-test.pl (generate_testfile): Do not handle
23955         START_DATA and END_DATA.
23956         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23957         END_DATA.
23958         (acos_tonearest_test_data): Likewise.
23959         (acos_towardzero_test_data): Likewise.
23960         (acos_downward_test_data): Likewise.
23961         (acos_upward_test_data): Likewise.
23962         (acosh_test_data): Likewise.
23963         (asin_test_data): Likewise.
23964         (asin_tonearest_test_data): Likewise.
23965         (asin_towardzero_test_data): Likewise.
23966         (asin_downward_test_data): Likewise.
23967         (asin_upward_test_data): Likewise.
23968         (asinh_test_data): Likewise.
23969         (atan_test_data): Likewise.
23970         (atanh_test_data): Likewise.
23971         (atan2_test_data): Likewise.
23972         (cabs_test_data): Likewise.
23973         (cacos_test_data): Likewise.
23974         (cacosh_test_data): Likewise.
23975         (carg_test_data): Likewise.
23976         (casin_test_data): Likewise.
23977         (casinh_test_data): Likewise.
23978         (catan_test_data): Likewise.
23979         (catanh_test_data): Likewise.
23980         (cbrt_test_data): Likewise.
23981         (ccos_test_data): Likewise.
23982         (ccosh_test_data): Likewise.
23983         (ceil_test_data): Likewise.
23984         (cexp_test_data): Likewise.
23985         (cimag_test_data): Likewise.
23986         (clog_test_data): Likewise.
23987         (clog10_test_data): Likewise.
23988         (conj_test_data): Likewise.
23989         (copysign_test_data): Likewise.
23990         (cos_test_data): Likewise.
23991         (cos_tonearest_test_data): Likewise.
23992         (cos_towardzero_test_data): Likewise.
23993         (cos_downward_test_data): Likewise.
23994         (cos_upward_test_data): Likewise.
23995         (cosh_test_data): Likewise.
23996         (cosh_tonearest_test_data): Likewise.
23997         (cosh_towardzero_test_data): Likewise.
23998         (cosh_downward_test_data): Likewise.
23999         (cosh_upward_test_data): Likewise.
24000         (cpow_test_data): Likewise.
24001         (cproj_test_data): Likewise.
24002         (creal_test_data): Likewise.
24003         (csin_test_data): Likewise.
24004         (csinh_test_data): Likewise.
24005         (csqrt_test_data): Likewise.
24006         (ctan_test_data): Likewise.
24007         (ctan_tonearest_test_data): Likewise.
24008         (ctan_towardzero_test_data): Likewise.
24009         (ctan_downward_test_data): Likewise.
24010         (ctan_upward_test_data): Likewise.
24011         (ctanh_test_data): Likewise.
24012         (ctanh_tonearest_test_data): Likewise.
24013         (ctanh_towardzero_test_data): Likewise.
24014         (ctanh_downward_test_data): Likewise.
24015         (ctanh_upward_test_data): Likewise.
24016         (erf_test_data): Likewise.
24017         (erfc_test_data): Likewise.
24018         (exp_test_data): Likewise.
24019         (exp_tonearest_test_data): Likewise.
24020         (exp_towardzero_test_data): Likewise.
24021         (exp_downward_test_data): Likewise.
24022         (exp_upward_test_data): Likewise.
24023         (exp10_test_data): Likewise.
24024         (exp2_test_data): Likewise.
24025         (expm1_test_data): Likewise.
24026         (fabs_test_data): Likewise.
24027         (fdim_test_data): Likewise.
24028         (finite_test_data): Likewise.
24029         (floor_test_data): Likewise.
24030         (fma_test_data): Likewise.
24031         (fma_towardzero_test_data): Likewise.
24032         (fma_downward_test_data): Likewise.
24033         (fma_upward_test_data): Likewise.
24034         (fmax_test_data): Likewise.
24035         (fmin_test_data): Likewise.
24036         (fmod_test_data): Likewise.
24037         (fpclassify_test_data): Likewise.
24038         (frexp_test_data): Likewise.
24039         (gamma_test_data): Likewise.
24040         (hypot_test_data): Likewise.
24041         (ilogb_test_data): Likewise.
24042         (isfinite_test_data): Likewise.
24043         (isgreater_test_data): Likewise.
24044         (isgreaterequal_test_data): Likewise.
24045         (isinf_test_data): Likewise.
24046         (isless_test_data): Likewise.
24047         (islessequal_test_data): Likewise.
24048         (islessgreater_test_data): Likewise.
24049         (isnan_test_data): Likewise.
24050         (isnormal_test_data): Likewise.
24051         (issignaling_test_data): Likewise.
24052         (isunordered_test_data): Likewise.
24053         (j0_test_data): Likewise.
24054         (j1_test_data): Likewise.
24055         (jn_test_data): Likewise.
24056         (ldexp_test_data): Likewise.
24057         (lgamma_test_data): Likewise.
24058         (lrint_test_data): Likewise.
24059         (lrint_tonearest_test_data): Likewise.
24060         (lrint_towardzero_test_data): Likewise.
24061         (lrint_downward_test_data): Likewise.
24062         (lrint_upward_test_data): Likewise.
24063         (llrint_test_data): Likewise.
24064         (llrint_tonearest_test_data): Likewise.
24065         (llrint_towardzero_test_data): Likewise.
24066         (llrint_downward_test_data): Likewise.
24067         (llrint_upward_test_data): Likewise.
24068         (log_test_data): Likewise.
24069         (log10_test_data): Likewise.
24070         (log1p_test_data): Likewise.
24071         (log2_test_data): Likewise.
24072         (logb_test_data): Likewise.
24073         (logb_downward_test_data): Likewise.
24074         (lround_test_data): Likewise.
24075         (llround_test_data): Likewise.
24076         (modf_test_data): Likewise.
24077         (nearbyint_test_data): Likewise.
24078         (nextafter_test_data): Likewise.
24079         (nexttoward_test_data): Likewise.
24080         (pow_test_data): Likewise.
24081         (pow_tonearest_test_data): Likewise.
24082         (pow_towardzero_test_data): Likewise.
24083         (pow_downward_test_data): Likewise.
24084         (pow_upward_test_data): Likewise.
24085         (remainder_test_data): Likewise.
24086         (remainder_tonearest_test_data): Likewise.
24087         (remainder_towardzero_test_data): Likewise.
24088         (remainder_downward_test_data): Likewise.
24089         (remainder_upward_test_data): Likewise.
24090         (remquo_test_data): Likewise.
24091         (rint_test_data): Likewise.
24092         (rint_tonearest_test_data): Likewise.
24093         (rint_towardzero_test_data): Likewise.
24094         (rint_downward_test_data): Likewise.
24095         (rint_upward_test_data): Likewise.
24096         (round_test_data): Likewise.
24097         (scalb_test_data): Likewise.
24098         (scalbn_test_data): Likewise.
24099         (scalbln_test_data): Likewise.
24100         (signbit_test_data): Likewise.
24101         (sin_test_data): Likewise.
24102         (sin_tonearest_test_data): Likewise.
24103         (sin_towardzero_test_data): Likewise.
24104         (sin_downward_test_data): Likewise.
24105         (sin_upward_test_data): Likewise.
24106         (sincos_test_data): Likewise.
24107         (sinh_test_data): Likewise.
24108         (sinh_tonearest_test_data): Likewise.
24109         (sinh_towardzero_test_data): Likewise.
24110         (sinh_downward_test_data): Likewise.
24111         (sinh_upward_test_data): Likewise.
24112         (sqrt_test_data): Likewise.
24113         (tan_test_data): Likewise.
24114         (tan_tonearest_test_data): Likewise.
24115         (tan_towardzero_test_data): Likewise.
24116         (tan_downward_test_data): Likewise.
24117         (tan_upward_test_data): Likewise.
24118         (tanh_test_data): Likewise.
24119         (tgamma_test_data): Likewise.
24120         (trunc_test_data): Likewise.
24121         (y0_test_data): Likewise.
24122         (y1_test_data): Likewise.
24123         (yn_test_data): Likewise.
24124         (significand_test_data): Likewise.
24125
24126         * math/gen-libm-test.pl (@functions): Remove variable.
24127         (generate_testfile): Don't handle START and END lines.
24128         * math/libm-test.inc (START): New macro.
24129         (END): Likewise.
24130         (END_COMPLEX): Likewise.
24131         (acos_test): Use END macro without arguments.
24132         (acos_test_tonearest): Likewise.
24133         (acos_test_towardzero): Likewise.
24134         (acos_test_downward): Likewise.
24135         (acos_test_upward): Likewise.
24136         (acosh_test): Likewise.
24137         (asin_test): Likewise.
24138         (asin_test_tonearest): Likewise.
24139         (asin_test_towardzero): Likewise.
24140         (asin_test_downward): Likewise.
24141         (asin_test_upward): Likewise.
24142         (asinh_test): Likewise.
24143         (atan_test): Likewise.
24144         (atanh_test): Likewise.
24145         (atan2_test): Likewise.
24146         (cabs_test): Likewise.
24147         (cacos_test): Use END_COMPLEX macro without arguments.
24148         (cacosh_test): Likewise.
24149         (carg_test): Use END macro without arguments.
24150         (casin_test): Use END_COMPLEX macro without arguments.
24151         (casinh_test): Likewise.
24152         (catan_test): Likewise.
24153         (catanh_test): Likewise.
24154         (cbrt_test): Use END macro without arguments.
24155         (ccos_test): Use END_COMPLEX macro without arguments.
24156         (ccosh_test): Likewise.
24157         (ceil_test): Use END macro without arguments.
24158         (cexp_test): Use END_COMPLEX macro without arguments.
24159         (cimag_test): Use END macro without arguments.
24160         (clog_test): Use END_COMPLEX macro without arguments.
24161         (clog10_test): Likewise.
24162         (conj_test): Likewise.
24163         (copysign_test): Use END macro without arguments.
24164         (cos_test): Likewise.
24165         (cos_test_tonearest): Likewise.
24166         (cos_test_towardzero): Likewise.
24167         (cos_test_downward): Likewise.
24168         (cos_test_upward): Likewise.
24169         (cosh_test): Likewise.
24170         (cosh_test_tonearest): Likewise.
24171         (cosh_test_towardzero): Likewise.
24172         (cosh_test_downward): Likewise.
24173         (cosh_test_upward): Likewise.
24174         (cpow_test): Use END_COMPLEX macro without arguments.
24175         (cproj_test): Likewise.
24176         (creal_test): Use END macro without arguments.
24177         (csin_test): Use END_COMPLEX macro without arguments.
24178         (csinh_test): Likewise.
24179         (csqrt_test): Likewise.
24180         (ctan_test): Likewise.
24181         (ctan_test_tonearest): Likewise.
24182         (ctan_test_towardzero): Likewise.
24183         (ctan_test_downward): Likewise.
24184         (ctan_test_upward): Likewise.
24185         (ctanh_test): Likewise.
24186         (ctanh_test_tonearest): Likewise.
24187         (ctanh_test_towardzero): Likewise.
24188         (ctanh_test_downward): Likewise.
24189         (ctanh_test_upward): Likewise.
24190         (erf_test): Use END macro without arguments.
24191         (erfc_test): Likewise.
24192         (exp_test): Likewise.
24193         (exp_test_tonearest): Likewise.
24194         (exp_test_towardzero): Likewise.
24195         (exp_test_downward): Likewise.
24196         (exp_test_upward): Likewise.
24197         (exp10_test): Likewise.
24198         (exp2_test): Likewise.
24199         (expm1_test): Likewise.
24200         (fabs_test): Likewise.
24201         (fdim_test): Likewise.
24202         (finite_test): Likewise.
24203         (floor_test): Likewise.
24204         (fma_test): Likewise.
24205         (fma_test_towardzero): Likewise.
24206         (fma_test_downward): Likewise.
24207         (fma_test_upward): Likewise.
24208         (fmax_test): Likewise.
24209         (fmin_test): Likewise.
24210         (fmod_test): Likewise.
24211         (fpclassify_test): Likewise.
24212         (frexp_test): Likewise.
24213         (gamma_test): Likewise.
24214         (hypot_test): Likewise.
24215         (ilogb_test): Likewise.
24216         (isfinite_test): Likewise.
24217         (isgreater_test): Likewise.
24218         (isgreaterequal_test): Likewise.
24219         (isinf_test): Likewise.
24220         (isless_test): Likewise.
24221         (islessequal_test): Likewise.
24222         (islessgreater_test): Likewise.
24223         (isnan_test): Likewise.
24224         (isnormal_test): Likewise.
24225         (issignaling_test): Likewise.
24226         (isunordered_test): Likewise.
24227         (j0_test): Likewise.
24228         (j1_test): Likewise.
24229         (jn_test): Likewise.
24230         (ldexp_test): Likewise.
24231         (lgamma_test): Likewise.
24232         (lrint_test): Likewise.
24233         (lrint_test_tonearest): Likewise.
24234         (lrint_test_towardzero): Likewise.
24235         (lrint_test_downward): Likewise.
24236         (lrint_test_upward): Likewise.
24237         (llrint_test): Likewise.
24238         (llrint_test_tonearest): Likewise.
24239         (llrint_test_towardzero): Likewise.
24240         (llrint_test_downward): Likewise.
24241         (llrint_test_upward): Likewise.
24242         (log_test): Likewise.
24243         (log10_test): Likewise.
24244         (log1p_test): Likewise.
24245         (log2_test): Likewise.
24246         (logb_test): Likewise.
24247         (logb_test_downward): Likewise.
24248         (lround_test): Likewise.
24249         (llround_test): Likewise.
24250         (modf_test): Likewise.
24251         (nearbyint_test): Likewise.
24252         (nextafter_test): Likewise.
24253         (nexttoward_test): Likewise.
24254         (pow_test): Likewise.
24255         (pow_test_tonearest): Likewise.
24256         (pow_test_towardzero): Likewise.
24257         (pow_test_downward): Likewise.
24258         (pow_test_upward): Likewise.
24259         (remainder_test): Likewise.
24260         (remainder_test_tonearest): Likewise.
24261         (remainder_test_towardzero): Likewise.
24262         (remainder_test_downward): Likewise.
24263         (remainder_test_upward): Likewise.
24264         (remquo_test): Likewise.
24265         (rint_test): Likewise.
24266         (rint_test_tonearest): Likewise.
24267         (rint_test_towardzero): Likewise.
24268         (rint_test_downward): Likewise.
24269         (rint_test_upward): Likewise.
24270         (round_test): Likewise.
24271         (scalb_test): Likewise.
24272         (scalbn_test): Likewise.
24273         (scalbln_test): Likewise.
24274         (signbit_test): Likewise.
24275         (sin_test): Likewise.
24276         (sin_test_tonearest): Likewise.
24277         (sin_test_towardzero): Likewise.
24278         (sin_test_downward): Likewise.
24279         (sin_test_upward): Likewise.
24280         (sincos_test): Likewise.
24281         (sinh_test): Likewise.
24282         (sinh_test_tonearest): Likewise.
24283         (sinh_test_towardzero): Likewise.
24284         (sinh_test_downward): Likewise.
24285         (sinh_test_upward): Likewise.
24286         (sqrt_test): Likewise.
24287         (tan_test): Likewise.
24288         (tan_test_tonearest): Likewise.
24289         (tan_test_towardzero): Likewise.
24290         (tan_test_downward): Likewise.
24291         (tan_test_upward): Likewise.
24292         (tanh_test): Likewise.
24293         (tgamma_test): Likewise.
24294         (trunc_test): Likewise.
24295         (y0_test): Likewise.
24296         (y1_test): Likewise.
24297         (yn_test): Likewise.
24298         (significand_test): Likewise.
24299
24300 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24301
24302         [BZ #15381]
24303         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24304
24305 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24306
24307         [BZ #14894]
24308         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24309         __ppc_mdoio and __ppc_mdoom.
24310         * manual/platform.texi: Document new functions __ppc_yield,
24311         __ppc_mdoio and __ppc_mdoom.
24312
24313 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24314
24315         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24316         (main): Mention "tls" pseudo-hwcap is legacy.
24317         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24318
24319 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24320
24321         * math/gen-libm-test.pl (parse_args): Output only string of
24322         arguments as text for test name, not full call or descriptions of
24323         tests for extra outputs.
24324         (generate_testfile): Do not pass function name to parse_args.
24325         Generate this_func variable from START.
24326         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24327         field to arg_str.
24328         (struct test_ff_f_data): Likewise.
24329         (test_ff_f_data_nexttoward): Likewise.
24330         (struct test_fi_f_data): Likewise.
24331         (struct test_fl_f_data): Likewise.
24332         (struct test_if_f_data): Likewise.
24333         (struct test_fff_f_data): Likewise.
24334         (struct test_c_f_data): Likewise.
24335         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24336         (struct test_fF_f1_data): Likewise.
24337         (struct test_ffI_f1_data): Likewise.
24338         (struct test_c_c_data): Rename test_name field to arg_str.
24339         (struct test_cc_c_data): Likewise.
24340         (struct test_f_i_data): Likewise.
24341         (struct test_ff_i_data): Likewise.
24342         (struct test_f_l_data): Likewise.
24343         (struct test_f_L_data): Likewise.
24344         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24345         and extra2_name.
24346         (COMMON_TEST_SETUP): New macro.
24347         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24348         (COMMON_TEST_CLEANUP): Likewise.
24349         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24350         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24351         macros.
24352         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24353         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24354         macros.
24355         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24356         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24357         cleanup macros.
24358         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24359         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24360         macros.
24361         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24362         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24363         macros.
24364         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24365         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24366         cleanup macros.
24367         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24368         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24369         cleanup macros.
24370         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24371         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24372         cleanup macros.
24373         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24374         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24375         macros.
24376         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24377         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24378         macros.
24379         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24380         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24381         macros.
24382         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24383         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24384         cleanup macros.
24385         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24386         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24387         cleanup macros.
24388         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24389         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24390         macros.
24391         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24392         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24393         cleanup macros.
24394         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24395         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24396         macros.
24397         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24398         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24399         macros.
24400         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24401         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24402         cleanup macros.
24403         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24404
24405 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24406
24407         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24408         to _sifields.sigfault.
24409         (si_addr_lsb): Define new macro.
24410         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24411         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24412         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24413
24414 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24415
24416         [BZ #15441]
24417         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24418         returns -1.
24419         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24420         null return -1.
24421         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24422         loading the domain.
24423
24424 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24425
24426         * math/gen-libm-test.pl (parse_args): Do not include expected
24427         result in test name.
24428         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24429         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24430         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24431         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24432         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24434
24435 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24436
24437         * benchtests/Makefile: Sort function entries.
24438
24439         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24440         tanh, asinh, acosh, atanh.
24441         * benchtests/acos-inputs: New file.
24442         * benchtests/acosh-inputs: New file.
24443         * benchtests/asin-inputs: New file.
24444         * benchtests/asinh-inputs: New file.
24445         * benchtests/atanh-inputs: New file.
24446         * benchtests/cosh-inputs: New file.
24447         * benchtests/log-inputs: New file.
24448         * benchtests/sinh-inputs: New file.
24449         * benchtests/tanh-inputs: New file.
24450
24451 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24452
24453         [BZ #15339]
24454         * posix/tst-getaddrinfo4.c: New test.
24455         * posix/Makefile (tests): Add it.
24456
24457 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24458
24459         [BZ #15339]
24460         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24461         when no services were used.
24462         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24463         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24464
24465 2013-05-21  Andreas Schwab  <schwab@suse.de>
24466
24467         [BZ #15014]
24468         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24469         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24470         successful.
24471         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24472         redundant variable declarations and reallocation of buffer when
24473         parsing as IPv6 address.  Always set NSS status when called from
24474         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24475         buffer too small.  Correct computation of needed size.
24476         * nss/Makefile (tests): Add test-digits-dots.
24477         * nss/test-digits-dots.c: New test.
24478
24479 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24480
24481         * benchtests/Makefile: Remove instructions for adding
24482         benchmark tests.
24483         * benchtests/README: New file to explain how to execute and
24484         enhance the benchmark tests.
24485
24486 2013-05-21  Andreas Schwab  <schwab@suse.de>
24487
24488         [BZ #15493]
24489         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24490         * setjmp/tst-sigsetjmp.c: New test.
24491
24492 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24493
24494         * sysdeps/x86_64/memset.S (memset): New implementation.
24495         (__bzero): Likewise.
24496         (__memset_tail): New function.
24497
24498 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24499
24500         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24501         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24502         __memcpy_sse2_unaligned ifunc selection.
24503         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24504         Add memcpy-sse2-unaligned.S.
24505         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24506         Add: __memcpy_sse2_unaligned.
24507
24508 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24509
24510         [BZ #15490]
24511         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24512         math_force_eval before restoring floating-point envrionment.
24513         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24514         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24515         Likewise.
24516         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24517         <math_private.h>.
24518         (__nearbyintl): Use math_force_eval before restoring
24519         floating-point environment.
24520         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24521
24522         * math/gen-libm-test.pl (special_functions): Remove.
24523         (parse_args): Don't handle TEST_extra.  Handle functions with no
24524         return value.
24525         * math/libm-test.inc (struct test_sincos_data): Replace with
24526         struct test_fFF_11_data.
24527         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24528         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24529         (sincos_test_data): Change element type to struct
24530         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24531         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24532         RUN_TEST_LOOP_sincos.
24533         * math/README.libm-test: Don't mention special handling of
24534         individual functions.
24535         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24536         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24537         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24538         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24539         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24541
24542         * math/gen-libm-test.pl (get_variable): Remove function.
24543         (parse_args): Don't show pointer parameters to call in test
24544         names.  Use "extra output N" in test names for extra outputs
24545         rather than naming variables.
24546
24547 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24548
24549         [BZ #15488]
24550         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24551         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24552         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24553         double tests.
24554         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24555         disable.
24556         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24557         check_long_double.
24558
24559         * math/gen-libm-test.pl (@tests): Remove variable.
24560         ($count): Likewise.
24561         (new_test): Remove function.
24562         (show_exceptions): New function.
24563         (special_functions): Use show_exceptions instead of new_test.
24564         (parse_args): Likewise.
24565         (generate_testfile): Pass only function name in generated call to
24566         print_max_error or print_complex_max_error.
24567         (get_ulps): Do not handle complex tests specially.
24568         (output_test): Rename to ...
24569         (get_all_ulps_for_test): ... this.  Return a string rather than
24570         printing to a file.  Require ulps to be present.
24571         (output_ulps): Generate arrays rather than #defines.
24572         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24573         (struct ulp_data): New type.
24574         (BUILD_COMPLEX_ULP): Remove macro.
24575         (compare_ulp_data): New function.
24576         (find_ulps): Likewise.
24577         (find_test_ulps): Likewise.
24578         (find_function_ulps): Likewise.
24579         (find_complex_function_ulps): Likewise.
24580         (print_max_error): Determine allowed ulps using
24581         find_function_ulps.
24582         (print_complex_max_error): Determine allowed ulps using
24583         find_complex_function_ulps.
24584         (check_float_internal): Determine max ulps using find_test_ulps.
24585         (check_float): Do not take max_ulp parameter.  Update call to
24586         check_float_internal.
24587         (check_complex): Likewise.
24588         (check_int): Do not take max_ulp parameter.
24589         (check_long): Likewise.
24590         (check_bool): Likewise.
24591         (check_longlong): Likewise.
24592         (struct test_f_f_data): Remove max_ulp field.
24593         (struct test_ff_f_data): Likewise.
24594         (struct test_ff_f_data_nexttoward): Likewise.
24595         (struct test_fi_f_data): Likewise.
24596         (struct test_fl_f_data): Likewise.
24597         (struct test_if_f_data): Likewise.
24598         (struct test_fff_f_data): Likewise.
24599         (struct test_c_f_data): Likewise.
24600         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24601         (struct test_fF_f1_data): Likewise.
24602         (struct test_ffI_f1_data): Likewise.
24603         (struct test_c_c_data): Remove max_ulp field.
24604         (struct test_cc_c_data): Likewise.
24605         (struct test_f_i_data): Likewise.
24606         (struct test_ff_i_data): Likewise.
24607         (struct test_f_l_data): Likewise.
24608         (struct test_f_L_data): Likewise.
24609         (struct test_sincos_data): Likewise.
24610         (RUN_TEST_f_f): Do not handle ulps.
24611         (RUN_TEST_LOOP_f_f): Likewise.
24612         (RUN_TEST_2_f): Likewise.
24613         (RUN_TEST_LOOP_2_f): Likewise.
24614         (RUN_TEST_fff_f): Likewise.
24615         (RUN_TEST_LOOP_fff_f): Likewise.
24616         (RUN_TEST_c_f): Likewise.
24617         (RUN_TEST_LOOP_c_f): Likewise.
24618         (RUN_TEST_f_f1): Likewise.
24619         (RUN_TEST_LOOP_f_f1): Likewise.
24620         (RUN_TEST_fF_f1): Likewise.
24621         (RUN_TEST_LOOP_fF_f1): Likewise.
24622         (RUN_TEST_fI_f1): Likewise.
24623         (RUN_TEST_LOOP_fI_f1): Likewise.
24624         (RUN_TEST_ffI_f1): Likewise.
24625         (RUN_TEST_LOOP_ffI_f1): Likewise.
24626         (RUN_TEST_c_c): Likewise.
24627         (RUN_TEST_LOOP_c_c): Likewise.
24628         (RUN_TEST_cc_c): Likewise.
24629         (RUN_TEST_LOOP_cc_c): Likewise.
24630         (RUN_TEST_f_i): Likewise.
24631         (RUN_TEST_LOOP_f_i): Likewise.
24632         (RUN_TEST_f_i_tg): Likewise.
24633         (RUN_TEST_LOOP_f_i_tg): Likewise.
24634         (RUN_TEST_ff_i_tg): Likewise.
24635         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24636         (RUN_TEST_f_b): Likewise.
24637         (RUN_TEST_LOOP_f_b): Likewise.
24638         (RUN_TEST_f_b_tg): Likewise.
24639         (RUN_TEST_LOOP_f_b_tg): Likewise.
24640         (RUN_TEST_f_l): Likewise.
24641         (RUN_TEST_LOOP_f_l): Likewise.
24642         (RUN_TEST_f_L): Likewise.
24643         (RUN_TEST_LOOP_f_L): Likewise.
24644         (RUN_TEST_sincos): Likewise.
24645         (RUN_TEST_LOOP_sincos): Likewise.
24646
24647 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24648
24649         [BZ #15480]
24650         [BZ #15485]
24651         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24652         main case of finite arguments, set rounding mode to FE_TONEAREST
24653         and discard exceptions.
24654         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24655         exceptions.
24656         (remainder_tonearest_test_data): New variable.
24657         (remainder_test_tonearest): New function.
24658         (remainder_towardzero_test_data): New variable.
24659         (remainder_test_towardzero): New function.
24660         (remainder_downward_test_data): New variable.
24661         (remainder_test_downward): New function.
24662         (remainder_upward_test_data): New variable.
24663         (remainder_test_upward): New function.
24664         (main): Call the new test functions.
24665
24666         * math/libm-test.inc (struct test_f_f1_data): Remove field
24667         extra_init.
24668         (struct test_fF_f1_data): Likewise.
24669         (struct test_ffI_f1_data): Likewise.
24670         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24671         based on value of EXTRA_EXPECTED.
24672         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24673         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24674         EXTRA_VAR based on value of EXTRA_EXPECTED.
24675         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24676         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24677         EXTRA_VAR based on value of EXTRA_EXPECTED.
24678         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24679         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24680         EXTRA_VAR based on value of EXTRA_EXPECTED.
24681         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24682         * math/gen-libm-test.pl (parse_args): Don't output initializers
24683         for extra output values.
24684
24685         * math/libm-test.inc (check_int): Expect result to be exactly
24686         equal to expected value and do not handle ulps.
24687         (check_long): Likewise.
24688         (check_longlong): Likewise.
24689
24690         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24691         exceptions.
24692         (cimag_test_data): Likewise.
24693         (conj_test_data): Likewise.
24694         (copysign_test_data): Likewise.
24695         (cproj_test_data): Likewise.
24696         (creal_test_data): Likewise.
24697         (fabs_test_data): Likewise.
24698         (fdim_test_data): Likewise.
24699         (finite_test_data): Likewise.
24700         (floor_test_data): Likewise.
24701         (fmax_test_data): Likewise.
24702         (fmin_test_data): Likewise.
24703         (fmod_test_data): Likewise.
24704         (fpclassify_test_data): Likewise.
24705         (frexp_test_data): Likewise.
24706         (ilogb_test_data): Likewise.
24707         (isfinite_test_data): Likewise.
24708         (isgreater_test_data): Likewise.
24709         (isgreaterequal_test_data): Likewise.
24710         (isinf_test_data): Likewise.
24711         (isless_test_data): Likewise.
24712         (islessequal_test_data): Likewise.
24713         (islessgreater_test_data): Likewise.
24714         (isnan_test_data): Likewise.
24715         (isnormal_test_data): Likewise.
24716         (issignaling_test_data): Likewise.
24717         (isunordered_test_data): Likewise.
24718         (ldexp_test_data): Likewise.
24719         (lrint_test_data): Likewise.
24720         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24721         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24722         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24723         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24724         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24725         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24726         test input.
24727         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24728         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24729         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24730         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24731         that test input.
24732         (lrint_downward_test_data): Test for "inexact" exceptions.
24733         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24734         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24735         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24736         test input.
24737         (lrint_upward_test_data): Test for "inexact" exceptions.
24738         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24739         test input.
24740         (llrint_test_data): Test for "inexact" exceptions.
24741         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24742         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24743         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24744         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24745         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24746         (llrint_downward_test_data): Test for "inexact" exceptions.
24747         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24748         (llrint_upward_test_data): Test for "inexact" exceptions.
24749         (logb_test_data): Likewise.
24750         (logb_downward_test_data): Likewise.
24751         (nextafter_test_data): Likewise.
24752         (nexttoward_test_data): Likewise.
24753         (remainder_test_data): Likewise.
24754         (remquo_test_data): Likewise.
24755         (scalbn_test_data): Likewise.
24756         (scalbln_test_data): Likewise.
24757         (signbit_test_data): Likewise.
24758         (sqrt_test_data): Likewise.
24759         (significand_test_data): Likewise.
24760
24761 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24762
24763         [BZ #15424]
24764         * benchtests/bench-modf.c (struct args): Mark arg0 as
24765         volatile.
24766         * scripts/bench.pl: Mark members of struct args as volatile.
24767
24768 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24769
24770         [BZ # 15497]
24771         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24772         negative infinity on POWER6 or lower.
24773         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24774
24775 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24776
24777         [BZ #15442]
24778         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24779         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24780         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24781         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24782         (_FP_SETQNAN): New macro.
24783         (_FP_SETQNAN_SEMIRAW): Likewise.
24784         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24785         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24786         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24787         (FP_EXTEND): Use _FP_FRAC_SNANP.
24788         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24789         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24790         into account.
24791         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24792         New macro.
24793         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24794         Likewise.
24795
24796 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24797
24798         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24799         with DIVIDE_BY_ZERO_EXCEPTION.
24800         (gamma_test_data): Likewise.
24801         (lgamma_test_data): Likewise.
24802         (log_test_data): Likewise.
24803         (log10_test_data): Likewise.
24804         (log2_test_data): Likewise.
24805         (tgamma_test_data): Likewise.
24806
24807         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24808         (acos_test_tonearest): Likewise.
24809         (acos_test_towardzero): Likewise.
24810         (acos_test_downward): Likewise.
24811         (acos_test_upward): Likewise.
24812         (acosh_test): Likewise.
24813         (asin_test): Likewise.
24814         (asin_test_tonearest): Likewise.
24815         (asin_test_towardzero): Likewise.
24816         (asin_test_downward): Likewise.
24817         (asin_test_upward): Likewise.
24818         (asinh_test): Likewise.
24819         (atan_test): Likewise.
24820         (atanh_test): Likewise.
24821         (atan2_test): Likewise.
24822         (cabs_test): Likewise.
24823         (cacos_test): Likewise.
24824         (cacosh_test): Likewise.
24825         (casin_test): Likewise.
24826         (casinh_test): Likewise.
24827         (catan_test): Likewise.
24828         (catanh_test): Likewise.
24829         (cbrt_test): Likewise.
24830         (ccos_test): Likewise.
24831         (ccosh_test): Likewise.
24832         (cexp_test): Likewise.
24833         (clog_test): Likewise.
24834         (clog10_test): Likewise.
24835         (cos_test): Likewise.
24836         (cos_test_tonearest): Likewise.
24837         (cos_test_towardzero): Likewise.
24838         (cos_test_downward): Likewise.
24839         (cos_test_upward): Likewise.
24840         (cosh_test): Likewise.
24841         (cosh_test_tonearest): Likewise.
24842         (cosh_test_towardzero): Likewise.
24843         (cosh_test_downward): Likewise.
24844         (cosh_test_upward): Likewise.
24845         (cpow_test): Likewise.
24846         (csin_test): Likewise.
24847         (csinh_test): Likewise.
24848         (csqrt_test): Likewise.
24849         (ctan_test): Likewise.
24850         (ctan_test_tonearest): Likewise.
24851         (ctan_test_towardzero): Likewise.
24852         (ctan_test_downward): Likewise.
24853         (ctan_test_upward): Likewise.
24854         (ctanh_test): Likewise.
24855         (ctanh_test_tonearest): Likewise.
24856         (ctanh_test_towardzero): Likewise.
24857         (ctanh_test_downward): Likewise.
24858         (ctanh_test_upward): Likewise.
24859         (erf_test): Likewise.
24860         (erfc_test): Likewise.
24861         (exp_test): Likewise.
24862         (exp_test_tonearest): Likewise.
24863         (exp_test_towardzero): Likewise.
24864         (exp_test_downward): Likewise.
24865         (exp_test_upward): Likewise.
24866         (exp10_test): Likewise.
24867         (exp2_test): Likewise.
24868         (expm1_test): Likewise.
24869         (fmod_test): Likewise.
24870         (gamma_test): Likewise.
24871         (hypot_test): Likewise.
24872         (j0_test): Likewise.
24873         (j1_test): Likewise.
24874         (jn_test): Likewise.
24875         (lgamma_test): Likewise.
24876         (log_test): Likewise.
24877         (log10_test): Likewise.
24878         (log1p_test): Likewise.
24879         (log2_test): Likewise.
24880         (logb_test_downward): Likewise.
24881         (pow_test): Likewise.
24882         (pow_test_tonearest): Likewise.
24883         (pow_test_towardzero): Likewise.
24884         (pow_test_downward): Likewise.
24885         (pow_test_upward): Likewise.
24886         (remainder_test): Likewise.
24887         (remquo_test): Likewise.
24888         (sin_test): Likewise.
24889         (sin_test_tonearest): Likewise.
24890         (sin_test_towardzero): Likewise.
24891         (sin_test_downward): Likewise.
24892         (sin_test_upward): Likewise.
24893         (sincos_test): Likewise.
24894         (sinh_test): Likewise.
24895         (sinh_test_tonearest): Likewise.
24896         (sinh_test_towardzero): Likewise.
24897         (sinh_test_downward): Likewise.
24898         (sinh_test_upward): Likewise.
24899         (sqrt_test): Likewise.
24900         (tan_test): Likewise.
24901         (tan_test_tonearest): Likewise.
24902         (tan_test_towardzero): Likewise.
24903         (tan_test_downward): Likewise.
24904         (tan_test_upward): Likewise.
24905         (tanh_test): Likewise.
24906         (tgamma_test): Likewise.
24907         (y0_test): Likewise.
24908         (y1_test): Likewise.
24909         (yn_test): Likewise.
24910
24911         * math/gen-libm-test.pl (adjust_arg): Remove function.
24912         (special_function): Remove argument $in_func.  Only handle
24913         generating output for tables of tests, not inside functions.
24914         (parse_args): Likewise.
24915         (generate_testfile): Remove variable $in_func.  Update call to
24916         parse_args.
24917         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24918         (MINUS_ZERO_INIT): Rename macro to minus_zero.
24919         (PLUS_INFTY_INIT): Rename macro to plus_infty.
24920         (MINUS_INFTY_INIT): Rename macro to minus_infty.
24921         (QNAN_VALUE_INIT): Rename macro to qnan_value.
24922         (MAX_VALUE_INIT): Rename macro to max_value.
24923         (MIN_VALUE_INIT): Rename macro to min_value.
24924         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24925         (plus_zero): Remove variable.
24926         (minus_zero): Likewise.
24927         (plus_infty): Likewise.
24928         (minus_infty): Likewise.
24929         (qnan_value): Likewise.
24930         (max_value): Likewise.
24931         (min_value): Likewise.
24932         (min_subnorm_value): Likewise.
24933
24934 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24935
24936         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24937         uint64_t or uint32_t usage.
24938         * crypt/sha256-block.c: Likewise.
24939         * crypt/sha256-crypt.c: Likewise.
24940         * crypt/sha256.c: Likewise.
24941         * crypt/sha512-block.c: Likewise.
24942         * crypt/sha512-crypt.c: Likewise.
24943         * crypt/sha512.c: Likewise.
24944         * debug/backtrace-tst.c: Likewise.
24945         * debug/pcprofiledump.c: Likewise.
24946         * elf/cache.c: Likewise.
24947         * elf/dl-cache.c: Likewise.
24948         * elf/dl-misc.c: Likewise.
24949         * elf/dl-profile.c: Likewise.
24950         * elf/dl-support.c: Likewise.
24951         * elf/ldconfig.c: Likewise.
24952         * elf/sprof.c: Likewise.
24953         * iconv/dummy-repertoire.c: Likewise.
24954         * iconv/iconv_charmap.c: Likewise.
24955         * iconv/skeleton.c: Likewise.
24956         * iconvdata/8bit-generic.c: Likewise.
24957         * iconvdata/cp737.h: Likewise.
24958         * iconvdata/cp775.h: Likewise.
24959         * iconvdata/ibm1008.h: Likewise.
24960         * iconvdata/ibm1025.h: Likewise.
24961         * iconvdata/ibm1046.h: Likewise.
24962         * iconvdata/ibm1097.h: Likewise.
24963         * iconvdata/ibm1112.h: Likewise.
24964         * iconvdata/ibm1122.h: Likewise.
24965         * iconvdata/ibm1123.h: Likewise.
24966         * iconvdata/ibm1124.h: Likewise.
24967         * iconvdata/ibm1129.h: Likewise.
24968         * iconvdata/ibm1130.h: Likewise.
24969         * iconvdata/ibm1132.h: Likewise.
24970         * iconvdata/ibm1133.h: Likewise.
24971         * iconvdata/ibm1137.h: Likewise.
24972         * iconvdata/ibm1140.h: Likewise.
24973         * iconvdata/ibm1141.h: Likewise.
24974         * iconvdata/ibm1142.h: Likewise.
24975         * iconvdata/ibm1143.h: Likewise.
24976         * iconvdata/ibm1144.h: Likewise.
24977         * iconvdata/ibm1145.h: Likewise.
24978         * iconvdata/ibm1146.h: Likewise.
24979         * iconvdata/ibm1147.h: Likewise.
24980         * iconvdata/ibm1148.h: Likewise.
24981         * iconvdata/ibm1149.h: Likewise.
24982         * iconvdata/ibm1153.h: Likewise.
24983         * iconvdata/ibm1154.h: Likewise.
24984         * iconvdata/ibm1155.h: Likewise.
24985         * iconvdata/ibm1156.h: Likewise.
24986         * iconvdata/ibm1157.h: Likewise.
24987         * iconvdata/ibm1158.h: Likewise.
24988         * iconvdata/ibm1160.h: Likewise.
24989         * iconvdata/ibm1161.h: Likewise.
24990         * iconvdata/ibm1162.h: Likewise.
24991         * iconvdata/ibm1163.h: Likewise.
24992         * iconvdata/ibm1164.h: Likewise.
24993         * iconvdata/ibm1166.h: Likewise.
24994         * iconvdata/ibm1167.h: Likewise.
24995         * iconvdata/ibm12712.h: Likewise.
24996         * iconvdata/ibm1390.h: Likewise.
24997         * iconvdata/ibm1399.h: Likewise.
24998         * iconvdata/ibm16804.h: Likewise.
24999         * iconvdata/ibm4517.h: Likewise.
25000         * iconvdata/ibm4899.h: Likewise.
25001         * iconvdata/ibm4909.h: Likewise.
25002         * iconvdata/ibm4971.h: Likewise.
25003         * iconvdata/ibm5347.h: Likewise.
25004         * iconvdata/ibm803.h: Likewise.
25005         * iconvdata/ibm856.h: Likewise.
25006         * iconvdata/ibm901.h: Likewise.
25007         * iconvdata/ibm902.h: Likewise.
25008         * iconvdata/ibm9030.h: Likewise.
25009         * iconvdata/ibm9066.h: Likewise.
25010         * iconvdata/ibm921.h: Likewise.
25011         * iconvdata/ibm922.h: Likewise.
25012         * iconvdata/ibm9448.h: Likewise.
25013         * iconvdata/isiri-3342.h: Likewise.
25014         * iconvdata/jis0201.h: Likewise.
25015         * include/link.h: Likewise.
25016         * include/netdb.h: Likewise.
25017         * inet/check_native.c: Likewise.
25018         * inet/check_pf.c: Likewise.
25019         * inet/getipv4sourcefilter.c: Likewise.
25020         * inet/getnameinfo.c: Likewise.
25021         * inet/getsourcefilter.c: Likewise.
25022         * inet/htonl.c: Likewise.
25023         * inet/setipv4sourcefilter.c: Likewise.
25024         * inet/setsourcefilter.c: Likewise.
25025         * inet/test-inet6_opt.c: Likewise.
25026         * inet/tst-network.c: Likewise.
25027         * locale/C-collate.c: Likewise.
25028         * locale/C-ctype.c: Likewise.
25029         * locale/C-time.c: Likewise.
25030         * locale/C-translit.h: Likewise.
25031         * locale/loadarchive.c: Likewise.
25032         * locale/programs/3level.h: Likewise.
25033         * locale/programs/charmap.c: Likewise.
25034         * locale/programs/charmap.h: Likewise.
25035         * locale/programs/ld-address.c: Likewise.
25036         * locale/programs/ld-collate.c: Likewise.
25037         * locale/programs/ld-ctype.c: Likewise.
25038         * locale/programs/ld-identification.c: Likewise.
25039         * locale/programs/ld-measurement.c: Likewise.
25040         * locale/programs/ld-messages.c: Likewise.
25041         * locale/programs/ld-monetary.c: Likewise.
25042         * locale/programs/ld-name.c: Likewise.
25043         * locale/programs/ld-numeric.c: Likewise.
25044         * locale/programs/ld-paper.c: Likewise.
25045         * locale/programs/ld-telephone.c: Likewise.
25046         * locale/programs/ld-time.c: Likewise.
25047         * locale/programs/linereader.c: Likewise.
25048         * locale/programs/locale.c: Likewise.
25049         * locale/programs/locarchive.c: Likewise.
25050         * locale/programs/locfile.h: Likewise.
25051         * locale/programs/repertoire.c: Likewise.
25052         * locale/programs/simple-hash.c: Likewise.
25053         * locale/programs/simple-hash.h: Likewise.
25054         * malloc/memusage.c: Likewise.
25055         * malloc/memusagestat.c: Likewise.
25056         * nis/nis_defaults.c: Likewise.
25057         * nis/nis_hash.c: Likewise.
25058         * nis/nis_print.c: Likewise.
25059         * nis/nis_xdr.c: Likewise.
25060         * nscd/connections.c: Likewise.
25061         * nscd/hstcache.c: Likewise.
25062         * nscd/nscd_gethst_r.c: Likewise.
25063         * nscd/nscd_getserv_r.c: Likewise.
25064         * nscd/nscd_helper.c: Likewise.
25065         * nscd/servicescache.c: Likewise.
25066         * nss/makedb.c: Likewise.
25067         * nss/nss_db/db-XXX.c: Likewise.
25068         * nss/nss_db/db-initgroups.c: Likewise.
25069         * nss/nss_db/db-netgrp.c: Likewise.
25070         * nss/nss_files/files-network.c: Likewise.
25071         * nss/nss_files/files-parse.c: Likewise.
25072         * posix/bug-regex5.c: Likewise.
25073         * posix/fnmatch_loop.c: Likewise.
25074         * posix/regcomp.c: Likewise.
25075         * posix/regexec.c: Likewise.
25076         * posix/tst-rfc3484-2.c: Likewise.
25077         * posix/tst-rfc3484-3.c: Likewise.
25078         * posix/tst-rfc3484.c: Likewise.
25079         * resolv/nss_dns/dns-canon.c: Likewise.
25080         * resolv/nss_dns/dns-network.c: Likewise.
25081         * resolv/res_init.c: Likewise.
25082         * resolv/res_mkquery.c: Likewise.
25083         * resolv/tst-aton.c: Likewise.
25084         * stdlib/cxa_atexit.c: Likewise.
25085         * stdlib/cxa_finalize.c: Likewise.
25086         * stdlib/gen-fpioconst.c: Likewise.
25087         * stdlib/strtol_l.c: Likewise.
25088         * string/tst-endian.c: Likewise.
25089         * sunrpc/auth_des.c: Likewise.
25090         * sunrpc/clnt_udp.c: Likewise.
25091         * sunrpc/rtime.c: Likewise.
25092         * sunrpc/svcauth_des.c: Likewise.
25093         * sunrpc/xdr.c: Likewise.
25094         * sunrpc/xdr_intXX_t.c: Likewise.
25095         * sunrpc/xdr_rec.c: Likewise.
25096         * sysdeps/generic/ldconfig.h: Likewise.
25097         * sysdeps/generic/ldsodefs.h: Likewise.
25098         * sysdeps/generic/memusage.h: Likewise.
25099         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25100         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25101         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25102         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25103         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25105         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25106         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25107         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25108         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25109         * sysdeps/posix/getaddrinfo.c: Likewise.
25110         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25111         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25112         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25113         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25114         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25115         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25116         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25117         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25118         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25119         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25120         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25121         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25122         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25123         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25124         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25125         * sysdeps/x86_64/dl-tls.h: Likewise.
25126         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25127         * time/alt_digit.c: Likewise.
25128         * time/era.c: Likewise.
25129         * wcsmbs/tst-c16c32-1.c: Likewise.
25130
25131 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25132
25133         * math/libm-test.inc (struct test_sincos_data): New type.
25134         (RUN_TEST_LOOP_sincos): New macro.
25135         (sincos_test_data): New variable.
25136         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25137
25138 2013-05-16  Richard Henderson  <rth@redhat.com>
25139
25140         * math/atest-exp2.c (LIMB64): New macro.
25141         (CONSTSZ): New macro.
25142         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25143         (hexdig): Move ...
25144         (print_mpn_fp): ... to function scope.
25145         (read_mpn_hex): Remove.
25146         (get_log2): Remove.
25147         (exp2_mpn): Use mp_log2.
25148         (main): Use mp_exp1.
25149
25150 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25151
25152         * math/libm-test.inc: Remove comment about not testing "inexact"
25153         exceptions.
25154         (INEXACT_EXCEPTION): New macro.
25155         (NO_INEXACT_EXCEPTION): Likewise.
25156         (INVALID_EXCEPTION_OK): Update value.
25157         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25158         (OVERFLOW_EXCEPTION_OK): Likewise.
25159         (UNDERFLOW_EXCEPTION_OK): Likewise.
25160         (IGNORE_ZERO_INF_SIGN): Likewise.
25161         (ERRNO_UNCHANGED): Likewise.
25162         (ERRNO_EDOM): Likewise.
25163         (ERRNO_ERANGE): Likewise.
25164         (test_exceptions): Handle testing "inexact" exceptions.
25165         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25166         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25167         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25168         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25169         INEXACT_EXCEPTION.
25170         (rint_towardzero_test_data): Likewise.
25171         (rint_downward_test_data): Likewise.
25172         (rint_upward_test_data): Likewise.
25173
25174         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25175         with OVERFLOW_EXCEPTION.
25176         (exp10_test_data): Likewise.
25177         (exp2_test_data): Likewise.
25178         (expm1_test_data): Likewise.
25179         (lgamma_test_data): Likewise.
25180         (pow_test_data): Likewise.
25181         (tgamma_test_data): Likewise.
25182         (yn_test_data): Remove duplicate test of overflow.
25183
25184         * math/libm-test.inc (struct test_cc_c_data): New type.
25185         (RUN_TEST_LOOP_cc_c): New macro.
25186         (cpow_test_data): New variable.
25187         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25188
25189         * math/libm-test.inc (struct test_f_L_data): New type.
25190         (RUN_TEST_LOOP_f_L): New macro.
25191         (llrint_test_data): New variable.
25192         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25193         (llrint_tonearest_test_data): New variable.
25194         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25195         (llrint_towardzero_test_data): New variable.
25196         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25197         (llrint_downward_test_data): New variable.
25198         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25199         (llrint_upward_test_data): New variable.
25200         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25201         (llround_test_data): New variable.
25202         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25203
25204 2013-05-13  Peter Collingbourne  <pcc@google.com>
25205
25206         * math/atest-exp2.c (get_log2): Remove const attribute.
25207
25208 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25209
25210         * math/libm-test.inc (struct test_f_l_data): New type.
25211         (RUN_TEST_LOOP_f_l): New macro.
25212         (lrint_test_data): New variable.
25213         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25214         (lrint_tonearest_test_data): New variable.
25215         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25216         (lrint_towardzero_test_data): New variable.
25217         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25218         (lrint_downward_test_data): New variable.
25219         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25220         (lrint_upward_test_data): New variable.
25221         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25222         (lround_test_data): New variable.
25223         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25224
25225 2013-05-15  Peter Collingbourne  <pcc@google.com>
25226
25227         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25228         (EXTRACT_WORDS64) Use where appropriate.
25229         (INSERT_WORDS64) Likewise.
25230
25231         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25232         constraints with x constraints.
25233         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25234
25235         * malloc/obstack.c (_obstack_compat): Add initializer.
25236
25237 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25238
25239         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25240         si_trapno and add si_addr_lsb to _sifields.sigfault.
25241         (si_trapno): Remove macro.
25242         (si_addr_lsb): Define new macro.
25243         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25244
25245 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25246
25247         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25248         instead of TEST_f_l.
25249         (llrint_test_tonearest): Likewise.
25250         (llrint_test_towardzero): Likewise.
25251         (llrint_test_downward): Likewise.
25252         (llrint_test_upward): Likewise.
25253         (llround_test): Likewise.
25254
25255         * math/libm-test.inc (struct test_f_i_data): Add comment.
25256         (RUN_TEST_LOOP_f_b): New macro.
25257         (RUN_TEST_LOOP_f_b_tg): Likewise.
25258         (finite_test_data): New variable.
25259         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25260         (isfinite_test_data): New variable.
25261         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25262         (isinf_test_data): New variable.
25263         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25264         (isnan_test_data): New variable.
25265         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25266         (isnormal_test_data): New variable.
25267         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25268         (issignaling_test_data): New variable.
25269         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25270         (signbit_test_data): New variable.
25271         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25272
25273         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25274         with INVALID_EXCEPTION.
25275         (acosh_test_data): Likewise.
25276         (asin_test_data): Likewise.
25277         (atanh_test_data): Likewise.
25278         (fmod_test_data): Likewise.
25279         (log_test_data): Likewise.
25280         (log10_test_data): Likewise.
25281         (log2_test_data): Likewise.
25282         (pow_test_data): Likewise.
25283         (sqrt_test_data): Likewise.
25284         (y0_test_data): Likewise.
25285         (y1_test_data): Likewise.
25286         (yn_test_data): Likewise.
25287
25288         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25289         function contents.
25290
25291         * math/libm-test.inc (struct test_ff_i_data): New type.
25292         (RUN_TEST_LOOP_ff_i_tg): New macro.
25293         (isgreater_test_data): New variable.
25294         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25295         (isgreaterequal_test_data): New variable.
25296         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25297         (isless_test_data): New variable.
25298         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25299         (islessequal_test_data): New variable.
25300         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25301         (islessgreater_test_data): New variable.
25302         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25303         (isunordered_test_data): New variable.
25304         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25305
25306 2013-05-14  David S. Miller  <davem@davemloft.net>
25307
25308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25309
25310 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25311
25312         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25313
25314         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25315         extra_test to int.
25316         (struct test_f_i_data): Change type of max_ulp to int.
25317
25318         * math/libm-test.inc (test_ffI_f1_data): New type.
25319         (RUN_TEST_LOOP_ffI_f1): New macro.
25320         (remquo_test_data): New variable.
25321         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25322
25323         * setjmp/tst-setjmp-fp.c: New file.
25324         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25325         (link-libm): New variable.
25326         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25327
25328         * math/libm-test.inc (struct test_f_i_data): New type.
25329         (RUN_TEST_LOOP_f_i): New macro.
25330         (RUN_TEST_LOOP_f_i_tg): Likewise.
25331         (fpclassify_test_data): New variable.
25332         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25333         (ilogb_test_data): New variable.
25334         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25335
25336         * math/libm-test.inc (scalbln_test): Correct function name in END
25337         call.
25338
25339         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25340         (RUN_TEST_LOOP_fI_f1): New macro.
25341         (frexp_test_data): New variable.
25342         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25343
25344         * math/libm-test.inc (struct test_fF_f1_data): New type.
25345         (RUN_TEST_LOOP_fF_f1): New macro.
25346         (modf_test_data): New variable.
25347         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25348
25349         * math/libm-test.inc (struct test_f_f1_data): New type.
25350         (RUN_TEST_LOOP_f_f1): New macro.
25351         (gamma_test_data): New variable.
25352         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25353         (lgamma_test_data): New variable.
25354         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25355
25356 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25357
25358         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25359         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25360         (main): Comment "tls" pseudo-hwcap.
25361
25362 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25363
25364         * math/libm-test.inc (struct test_fl_f_data): New type.
25365         (RUN_TEST_LOOP_fl_f): New variable.
25366         (scalbln_test_data): New variable.
25367         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25368
25369         * math/libm-test.inc (struct test_fi_f_data): New type.
25370         (RUN_TEST_LOOP_fi_f): New macro.
25371         (ldexp_test_data): New variable.
25372         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25373         (scalbn_test_data): New variable.
25374         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25375
25376         * math/libm-test.inc (struct test_c_f_data): New type.
25377         (RUN_TEST_LOOP_c_f): New macro.
25378         (cabs_test_data): New variable.
25379         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25380         (carg_test_data): New variable.
25381         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25382         (cimag_test_data): New variable.
25383         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25384         (creal_test_data): New variable.
25385         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25386
25387         * math/libm-test.inc (struct test_if_f_data): New type.
25388         (RUN_TEST_LOOP_if_f): New macro.
25389         (jn_test_data): New variable.
25390         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25391         (yn_test_data): New variable.
25392         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25393
25394         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25395
25396 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25397
25398         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25399         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25400
25401 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25402
25403         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25404         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25405         (bench-deps): Add bench-timing.h.
25406         * benchtests-bench-skeleton.c: Include bench-timing.h.
25407         (main): Use TIMING_* macros instead of clock_gettime.
25408         * benchtests/bench-timing.h: New file.
25409
25410         [BZ #14582]
25411         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25412         Renamed from _LIB_VERSION.
25413         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25414
25415 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25416
25417         * math/libm-test.inc (struct test_fff_f_data): New type.
25418         (RUN_TEST_LOOP_fff_f): New macro.
25419         (fma_test_data): New variable.
25420         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25421         (fma_towardzero_test_data): New variable.
25422         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25423         (fma_downward_test_data): New variable.
25424         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25425         (fma_upward_test_data): New variable.
25426         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25427
25428         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25429         (struct test_c_c_data): New type.
25430         (RUN_TEST_LOOP_c_c): New macro.
25431         (cacos_test_data): New variable.
25432         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25433         (cacosh_test_data): New variable.
25434         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25435         (casin_test_data): New variable.
25436         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25437         (casinh_test_data): New variable.
25438         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25439         (catan_test_data): New variable.
25440         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25441         (catanh_test_data): New variable.
25442         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25443         (ccos_test_data): New variable.
25444         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25445         (ccosh_test_data): New variable.
25446         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25447         (cexp_test_data): New variable.
25448         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25449         (clog_test_data): New variable.
25450         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25451         (clog10_test_data): New variable.
25452         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25453         (conj_test_data): New variable.
25454         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25455         (cproj_test_data): New variable.
25456         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25457         (csin_test_data): New variable.
25458         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25459         (csinh_test_data): New variable.
25460         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25461         (csqrt_test_data): New variable.
25462         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25463         (ctan_test_data): New variable.
25464         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25465         (ctan_tonearest_test_data): New variable.
25466         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25467         (ctan_towardzero_test_data): New variable.
25468         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25469         (ctan_downward_test_data): New variable.
25470         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25471         (ctan_upward_test_data): New variable.
25472         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25473         (ctanh_test_data): New variable.
25474         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25475         (ctanh_tonearest_test_data): New variable.
25476         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25477         (ctanh_towardzero_test_data): New variable.
25478         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25479         (ctanh_downward_test_data): New variable.
25480         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25481         (ctanh_upward_test_data): New variable.
25482         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25483         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25484         of BUILD_COMPLEX.
25485
25486         * math/libm-test.inc (struct test_ff_f_data): New type.
25487         (struct test_ff_f_data_nexttoward): Likewise.
25488         (RUN_TEST_LOOP_2_f): New macro.
25489         (RUN_TEST_LOOP_ff_f): Likewise.
25490         (atan2_test_data): New variable.
25491         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25492         (copysign_test_data): New variable.
25493         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25494         (fdim_test_data): New variable.
25495         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25496         (fmax_test_data): New variable.
25497         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25498         (fmin_test_data): New variable.
25499         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25500         (fmod_test_data): New variable.
25501         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25502         (hypot_test_data): New variable.
25503         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25504         (nextafter_test_data): New variable.
25505         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25506         (nexttoward_test_data): New variable.
25507         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25508         (pow_test_data): New variable.
25509         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25510         (pow_tonearest_test_data): New variable.
25511         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25512         (pow_towardzero_test_data): New variable.
25513         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25514         (pow_downward_test_data): New variable.
25515         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25516         (pow_upward_test_data): New variable.
25517         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25518         (remainder_test_data): New variable.
25519         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25520         (scalb_test_data): New variable.
25521         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25522         * sysdeps/i386/fpu/libm-test-ulps: Update.
25523
25524 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25525
25526         * math/libm-test.inc (fma_test): Use max_value instead of local
25527         variable fltmax.
25528         (nextafter_test): Likewise.
25529
25530         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25531         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25532         (acos_downward_test_data): New variable.
25533         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25534         (acos_upward_test_data): New variable.
25535         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25536         (acosh_test_data): New variable.
25537         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25538         (asin_test_data): New variable.
25539         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25540         (asin_tonearest_test_data): New variable.
25541         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25542         (asin_towardzero_test_data): New variable.
25543         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25544         (asin_downward_test_data): New variable.
25545         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25546         (asin_upward_test_data): New variable.
25547         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25548         (asinh_test_data): New variable.
25549         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25550         (atan_test_data): New variable.
25551         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25552         (atanh_test_data): New variable.
25553         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25554         (cbrt_test_data): New variable.
25555         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25556         (ceil_test_data): New variable.
25557         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25558         (cos_test_data): New variable.
25559         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25560         (cos_tonearest_test_data): New variable.
25561         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25562         (cos_towardzero_test_data): New variable.
25563         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25564         (cos_downward_test_data): New variable.
25565         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25566         (cos_upward_test_data): New variable.
25567         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25568         (cosh_test_data): New variable.
25569         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25570         (cosh_tonearest_test_data): New variable.
25571         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25572         (cosh_towardzero_test_data): New variable.
25573         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25574         (cosh_downward_test_data): New variable.
25575         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25576         (cosh_upward_test_data): New variable.
25577         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25578         (erf_test_data): New variable.
25579         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25580         (erfc_test_data): New variable.
25581         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25582         (exp_test_data): New variable.
25583         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25584         (exp_tonearest_test_data): New variable.
25585         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25586         (exp_towardzero_test_data): New variable.
25587         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25588         (exp_downward_test_data): New variable.
25589         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25590         (exp_upward_test_data): New variable.
25591         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25592         (exp10_test_data): New variable.
25593         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25594         (exp2_test_data): New variable.
25595         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25596         (expm1_test_data): New variable.
25597         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25598         (fabs_test_data): New variable.
25599         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25600         (floor_test_data): New variable.
25601         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25602         (j0_test_data): New variable.
25603         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25604         (j1_test_data): New variable.
25605         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25606         (log_test_data): New variable.
25607         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25608         (log10_test_data): New variable.
25609         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25610         (log1p_test_data): New variable.
25611         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25612         (log2_test_data): New variable.
25613         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25614         (logb_test_data): New variable.
25615         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25616         (logb_downward_test_data): New variable.
25617         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25618         (nearbyint_test_data): New variable.
25619         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25620         (rint_test_data): New variable.
25621         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25622         (rint_tonearest_test_data): New variable.
25623         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25624         (rint_towardzero_test_data): New variable.
25625         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25626         (rint_downward_test_data): New variable.
25627         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25628         (rint_upward_test_data): New variable.
25629         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25630         (round_test_data): New variable.
25631         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25632         (sin_test_data): New variable.
25633         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25634         (sin_tonearest_test_data): New variable.
25635         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25636         (sin_towardzero_test_data): New variable.
25637         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25638         (sin_downward_test_data): New variable.
25639         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25640         (sin_upward_test_data): New variable.
25641         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25642         (sinh_test_data): New variable.
25643         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25644         (sinh_tonearest_test_data): New variable.
25645         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25646         (sinh_towardzero_test_data): New variable.
25647         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25648         (sinh_downward_test_data): New variable.
25649         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25650         (sinh_upward_test_data): New variable.
25651         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25652         (sqrt_test_data): New variable.
25653         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25654         (tan_test_data): New variable.
25655         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25656         (tan_tonearest_test_data): New variable.
25657         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25658         (tan_towardzero_test_data): New variable.
25659         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25660         (tan_downward_test_data): New variable.
25661         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25662         (tan_upward_test_data): New variable.
25663         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25664         (tanh_test_data): New variable.
25665         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25666         (tgamma_test_data): New variable.
25667         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25668         (trunc_test_data): New variable.
25669         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25670         (y0_test_data): New variable.
25671         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25672         (y1_test_data): New variable.
25673         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25674         (significand_test_data): New variable.
25675         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25676
25677 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25678
25679         [BZ #12387]
25680         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25681
25682 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25683
25684         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25685
25686 2013-05-10  Andreas Jaeger  <aj@suse.de>
25687
25688         [BZ #15448]
25689         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25690         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25691
25692 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25693
25694         * math/gen-libm-test.pl (adjust_arg): New function.
25695         (special_functions): Handle generating output in both functions
25696         and arrays.
25697         (parse_args): Likewise.
25698         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25699         $in_func argument to parse_args.
25700         * math/libm-test.inc (struct test_f_f_data): New type.
25701         (IF_ROUND_INIT_): New macro.
25702         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25703         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25704         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25705         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25706         (ROUND_RESTORE_): Likewise.
25707         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25708         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25709         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25710         (ROUND_RESTORE_FE_UPWARD): Likewise.
25711         (RUN_TEST_LOOP_f_f): New macro.
25712         (acos_test_data): New variable.
25713         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25714         (acos_tonearest_test_data): New variable.
25715         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25716
25717 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25718
25719         * benchtests/bench-skeleton.c (startup): Fix coding style.
25720
25721 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25722
25723         [BZ #6809]
25724         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25725         negative infinity argument.
25726         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25727         negative infinity argument.
25728         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25729         negative infinity argument.
25730         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25731         domain errors.
25732
25733 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25734
25735         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25736         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25737         * iconv/iconv_prog.c (main): Likewise.
25738         * locale/programs/charmap-dir.c (charmap_readdir)
25739         (fopen_uncompressed): Likewise.
25740         * locale/programs/locfile.c (siblings_uncached)
25741         (write_locale_data): Use lstat64 instead of lstat.
25742         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25743         stat.
25744
25745 2013-05-10  Andreas Jaeger  <aj@suse.de>
25746
25747         [BZ #15395]
25748         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25749         localization.
25750         Include <locale.h>.
25751
25752 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
25753
25754         * elf/dl-close.c (_dl_close_worker): Add comments.
25755
25756 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
25757
25758         [BZ #15359]
25759         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25760         high part of pi/2.
25761         (__ieee754_rem_pio2l): Update comments.
25762
25763         [BZ #15429]
25764         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25765         high part of pi/2.
25766         (__ieee754_rem_pio2l): Update comments.
25767
25768         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25769         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25770
25771         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25772         M_PI_4l.
25773
25774         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25775         (M_PI_34_LOG10El): Likewise.
25776         (M_PI2_LOG10El): Likewise.
25777         (M_PI4_LOG10El): Likewise.
25778         (M_PI_LOG10El): Likewise.
25779
25780 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25781
25782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25783
25784 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
25785
25786         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25787         (MINUS_ZERO_INIT): Likewise.
25788         (PLUS_INFTY_INIT): Likewise.
25789         (MINUS_INFTY_INIT): Likewise.
25790         (QNAN_VALUE_INIT): Likewise.
25791         (MAX_VALUE_INIT): Likewise.
25792         (MIN_VALUE_INIT): Likewise.
25793         (MIN_SUBNORM_VALUE_INIT): Likewise.
25794         (plus_zero): Initialize with PLUS_ZERO_INIT.
25795         (minus_zero): Initialize with MINUS_ZERO_INIT.
25796         (plus_infty): Initialize with PLUS_INFTY_INIT.
25797         (minus_infty): Initialize with MINUS_INFTY_INIT.
25798         (qnan_value): Initialize with QNAN_VALUE_INIT.
25799         (max_value): Initialize with MAX_VALUE_INIT.
25800         (min_value): Initialize with MIN_VALUE_INIT.
25801         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25802
25803         * math/libm-test.inc (RUN_TEST_if_f): New macro.
25804         (jn_test): Use TEST_if_f instead of TEST_ff_f.
25805         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25806         (yn_test): Use TEST_if_f instead of TEST_ff_f.
25807
25808         * math/libm-test.inc (RUN_TEST_f_f): New macro.
25809         (RUN_TEST_2_f): Likewise.
25810         (RUN_TEST_ff_f): Likewise.
25811         (RUN_TEST_fi_f): Likewise.
25812         (RUN_TEST_fl_f): Likewise.
25813         (RUN_TEST_fff_f): Likewise.
25814         (RUN_TEST_c_f): Likewise.
25815         (RUN_TEST_f_f1): Likewise.
25816         (RUN_TEST_fF_f1): Likewise.
25817         (RUN_TEST_fI_f1): Likewise.
25818         (RUN_TEST_ffI_f1): Likewise.
25819         (RUN_TEST_c_c): Likewise.
25820         (RUN_TEST_cc_c): Likewise.
25821         (RUN_TEST_f_i): Likewise.
25822         (RUN_TEST_f_i_tg): Likewise.
25823         (RUN_TEST_ff_i_tg): Likewise.
25824         (RUN_TEST_f_b): Likewise.
25825         (RUN_TEST_f_b_tg): Likewise.
25826         (RUN_TEST_f_l): Likewise.
25827         (RUN_TEST_f_L): Likewise.
25828         (RUN_TEST_sincos): Likewise.
25829         * math/gen-libm-test.pl (new_test): Take new argument to indicate
25830         whether to show exceptions.  Do not include ");\n" in return
25831         value.
25832         (special_functions): Output call to RUN_TEST_sincos instead of
25833         check_float calls.  Update calls to new_test.
25834         (parse_args): Output call to single RUN_TEST_* macro instead of
25835         check_* calls and other assignments.  Update calls to new_test.
25836
25837         [BZ #2546]
25838         [BZ #2560]
25839         [BZ #5159]
25840         [BZ #15426]
25841         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25842         input to result for tgamma overflow.
25843         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25844         (gamma_coeff): New variable.
25845         (NCOEFF): New macro.
25846         (gamma_positive): New function.
25847         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25848         underflow here.  Use gamma_positive instead of exp (lgamma) for
25849         other arguments.
25850         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25851         (gamma_coeff): New variable.
25852         (NCOEFF): New macro.
25853         (gammaf_positive): New function.
25854         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25855         underflow here.  Use gamma_positive instead of exp (lgamma) for
25856         other arguments.
25857         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25858         (gamma_coeff): New variable.
25859         (NCOEFF): New macro.
25860         (gammal_positive): New function.
25861         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25862         underflow here.  Use gamma_positive instead of exp (lgamma) for
25863         other arguments.
25864         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25865         (gamma_coeff): New variable.
25866         (NCOEFF): New macro.
25867         (gammal_positive): New function.
25868         (__ieee754_gammal_r): Handle positive infinity, overflow and
25869         underflow here.  Handle NaN the same as positive infinity.  Remove
25870         check x < 0xffffffff for negative integers.  Use gamma_positive
25871         instead of exp (lgamma) for other arguments.
25872         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25873         (gamma_coeff): New variable.
25874         (NCOEFF): New macro.
25875         (gammal_positive): New function.
25876         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25877         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25878         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25879         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25880         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25881         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25882         * sysdeps/generic/math_private.h (__gamma_productf): New
25883         prototype.
25884         (__gamma_product): Likewise.
25885         (__gamma_productl): Likewise.
25886         * math/Makefile (libm-calls): Add gamma_product.
25887         * math/libm-test.inc (tgamma_test): Add more tests.
25888         * sysdeps/i386/fpu/libm-test-ulps: Update.
25889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25890
25891 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
25892
25893         * benchtests/bench-skeleton.c (main): Preheat CPU.
25894
25895 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
25896
25897         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25898
25899 2013-05-07  Roland McGrath  <roland@hack.frob.com>
25900
25901         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25902         and _dl_skip_args_internal.
25903
25904 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
25905
25906         * manual/message.texi (Message Translation): Talk about users.
25907         Message to key mapping impacts design.
25908
25909 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25910
25911         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25912
25913         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25914
25915         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25916         * sysdeps/wordsize-64/glob64.c: ... here.
25917
25918         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25919         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25920         New macros.
25921
25922         * debug/getlogin_r_chk.c: Moved to ...
25923         * login/getlogin_r_chk.c: ... here.
25924         * debug/Makefile (routines): Move getlogin_r_chk to ...
25925         * login/Makefile (routines): ... here.
25926         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25927         * login/Versions (libc: GLIBC_2.4): ... here.
25928
25929         * io/poll.c (__poll): Renamed from poll.
25930         Add libc_hidden_def.
25931         (poll): Define as weak alias.
25932
25933         * debug/ptsname_r_chk.c: Moved to ...
25934         * login/ptsname_r_chk.c: ... here.
25935         * debug/Makefile (routines): Move ptsname_r_chk to ...
25936         * login/Makefile (routines): ... here.
25937         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25938         * login/Versions (libc: GLIBC_2.4): ... here.
25939
25940         * posix/getlogin.c: Moved to ...
25941         * login/getlogin.c: ... here.
25942         * posix/getlogin_r.c: Moved to ...
25943         * login/getlogin_r.c: ... here.
25944         * posix/getlogin_r.c: Moved to ...
25945         * login/getlogin_r.c: ... here.
25946         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25947         * login/Makefile (routines): ... here.
25948         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25949         * login/Versions (libc: GLIBC_2.0): ... here.
25950
25951         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25952         (setrlimit): Define as weak alias.
25953
25954         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25955         Call __ names for open, ftruncate, and close.
25956         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25957         (truncate): Define as weak alias.
25958
25959 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
25960
25961         * math/gen-libm-test.pl (parse_args): Initialize x before each
25962         test of frexp, modf and remquo.
25963
25964         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25965         test signgam value.
25966
25967 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25968
25969         [BZ #15418]
25970         [BZ #15419]
25971         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25972         internal tests.
25973         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25974
25975 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25976
25977         * elf/dl-writev.h: New file.
25978         * elf/dl-misc.c: Include it.
25979         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25980         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25981
25982 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
25983
25984         * math/libm-test.inc (noXFails): Remove variable.
25985         (noXPasses): Likewise.
25986         (BUILD_COMPLEX_INT): Remove macro.
25987         (print_screen): Remove xfail argument.
25988         (print_screen_max_error): Likewise.
25989         (update_stats): Likewise.
25990         (print_max_error): Likewise.  Update calls to other affected
25991         functions.
25992         (print_complex_max_error): Likewise.
25993         (test_single_exception): Update calls to print_screen.
25994         (test_single_errno): Likewise.
25995         (check_float_internal): Remove xfail argument.  Update calls to
25996         other affected functions.
25997         (check_float): Likewise.
25998         (check_complex): Likewise.
25999         (check_int): Likewise.
26000         (check_long): Likewise.
26001         (check_bool): Likewise.
26002         (check_longlong): Likewise.
26003         (main): Don't print noXFails and noXPasses.
26004         * math/gen-libm-test.pl (top level): Don't mention expected
26005         failure handling in comment.
26006         (new_test): Don't handle expected failures.
26007         (parse_args): Don't mention expected failure handling in comment.
26008         (generate_testfile): Don't handle expected failures.
26009         (parse_ulps): Likewise.
26010         (print_ulps_file): Likewise.
26011         (get_failure): Remove function.
26012         (output_test): Don't handle expected failures.
26013         * make/README.libm-test: Don't mention expected failure handling.
26014
26015         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26016         (minus_zero): Likewise.
26017         (plus_infty): Likewise.
26018         (minus_infty): Likewise.
26019         (qnan_value): Likewise.
26020         (max_value): Likewise.
26021         (min_value): Likewise.
26022         (min_subnorm_value): Likewise.
26023         (initialize): Do not initialize those variables dynamically.
26024
26025 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26026
26027         * io/open.c (__open_2): Moved to ...
26028         * io/open_2.c: ... this new file.
26029         * io/open64.c (__open64_2): Moved to ...
26030         * io/open64_2.c: ... this new file.
26031         * io/openat.c (__openat_2): Moved to ...
26032         * io/openat_2.c: ... this new file.
26033         * io/openat64.c (__openat64_2): Moved to ...
26034         * io/openat64_2.c: ... this new file.
26035         * io/Makefile (routines): Add them.
26036         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26037         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26038         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26039         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26040         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26041         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26042         (__openat64): Add hidden_ver.
26043         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26044         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26045
26046         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26047         Separately conditionalize setting of GLRO(dl_sysinfo) so
26048         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26049         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26050
26051 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26052
26053         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26054         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26055         definition.
26056         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26057         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26058         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26059         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26060         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26061
26062 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26063
26064         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26065         test signgam value.
26066
26067         * math/libm-test.inc (hypot_test): Do not use
26068         IGNORE_ZERO_INF_SIGN.
26069
26070 2013-05-03  Andreas Jaeger  <aj@suse.de>
26071
26072         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26073         Linux 3.9.
26074         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26075         (PF_MAX): Adjust for VSOCK change.
26076
26077 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26078
26079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26080
26081 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26082
26083         [BZ #15264]
26084         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26085         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26086         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26087
26088 2013-05-02  David S. Miller  <davem@davemloft.net>
26089
26090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26091
26092 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26093
26094         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26095
26096 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26097
26098         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26099
26100 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26101
26102         [BZ #14952]
26103         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26104         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26105         Use __attribute__ ((__gnu_inline__)).
26106         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26107         Don't use __attribute__ ((__gnu_inline__)).
26108
26109 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26110
26111         [BZ #15423]
26112         * math/s_catan.c (__catan): Handle small real or imaginary part of
26113         input specially to avoid spurious underflow.
26114         * math/s_catanf.c (__catanf): Likewise.
26115         * math/s_catanh.c (__catanh): Likewise.
26116         * math/s_catanhf.c (__catanhf): Likewise.
26117         * math/s_catanhl.c (__catanhl): Likewise.
26118         * math/s_catanl.c (__catanl): Likewise.
26119         * math/libm-test.inc (catan_test): Add more tests.
26120         (catanh_test): Likewise.
26121         * sysdeps/i386/fpu/libm-test-ulps: Update.
26122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26123
26124 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26125
26126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26127
26128 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26129
26130         [BZ #15416]
26131         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26132         accurately for denominator in atan2.
26133         * math/s_catanf.c (__catanf): Likewise.
26134         * math/s_catanh.c (__catanh): Likewise.
26135         * math/s_catanhf.c (__catanhf): Likewise.
26136         * math/s_catanhl.c (__catanhl): Likewise.
26137         * math/s_catanl.c (__catanl): Likewise.
26138         * math/libm-test.inc (catan_test): Add more tests.
26139         (catanh_test): Likewise.
26140         * sysdeps/i386/fpu/libm-test-ulps: Update.
26141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26142
26143 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26144
26145         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26146
26147         * benchtests/Makefile (bench): Remove slow benchmarks.
26148         * benchtests/atan-inputs: Add slow benchmark inputs.
26149         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26150         (BENCH_FUNC): Accept variant offset.
26151         (VARIANT): Define.
26152         * benchtests/bench-skeleton.c (main): Run benchmark for each
26153         variant.
26154         * benchtests/cos-inputs: Add slow benchmark inputs.
26155         * benchtests/exp-inputs: Likewise.
26156         * benchtests/pow-inputs: Likewise.
26157         * benchtests/sin-inputs: Likewise.
26158         * benchtests/slowatan-inputs: Remove.
26159         * benchtests/slowatan.c: Remove.
26160         * benchtests/slowcos-inputs: Remove.
26161         * benchtests/slowcos.c: Remove.
26162         * benchtests/slowexp-inputs: Remove.
26163         * benchtests/slowexp.c: Remove.
26164         * benchtests/slowpow-inputs: Remove.
26165         * benchtests/slowpow.c: Remove.
26166         * benchtests/slowsin-inputs: Remove.
26167         * benchtests/slowsin.c: Remove.
26168         * benchtests/slowtan-inputs: Remove.
26169         * benchtests/slowtan.c: Remove.
26170         * benchtests/tan-inputs: Add slow benchmark inputs.
26171         * scripts/bench.pl: Parse comments and directives.
26172
26173         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26174         in CPPFLAGS.
26175         ($(objpfx)bench-%.c): Remove *-ITER.
26176         * benchtests/bench-modf.c: Remove definition of ITER.
26177         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26178         (main): Loop for DURATION seconds instead of fixed number of
26179         iterations.
26180         * scripts/bench.pl: Don't expect iterations in parameters.
26181
26182 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26183
26184         * io/fchdir.c (__fchdir): Renamed from fchdir.
26185         (fchdir): Define as weak alias.
26186
26187 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26188
26189         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26190         (ERRNO_EDOM): Likewise.
26191         (ERRNO_ERANGE): Likewise.
26192         (noErrnoTests): New variable.
26193         (init_max_error): Set errno to 0.
26194         (test_single_errno): New function.
26195         (test_errno): Likewise.
26196         (check_float_internal): Call test_errno.  Set errno to 0.
26197         (check_complex): Refer to errno tests in comment.
26198         (check_int): Call test_errno.  Set errno to 0.
26199         (check_long): Likewise.
26200         (check_bool): Likewise.
26201         (check_longlong): Likewise.
26202         (cos_test): Use ERRNO_* flags for errno tests instead of
26203         check_int.
26204         (expm1_test): Likewise.
26205         (fmod_test): Likewise.
26206         (ilogb_test): Likewise.
26207         (lgamma_test): Likewise.
26208         (pow_test): Likewise.
26209         (remainder_test): Likewise.
26210         (sin_test): Likewise.
26211         (tan_test): Likewise.
26212         (yn_test): Likewise.
26213         (initialize): Set errno to 0.
26214         (main): Print number of errno tests.
26215         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26216
26217 2013-04-29  Andreas Jaeger  <aj@suse.de>
26218
26219         [BZ #15084]
26220         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26221         and RES_USEVC.
26222
26223         [BZ #15085]
26224         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26225         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26226         unimplemented.
26227
26228         [BZ #15380]
26229         * stdlib/random.c (__initstate): Return NULL if
26230         __initstate fails.
26231
26232         [BZ #15086]
26233         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26234         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26235         RES_SNGLKUPREOP.
26236
26237 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26238
26239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26240
26241 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26242
26243         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26244         of individual tests.
26245         (casin_test): Likewise.
26246         (casinh_test): Likewise.
26247
26248 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26249
26250         [BZ #15409]
26251         * math/s_catan.c (__catan): Handle arguments with large real or
26252         imaginary part separately without squaring.
26253         * math/s_catanf.c (__catanf): Likewise.
26254         * math/s_catanh.c (__catanh): Likewise.
26255         * math/s_catanhf.c (__catanhf): Likewise.
26256         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26257         and redefine.
26258         (__catanhl): Handle arguments with large real or imaginary part
26259         separately without squaring.
26260         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26261         and redefine.
26262         (__catanl): Handle arguments with large real or imaginary part
26263         separately without squaring.
26264         * math/libm-test.inc (catan_test): Add more tests.
26265         (catanh_test): Likewise.
26266         * sysdeps/i386/fpu/libm-test-ulps: Update.
26267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26268
26269 2013-04-27  Andreas Jaeger  <aj@suse.de>
26270
26271         [BZ #15007]
26272         * stdlib/stdlib.h: Update guards for qecvt.
26273         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26274         <stdlib.h>.
26275
26276 2013-04-27  Allan McRae  <allan@archlinux.org>
26277
26278         * sysdeps/i386/fpu/libm-test-ulps: Update.
26279
26280 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26281
26282         [BZ #15406]
26283         * math/s_catan.c: Include <float.h>.
26284         (__catan): Ensure underflow exception occurs for underflowed
26285         result.
26286         * math/s_catanf.c: Include <float.h>.
26287         (__catanf): Ensure underflow exception occurs for underflowed
26288         result.
26289         * math/s_catanh.c: Include <float.h>.
26290         (__catanh): Ensure underflow exception occurs for underflowed
26291         result.
26292         * math/s_catanhf.c: Include <float.h>.
26293         (__catanhf): Ensure underflow exception occurs for underflowed
26294         result.
26295         * math/s_catanhl.c: Include <float.h>.
26296         (__catanhl): Ensure underflow exception occurs for underflowed
26297         result.
26298         * math/s_catanl.c: Include <float.h>.
26299         (__catanl): Ensure underflow exception occurs for underflowed
26300         result.
26301         * math/libm-test.inc (catan_test): Add more tests.
26302         (catanh_test): Likewise.
26303
26304         [BZ #15405]
26305         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26306         underflowed result.
26307         * math/s_ccoshf.c (__ccoshf): Likewise.
26308         * math/s_ccoshl.c (__ccoshl): Likewise.
26309         * math/s_csin.c (__csin): Likewise.
26310         * math/s_csinf.c (__csinf): Likewise.
26311         * math/s_csinh.c (__csinh): Likewise.
26312         * math/s_csinhf.c (__csinhf): Likewise.
26313         * math/s_csinhl.c (__csinhl): Likewise.
26314         * math/s_csinl.c (__csinl): Likewise.
26315         * math/libm-test.inc (ccos_test): Add more tests.
26316         (ccosh_test): Likewise.
26317         (csin_test): Likewise.
26318         (csinh_test): Likewise.
26319
26320 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26321
26322         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26323         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26324         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26325         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26326         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26327         powerpc/power5+/fpu folders.
26328         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26329
26330
26331 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26332
26333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26334
26335 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26336
26337         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26338         additions to variable.
26339         [$(config-machine) = x86_64] (modules-names): Likewise.
26340         ($(objpfx)tst-audit3): Remove dependency.
26341         ($(objpfx)tst-audit3.out): Likewise.
26342         ($(objpfx)tst-audit4): Likewise.
26343         ($(objpfx)tst-audit4.out): Likewise.
26344         ($(objpfx)tst-audit5): Likewise.
26345         ($(objpfx)tst-audit5.out): Likewise.
26346         ($(objpfx)tst-audit6): Likewise.
26347         ($(objpfx)tst-audit6.out): Likewise.
26348         ($(objpfx)tst-audit7): Likewise.
26349         ($(objpfx)tst-audit7.out): Likewise.
26350         (tst-audit3-ENV): Remove variable.
26351         (tst-audit4-ENV): Likewise.
26352         (tst-audit5-ENV): Likewise.
26353         (tst-audit6-ENV): Likewise.
26354         (tst-audit7-ENV): Likewise.
26355         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26356         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26357         addition to variable.
26358         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26359         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26360         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26361         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26362         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26363         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26364         tst-audit3, tst-audit4 and tst-audit5.
26365         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26366         tst-audit6 and tst-audit7.
26367         [$(subdir) = elf] (modules-names): Add audit modules for those
26368         tests.
26369         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26370         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26371         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26372         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26373         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26374         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26375         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26376         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26377         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26378         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26379         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26380         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26381         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26382         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26383         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26384         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26385         Likewise.
26386         [$(subdir) = elf && $(config-cflags-avx) = yes]
26387         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26388         [$(subdir) = elf && $(config-cflags-avx) = yes]
26389         (CFLAGS-tst-auditmod4a.c): Likewise.
26390         [$(subdir) = elf && $(config-cflags-avx) = yes]
26391         (CFLAGS-tst-auditmod4b.c): Likewise.
26392         [$(subdir) = elf && $(config-cflags-avx) = yes]
26393         (CFLAGS-tst-auditmod6b.c): Likewise.
26394         [$(subdir) = elf && $(config-cflags-avx) = yes]
26395         (CFLAGS-tst-auditmod6c.c): Likewise.
26396         [$(subdir) = elf && $(config-cflags-avx) = yes]
26397         (CFLAGS-tst-auditmod7b.c): Likewise.
26398         * elf/tst-audit3.c: Move to ...
26399         * sysdeps/x86_64/tst-audit3.c: ... here.
26400         * elf/tst-audit4.c: Move to ...
26401         * sysdeps/x86_64/tst-audit4.c: ... here.
26402         * elf/tst-audit5.c: Move to ...
26403         * sysdeps/x86_64/tst-audit5.c: ... here.
26404         * elf/tst-audit6.c: Move to ...
26405         * sysdeps/x86_64/tst-audit6.c: ... here.
26406         * elf/tst-audit7.c: Move to ...
26407         * sysdeps/x86_64/tst-audit7.c: ... here.
26408         * elf/tst-auditmod3a.c: Move to ...
26409         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26410         * elf/tst-auditmod3b.c: Move to ...
26411         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26412         * elf/tst-auditmod4a.c: Move to ...
26413         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26414         * elf/tst-auditmod4b.c: Move to ...
26415         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26416         * elf/tst-auditmod5a.c: Move to ...
26417         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26418         * elf/tst-auditmod5b.c: Move to ...
26419         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26420         * elf/tst-auditmod6a.c: Move to ...
26421         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26422         * elf/tst-auditmod6b.c: Move to ...
26423         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26424         * elf/tst-auditmod6c.c: Move to ...
26425         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26426         * elf/tst-auditmod7a.c: Move to ...
26427         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26428         * elf/tst-auditmod7b.c: Move to ...
26429         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26430
26431 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26432
26433         [BZ #15366]
26434         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26435         define unconditionally.
26436         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26437         define unconditionally.
26438         (INT8_C, INT16_C, etc.): Likewise.
26439
26440 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26441
26442         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26443         __ehdr_start with hidden visibility.
26444
26445         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26446
26447 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26448
26449         * math/libm-test.inc (cos_test): Use accurate hex constants.
26450         (sincost_test): Likewise.
26451
26452 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26453
26454         * math/libm-test.inc (catan_test): Add more tests.
26455         (catanh_test): Likewise.
26456
26457         * math/s_catanf.c (__catanf): Use suffixed floating-point
26458         constants.
26459         * math/s_catanhf.c (__catanhf): Likewise.
26460         * math/s_catanhl.c (__catanhl): Likewise.
26461         * math/s_catanl.c (__catanl): Likewise.
26462
26463         [BZ #15394]
26464         * math/s_catan.c (__catan): Calculate imaginary part of result
26465         with log1p not log unless computing log of number close to 0.
26466         * math/s_catanf.c (__catanf): Likewise.
26467         * math/s_catanl.c (__catanl): Likewise.
26468         * math/s_catanh.c (__catanh): Calculate real part of result with
26469         log1p not log unless computing log of number close to 0.
26470         * math/s_catanhf.c (__catanhf): Likewise.
26471         * math/s_catanhl.c (__catanhl): Likewise.
26472         * math/libm-test.inc (catan_test): Add more tests.
26473         (catanh_test): Likewise.
26474         * sysdeps/i386/fpu/libm-test-ulps: Update.
26475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26476
26477 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26478
26479         * benchtests/Makefile: Mention files in which fast and slow
26480         paths of math functions are implemented.
26481
26482 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26483
26484         * sysdeps/posix/timespec_get.c: New file.
26485
26486 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26487
26488         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26489         POWER.
26490         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26491         for POWER.
26492         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26493         powerpc/power5/fpu folders.
26494         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26495         * benchtests/Makefile: Add modf testcase.
26496         * benchtests/bench-modf.c: New file: Benchmark test for mo
26497
26498 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26499
26500         [BZ #14888]
26501         * time/Makefile (tests): Add tst-strptime-whitespace.
26502         * time/strptime_l.c (get_number): Use ISSPACE.
26503         (__strptime_internal): Likewise.
26504         * time/tst-strptime-whitespace.c: New test case.
26505
26506 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26507
26508         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26509         member.
26510         (_nss_files_init): Set it here.
26511
26512 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26513
26514         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26515         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26516         unsigned.
26517
26518 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26519
26520         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26521
26522 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26523
26524         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26525         size just once.
26526
26527 2013-04-21  David S. Miller  <davem@davemloft.net>
26528
26529         * po/ru.po: Update Russion translation from translation project.
26530
26531 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26532
26533         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26534         and setfsgid.
26535
26536 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26537
26538         * configure.in: Remove i386 configure warning. Remove i386 case.
26539         * configure: Regenerate.
26540         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26541         Add example to error message.
26542         * sysdeps/i386/configure: Regenerate.
26543
26544 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26545
26546         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26547         slowtan.
26548         * benchtests/cos-inputs: New file.
26549         * benchtests/slowcos-inputs: New file.
26550         * benchtests/slowcos.c: New file.
26551         * benchtests/slowtan-inputs: New file.
26552         * benchtests/slowtan.c: New file.
26553         * benchtests/tan-inputs: New file.
26554
26555 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26556
26557         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26558         considered kosher.
26559
26560 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26561
26562         * benchtests/Makefile: Include cppflags-iterator.mk to add
26563         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26564
26565         * Makefile.in (bench-clean): New target.
26566         * benchtests/Makefile (bench-clean): Likewise.
26567
26568 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26569
26570         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26571
26572 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26573
26574         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26575
26576 2013-04-15  Andreas Schwab  <schwab@suse.de>
26577
26578         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26579         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26580         * nscd/pwdcache.c (cache_addpw): Likewise.
26581         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26582         more than recsize.
26583
26584 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26585
26586         * benchtests/Makefile (bench): Write all output to
26587         bench-out.tmp together.
26588
26589 2013-04-15  Andreas Schwab  <schwab@suse.de>
26590
26591         * nscd/nscd.c (main): Don't fork again after closing files.
26592
26593 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26594
26595         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26596
26597         * benchtests/Rules (bench-deps): Collect dependencies into a
26598         single variable.  Add Makefile to dependencies.
26599         ($(objpfx)bench-%.c): Depend on bench-deps.
26600
26601 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26602             Xavier Roche  <roche+kml2@exalead.com>
26603
26604         [BZ #15361]
26605         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26606         just that it's a file descriptor.
26607         * manual/llio.texi (Synchronizing AIO Operations): Update description
26608         for EBADF error from aio_fsync.
26609
26610 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26611
26612         * Rules (bench): Move target definition...
26613         * benchtests/Makefile: ... here.
26614
26615 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26616
26617         * math/libm-test.inc (cos_test): Fix PI/2 test.
26618         (sincos_test): Likewise.
26619         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26620         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26621
26622 2013-04-11  Andreas Schwab  <schwab@suse.de>
26623
26624         [BZ #13988]
26625         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26626         accept exponent character only when digits were seen.
26627         * stdio-common/Makefile (tests): Add bug26.
26628         * stdio-common/bug26.c: New file.
26629
26630         [BZ #14293]
26631         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26632         non-freeable.
26633
26634 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26635
26636         * Makeconfig (rtld-prefix): Define built linker prefix.
26637         * Rules (run-bench): Use it.
26638         * math/Makefile (run-regen-ulps): Likewise.
26639
26640         * Rules (bench): Remove eval.
26641
26642 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26643             Roland McGrath  <roland@hack.frob.com>
26644             Ondrej Bilka  <neleai@seznam.cz>
26645
26646         [BZ #15346]
26647         * time/getdate.c: Include ctype.h and alloca.h.
26648         (__getdate_r): Trim leading and trailing spaces of input.
26649         * time/tst-getdate.c (tests): Add tests with leading and
26650         trailing spaces.
26651
26652 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26653
26654         [BZ #14280]
26655         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26656         when computing value.
26657
26658 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26659
26660         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26661         Use testrun.sh to run libm tests.
26662
26663         [BZ #15309]
26664         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26665
26666 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26667
26668         [BZ #15264]
26669         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26670
26671 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26672
26673         * Makefile.in (regen-ulps): New target.
26674         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26675         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26676         [ifneq (no,$(PERL)] (regen-ulps): New target.
26677         [ifeq (no,$(PERL)] (regen-ulps): New target.
26678         * math/libm-test.inc (ulps_file_name): Define.
26679         (output_dir): New variable.
26680         (options): Add "output-dir" option.
26681         (parse_opt): Handle 'o' case.
26682         (main): If output_dir is non-NULL use it as a prefix
26683         otherwise use "".
26684         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26685
26686 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26687
26688         [BZ #10060, #10062]
26689         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26690         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26691         fail configure if __sync_val_compare_and_swap is not inlined.
26692         * sysdeps/i386/configure: Regenerate.
26693         * configure.in: Build for i686 when configured for i386.
26694         * configure: Regenerate.
26695         * README: Remove i386 reference.
26696
26697 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26698
26699         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26700         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26701
26702 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26703
26704         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26705         (lmsnanval): New variables.
26706         (F): Add conversion tests.
26707         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26708         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26709
26710         * stdio-common/tstdiomisc.c (F): Properly collect individual
26711         tests' results.
26712
26713         [BZ #14686, #15336]
26714         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26715         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26716         Instead, use input NaN values or generate a qNaN by arithmetic
26717         operation.  Also fix bugs to comply with the standard.
26718         * math/libm-test.inc (remainder_test): Add more tests.
26719
26720         [BZ #15335, #15342]
26721         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26722         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26723         input NaN values or generate a qNaN by arithmetic operation.
26724
26725         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26726         unreachable code.
26727
26728         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26729         definitions.
26730
26731 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26732
26733         [BZ #14478]
26734         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26735         underflowed result.
26736         * math/s_cexpf.c (__cexpf): Likewise.
26737         * math/s_cexpl.c (__cexpl): Likewise.
26738         * math/libm-test.inc (cexp_test): Add more tests.
26739
26740 2013-04-03  Andreas Schwab  <schwab@suse.de>
26741
26742         [BZ #15330]
26743         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26744         order arrays from heap if bigger than alloca cutoff.
26745
26746 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26747
26748         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26749         (SNAN_TESTS_double): Refer to GCC PR56831.
26750         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26751         GCC PR56828.
26752
26753 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26754
26755         * Rules (bench): Move bench.out after the run is complete.
26756
26757         * Rules (bench): Echo currently running benchmark.
26758
26759         * benchtests/Makefile (bench): Add atan and slowatan.
26760         * benchtests/atan-inputs: New file.
26761         * benchtests/slowatan-inputs: New file.
26762         * benchtests/slowatan.c: New file.
26763
26764         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26765         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26766         its value.
26767
26768         [BZ #15305]
26769         * sysdeps/unix/sysv/linux/kernel-features.h
26770         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26771         __ASSUME_XFS_RESTRICTED_CHOWN.
26772         * sysdeps/unix/sysv/linux/pathconf.c
26773         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26774         Save and restore errno.
26775
26776 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
26777
26778         [BZ #15327]
26779         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26780         arguments using __kernel_casinh.
26781         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26782         arguments using __kernel_casinhf.
26783         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26784         arguments using __kernel_casinhl.
26785         * math/libm-test.inc (cacosh_test): Add more tests.
26786         * sysdeps/i386/fpu/libm-test-ulps: Update.
26787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26788
26789 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26790
26791         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26792         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26793
26794         * bench/Makefile (bench): Add sin and slowsin.
26795         * benchtests/sin-inputs: New file.
26796         * benchtests/slowsin-inputs: New file.
26797         * benchtests/slowsin.c: New file.
26798
26799         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26800         (bench): Add slowexp and slowpow.
26801         (exp-ITER): Increase iterations.
26802         (pow-ITER): Likewise.
26803         * benchtests/exp-inputs: Change input.
26804         * benchtests/pow-inputs: Likewise.
26805         * benchtests/slowexp-inputs: New file.
26806         * benchtests/slowexp.c: New file.
26807         * benchtests/slowpow-inputs: New file.
26808         * benchtests/slowpow.c: New file.
26809
26810 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26811
26812         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26813         instructions.
26814         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26815         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26816         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26817         * benchtests/Makefile: Add rint benchtest.
26818         * benchtests/rint-inputs: Input for rint benchtest.
26819
26820 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26821
26822         * Versions.def (libm): Add GLIBC_2.18.
26823         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26824         hidden libm prototypes.
26825         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26826         * math/Makefile (libm-calls): Add s_issignaling.
26827         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26828         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
26829         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26830         declaration.
26831         * math/math.h [__USE_GNU] (issignaling): New macro.
26832         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26833         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26834         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26835         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26836         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26837         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26838         * manual/arith.texi (issignaling): New section.
26839         * manual/libm-err-tab.pl (@all_functions): Update comment.
26840         * math/gen-libm-test.pl (parse_args): Apply special handling for
26841         issignaling.
26842         * math/libm-test.inc (print_float, issignaling_test): New
26843         functions.
26844         (check_float_internal): Add issignaling checks.
26845         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26846         default definition.
26847         * sysdeps/powerpc/math-tests.h: New file.
26848         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26849         tests.
26850         * math/test-snan.c (TEST_FUNC): Likewise.
26851
26852 2013-03-30  David S. Miller  <davem@davemloft.net>
26853
26854         * po/de.po: Update from translation team.
26855
26856 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
26857
26858         [BZ #10357]
26859         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26860         imaginary part less than 1.0 and real part less than 0.5
26861         specially.
26862         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26863         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26864         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26865         (cacos_test): Add more tests.
26866         (casin_test): Likewise.
26867         (casinh_test): Likewise.
26868         * sysdeps/i386/fpu/libm-test-ulps: Update.
26869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26870
26871 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26872
26873         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26874         ONE with its value.
26875
26876         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26877         (__pow_mp): Replace ONE and MONE with their values.
26878         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26879         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26880         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26881         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26882         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26883         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26884
26885         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26886
26887         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26888         (__pow_mp): Replace ZERO and MZERO with their values.
26889         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26890         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26891         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26892         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26893         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26894         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26895         (__sqr): Likewise.
26896
26897         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26898
26899         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26900
26901 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26902
26903         * include/stdlib.h [!SHARED] (__call_tls_dtors):
26904         Declare with __attribute__ ((weak)).
26905         * stdlib/exit.c (__libc_atexit) [!SHARED]:
26906         Call __call_tls_dtors only if it's not NULL.
26907
26908 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26909
26910         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26911         didn't do it already, then set _dl_phdr and _dl_phnum based on the
26912         magic __ehdr_start linker symbol if it's defined.
26913         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26914         them up here if it was already done.
26915
26916         * elf/dl-support.c (_dl_phdr): Make pointer to const.
26917         (_dl_aux_init): Use const in cast when setting it.
26918         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26919         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26920         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26921
26922         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26923         Declare them here.
26924         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26925         * csu/libc-tls.c: Nor here.
26926         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26927
26928         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26929         (__libc_message): Never call vsyslog.
26930
26931 2013-03-28  Alan Modra  <amodra@gmail.com>
26932
26933         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26934         Define as empty.
26935         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26936         Likewise.
26937
26938 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26939
26940         [BZ #15214]
26941         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26942         underflow.
26943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26944
26945 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26946
26947         [BZ #15304]
26948         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26949         Don't add gid passed as argument.
26950
26951         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26952
26953 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
26954
26955         [BZ #15307]
26956         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26957         imaginary part between 1.0 and 1.5 and real part less than 0.5
26958         specially.
26959         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26960         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26961         * math/libm-test.inc (cacos_test): Add more tests.
26962         (casin_test): Likewise.
26963         (casinh_test): Likewise.
26964         * sysdeps/i386/fpu/libm-test-ulps: Update.
26965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26966
26967 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26968
26969         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26970         constants.
26971         (norm): Likewise.
26972         (denorm): Likewise.
26973         (__dbl_mp): Likewise.
26974         (add_magnitudes): Likewise.
26975         (sub_magnitudes): Likewise.
26976         (__add): Likewise.
26977         (__sub): Likewise.
26978         (__mul): Likewise.
26979         (__sqr): Likewise.
26980         (__inv): Likewise.
26981         (__dvd): Likewise.
26982
26983         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26984         commented code.
26985         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26986         (__dubcos): Likewise.
26987         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26988         (__ieee754_acos): Likewise.
26989         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26990         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26991         (__exp1): Likewise.
26992         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26993         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26994         (log1): Likewise.
26995         (my_log2): Likewise.
26996         (checkint): Likewise.
26997         * sysdeps/ieee754/dbl-64/e_remainder.c
26998         (__ieee754_remainder): Likewise.
26999         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27000         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27001         (bsloww): Likewise.
27002         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27003
27004         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27005         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27006         MANTISSA_STORE_T to store computations on mantissa.  Use
27007         macros for rounding and division.
27008         (denorm): Likewise.
27009         (__dbl_mp): Likewise.
27010         (add_magnitudes): Likewise.
27011         (sub_magnitudes): Likewise.
27012         (__mul): Likewise.
27013         (__sqr): Likewise.
27014         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27015         powers of two in terms of TWOPOW macro.
27016         (mp_no): Make type of mantissa as MANTISSA_T.
27017         [!RADIXI]: Define RADIXI.
27018         [!TWO52]: Define TWO52.
27019         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27020
27021 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27022
27023         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27024         llroundl symbol when building for PPC32.
27025
27026 2013-03-24  Mark H Weaver  <mhw@netris.org>
27027
27028         * manual/arith.texi (Normalization Functions): Fix prototypes for
27029         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27030
27031 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27032
27033         [BZ #13889]
27034         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27035         high value to check if expl overflow.
27036         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27037         to check for underflow and overflow.
27038         * math/libm-test.inc: Add exp test.
27039
27040 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27041
27042         [BZ #11120]
27043         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27044         with NOT_IN_libc.
27045
27046 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27047
27048         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27049         symbol.
27050
27051 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27052
27053         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27054         wrap blocks consisting of several statements.
27055
27056         * sysdeps/generic/math-tests.h: New file.
27057         * sysdeps/i386/fpu/math-tests.h: Likewise.
27058         * math/test-snan.c: Include it.
27059         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27060
27061 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27062
27063         [BZ #15285]
27064         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27065         (__ieee754_j0l): Do not improve calculations using cos of twice
27066         input for inputs above LDBL_MAX / 2.0L.
27067         (__ieee754_y0l): Likewise.
27068         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27069         (__ieee754_j1l): Do not improve calculations using cos of twice
27070         input for inputs above LDBL_MAX / 2.0L.
27071         (__ieee754_y1l): Likewise.
27072         * math/libm-test.inc (j0_test): Add another test.
27073         (j1_test): Likewise.
27074         (y0_test): Likewise.
27075         (y1_test): Likewise.
27076         * sysdeps/i386/fpu/libm-test-ulps: Update.
27077
27078 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27079
27080         * Rules ($(objpfx)bench-%.c): Include code from a C source
27081         file.
27082
27083 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27084
27085         [BZ #15287]
27086         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27087         imaginary part 1.0 and real part less than 0.5 specially.
27088         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27089         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27090         * math/libm-test.inc (cacos_test): Add more tests.
27091         (casin_test): Likewise.
27092         (casinh_test): Likewise.
27093         * sysdeps/i386/fpu/libm-test-ulps: Update.
27094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27095
27096 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27097
27098         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27099         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27100
27101 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27102
27103         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27104         * config.make.in (config-cflags-sse4): Remove variable.
27105         (config-cflags-avx): Likewise.
27106         (config-cflags-sse2avx): Likewise.
27107         (config-cflags-novzeroupper): Likewise.
27108         (config-asflags-i686): Likewise.
27109         (have-mfma4): Likewise.
27110         (have-as-vis3): Likewise.
27111         (MIG): Likewise.
27112         * configure.in (MIG): Do not AC_SUBST.
27113         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27114         (libc_cv_cc_sse4): Do not AC_SUBST.
27115         (libc_cv_cc_avx): Likewise.
27116         (libc_cv_cc_sse2avx): Likewise.
27117         (libc_cv_cc_novzeroupper): Likewise.
27118         (libc_cv_cc_fma4): Likewise.
27119         (libc_cv_as_i686): Likewise.
27120         (libc_cv_sparc_as_vis3): Likewise.
27121         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27122         LIBC_CONFIG_VAR.
27123         (config-asflags-i686): Likewise.
27124         (config-cflags-avx): Likewise.
27125         (config-cflags-sse2avx): Likewise.
27126         (have-mfma4): Likewise.
27127         (config-cflags-novzeroupper): Likewise.
27128         * sysdeps/mach/configure.in (MIG): Likewise.
27129         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27130         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27131         LIBC_CONFIG_VAR.
27132         (config-cflags-avx): Likewise.
27133         (config-cflags-sse2avx): Likewise.
27134         (have-mfma4): Likewise.
27135         (config-cflags-novzeroupper): Likewise.
27136         * configure: Regenerated.
27137         * sysdeps/i386/configure: Likewise.
27138         * sysdeps/mach/configure: Likewise.
27139         * sysdeps/sparc/configure: Likewise.
27140         * sysdeps/x86_64/configure: Likewise.
27141
27142 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27143
27144         [BZ #14812]
27145         * locale/programs/localedef.c (options): Put N_ translation marker
27146         on argument names, not just descriptions.
27147
27148 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27149
27150         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27151
27152 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27153
27154         [BZ #14176]
27155         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27156
27157 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27158
27159         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27160         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27161         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27162         [!BEFORE_ABORT] (before_abort): New function.
27163         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27164         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27165         (writev_for_fatal): New function.
27166         (WRITEV_FOR_FATAL): New macro; call that.
27167         (backtrace_and_maps): New function.
27168         (BEFORE_ABORT): New macro; call that.
27169         (struct str_list): Type removed.
27170         (__libc_message, __libc_fatal): Functions removed.
27171         Include <sysdeps/posix/libc_fatal.c> instead.
27172
27173 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27174
27175         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27176         constants.
27177         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27178         double constants.
27179
27180 2013-03-19  Andreas Schwab  <schwab@suse.de>
27181
27182         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27183         * sysdeps/gnu/configure: Regenerate.
27184
27185         * configure.in: Substitute libc_cv_rtlddir.
27186         * configure: Regenerate.
27187         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27188         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27189         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27190         * elf/Makefile (install-others, CFLAGS-interp.c)
27191         (ldso_install, common-ldd-rewrite): Likewise.
27192         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27193         $(inst_slibdir)/$(rtld-installed-name).
27194         * scripts/rellns-sh: Add -p option.
27195         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27196         for source.
27197
27198 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27199
27200         * manual/nptl.texi: Renamed to ...
27201         * manual/threads.texi: ... this.
27202         * manual/Makefile (chapters): Update.
27203
27204 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27205
27206         [BZ #14812]
27207         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27208         on argument names, not just descriptions.
27209         * malloc/memusagestat.c (options): Likewise.
27210         * nss/getent.c (options): Likewise.
27211
27212 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27213
27214         [BZ #14812]
27215         * iconv/iconv_prog.c (options): Put N_ translation marker
27216         on argument names, not just descriptions.
27217         * iconv/iconvconfig.c (options): Likewise.
27218
27219 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27220
27221         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27222         implementation which is faster on all x86_64 architectures.
27223         Tested on AMD, Intel Nehalem, SNB, IVB.
27224         * sysdeps/x86_64/strnlen.S: Likewise.
27225
27226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27227         Remove all multiarch strlen and strnlen versions.
27228         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27229         Remove strlen and strnlen related parts.
27230
27231         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27232         Inline strlen part.
27233         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27234
27235         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27236         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27237         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27238         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27239         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27240         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27241
27242 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27243
27244         * manual/memory.texi (Malloc Tunable Parameters):
27245         Sort parameters alphabetically. Add comments for missing entries.
27246
27247 2013-03-17  David S. Miller  <davem@davemloft.net>
27248
27249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27250
27251 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27252
27253         [BZ #15283]
27254         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27255         for arguments at most half maximum finite value.
27256         * math/libm-test.inc (j0_test): Add more tests.
27257         (j1_test): Likewise.
27258         (y0_test): Likewise.
27259         (y1_test): Likewise.
27260         * sysdeps/i386/fpu/libm-test-ulps: Update.
27261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27262
27263         [BZ #14155]
27264         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27265         1 / x and functions P and Q for arguments above 0x1p256L.
27266         (__ieee754_y0l): Likewise.
27267         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27268         (__ieee754_y1l): Likewise.
27269         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27270         (j1_test): Likewise.
27271         (y0_test): Likewise.
27272         (y1_test): Likewise.
27273
27274 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27275
27276         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27277         variable.
27278
27279 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27280
27281         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27282         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27283         zero since it's initialized to EXEC_PAGESIZE.
27284
27285         * sysdeps/unix/sysv/linux/ldsodefs.h
27286         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27287         * sysdeps/generic/ldsodefs.h: ... here.
27288
27289 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27290
27291         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27292
27293         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27294         math/test-snan.c.
27295         * math/test-snan.c: Renamed from
27296         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27297         * math/Makefile (tests): Add test-snan.
27298         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27299         test-powerpc-snan.
27300
27301         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27302         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27303         functions.
27304         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27305         __builtin_nan family of functions.
27306         * math/libm-test.inc (initialize): Initialize qnan_value with
27307         __builtin_nan family of functions.
27308         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27309         Remove variables.
27310         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27311         Remove functions.
27312         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27313         storage class.  Initialize qNaN_var and sNaN_var with
27314         __builtin_nan and __builtin_nans families of functions,
27315         respectively.
27316
27317         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27318         (sqrt_test): Remove duplicate test with qNaN input.
27319         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27320         (round_test, signbit_test, significand_test): Note missing +/-Inf
27321         as well as qNaN tests.
27322
27323         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27324         qNaN_var.  Fix a few strings, too.
27325         * math/libm-test.inc (nan_value): Rename to qnan_value.
27326         * math/gen-libm-test.pl (%beautify): Adjust to that.
27327         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27328         * math/test-misc.c (main): Likewise.
27329         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27330         to __qnan_bytes, and __qnan_union, respectively.
27331         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27332         Likewise.
27333         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27334         and lqnanval, respectively.
27335         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27336         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27337         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27338         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27339
27340         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27341         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27342         doubles.
27343
27344         * math/test-misc.c (main): Fix copy'n'pastos.
27345         * misc/tst-efgcvt.c (special): Likewise.
27346
27347         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27348         Remove declarations.
27349
27350 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27351
27352         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27353         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27354         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27355         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27356
27357 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27358
27359         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27360         macro to return vdso values correctly in IFUNC implementations.
27361         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27362         Optimization by using IFUNC.
27363
27364 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27365             Richard Henderson  <rth@redhat.com>
27366             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27367
27368         * Makefile.in (bench): New target.
27369         * NEWS: Mention the benchmark framework.
27370         * Rules (bench): Likewise.
27371         (binaries-bench): Generate binaries for functions to
27372         benchmark.
27373         * benchtests/Makefile: New makefile for benchmark tests.
27374         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27375         programs.
27376         * benchtests/exp-inputs: New input file for EXP function.
27377         * benchtests/pow-inputs: New input file for POW function.
27378         * scripts/bench.pl: New script to generate source files for
27379         benchmark programs.
27380
27381 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27382
27383         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27384         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27385         computations on mantissa.  Use macros for rounding and
27386         division.
27387         (denorm): Likewise.
27388         (__dbl_mp): Likewise.
27389         (add_magnitudes): Likewise.
27390         (sub_magnitudes): Likewise.
27391         (__mul): Likewise.
27392         (__sqr): Likewise.
27393         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27394         powers of two in terms of TWOPOW macro.
27395         (mp_no): Make type of mantissa as MANTISSA_T.
27396         [!RADIXI]: Define RADIXI.
27397         [!TWO52]: Define TWO52.
27398         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27399
27400         * manual/nptl.texi (cindex): Modify threads to pthreads.
27401
27402 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27403
27404         * sysdeps/x86_64/preconfigure: Regenerated.
27405
27406 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27407
27408         [BZ #14155]
27409         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27410         0x1p28 and above.
27411         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27412         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27413         0x1p28 and above.
27414         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27415         * math/libm-test.inc (j0_test): Do not allow one spurious
27416         underflow exception.
27417         (y1_test): Likewise.
27418
27419 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27420
27421         * manual/Makefile (chapters): Add nptl.
27422         * manual/debug.texi (Debugging Support): Add link to Threads
27423         chapter.
27424         * manual/nptl.texi: New file.
27425
27426         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27427
27428 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27429
27430         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27431         for non-NULL pointer before the memory validity test. Pointed
27432         out by Holger Brunck <holger.brunck@keymile.com>.
27433
27434 2013-03-13  Andreas Schwab  <schwab@suse.de>
27435
27436         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27437         instead of .os.
27438
27439 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27440
27441         * timezone/zic.c: Update from tzcode 2013b.
27442
27443 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27444
27445         * manual/install.texi (Configuring and compiling):
27446         Mention i686 and i586.
27447         * INSTALL: Regenerate.
27448
27449 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27450
27451         * sysdeps/init_array/elf-init.c: New file.
27452         * csu/elf-init.c
27453         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27454         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27455
27456         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27457         __gmon_start__ as global, but as static with a .preinit_array pointer.
27458         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27459         * sysdeps/init_array/crti.S: New file, empty except for comments.
27460         * sysdeps/init_array/crtn.S: Likewise.
27461
27462 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27463
27464         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27465         definining bcopy.
27466         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27467         Remove Prefer_SSE_for_memop.
27468         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27469         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27470         HAS_PREFER_SSE_FOR_MEMOP.
27471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27472         memset-x86-64.
27473         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27474         Remove bzero, memset ifunc support.
27475         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27476         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27477         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27478         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27479
27480 2013-03-11  Andreas Schwab  <schwab@suse.de>
27481
27482         [BZ #15234]
27483         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27484         by SHLIB_COMPAT.
27485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27486         (GLIBC_2.16): Remove pthread_atfork.
27487
27488 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27489
27490         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27491         (ptestcases.h): Likewise.
27492
27493 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27494
27495         * Makeconfig ($(common-objpfx)config.status): Depend on
27496         sysdeps/*/preconfigure{,.in} too.
27497
27498 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27499
27500         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27501         (__free_hook): Use void * instead of __malloc_ptr_t.
27502         (__malloc_hook): Likewise.
27503         (__realloc_hook): Likewise.
27504         (__memalign_hook): Likewise.
27505         (__after_morecore_hook): Likewise.
27506         * malloc/arena.c (save_malloc_hook): Likewise.
27507         (save_free_hook): Likewise.
27508         * malloc/hooks.c (malloc_hook_ini): Likewise.
27509         (realloc_hook_ini): Likewise.
27510         (memalign_hook_ini): Likewise.
27511         * malloc/malloc.c (malloc_hook_ini): Likewise.
27512         (realloc_hook_ini): Likewise.
27513         (memalign_hook_ini): Likewise.
27514         (__free_hook): Likewise.
27515         (__malloc_hook): Likewise.
27516         (__realloc_hook): Likewise.
27517         (__memalign_hook): Likewise.
27518         (__libc_malloc): Likewise.
27519         (__libc_free): Likewise.
27520         (__libc_realloc): Likewise.
27521         (__libc_memalign): Likewise.
27522         (__libc_valloc): Likewise.
27523         (__libc_pvalloc): Likewise.
27524         (__libc_calloc): Likewise.
27525         (__posix_memalign): Likewise.
27526         * malloc/morecore.c (__sbrk): Likewise.
27527         (__default_morecore): Likewise.
27528
27529         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27530
27531         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27532         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27533         __malloc_ptrdiff_t.
27534
27535         * malloc/malloc.h (__malloc_size_t): Remove macro.
27536         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27537         __malloc_size_t.
27538         (old_memalign_hook): Likewise.
27539         (old_realloc_hook): Likewise.
27540         (struct hdr): Likewise.
27541         (flood): Likewise.
27542         (mallochook): Likewise.
27543         (memalignhook): Likewise.
27544         (reallochook): Likewise.
27545         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27546         (tr_old_realloc_hook): Likewise.
27547         (tr_old_memalign_hook): Likewise.
27548         (tr_mallochook): Likewise.
27549         (tr_reallochook): Likewise.
27550         (tr_memalignhook): Likewise.
27551
27552 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27553
27554         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27555         default_ldbl_pack and using as default implementation.
27556         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27557         implementation.
27558         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27559         redundant definition.
27560         (ldbl_insert_mantissa): Likewise.
27561         (ldbl_canonicalize): Likewise.
27562         (ldbl_nearbyint): Likewise.
27563         (ldbl_pack): Rename to ldbl_pack_ppc.
27564         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27565         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27566         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27567
27568 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27569
27570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27571         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27572         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27573         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27574         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27575         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27576         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27577         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27578
27579 2013-03-07  Andreas Jaeger  <aj@suse.de>
27580
27581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27582         bits/mman-linux.h.
27583
27584 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27585
27586         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27587         Include mpa.h and declare __MPEXP.
27588         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27589         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27590         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27591         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27592         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27593         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27594         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27595
27596         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27597         (__slowpow): Use long double EXPL and LOGL functions to
27598         compute POW.
27599         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27600         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27601         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27602         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27603         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27604         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27605
27606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27607         intermediate variable to calculate exponent.
27608         (__sqr): Likewise.
27609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27610         Likewise.
27611         (__sqr): Likewise.
27612
27613         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27614         [!NO__SQR]: Define __sqr.
27615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27616         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27617         sysdeps/ieee754/dbl-64/mpa.c.
27618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27619
27620         [BZ #12723]
27621         * posix/Makefile (tests): Add tst-pathconf.
27622         * posix/tst-pathconf.c: New test case.
27623         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27624         _PC_PIPE_BUF.
27625         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27626
27627 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27628
27629         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27630
27631 2013-03-06  Andreas Jaeger  <aj@suse.de>
27632
27633         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27634         definition via __MAP_ANONYMOUS.
27635
27636         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27637         it's not part of Linux headers.
27638
27639         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27640         (MAP_HUGE_MASK): Define.
27641
27642         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27643         Define.
27644         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27645         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27646         Define.
27647         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27648         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27649         Define.
27650         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27651         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27652         Define.
27653         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27654
27655         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27656         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27657         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27658         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27659         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27660         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27661
27662         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27663         Handle f2fs.
27664
27665         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27666         Handle f2fs and efivarfs.
27667
27668         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27669         f2fs.
27670
27671         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27672         (EFIVARFS_MAGIC): Add.
27673         (F2FS_LINK_MAX): Add.
27674
27675 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27676
27677         * stdio-common/vfprintf.c: Replace __builtin_expect with
27678         __glibc_unlikely.
27679
27680 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27681
27682         [BZ #13550]
27683         * sysdeps/generic/bp-sym.h: Remove file.
27684         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27685         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27686         <bp-sym.h> and <bp-asm.h>.
27687         (__longjmp): Don't use BP_SYM.
27688         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27689         and <bp-asm.h>.
27690         (memcpy): Don't use BP_SYM.
27691         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27692         <bp-sym.h> and <bp-asm.h>.
27693         (memcpy): Don't use BP_SYM.
27694         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27695         <bp-asm.h>.
27696         (memcpy): Don't use BP_SYM.
27697         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27698         <bp-asm.h>.
27699         (memset): Don't use BP_SYM.
27700         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27701         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27702         (__bzero): Don't use BP_SYM.
27703         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27704         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27705         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27706         <bp-sym.h> and <bp-asm.h>.
27707         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27708         pointers.
27709         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27710         <bp-sym.h> and <bp-asm.h>.
27711         (memcpy): Don't use BP_SYM.
27712         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27713         <bp-sym.h> and <bp-asm.h>.
27714         (memset): Don't use BP_SYM.
27715         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27716         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27717         (__bzero): Don't use BP_SYM.
27718         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27719         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27720         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27721         <bp-sym.h> and <bp-asm.h>.
27722         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27723         pointers.
27724         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27725         <bp-sym.h> and <bp-asm.h>.
27726         (memcpy): Don't use BP_SYM.
27727         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27728         <bp-sym.h> and <bp-asm.h>.
27729         (memset): Don't use BP_SYM.
27730         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27731         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27732         (__bzero): Don't use BP_SYM.
27733         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27734         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27735         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27736         <bp-sym.h> and <bp-asm.h>.
27737         (__memchr): Don't use BP_SYM.
27738         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27739         <bp-sym.h> and <bp-asm.h>.
27740         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27741         pointers.
27742         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27743         <bp-sym.h> and <bp-asm.h>.
27744         (memcpy): Don't use BP_SYM.
27745         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27746         <bp-sym.h> and <bp-asm.h>.
27747         (__mempcpy): Don't use BP_SYM.
27748         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27749         <bp-sym.h> and <bp-asm.h>.
27750         (__memrchr): Don't use BP_SYM.
27751         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27752         <bp-sym.h> and <bp-asm.h>.
27753         (memset): Don't use BP_SYM.
27754         (__bzero): Likewise.
27755         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27756         <bp-sym.h> and <bp-asm.h>.
27757         (__rawmemchr): Don't use BP_SYM.
27758         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27759         <bp-sym.h> and <bp-asm.h>.
27760         (__STRCMP): Don't use BP_SYM.
27761         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27762         <bp-sym.h> and <bp-asm.h>.
27763         (strchr): Don't use BP_SYM.
27764         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27765         <bp-sym.h> and <bp-asm.h>.
27766         (__strchrnul): Don't use BP_SYM.
27767         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27768         <bp-sym.h> and <bp-asm.h>.
27769         (strlen): Don't use BP_SYM.
27770         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27771         <bp-sym.h> and <bp-asm.h>.
27772         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27773         pointers.
27774         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27775         <bp-sym.h> and <bp-asm.h>.
27776         (__strnlen): Don't use BP_SYM.
27777         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27778         <bp-sym.h> and <bp-asm.h>.
27779         (__GI__setjmp): Don't use BP_SYM.
27780         (_setjmp): Likewise.
27781         (__sigsetjmp): Likewise.
27782         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27783         (L(start_addresses)): Don't use BP_SYM.
27784         (_start): Likewise.
27785         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27786         <bp-asm.h>.
27787         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27788         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27789         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27790         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27791         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27792         <bp-asm.h>.
27793         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27794         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
27795         about bounded pointers.
27796         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27797         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27798         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27799         <bp-asm.h>.
27800         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27801         about bounded pointers.  Remove GKM FIXME comments.
27802         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27803         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27804         <bp-asm.h>.
27805         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27806         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
27807         Remove GKM FIXME comments.
27808         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27809         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27810         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27811         <bp-asm.h>.
27812         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27813         about bounded pointers.  Remove GKM FIXME comment.
27814         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27815         and <bp-asm.h>.
27816         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27817         pointers.
27818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27819         <bp-sym.h> and <bp-asm.h>.
27820         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27822         <bp-sym.h> and <bp-asm.h>.
27823         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27824         comment.
27825
27826 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27827
27828         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27829         call free(NULL).
27830
27831 2013-03-05  David S. Miller  <davem@davemloft.net>
27832
27833         * po/es.po: Update from translation team.
27834
27835 2013-03-05  Andreas Jaeger  <aj@suse.de>
27836
27837         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27838         <bits/mman-linux.h>.
27839         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27840         is fine.
27841         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27842         <bits/mman-linux.h> to end of file.
27843         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27844         is fine.
27845         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27846         <bits/mman-linux.h> to end of file.
27847         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27848         is fine.
27849         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27850         <bits/mman-linux.h> to end of file.
27851
27852         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27853         (MCL_CURRENT, MCL_FUTURE): Define here.
27854
27855 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27856
27857         [BZ #15232]
27858         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27859         attribute_hidden.
27860         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27861
27862 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27863
27864         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27865         fourth parameter needed for rt_sigprocmask syscall.
27866         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27867         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27868         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27869         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27870         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27871         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27872
27873 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
27874
27875         [BZ #13550]
27876         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27877         comment about bounded pointers.
27878         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27879         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27880
27881 2013-03-04  Andreas Jaeger  <aj@suse.de>
27882
27883         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27884         common definitions.
27885
27886         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27887         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27888         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27889         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27890         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27891         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27892
27893 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27894
27895         [BZ #15055]
27896         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27897         __ieee754_sqrl instead of __sqrl.
27898
27899 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
27900
27901         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27902         * sysdeps/powerpc/fpu_control.h: ... here.
27903         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27904         * sysdeps/powerpc/bits/fenvinline.h: ... here.
27905         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27906         * sysdeps/powerpc/bits/mathinline.h: ... here.
27907
27908 2013-03-01  Roland McGrath  <roland@hack.frob.com>
27909
27910         * elf/dl-hwcaps.c (_dl_important_hwcaps):
27911         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27912         to just [NEED_DL_SYSINFO_DSO].
27913         * elf/dl-support.c: Likewise.
27914         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27915         * elf/rtld.c (dl_main): Likewise.
27916         * elf/setup-vdso.h (setup_vdso): Likewise.
27917         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27918         * sysdeps/unix/sysv/linux/dl-sysdep.c
27919         (_dl_discover_osversion): Likewise.
27920
27921 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
27922
27923         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27924         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27925
27926 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27927
27928         * NEWS: Mention libm performance improvements and non-x86 PI
27929         futex support.
27930
27931         * csu/libc-start.c (__pthread_initialize_minimal): Change
27932         function arguments.
27933         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27934
27935 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
27936
27937         [BZ #13550]
27938         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27939         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27940         <bp-sym.h> and <bp-asm.h>.
27941         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27942         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27943         and <bp-asm.h>.
27944         (memcpy): Don't use BP_SYM.
27945         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27946         <bp-asm.h>.
27947         (__mpn_add_n): Don't use BP_SYM.
27948         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27949         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27950         and <bp-asm.h>.
27951         (__mpn_addmul_1): Don't use BP_SYM.
27952         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27953         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27954         <bp-sym.h>.
27955         (_setjmp): Don't use BP_SYM.
27956         (__novmx_setjmp): Likewise.
27957         (__GI__setjmp): Likewise.
27958         (__vmx_setjmp): Likewise.
27959         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27960         <bp-sym.h>.
27961         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27962         (__bzero): Don't use BP_SYM.
27963         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27964         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27965         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27966         <bp-sym.h> and <bp-asm.h>.
27967         (memcpy): Don't use BP_SYM.
27968         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27969         <bp-sym.h> and <bp-asm.h>.
27970         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27971         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27972         <bp-sym.h> and <bp-asm.h>.
27973         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27974         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27975         <bp-asm.h>.
27976         (__mpn_lshift): Don't use BP_SYM.
27977         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27978         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27979         <bp-asm.h>.
27980         (memset): Don't use BP_SYM.
27981         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27982         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27983         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27984         <bp-asm.h>.
27985         (__mpn_mul_1): Don't use BP_SYM.
27986         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27987         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27988         <bp-sym.h> and <bp-asm.h>.
27989         (memcmp): Don't use BP_SYM.
27990         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27991         <bp-sym.h> and <bp-asm.h>.
27992         (memcpy): Don't use BP_SYM.
27993         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27994         <bp-sym.h> and <bp-asm.h>.
27995         (memset): Don't use BP_SYM.
27996         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27997         <bp-sym.h> and <bp-asm.h>.
27998         (strncmp): Don't use BP_SYM.
27999         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28000         <bp-sym.h> and <bp-asm.h>.
28001         (memcpy): Don't use BP_SYM.
28002         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28003         <bp-sym.h> and <bp-asm.h>.
28004         (memset): Don't use BP_SYM.
28005         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28006         <bp-sym.h> and <bp-asm.h>.
28007         (__memchr): Don't use BP_SYM.
28008         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28009         <bp-sym.h> and <bp-asm.h>.
28010         (memcmp): Don't use BP_SYM.
28011         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28012         <bp-sym.h> and <bp-asm.h>.
28013         (memcpy): Don't use BP_SYM.
28014         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28015         <bp-sym.h> and <bp-asm.h>.
28016         (__mempcpy): Don't use BP_SYM.
28017         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28018         <bp-sym.h> and <bp-asm.h>.
28019         (__memrchr): Don't use BP_SYM.
28020         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28021         <bp-sym.h> and <bp-asm.h>.
28022         (memset): Don't use BP_SYM.
28023         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28024         <bp-sym.h> and <bp-asm.h>.
28025         (__rawmemchr): Don't use BP_SYM.
28026         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28027         <bp-sym.h> and <bp-asm.h>.
28028         (__STRCMP): Don't use BP_SYM.
28029         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28030         <bp-sym.h> and <bp-asm.h>.
28031         (strchr): Don't use BP_SYM.
28032         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28033         <bp-sym.h> and <bp-asm.h>.
28034         (__strchrnul): Don't use BP_SYM.
28035         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28036         <bp-sym.h> and <bp-asm.h>.
28037         (strlen): Don't use BP_SYM.
28038         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28039         <bp-sym.h> and <bp-asm.h>.
28040         (strncmp): Don't use BP_SYM.
28041         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28042         <bp-sym.h> and <bp-asm.h>.
28043         (__strnlen): Don't use BP_SYM.
28044         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28045         <bp-asm.h>.
28046         (__mpn_rshift): Don't use BP_SYM.
28047         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28048         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28049         <bp-sym.h> and <bp-asm.h>.
28050         (__sigsetjmp): Don't use BP_SYM.
28051         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28052         (L(start_addresses)): Don't use BP_SYM.
28053         (_start): Likewise.
28054         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28055         <bp-asm.h>.
28056         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28057         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28058         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28059         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28060         <bp-asm.h>.
28061         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28062         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28063         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28064         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28065         <bp-asm.h>.
28066         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28067         comments.
28068         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28069         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28070         <bp-asm.h>.
28071         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28072         FIXME comments.
28073         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28074         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28075         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28076         <bp-asm.h>.
28077         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28078         comment.
28079         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28080         and <bp-asm.h>.
28081         (strncmp): Don't use BP_SYM,
28082         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28083         <bp-asm.h>.
28084         (__mpn_sub_n): Don't use BP_SYM.
28085         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28086         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28087         and <bp-asm.h>.
28088         (__mpn_submul_1): Don't use BP_SYM.
28089         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28091         <bp-sym.h> and <bp-asm.h>.
28092         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28094         <bp-sym.h> and <bp-asm.h>.
28095         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28096         comment.
28097
28098 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28099
28100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28101         Use ZK to minimize writes to Z.
28102         (sub_magnitudes): Simplify code a bit.
28103         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28104         Use ZK to minimize writes to Z.
28105         (sub_magnitudes): Simplify code a bit.
28106
28107 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28108
28109         * csu/gmon-start.c: Add special exception to license text.
28110
28111 2013-02-27  Richard Henderson  <rth@redhat.com>
28112
28113         * scripts/config.guess: Update from config.git.
28114         * scripts/config.sub: Likewise.
28115
28116 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28117
28118         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28119
28120         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28121
28122         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28123
28124         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28125
28126         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28127
28128 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28129
28130         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28131         [$(build-shared = yes].
28132
28133 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28134
28135         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28136         (__mul): Reduce iterations for calculating mantissa.
28137
28138         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28139         MPTWO.
28140         (__mpranred): Likewise.
28141
28142         [BZ #15160]
28143         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28144         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28145
28146 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28147
28148         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28149         Define __attribute__.
28150
28151 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28152
28153         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28154         unused.
28155         * posix/regex_internal.h (__attribute): Remove.
28156         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28157         (re_string_context_at): Likewise.
28158         (bitset_not): Use __attribute__ and mark function as possibly
28159         unused.
28160         (bitset_merge): Likewise.
28161         (bitset_mask): Likewise.
28162         (re_string_char_size_at): Likewise.
28163         (re_string_wchar_at): Likewise.
28164         (re_string_elem_size_at): Likewise.
28165
28166 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28167
28168         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28169         code.
28170         (cc32): Likewise.
28171
28172         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28173         (__acr): Likewise.
28174         (__cpy): Likewise.
28175         (norm): Likewise.
28176         (denorm): Likewise.
28177         (__dbl_mp): Likewise.
28178         (add_magnitudes): Likewise.
28179         (sub_magnitudes): Likewise.
28180         (__mul): Likewise.
28181         (__inv): Likewise.
28182
28183         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28184         style.
28185
28186         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28187         style.
28188
28189         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28190         code.
28191
28192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28193         up changes with default code.
28194         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28195         Likewise.
28196
28197 2013-02-24  Allan McRae  <allan@archlinux.org>
28198
28199         * manual/socket.texi (The Internet Namespace): Order menu items
28200         to match that in the file.
28201
28202         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28203         node listing of the info page menu.
28204
28205 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28206
28207         [BZ #13550]
28208         * sysdeps/i386/bp-asm.h: Remove file.
28209         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28210         (PARMS): Do not use macros from bp-asm.h.
28211         (S1): Likewise.
28212         (S2): Likewise.
28213         (SIZE): Likewise.
28214         (__mpn_add_n): Do not use BP_SYM
28215         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28216         "bp-asm.h".
28217         (PARMS): Do not use macros from bp-asm.h.
28218         (S1): Likewise.
28219         (SIZE): Likewise.
28220         (__mpn_addmul_1): Do not use BP_SYM
28221         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28222         "bp-asm.h".
28223         (PARMS): Do not use macros from bp-asm.h.
28224         (SIGMSK): Likewise.
28225         (_setjmp): Likewise.  Do not use BP_SYM.
28226         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28227         "bp-asm.h".
28228         (PARMS): Do not use macros from bp-asm.h.
28229         (SIGMSK): Likewise.
28230         (setjmp): Likewise.  Do not use BP_SYM.
28231         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28232         "bp-asm.h".
28233         (PARMS): Do not use macros from bp-asm.h.
28234         (__frexp): Do not use BP_SYM.
28235         (frexp): Likewise.
28236         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28237         "bp-asm.h".
28238         (PARMS): Do not use macros from bp-asm.h.
28239         (__frexpf): Do not use BP_SYM.
28240         (frexpf): Likewise.
28241         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28242         "bp-asm.h".
28243         (PARMS): Do not use macros from bp-asm.h.
28244         (__frexpl): Do not use BP_SYM.
28245         (frexpl): Likewise.
28246         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28247         "bp-asm.h".
28248         (PARMS): Do not use macros from bp-asm.h.
28249         (__remquo): Do not use BP_SYM.
28250         (remquo): Likewise.
28251         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28252         "bp-asm.h".
28253         (PARMS): Do not use macros from bp-asm.h.
28254         (__remquof): Do not use BP_SYM.
28255         (remquof): Likewise.
28256         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28257         "bp-asm.h".
28258         (PARMS): Do not use macros from bp-asm.h.
28259         (__remquol): Do not use BP_SYM.
28260         (remquol): Likewise.
28261         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28262         "bp-asm.h".
28263         (PARMS): Do not use macros from bp-asm.h.
28264         (DEST): Likewise.
28265         (SRC): Likewise.
28266         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28267         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28268         "bp-asm.h".
28269         (PARMS): Do not use macros from bp-asm.h.
28270         (strlen): Do not use BP_SYM.
28271         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28272         "bp-asm.h".
28273         (PARMS): Do not use macros from bp-asm.h.
28274         (S1): Likewise.
28275         (S2): Likewise.
28276         (SIZE): Likewise.
28277         (__mpn_add_n): Do not use BP_SYM.
28278         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28279         "bp-asm.h".
28280         (PARMS): Do not use macros from bp-asm.h.
28281         (S1): Likewise.
28282         (SIZE): Likewise.
28283         (__mpn_addmul_1): Do not use BP_SYM.
28284         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28285         weak_alias.
28286         (bzero): Likewise.
28287         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28288         "bp-asm.h".
28289         (PARMS): Do not use macros from bp-asm.h.
28290         (S): Likewise.
28291         (SIZE): Likewise.
28292         (__mpn_lshift): Do not use BP_SYM.
28293         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28294         "bp-asm.h".
28295         (PARMS): Do not use macros from bp-asm.h.
28296         (DEST): Likewise.
28297         (SRC): Likewise.
28298         (LEN): Likewise.
28299         (memcpy): Likewise.  Do not use BP_SYM.
28300         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28301         libc_hidden_def and weak_alias.
28302         (mempcpy): Do not use BP_SYM in weak_alias.
28303         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28304         "bp-asm.h".
28305         (PARMS): Do not use macros from bp-asm.h.
28306         (DEST): Likewise.
28307         (LEN): Likewise.
28308         [!BZERO_P] (CHR): Likewise.
28309         (memset): Likewise.  Do not use BP_SYM.
28310         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28311         "bp-asm.h".
28312         (PARMS): Do not use macros from bp-asm.h.
28313         (S1): Likewise.
28314         (SIZE): Likewise.
28315         (__mpn_mul_1): Do not use BP_SYM.
28316         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28317         "bp-asm.h".
28318         (PARMS): Do not use macros from bp-asm.h.
28319         (S): Likewise.
28320         (SIZE): Likewise.
28321         (__mpn_rshift): Do not use BP_SYM.
28322         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28323         "bp-asm.h".
28324         (PARMS): Do not use macros from bp-asm.h.
28325         (STR): Likewise.
28326         (CHR): Likewise.
28327         (strchr): Likewise.  Do not use BP_SYM.
28328         (index): Do not use BP_SYM in weak_alias.
28329         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28330         "bp-asm.h".
28331         (PARMS): Do not use macros from bp-asm.h.
28332         (DEST): Likewise.
28333         (SRC): Likewise.
28334         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28335         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28336         "bp-asm.h".
28337         (PARMS): Do not use macros from bp-asm.h.
28338         (strlen): Do not use BP_SYM.
28339         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28340         "bp-asm.h".
28341         (PARMS): Do not use macros from bp-asm.h.
28342         (S1): Likewise.
28343         (S2): Likewise.
28344         (SIZE): Likewise.
28345         (__mpn_sub_n): Do not use BP_SYM.
28346         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28347         "bp-asm.h".
28348         (PARMS): Do not use macros from bp-asm.h.
28349         (S1): Likewise.
28350         (SIZE): Likewise.
28351         (__mpn_submul_1): Do not use BP_SYM.
28352         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28353         "bp-asm.h".
28354         (PARMS): Do not use macros from bp-asm.h.
28355         (S1): Likewise.
28356         (S2): Likewise.
28357         (SIZE): Likewise.
28358         (__mpn_add_n): Do not use BP_SYM.
28359         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28360         weak_alias.
28361         (bzero): Likewise.
28362         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28363         "bp-asm.h".
28364         (PARMS): Do not use macros from bp-asm.h.
28365         (BLK2): Likewise.
28366         (LEN): Likewise.
28367         (memcmp): Do not use BP_SYM.
28368         (bcmp): Do not use BP_SYM in weak_alias.
28369         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28370         "bp-asm.h".
28371         (PARMS): Do not use macros from bp-asm.h.
28372         (DEST): Likewise.
28373         (SRC): Likewise.
28374         (LEN): Likewise.
28375         (memcpy): Likewise.  Do not use BP_SYM.
28376         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28377         "bp-asm.h".
28378         (PARMS): Do not use macros from bp-asm.h.
28379         (DEST): Likewise.
28380         (SRC): Likewise.
28381         (LEN): Likewise.
28382         (memmove): Likewise.  Do not use BP_SYM.
28383         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28384         "bp-asm.h".
28385         (PARMS): Do not use macros from bp-asm.h.
28386         (DEST): Likewise.
28387         (SRC): Likewise.
28388         (LEN): Likewise.
28389         (__mempcpy): Likewise.  Do not use BP_SYM.
28390         (mempcpy): Do not use BP_SYM in weak_alias.
28391         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28392         "bp-asm.h".
28393         (PARMS): Do not use macros from bp-asm.h.
28394         (DEST): Likewise.
28395         (LEN): Likewise.
28396         [!BZERO_P] (CHR): Likewise.
28397         (memset): Likewise.  Do not use BP_SYM.
28398         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28399         "bp-asm.h".
28400         (PARMS): Do not use macros from bp-asm.h.
28401         (STR2): Likewise.
28402         (strcmp): Do not use BP_SYM.
28403         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28404         "bp-asm.h".
28405         (PARMS): Do not use macros from bp-asm.h.
28406         (STR): Likewise.
28407         (DELIM): Likewise.
28408         [USE_AS_STRTOK_R] (SAVE): Likewise.
28409         (FUNCTION): Likewise.  Do not use BP_SYM.
28410         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28411         aliases.
28412         (strtok_r): Likewise.
28413         (__GI___strtok_r): Likewise.
28414         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28415         (PARMS): Do not use macros from bp-asm.h.
28416         (S): Likewise.
28417         (SIZE): Likewise.
28418         (__mpn_lshift): Do not use BP_SYM.
28419         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28420         (PARMS): Do not use macros from bp-asm.h.
28421         (STR): Likewise.
28422         (CHR): Likewise.
28423         (__memchr): Do not use BP_SYM.
28424         (memchr): Do not use BP_SYM in weak_alias.
28425         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28426         (PARMS): Do not use macros from bp-asm.h.
28427         (BLK2): Likewise.
28428         (LEN): Likewise.
28429         (memcmp): Do not use BP_SYM.
28430         (bcmp): Do not use BP_SYM in weak_alias.
28431         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28432         (PARMS): Do not use macros from bp-asm.h.
28433         (S1): Likewise.
28434         (SIZE): Likewise.
28435         (__mpn_mul_1): Do not use BP_SYM.
28436         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28437         "bp-asm.h".
28438         (PARMS): Do not use macros from bp-asm.h.
28439         (STR): Likewise.
28440         (CHR): Likewise.
28441         (__rawmemchr): Do not use BP_SYM.
28442         (rawmemchr): Do not use BP_SYM in weak_alias.
28443         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28444         (PARMS): Do not use macros from bp-asm.h.
28445         (S): Likewise.
28446         (SIZE): Likewise.
28447         (__mpn_rshift): Do not use BP_SYM.
28448         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28449         (PARMS): Do not use macros from bp-asm.h.
28450         (SIGMSK): Likewise.
28451         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28452         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28453         (_start): Do not use BP_SYM.
28454         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28455         (PARMS): Do not use macros from bp-asm.h.
28456         (DEST): Likewise.
28457         (SRC): Likewise.
28458         (__stpcpy): Likewise.  Do not use BP_SYM.
28459         (stpcpy): Do not use BP_SYM in weak_alias.
28460         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28461         "bp-asm.h".
28462         (PARMS): Do not use macros from bp-asm.h.
28463         (DEST): Likewise.
28464         (SRC): Likewise.
28465         (LEN): Likewise.
28466         (__stpncpy): Likewise.  Do not use BP_SYM.
28467         (stpncpy): Do not use BP_SYM in weak_alias.
28468         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28469         (PARMS): Do not use macros from bp-asm.h.
28470         (STR): Likewise.
28471         (CHR): Likewise.
28472         (strchr): Likewise.  Do not use BP_SYM.
28473         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28474         "bp-asm.h".
28475         (PARMS): Do not use macros from bp-asm.h.
28476         (STR): Likewise.
28477         (CHR): Likewise.
28478         (__strchrnul): Likewise.  Do not use BP_SYM.
28479         (strchrnul): Do not use BP_SYM in weak_alias.
28480         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28481         "bp-asm.h".
28482         (PARMS): Do not use macros from bp-asm.h.
28483         (STOP): Likewise.
28484         (strcspn): Do not use BP_SYM.
28485         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28486         "bp-asm.h".
28487         (PARMS): Do not use macros from bp-asm.h.
28488         (STR): Likewise.
28489         (STOP): Likewise.
28490         (strpbrk): Likewise.  Do not use BP_SYM.
28491         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28492         "bp-asm.h".
28493         (PARMS): Do not use macros from bp-asm.h.
28494         (STR): Likewise.
28495         (CHR): Likewise.
28496         (strrchr): Likewise.  Do not use BP_SYM.
28497         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28498         (PARMS): Do not use macros from bp-asm.h.
28499         (SKIP): Likewise.
28500         (strspn): Do not use BP_SYM.
28501         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28502         (PARMS): Do not use macros from bp-asm.h.
28503         (STR): Likewise.
28504         (DELIM): Likewise.
28505         (SAVE): Likewise.
28506         (FUNCTION): Likewise.  Do not use BP_SYM.
28507         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28508         aliases.
28509         (strtok_r): Likewise.
28510         (__GI___strtok_r): Likewise.
28511         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28512         (PARMS): Do not use macros from bp-asm.h.
28513         (S1): Likewise.
28514         (S2): Likewise.
28515         (SIZE): Likewise.
28516         (__mpn_sub_n): Do not use BP_SYM.
28517         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28518         "bp-asm.h".
28519         (PARMS): Do not use macros from bp-asm.h.
28520         (S1): Likewise.
28521         (SIZE): Likewise.
28522         (__mpn_submul_1): Do not use BP_SYM.
28523         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28524         <bp-sym.h>.
28525         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28526         and <bp-asm.h>.
28527         (PARMS): Do not use macros from bp-asm.h.
28528         (FLAGS): Likewise.
28529         (PTID): Likewise.
28530         (TLS): Likewise.
28531         (CTID): Likewise.
28532         (__clone): Do not use BP_SYM.
28533         (clone): Do not use BP_SYM in weak_alias.
28534         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28535         and <bp-asm.h>.
28536         (PARMS): Do not use macros from bp-asm.h.
28537         (LEN): Likewise.
28538         (__mmap64): Do not use BP_SYM.
28539         (mmap64): Do not use BP_SYM in weak_alias.
28540         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28541         <bp-sym.h> and <bp-asm.h>.
28542         (PARMS): Do not use macros from bp-asm.h.
28543         (__posix_fadvise64_l64): Do not use BP_SYM.
28544         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28545         (PARMS): Do not use macros from bp-asm.h.
28546         (NSOPS): Likewise.
28547         (semtimedop): Do not use BP_SYM.
28548         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28549         and <bp-asm.h>.
28550
28551 2013-02-21  Allan McRae  <allan@archlinux.org>
28552
28553         * manual/message.texi (Charset conversion in gettext):
28554         Move @end statement to beginning of line.
28555
28556 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28557
28558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28559         static.
28560         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28561         Likewise.
28562
28563         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28564         (denorm): Likewise.
28565         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28567
28568 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28569
28570         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28571         tail-call to the resolved function if pltexit isn't needed.
28572
28573 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28574
28575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28576         or Y being zero as being unlikely.
28577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28578         Likewise.
28579
28580 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28581
28582         * manual/nss.texi (System Databases and Name Service Switch):
28583         Remove frobnicate @pxref.
28584
28585 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28586
28587         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28588         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28589
28590 2013-02-20  Petr Machata  <pmachata@redhat.com>
28591
28592         * elf/elf.h (R_ARM_TARGET1): New macro.
28593         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28594         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28595         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28596         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28597         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28598         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28599         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28600         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28601         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28602         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28603         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28604         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28605         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28606         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28607         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28608         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28609         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28610         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28611         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28612         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28613         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28614         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28615         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28616         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28617         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28618         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28619         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28620         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28621         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28622         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28623         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28624         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28625         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28626         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28627         (R_ARM_THM_GOT_BREL12): Likewise.
28628         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28629         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28630         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28631         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28632         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28633         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28634         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28635         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28636         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28637
28638 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28639
28640         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28641         __attribute_used__ to __attribute__ ((unused)).
28642
28643 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28644
28645         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28646         powerpc mpa.c.
28647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28648         comment formatting.
28649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28650
28651 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28652
28653         [BZ #13550]
28654         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28655         Remove macro.
28656         (ENTER): Remove both macro definitions.
28657         (LEAVE): Likewise.
28658         (CHECK_BOUNDS_LOW): Likewise.
28659         (CHECK_BOUNDS_HIGH): Likewise.
28660         (CHECK_BOUNDS_BOTH): Likewise.
28661         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28662         (RETURN_BOUNDED_POINTER): Likewise.
28663         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28664         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28665         (POP_ERRNO_LOCATION_RETURN): Likewise.
28666         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28667         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28668         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28669         macros.
28670         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28671         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28672         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28673         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28674         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28675         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28676         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28677         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28678         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28679         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28680         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28681         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28682         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28683         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28684         removed macros.
28685         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28686         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28687         macros.
28688         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28689         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28690         * sysdeps/i386/i586/memset.S (memset): Likewise.
28691         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28692         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28693         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28694         macros.
28695         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28696         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28697         Change uses of L(2) to L(out).
28698         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28699         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28700         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28701         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28702         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28703         removed macros.
28704         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28705         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28706         macros.
28707         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28708         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28709         (RETURN): Do not use macro LEAVE.
28710         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28711         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28712         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28713         * sysdeps/i386/i686/memset.S (memset): Likewise.
28714         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28715         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28716         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28717         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28718         Likewise.
28719         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28720         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28721         L(1_2) and L(1_3) into L(1).
28722         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28723         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28724         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28725         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28726         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28727         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28728         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28729         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28730         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28731         macros.
28732         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28733         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28734         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28735         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28736         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28737         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28738         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28739         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28740         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28741         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28742         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28743         * sysdeps/i386/strspn.S (strspn): Likewise.
28744         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28745         conditional code.
28746         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28747         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28748         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28749         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28750         L(1_3) into L(1_1).
28751         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28752         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28753         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28754         macros.
28755         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28756
28757 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
28758
28759         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28760         macro.
28761
28762 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28763
28764         * math/atest-exp.c (exp_mpn): Remove ROUND.
28765         * math/atest-exp2.c (exp_mpn): Likewise.
28766         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28767
28768         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28769         * stdlib/tst-tls-atexit-lib.c: Likewise.
28770         * stdlib/tst-tls-atexit.c: Likewise.
28771
28772 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28773
28774         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28775         and __attribute_alloc_size__.
28776
28777 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28778
28779         * include/programs/xmalloc.h: Change __attribute_alloc_size to
28780         __attribute_alloc_size__.
28781         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28782         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28783
28784 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28785
28786         * include/programs/xmalloc.h: New file.
28787         * catgets/gencat.c: Include it.
28788         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28789         * elf/pldd.c: Likewise.
28790         * iconv/iconv_charmap.c: Likewise.
28791         * iconv/iconvconfig.c: Likewise.
28792         * iconv/strtab.c: Likewise.
28793         * locale/programs/locale.c: Likewise.
28794         * locale/programs/localedef.h: Likewise.
28795         * locale/programs/simple-hash.c: Likewise.
28796         * nscd/nscd.h: Likewise.
28797         * nss/makedb.c: Likewise.
28798         * sysdeps/generic/ldconfig.h: Likewise.
28799
28800 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28801
28802         * Versions.def: Add GLIBC_2.18.
28803         * include/link.h (struct link_map): New member l_tls_dtor_count.
28804         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28805         (__call_tls_dtors): Likewise.
28806         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28807         __cxa_thread_atexit_impl.
28808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28809         Likewise.
28810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28811         Likewise.
28812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28813         Likewise.
28814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28815         Likewise.
28816         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28818         Likewise.
28819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28820         Likewise.
28821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28823         Likewise.
28824         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28825         (tests): Add test case tst-tls-atexit.
28826         (modules-names): Add shared library for tst-tls-atexit.
28827         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28828         (GLIBC_PRIVATE): Add __call_tls_dtors.
28829         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28830         for libstdc++.
28831         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28832         * stdlib/tst-tls-atexit.c: New test case.
28833         * stdlib/tst-tls-atexit-lib.c: New test case.
28834
28835         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28836
28837         * elf/Versions (ld): Add _dl_find_dso_for_object.
28838         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28839         * elf/dl-open.c (_dl_find_dso_for_object): New function.
28840         (dl_open_worker): Use _dl_find_dso_for_object.
28841         * elf/dl-sym.c (do_sym): Likewise.
28842         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28843
28844 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28845
28846         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28847         Syntactic changes only.
28848         (_dl_runtime_profile): Do a tail-call to the resolved function.
28849
28850 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
28851
28852         [BZ #13550]
28853         * sysdeps/x86_64/bp-asm.h: Remove file.
28854         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28855         <bp-sym.h> and <bp-asm.h>.
28856         (__clone): Do not use BP_SYM.
28857         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28858         <bp-sym.h> and <bp-asm.h>.
28859         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28860         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28861         "bp-asm.h".
28862         (_setjmp): Do not use BP_SYM.
28863         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28864         "bp-asm.h".
28865         (setjmp): Do not use BP_SYM.
28866         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28867         libc_hidden_def.
28868         (mempcpy): Do not use BP_SYM in weak_alias.
28869         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28870         "bp-asm.h".
28871         (strchr): Do not use BP_SYM.
28872         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28873         "bp-asm.h".
28874         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28875         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28876         (_start): Do not use BP_SYM.
28877         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28878         "bp-asm.h".
28879         (strcat): Do not use BP_SYM.
28880         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28881         "bp-asm.h".
28882         (STRCMP): Do not use BP_SYM.
28883         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28884         "bp-asm.h".
28885         (STRCPY): Do not use BP_SYM.
28886         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28887         "bp-asm.h".
28888         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28889         "bp-asm.h".
28890         (FUNCTION): Do not use BP_SYM.
28891         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28892         weak_alias.
28893         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28894
28895 2013-02-17  Andreas Jaeger  <aj@suse.de>
28896
28897         * time/Versions: Sort entries.
28898         * string/Versions: Likewise.
28899         * resolv/Versions: Likewise.
28900         * posix/Versions: Likewise.
28901         * iconv/Versions: Likewise.
28902         * elf/Versions: Likewise.
28903         * wcsmbs/Versions: Likewise.
28904
28905 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28906
28907         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28908         loop termination condition.
28909
28910         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28911         variable to calculate EZ.
28912         (__sqr): Likewise.
28913
28914         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28915         the lower precision input.
28916
28917 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
28918
28919         [BZ #13550]
28920         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28921         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28922         (run-via-rtld-prefix): Do not handle %-bp tests.
28923         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28924         (all-object-suffixes): Remove .ob.
28925         (bppfx): Remove variable.
28926         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28927         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28928         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28929         [$(build-bounded) = yes] (libtype.ob): Likewise.
28930         * Makerules (elide-routines.ob): Remove variable.
28931         (do-tests-clean): Do not handle *-bp.out.
28932         (common-mostlyclean): Do not handle *-bp and *-bp.out.
28933         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28934         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28935         (tests): Do not include $(tests-bp.out).
28936         (xtests): Do not include $(xtests-bp.out).
28937         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28938         [$(build-bounded) = yes] ($(addprefix
28939         $(objpfx),$(binaries-bounded))): Remove rule.
28940         ($(objpfx)%-bp.out): Remove rule.
28941         * config.make.in (build-bounded): Remove variable.
28942         * crypt/Makefile [$(build-bounded) = yes]
28943         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28944         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28945         append to variable.
28946         [$(build-bounded) = yes] (install-lib): Likewise.
28947         [$(build-bounded) = yes] (generated): Likewise.
28948         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28949         Remove rule.
28950         * intl/Makefile [$(build-bounded) = yes]
28951         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28952         * math/Makefile [$(build-bounded) = yes]
28953         ($(tests:%=$(objpfx)%-bp): Likewise.
28954         * misc/Makefile [$(build-bounded) = yes]
28955         ($(objpfx)tst-tsearch-bp): Likewise.
28956         * nptl/Makeconfig (bounded-thread-library): Remove variable.
28957         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28958         Remove dependency.
28959         * string/Makefile (o-objects.ob): Remove variable.
28960         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28961         (CFLAGS-.ob): Remove variable.
28962         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28963         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28964         both definitions of variable.
28965         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28966         (ASFLAGS-.ob): Remove variable.
28967
28968 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
28969
28970         [BZ #13550]
28971         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28972         Remove __BOUNDED_POINTERS__ from condition.
28973         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28974         * string/bits/string2.h [!__NO_STRING_INLINES &&
28975         !__BOUNDED_POINTERS__]: Likewise.
28976         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28977         Likewise.
28978         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28979         Remove conditional code.
28980         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28981         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28982         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28983         condition.
28984
28985         [BZ #13550]
28986         * csu/libc-start.c: Do not include <bp-sym.h>.
28987         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28988         * elf/dl-open.c: Do not include <bp-sym.h>.
28989         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28990         * math/fegetenv.c: Do not include <bp-sym.h>.
28991         (fegetenv): Do not use BP_SYM in versioned symbols.
28992         * nptl/sysdeps/pthread/bits/libc-lockP.h
28993         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28994         <bp-sym.h>.
28995         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28996         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28997         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28998         (__pthread_mutex_destroy): Likewise.
28999         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29000         (__pthread_mutex_lock): Likewise.
29001         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29002         (__pthread_mutex_trylock): Likewise.
29003         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29004         (__pthread_mutex_unlock): Likewise.
29005         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29006         (__pthread_mutexattr_init): Likewise.
29007         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29008         (__pthread_mutexattr_destroy): Likewise.
29009         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29010         (__pthread_mutexattr_settype): Likewise.
29011         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29012         (__pthread_rwlock_init): Likewise.
29013         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29014         (__pthread_rwlock_destroy): Likewise.
29015         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29016         (__pthread_rwlock_rdlock): Likewise.
29017         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29018         (__pthread_rwlock_tryrdlock): Likewise.
29019         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29020         (__pthread_rwlock_wrlock): Likewise.
29021         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29022         (__pthread_rwlock_trywrlock): Likewise.
29023         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29024         (__pthread_rwlock_unlock): Likewise.
29025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29026         (__pthread_key_create): Likewise.
29027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29028         (__pthread_setspecific): Likewise.
29029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29030         (__pthread_getspecific): Likewise.
29031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29032         Likewise.
29033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29034         (_pthread_cleanup_push_defer): Likewise.
29035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29036         (_pthread_cleanup_pop_restore): Likewise.
29037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29038         (pthread_setcancelstate): Likewise.
29039         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29040         <bp-sym.h>.
29041         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29042         (memchr): Do not use BP_SYM in weak_alias.
29043         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29044         (fegetenv): Do not use BP_SYM in versioned symbols.
29045         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29046         (fesetenv): Do not use BP_SYM in versioned symbols.
29047         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29048         (feupdateenv): Do not use BP_SYM in versioned symbols.
29049         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29050         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29051         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29052         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29053         (open64): Do not use BP_SYM in weak_alias.
29054         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29055         (fegetenv): Do not use BP_SYM in versioned symbols.
29056         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29057         (fesetenv): Do not use BP_SYM in versioned symbols.
29058         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29059         (feupdateenv): Do not use BP_SYM in versioned symbols.
29060         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29061         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29062         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29063         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29064         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29065         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29066         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29067         <bp-sym.h>.
29068         (__libc_start_main): Do not use BP_SYM.
29069
29070 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29071
29072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29073         redundant return line.
29074         (norm): Likewise.
29075         (denorm): Likewise.
29076         (dbl_mp): Likewise.
29077         (sub_magnitudes): Likewise.
29078         (__add): Likewise.
29079         (__sub): Likewise.
29080         (__mul): Likewise.
29081         (__inv): Likewise.
29082         (__dvd): Likewise.
29083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29084         (norm): Likewise.
29085         (denorm): Likewise.
29086         (dbl_mp): Likewise.
29087         (sub_magnitudes): Likewise.
29088         (__add): Likewise.
29089         (__sub): Likewise.
29090         (__mul): Likewise.
29091         (__inv): Likewise.
29092         (__dvd): Likewise.
29093
29094         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29095         instead of __mul.
29096         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29097         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29098         (cc32): Likewise.
29099
29100         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29101         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29102         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29103         of __mul for squares.
29104         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29105         function
29106         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29107         Likewise.
29108         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29109         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29110
29111 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29112
29113         [BZ #13550]
29114         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29115         code.
29116         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29117         prototype or function definition.  Rename ubp_* variables and
29118         parameters.  Remove argv definitions conditional on
29119         [__BOUNDED_POINTERS__].
29120         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29121         * elf/dl-runtime.c (_dl_fixup): Likewise.
29122         * include/set-hooks.h (RUN_HOOK): Likewise.
29123         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29124         definition.
29125         * string/strcpy.c (strcpy): Do not use __unbounded.
29126         * sysdeps/generic/frame.h (struct layout): Likewise.
29127         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29128         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29129         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29130         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29131         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29132         (__backtrace): Likewise.
29133         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29134         use __ptrvalue.
29135         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29136         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29137         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29138         Likewise.
29139         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29140         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29141         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29142         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29143         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29144         Do not use __unbounded.
29145         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29146         Rename __unboundedrlimits parameter to rlimits in prototype.
29147         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29148         Do not use __unbounded.
29149         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29150         not use __ptrvalue.
29151         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29152         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29153         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29154         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29155         __ptrvalue or __unbounded.
29156         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29157         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29158         use __unbounded.
29159         (__new_msgctl): Do not use __ptrvalue.
29160         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29161         __unbounded.
29162         (__libc_msgrcv): Do not use __ptrvalue.
29163         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29164         startup_info): Do not use __unbounded.
29165         (__libc_start_main): Likewise.  Rename ubp_* variables and
29166         parameters.  Remove argv definitions conditional on
29167         [__BOUNDED_POINTERS__].
29168         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29169         __ptrvalue.
29170         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29171         use __unbounded.
29172         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29173         or __ptrvalue.
29174         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29175         use __unbounded.
29176         (__new_shmctl): Do not use __ptrvalue.
29177         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29178         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29179         Likewise.
29180         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29181         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29182         (__libc_sigaction): Likewise.
29183         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29184         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29185         Likewise.
29186         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29187
29188 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29189
29190         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29191
29192         * string/mempcpy.c: Implement by calling memcpy.
29193
29194 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29195
29196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29197
29198         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29199         evaluation.
29200
29201         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29202         values in the mantissa.
29203
29204         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29205         minimize writes to Z.
29206         (sub_magnitudes): Simplify code a bit.
29207
29208 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29209
29210         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29211         from the message.  The linker prefixes all warnings with that already.
29212
29213 2013-02-12  Andreas Schwab  <schwab@suse.de>
29214
29215         [BZ #15078]
29216         * posix/regexec.c (extend_buffers): Add parameter min_len.
29217         (check_matching): Pass minimum needed length.
29218         (clean_state_log_if_needed): Likewise.
29219         (get_subexp): Likewise.
29220         * posix/Makefile (tests): Add bug-regex34.
29221         (bug-regex34-ENV): Define.
29222         * posix/bug-regex34.c: New file.
29223
29224         [BZ #11561]
29225         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29226         elements compare against the byte sequence of it, not its name.
29227         * posix/Makefile (tests): Add bug-regex35.
29228         (bug-regex35-ENV): Define.
29229         * posix/bug-regex35.c: New file.
29230
29231 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29232
29233         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29234         comment.
29235         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29236         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29237         (CHECK_EOL): Add undef.
29238
29239 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29240
29241         * bits/stdlib-bsearch.h: New file.
29242         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29243         * stdlib/stdlib.h: Likewise.
29244
29245 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29246
29247         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29248         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29249         declaration.
29250         * manual/search.texi (Array Search Function): Add missing const in
29251         lfind prototype.
29252         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29253         declaration to use rlim_t.
29254         (Basic Scheduling Functions): Remove erroneous const from
29255         sched_getparam prototype.  Remove erroneous * from
29256         sched_get_priority_max and sched_get_priority_min prototypes.
29257         (Resource Usage): Fix summary @comment on vtimes to refer to
29258         sys/vtimes.h rather than vtimes.h.
29259         Add missing *s in vtimes prototype.
29260         (Limits on Resources): Fix ulimit prototype to return long int.
29261         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29262         prototypes to use long int rather than double.
29263         (BSD Random): Fix initstate and setstate to use char *, not void *.
29264         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29265         prototype to make second argument 'struct aiocb64 *const[]'.
29266         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29267         (Status of AIO Operations): Remove erroneous const in aio_return and
29268         aio_return64 prototypes.
29269         (Synchronizing I/O): Fix sync prototype to return void.
29270         * manual/startup.texi (Suboptions): Remove an erroneous const in
29271         getsubopt prototype.
29272         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29273         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29274         use size_t rather than int.
29275         (Scanning All Users): Likewise for getpwent_r.
29276         (Setting Groups): Add missing const to setgroups prototype.
29277         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29278         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29279         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29280         'const void *' rather than 'const char *'.
29281         (Host Address Functions): Likewise for inet_ntop.
29282         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29283         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29284         ssize_t for return value.
29285         (Sending Data): Likewise for send, sendto, sendmsg.
29286         (Socket Option Functions): Add a missing const in setsockopt prototype.
29287         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29288         use wchar_t for the argument.
29289         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29290         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29291         take no arguments.
29292         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29293         double/float/long double for second argument.
29294         Fix return types of significand, significandf, significandl.
29295         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29296         argument in fchmod prototype.
29297         (File Owner): Use uid_t and gid_t in fchown prototype.
29298         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29299         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29300         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29301         use 'const struct dirent **' as argument types to CMP function pointer
29302         argument.
29303         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29304         (File Times): Fix summary magic @comment for struct utimbuf and utime
29305         to refer to utime.h, not time.h.
29306         * manual/string.texi (Argz Functions): Add missing const in
29307         argz_extract and argz_next prototypes.
29308         (Finding Tokens in a String): Likewise for basename.
29309         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29310         (Copying and Concatenation): Fix typo in wmemmove prototype.
29311         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29312         (Signal Stack): Remove erroneous const in sigstack prototype.
29313         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29314         prototype.
29315         (Simple Calendar Time): Likewise for stime.
29316         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29317         prototype.
29318         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29319         say sys/sysctl.h instead.
29320         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29321         and vsyslog prototypes.
29322
29323 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29324
29325         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29326         Remove.
29327
29328 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29329
29330         * misc/sys/mman.h: Fix typo in mremap comment.
29331
29332 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29333
29334         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29335         the '\0' terminator.
29336
29337 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29338
29339         [BZ #13550]
29340         * debug/segfault.c: Don't include <bp-checks.h>.
29341         * sysdeps/generic/bp-checks.h: Remove file.
29342         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29343         (__GETDENTS): Don't use CHECK_N.
29344         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29345         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29346         (__getgroups): Don't use CHECK_N.
29347         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29348         (setgroups): Don't use CHECK_N.
29349         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29350         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29351         (__libc_msgrcv): Don't use CHECK_N.
29352         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29353         (__libc_msgsnd): Don't use CHECK_N.
29354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29355         <bp-checks.h>.
29356         (__libc_pread): Don't use CHECK_N.
29357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29358         include <bp-checks.h>.
29359         (__libc_pread64): Don't use CHECK_N.
29360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29361         include <bp-checks.h>.
29362         (__libc_pwrite): Don't use CHECK_N.
29363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29364         include <bp-checks.h>.
29365         (__libc_pwrite64): Don't use CHECK_N.
29366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29367         <bp-checks.h>.
29368         (__libc_pread): Don't use CHECK_N.
29369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29370         include <bp-checks.h>.
29371         (__libc_pread64): Don't use CHECK_N.
29372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29373         include <bp-checks.h>.
29374         (__libc_pwrite): Don't use CHECK_N.
29375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29376         include <bp-checks.h>.
29377         (__libc_pwrite64): Don't use CHECK_N.
29378         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29379         (do_pread): Don't use CHECK_N.
29380         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29381         (do_pread64): Don't use CHECK_N.
29382         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29383         (do_pwrite): Don't use CHECK_N.
29384         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29385         (do_pwrite64): Don't use CHECK_N.
29386         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29387         (__libc_readv): Don't use CHECK_N.
29388         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29389         (semop): Don't use CHECK_N.
29390         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29391         <bp-checks.h>.
29392         (semtimedop): Don't use CHECK_N.
29393         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29394         (__libc_pread): Don't use CHECK_N.
29395         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29396         <bp-checks.h>.
29397         (__libc_pread64): Don't use CHECK_N.
29398         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29399         <bp-checks.h>.
29400         (__libc_pwrite): Don't use CHECK_N.
29401         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29402         <bp-checks.h>.
29403         (__libc_pwrite64): Don't use CHECK_N.
29404         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29405         <bp-checks.h>.
29406         (__libc_msgrcv): Don't use CHECK_N.
29407         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29408         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29409         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29410         (__libc_writev): Don't use CHECK_N.
29411
29412 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29413
29414         * string/strcpy.c: Removed unused variable.
29415
29416         * Makeconfig (+sysdep-includes): Define with := rather than =.
29417         Use an existing include/ subdir of each sysdeps dir before it.
29418
29419 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29420
29421         * nscd/connection.c (register_traced_file): Comment function.
29422         [HAVE_INOTIFY] (union __inev): Define.
29423         [HAVE_INOTIFY] (inotify_check_files): New function.
29424         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29425         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29426         clear_db_cache.
29427         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29428
29429 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29430
29431         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29432         loaded if not already and that a failure is permanent.
29433
29434 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29435
29436         [BZ #15006]
29437         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29438         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29439
29440 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29441
29442         [BZ #13550]
29443         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29444         (CHECK_1_NULL_OK): Likewise.
29445         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29446         (__fxstat): Do not use CHECK_1.
29447         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29448         <bp-checks.h>.
29449         (___fxstat64): Do not use CHECK_1.
29450         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29451         <bp-checks.h>.
29452         (__fxstatat): Do not use CHECK_1.
29453         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29454         <bp-checks.h>.
29455         (__fxstatat64): Do not use CHECK_1.
29456         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29457         <bp-checks.h>.
29458         (__fxstat): Do not use CHECK_1.
29459         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29460         <bp-checks.h>.
29461         (__fxstatat): Do not use CHECK_1.
29462         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29463         <bp-checks.h>.
29464         (__getresgid): Do not use CHECK_1.
29465         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29466         <bp-checks.h>.
29467         (__getresuid): Do not use CHECK_1.
29468         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29469         <bp-checks.h>.
29470         (__lxstat): Do not use CHECK_1.
29471         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29472         <bp-checks.h>.
29473         (__old_msgctl): Do not use CHECK_1.
29474         (__new_msgctl): Likewise.
29475         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29476         <bp-checks.h>.
29477         (__new_setrlimit): Do not use CHECK_1.
29478         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29479         <bp-checks.h>.
29480         (__old_shmctl): Do not use CHECK_1.
29481         (__new_shmctl): Likewise.
29482         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29483         <bp-checks.h>.
29484         (__xstat): Do not use CHECK_1.
29485         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29486         (__lxstat): Do not use CHECK_1.
29487         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29488         <bp-checks.h>.
29489         (___lxstat64): Do not use CHECK_1.
29490         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29491         (__old_msgctl): Do not use CHECK_1.
29492         (__new_msgctl): Likewise.
29493         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29494         <bp-checks.h>.
29495         (__gettimeofday): Do not use CHECK_1.
29496         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29497         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29498         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29499         <bp-checks.h>.
29500         (__gettimeofday): Do not use CHECK_1.
29501         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29502         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29503         (__new_shmctl): Do not use CHECK_1.
29504         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29505         <bp-checks.h>.
29506         (do_sigtimedwait): Do not use CHECK_1.
29507         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29508         <bp-checks.h>.
29509         (do_sigwaitinfo): Do not use CHECK_1.
29510         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29511         <bp-checks.h>.
29512         (msgctl): Do not use CHECK_1.
29513         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29514         <bp-checks.h>.
29515         (shmctl): Do not use CHECK_1.
29516         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29517         (ustat): Do not use CHECK_1.
29518         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29519         <bp-checks.h>.
29520         (__fxstat): Do not use CHECK_1.
29521         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29522         <bp-checks.h>.
29523         (__fxstatat): Do not use CHECK_1.
29524         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29525         <bp-checks.h>.
29526         (__lxstat): Do not use CHECK_1.
29527         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29528         <bp-checks.h>.
29529         (__xstat): Do not use CHECK_1.
29530         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29531         (__xstat): Do not use CHECK_1.
29532         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29533         (___xstat64): Do not use CHECK_1.
29534
29535         [BZ #13550]
29536         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29537         definitions.
29538         (CHECK_BOUNDS_HIGH): Likewise.
29539         * string/strcpy.c: Do not include <bp-checks.h>.
29540         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29541
29542 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29543
29544         * nscd/nscd-client.h (__nscd_drop_map_ref):
29545         Add __attribute__ ((unused)).
29546         * nis/nss-nisplus.h (niserr2nss): Likewise.
29547
29548         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29549         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29550
29551         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29552         Remove inline keyword.
29553         * include/rounding-mode.h (round_away): Likewise.
29554         * libio/wfileops.c (adjust_wide_data): Likewise.
29555         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29556         (__m128i_strloadu_tolower): Likewise.
29557         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29558         (__m128i_strloadu_tolower): Likewise.
29559         * time/mktime.c (ydhms_diff): Likewise.
29560         * locale/elem-hash.h (elem_hash): Likewise.
29561         * locale/setlocale.c (setdata): Likewise.
29562         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29563         (re_string_wchar_at): Likewise.
29564         (bitset_not, bitset_merge, bitset_mask): Likewise.
29565         [!(__GNUC__ > 3)] (inline): Remove macro.
29566         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29567         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29568         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29569         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29570         * string/memcmp.c (memcmp_bytes): Likewise.
29571         * locale/programs/locarchive.c (compute_hashval): Likewise.
29572         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29573         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29574         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29575         * nss/getent.c (print_rpc, print_protocols): Likewise.
29576         (print_passwd, print_group, print_aliases): Likewise.
29577         * nis/nss-nisplus.h (niserr2nss): Likewise.
29578         * nscd/connections.c (restart_p): Likewise.
29579         Change return type to bool.
29580
29581 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29582
29583         * Makeconfig (all-Depend-files): Add existing
29584         $(sorted-subdirs:=/Depend) files.
29585         (all-subdirs): Remove nss.
29586         * sysdeps/unix/inet/Subdirs: Add it here instead.
29587         * hesiod/Depend: New file.
29588
29589         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29590         instead of calling alloca.
29591
29592         * io/lseek.c (__lseek): Rename to __libc_lseek.
29593         Define __lseek as an alias.
29594
29595         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29596
29597 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29598
29599         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29600         else clause and remove check for non-standard endianness.
29601
29602 2013-02-04  David S. Miller  <davem@davemloft.net>
29603
29604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29605
29606 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29607
29608         [BZ #13550]
29609         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29610         (__ubp_memchr): Remove prototype.
29611         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29612         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29613         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29614         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29615         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29616         Remove alias.
29617         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29618         (__ubp_memchr): Likewise.
29619         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29620         (__ubp_memchr): Likewise.
29621         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29622         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29623         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29624         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29625         CHECK_STRING.
29626         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29627         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29628         (__getcwd): Do not use CHECK_STRING.
29629         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29630         <bp-checks.h>.
29631         (__real_chown): Do not use CHECK_STRING.
29632         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29633         <bp-checks.h>.
29634         (fchownat): Do not use CHECK_STRING.
29635         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29636         CHECK_STRING.
29637         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29638         <bp-checks.h>.
29639         (__lchown): Do not use CHECK_STRING.
29640         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29641         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29642         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29643         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29645         include <bp-checks.h>.
29646         (truncate64): Do not use CHECK_STRING.
29647         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29648         <bp-checks.h>.
29649         (__real_chown): Do not use CHECK_STRING.
29650         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29651         <bp-checks.h>.
29652         (__lchown): Do not use CHECK_STRING.
29653         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29654         <bp-checks.h>.
29655         (__chown): Do not use CHECK_STRING.
29656         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29657         <bp-checks.h>.
29658         (truncate64): Do not use CHECK_STRING.
29659         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29660         Likewise.
29661         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29662         (__xmknod): Do not use CHECK_STRING.
29663         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29664         <bp-checks.h>.
29665         (__xmknodat): Do not use CHECK_STRING.
29666         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29667         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29668
29669 2013-02-04  Andreas Schwab  <schwab@suse.de>
29670
29671         [BZ #14142]
29672         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29673         * include/netdb.h: Likewise for h_errno.
29674         * elf/tst-stackguard1.c: Include <tls.h>.
29675
29676 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29677
29678         * elf/link.h (struct link_map): Extend the l_addr comment.
29679         * include/link.h (struct link_map): Likewise.
29680
29681 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29682
29683         [BZ #13550]
29684         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29685         (BOUNDED_1): Remove macro.
29686         * debug/backtrace.c: Don't include <bp-checks.h>.
29687         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29688         (__backtrace): Likewise.
29689         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29690         <bp-checks.h>.
29691         (__backtrace): Don't use BOUNDED_1.
29692         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29693         <bp-checks.h>.
29694         (__backtrace): Don't use BOUNDED_1.
29695         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29696         (__backtrace): Don't use BOUNDED_1.
29697         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29698         (shmat): Don't use BOUNDED_N.
29699
29700 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29701
29702         [BZ #13550]
29703         * sysdeps/generic/bp-start.h: Remove file.
29704         * csu/libc-start.c: Don't include <bp-start.h>.
29705         (LIBC_START_MAIN): Set up __environ directly instead of using
29706         INIT_ARGV_and_ENVIRON.
29707         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29708         <bp-start.h>.
29709
29710         [BZ #13550]
29711         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29712         definitions.
29713         (CHECK_FCNTL): Likewise.
29714         (CHECK_N_PAGES): Likewise.
29715
29716         [BZ #13550]
29717         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29718         definitions.
29719         (CHECK_SIGSET_NULL_OK): Likewise.
29720         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29721         <bp-checks.h>.
29722         (sigpending): Don't use CHECK_SIGSET.
29723         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29724         <bp-checks.h>.
29725         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29726         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29727         <bp-checks.h>.
29728         (do_sigsuspend): Don't use CHECK_SIGSET.
29729         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29730         use CHECK_SIGSET.
29731         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29732         (do_sigwait): Don't use CHECK_SIGSET.
29733         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29734         use CHECK_SIGSET.
29735         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29736         include <bp-checks.h>.
29737         (sigpending): Don't use CHECK_SIGSET.
29738         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29739         include <bp-checks.h>.
29740         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29741         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29742         <bp-checks.h>.
29743         (sigpending): Don't use CHECK_SIGSET.
29744         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29745         <bp-checks.h>.
29746         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29747
29748         [BZ #13550]
29749         * sysdeps/generic/bp-semctl.h: Remove file.
29750         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29751         <bp-checks.h> and <bp-semctl.h>.
29752         (__old_semctl): Don't use CHECK_SEMCTL.
29753         (__new_semctl): Likewise.
29754         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29755         and <bp-semctl.h>.
29756         (__old_semctl): Don't use CHECK_SEMCTL.
29757         (__new_semctl): Likewise.
29758         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29759         <bp-checks.h> and <bp-semctl.h>.
29760         (__old_semctl): Don't use CHECK_SEMCTL.
29761         (__new_semctl): Likewise.
29762         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29763         <bp-checks.h> and <bp-semctl.h>.
29764         (semctl): Don't use CHECK_SEMCTL.
29765
29766         [BZ #13550]
29767         * Makerules (elide-bp-thunks): Remove variable.
29768         (elide-routines.oS): Don't use $(elide-bp-thunks).
29769         (elide-routines.os): Likewise.
29770         (elide-routines.o): Likewise.
29771         (elide-routines.op): Likewise.
29772         (elide-routines.og): Likewise.
29773         (objects): Don't use $(bp-thunks).
29774         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29775         include.
29776         (common-generated): Do not add s-proto-bp.d.
29777         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29778         (int): Likewise.
29779         (typ): Likewise.
29780         Do not generate makefile rules for bounded-pointer thunks.
29781         * sysdeps/generic/bp-thunks.h: Remove file.
29782         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29783         * sysdeps/unix/s-proto-bp.S: Likewise.
29784
29785         [BZ #15062]
29786         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29787         parts of result separately when argument is not close to line from
29788         -i to i and one part of argument is small.
29789         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29790         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29791         * math/libm-test.inc (cacos_test): Add more tests.
29792         (casin_test): Likewise.
29793         (casinh_test): Likewise.
29794         * sysdeps/i386/fpu/libm-test-ulps: Update.
29795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29796
29797 2013-01-31  David S. Miller  <davem@davemloft.net>
29798
29799         * po/de.po: Update from translation team.
29800
29801 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
29802
29803         * time/tzfile.c: Include stdint.h for SIZE_MAX.
29804
29805 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
29806
29807         * configure.in (_AC_PROG_CC_C89): New definition.
29808         * configure: Regenerate.
29809
29810         * configure.in (AC_PROG_CPP): New definition.
29811         * configure: Regenerate.
29812
29813 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29814
29815         * debug/tst-backtrace.h: New file.
29816         * debug/tst-backtrace2.c: Include tst-backtrace.h.
29817         (ret): Remove variable.
29818         (x): Likewise.
29819         (FAIL): Remove macro.
29820         (NO_INLINE): Likewise.
29821         (fn1): Use match function instead of strstr.
29822         * debug/tst-backtrace3.c: Include tst-backtrace.h.
29823         (ret): Remove variable.
29824         (x): Likewise.
29825         (FAIL): Remove macro.
29826         (NO_INLINE): Likewise.
29827         (fn): Use match function instead of strstr.
29828         * debug/tst-backtrace4.c: Include tst-backtrace.h.
29829         (ret): Remove variable.
29830         (x): Likewise.
29831         (FAIL): Remove macro.
29832         (NO_INLINE): Likewise.
29833         (handle_signal): Use match function instead of strstr.
29834         * debug/tst-backtrace5.c: Include tst-backtrace.h.
29835         (ret): Remove variable.
29836         (x): Likewise.
29837         (FAIL): Remove macro.
29838         (NO_INLINE): Likewise.
29839         (handle_signal): Use match function instead of strstr.
29840
29841 2013-01-23  Roland McGrath  <roland@hack.frob.com>
29842
29843         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29844
29845 2013-01-23  David S. Miller  <davem@davemloft.net>
29846
29847         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29848         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29849         argument of CAS if possible.
29850         * sysdeps/sparc/sparc64/bits/atomic.h
29851         (__arch_compare_and_exchange_val_32_acq): Likewise.
29852         (__arch_compare_and_exchange_val_64_acq): Likewise.
29853
29854 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
29855
29856         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29857         * sysdeps/posix/ulimit.c: ... this.
29858         Include <limits.h>.
29859         * sysdeps/unix/bsd/ulimit.c: Remove file.
29860
29861 2013-01-23  Adam Conrad  <adconrad@0c3.net>
29862
29863         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29864         (LDFLAGS-tst-array5): Likewise.
29865
29866 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29867
29868         [BZ #15036]
29869         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29870         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29871         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29872         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29873
29874 2013-01-21  David S. Miller  <davem@davemloft.net>
29875
29876         * sysdeps/sparc/backtrace.c: New file.
29877         * sysdeps/sparc/sparc32/backtrace.h: New file.
29878         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29879         * sysdeps/sparc/sparc64/backtrace.h: New file.
29880         * sysdeps/sparc/sparc64/backtrace.c: Delete.
29881         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29882         -funwind-tables.
29883
29884 2013-01-21  Andreas Schwab  <schwab@suse.de>
29885
29886         [BZ #15020]
29887         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29888         closed its stdout.
29889
29890 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
29891
29892         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29893         "mpa2.h".
29894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29895
29896 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
29897             Mark Mitchell  <mark@codesourcery.com>
29898             Tom de Vries  <tom@codesourcery.com>
29899             Paul Pluzhnikov  <ppluzhnikov@google.com>
29900
29901         * debug/tst-backtrace2.c: New file.
29902         * debug/tst-backtrace3.c: Likewise.
29903         * debug/tst-backtrace4.c: Likewise.
29904         * debug/tst-backtrace5.c: Likewise.
29905         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29906         (CFLAGS-tst-backtrace3.c): Likewise.
29907         (CFLAGS-tst-backtrace4.c): Likewise.
29908         (CFLAGS-tst-backtrace5.c): Likewise.
29909         (LDFLAGS-tst-backtrace2): Likewise.
29910         (LDFLAGS-tst-backtrace3): Likewise.
29911         (LDFLAGS-tst-backtrace4): Likewise.
29912         (LDFLAGS-tst-backtrace5): Likewise.
29913         (tests): Add new tests tst-backtrace2, tst-backtrace3,
29914         tst-backtrace4 and tst-backtrace5.
29915
29916 2013-01-18  Anton Blanchard  <anton@samba.org>
29917             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29918
29919         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29920         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29921         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29922         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29924         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29925         "+r" and remove output regs list as redundant.  Add explicit inline
29926         asm to specify register of return val to work around compiler codegen
29927         bug.  Remove (int) cast on return value.  Add return type parameter to
29928         use in macro so that this macro does not truncate return value for
29929         64-bit values.
29930         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29931         pass to INTERNAL_VSYSCALL_NCS.
29932         (INLINE_VSYSCALL): Add 'long int' as return type to
29933         INTERNAL_VSYSCALL_NCS macro invocation.
29934         (INTERNAL_VSYSCALL): Add 'long int' as return type to
29935         INTERNAL_VSYSCALL_NCS macro invocation.
29936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29937
29938 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29939
29940         [BZ #14496]
29941         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29942         Fix application of SIMD FP exception mask.
29943
29944         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29945         mp_no from a power of two.
29946         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29947         __mpexp_twomm1.  Use __pow_mp.
29948
29949         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29950         multiplication.
29951
29952 2013-01-17  David S. Miller  <davem@davemloft.net>
29953
29954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29955
29956 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29957
29958         [BZ #15023]
29959         * include/complex.h: Condition contents on [!_COMPLEX_H].
29960         (__kernel_casinhf): New prototype.
29961         (__kernel_casinh): Likewise.
29962         (__kernel_casinhl): Likewise.
29963         * math/Makefile (libm_calls): Add k_casinh.
29964         * math/k_casinh.c: New file.
29965         * math/k_casinhf.c: Likewise.
29966         * math/k_casinhl.c: Likewise.
29967         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29968         finite nonzero arguments.
29969         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29970         finite nonzero arguments.
29971         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29972         finite nonzero arguments.
29973         * math/s_casinh.c: Do not include <float.h>.
29974         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29975         * math/s_casinhf.c: Do not include <float.h>.
29976         (__casinhf): Move code for finite nonzero arguments to
29977         k_casinhf.c.
29978         * math/s_casinhl.c: Do not include <float.h>.
29979         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29980         redefine.
29981         (__casinhl): Move code for finite nonzero arguments to
29982         k_casinhl.c.
29983         * math/libm-test.inc (cacos_test): Add more tests.
29984         * sysdeps/i386/fpu/libm-test-ulps: Update.
29985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29986
29987 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
29988
29989         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29990         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29991         [!HAVE_MREMAP]: Remove [defined linux] case.
29992         * malloc/arena.c: Do not include <malloc-sysdep.h>.
29993
29994 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29995
29996         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29997
29998 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
29999
30000         * elf/elf.h (R_386_SIZE32): New relocation.
30001         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30002         R_386_SIZE32.
30003         (elf_machine_rela): Likewise.
30004         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30005         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30006
30007 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30008
30009         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30010         (FP_FAST_FMA): Do not define.
30011         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30012         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30013         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30014         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30015         !_SOFT_FLOAT]: Likewise.
30016         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30017         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30018         value.
30019         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30020         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30021         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30022         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30023         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30024         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30025         file.
30026
30027 2013-01-16  Andreas Schwab  <schwab@suse.de>
30028
30029         [BZ #14327]
30030         * include/stdlib.h (__mktemp): Add declaration.
30031         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30032         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30033
30034 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30035
30036         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30037         definitions.
30038         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30039         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30040         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30041         definitions here.
30042         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30043         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30044         definitions.
30045         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30046         and ONE.
30047         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30048         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30049         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30050         definitions.
30051         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30052         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30053         definitions.
30054         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30055
30056         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30057
30058 2013-01-15  David S. Miller  <davem@davemloft.net>
30059
30060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30061         trunc{,f} to libm-sysdep_routes.
30062         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30064         file.
30065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30067         file.
30068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30069         file.
30070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30072         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30073         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30074         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30075         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30076         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30077         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30078
30079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30080         nearbyint{,f} to libm-sysdep_routes.
30081         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30083         New file.
30084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30085         file.
30086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30087         New file.
30088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30089         file.
30090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30092         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30093         file.
30094         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30095         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30096         file.
30097         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30098         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30099         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30100
30101         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30102         libc_feholdexcept and libc_fesetenv.
30103
30104 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30105
30106         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30107
30108 2013-01-14  David S. Miller  <davem@davemloft.net>
30109
30110         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30111         (SPARC_ASM_VIS2_IFUNC): Likewise.
30112         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30114         use of 'siam' instruction.
30115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30116         Likewise.
30117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30118         Likewise.
30119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30120         Likewise.
30121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30122         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30124         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30126         file.
30127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30128         file.
30129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30130         file.
30131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30132         file.
30133         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30135         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30136         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30138         new VIS2 routines.
30139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30142         Likewise.
30143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30144         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30148         routines to libm-sysdep_routines.
30149         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30150
30151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30152         fdim/fdimf to libm-sysdep_routines.
30153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30154         file.
30155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30157         file.
30158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30161         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30162         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30163         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30164         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30165
30166 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30167
30168         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30169         to optimize copies.
30170
30171         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30172         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30173         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30174
30175         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30176         local variable MPTWO.
30177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30178         Likewise.
30179
30180 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30181
30182         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30183         GLOB_NOESCAPE.
30184
30185 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30186
30187         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30188
30189 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30190
30191         * manual/pattern.texi (glob_t): Document gl_flags.
30192         (glob64_t): Likewise.
30193
30194 2013-01-11  David S. Miller  <davem@davemloft.net>
30195
30196         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30197         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30198         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30199         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30200         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30201         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30202         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30203         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30204         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30205         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30206         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30207         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30208         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30209
30210         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30211         sparc V9 rather than using V8 code.
30212         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30213         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30214
30215         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30216         Move to...
30217         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30218         Here.
30219
30220 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30221
30222         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30223         not in the main loop.
30224         * configure: Regenerated.
30225
30226 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30227
30228         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30229         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30230         to just #else.
30231         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30232         [!__GLIBC_HAVE_LONG_LONG] case.
30233         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30234         condition to just #else.
30235         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30236         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30237         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30238         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30239         unconditional.
30240         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30241         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30242         #elif condition to just #else.
30243         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30244         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30245         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30246         #elif condition to just #else.
30247
30248 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30249
30250         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30251         (EF_MIPS_ARCH_64): Fix value.
30252         (EF_MIPS_ARCH_32R2): New.
30253         (EF_MIPS_ARCH_64R2): New.
30254
30255 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30256
30257         * Makeconfig (+link-pie-before-libc): New.
30258         (+link-pie-after-libc): Likewise.
30259         (+link-pie-tests): Likewise.
30260         (+link-pie): Rewritten.
30261         (link-before-libc): Remove $(config-LDFLAGS).
30262         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30263         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30264         (config-LDFLAGS): Renamed to ...
30265         (rtld-LDFLAGS): This.
30266         (rtld-tests-LDFLAGS): New macro.
30267         (link-libc-rpath-link): Likewise.
30268         (link-libc-tests-rpath-link): Likewise.
30269         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30270         (link-libc): Prepand $(link-libc-rpath-link).
30271         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30272         (test-program-prefix): New macro.
30273         (test-via-rtld-prefix): Likewise.
30274         (test-program-cmd): Likewise.
30275         (host-test-program-cmd): Likewise.
30276         * Makefile ($(common-objpfx)testrun.sh): Replace
30277         $(run-program-prefix) with $(test-program-prefix).
30278         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30279         $(rtld-LDFLAGS).
30280         ($(common-objpfx)shlib.lds): Likewise.
30281         (build-module-helper): Likewise.
30282         ($(common-objpfx)format.lds): Likewise.
30283         * Rules (binaries-pie-tests): New.
30284         (binaries-pie-notests): Likewise.
30285         (binaries-pie): Rewritten.
30286         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30287         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30288         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30289         (make-test-out): Replace $(host-built-program-cmd) with
30290         $(host-test-program-cmd).
30291         * config.make.in (build-hardcoded-path-in-tests): New variable.
30292         * configure.in (--enable-hardcoded-path-in-tests): New configure
30293         option.
30294         (hardcoded_path_in_tests): New AC_SUBST.
30295         * configure: Regenerated.
30296         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30297         $(built-program-cmd) with $(test-program-cmd).
30298         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30299         (test_program_cmd): This.
30300         * elf/Makefile ($(objpfx)order.out): Run test with
30301         $(test-program-prefix).
30302         ($(objpfx)order2.out): Likewise.
30303         ($(objpfx)tst-initorder.out): Likewise.
30304         ($(objpfx)tst-initorder2.out): Likewise.
30305         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30306         $(test-program-cmd).
30307         ($(objpfx)tst-array1-static.out): Likewise.
30308         ($(objpfx)tst-array2.out): Likewise.
30309         ($(objpfx)tst-array3.out): Likewise.
30310         ($(objpfx)tst-array4.out): Likewise.
30311         ($(objpfx)tst-array5.out): Likewise.
30312         ($(objpfx)tst-array5-static.out): Likewise.
30313         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30314         $(test-program-cmd).
30315         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30316         $(run-program-prefix) with $(test-program-prefix).
30317         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30318         (test_program_prefix): This.
30319         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30320         $(run-program-prefix) with $(test-program-prefix).
30321         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30322         (test_program_prefix): This.
30323         * iconvdata/tst-tables.sh: Likewise.
30324         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30325         $(run-program-prefix) with $(test-program-prefix).
30326         ($(objpfx)tst-translit.out): Likewise.
30327         ($(objpfx)tst-gettext2.out): Likewise.
30328         ($(objpfx)tst-gettext4.out): Likewise.
30329         ($(objpfx)tst-gettext6.out): Likewise.
30330         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30331         (test_program_prefix): This.
30332         * intl/tst-gettext2.sh: Likewise.
30333         * intl/tst-gettext4.sh  Likewise.
30334         * intl/tst-gettext6.sh: Likewise.
30335         * intl/tst-translit.sh: Likewise.
30336         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30337         with $(test-program-cmd).
30338         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30339         $(run-program-prefix) with $(test-program-prefix).
30340         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30341         (test_program_prefix): This.
30342         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30343         $(run-program-prefix) with $(test-program-prefix).
30344         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30345         (test_program_prefix): This.
30346         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30347         * posix/Makefile ($(objpfx)globtest.out): Replace
30348         $(run-via-rtld-prefix) and $(test-wrapper) with
30349         $(test-program-prefix) and $(test-via-rtld-prefix).
30350         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30351         $(test-program-prefix).
30352         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30353         $(host-test-program-cmd).
30354         (tst-spawn-ARGS): Likewise.
30355         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30356         $(test-program-prefix).
30357         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30358         (test_via_rtld_prefix): This.
30359         (test_wrapper): Renamed to ...
30360         (test_program_prefix): This.
30361         (run_program_prefix): Replaced by test_program_prefix.
30362         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30363         (test_program_prefix): This.
30364         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30365         with $(host-test-program-cmd).
30366         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30367         $(run-program-prefix) with $(test-program-prefix).
30368         ($(objpfx)tst-printf.out): Likewise.
30369         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30370         $(test-program-cmd).
30371         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30372         (test_program_prefix): This.
30373         * stdio-common/tst-unbputc.sh: Likewise.
30374         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30375         $(run-program-prefix) with $(test-program-prefix).
30376         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30377         (test_program_prefix): This.
30378         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30379         $(built-program-cmd) with $(test-program-cmd).
30380
30381 2013-01-11  Andreas Jaeger  <aj@suse.de>
30382
30383         [BZ #15003]
30384         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30385         value. Sync with Linux 3.7.
30386
30387 2013-01-10  David S. Miller  <davem@davemloft.net>
30388
30389         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30390         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30391         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30392
30393 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30394
30395         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30396         never set.
30397         * configure: Regenerated.
30398
30399 2013-01-10  David S. Miller  <davem@davemloft.net>
30400
30401         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30402         sparc V9 rather than using V8 code.
30403         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30404         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30405
30406 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30407
30408         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30409         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30410         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30411         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30412         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30413         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30414         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30415         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30416         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30417         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30418         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30419         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30420         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30421         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30422         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30423         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30424         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30425         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30426         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30427         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30428         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30429         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30430         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30431         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30432         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30433         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30434         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30435
30436 2013-01-10  David S. Miller  <davem@davemloft.net>
30437
30438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30439
30440 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30441
30442         * posix/Makefile (tests-static): New variable.
30443         (tests): Add $(tests-static).
30444         (tst-exec-static-ARGS): New variable.
30445         (tst-spawn-static-ARGS): Likewise.
30446         * posix/tst-exec-static.c: New file.
30447         * posix/tst-spawn-static.c: Likewise.
30448         * posix/tst-exec.c: Support run directly.
30449         * posix/tst-spawn.c: Likewise.
30450
30451 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30452
30453         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30454         long.
30455         * math/bits/mathcalls.h (llrint): Likewise.
30456         (llround): Likewise.
30457         * stdlib/stdlib.h (struct drand48_data): Likewise.
30458         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30459         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30460         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30461         Likewise.
30462         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30463         Likewise.
30464         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30465         (elf_greg_t): Likewise.
30466         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30467         (__jmp_buf): Likewise.
30468         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30469         definitions.
30470         (llrint): Likewise, for all definitions.
30471         (llrintl): Likewise.
30472
30473         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30474         Remove [__GNUC__] condition.
30475         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30476         condition to just [__USE_ISOC99].
30477         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30478
30479 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30480
30481         [BZ #14200]
30482         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30483         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30484         defined.
30485         (_POSIX_V6_ILP32_OFF32): Likewise.
30486         (_XBS5_ILP32_OFF32): Likewise.
30487         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30488         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30489
30490 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30491
30492         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30493
30494         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30495         doubles __mpexp_twomm1.  Adjust usage.
30496         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30497         Remove.
30498
30499 2013-01-10  Andreas Schwab  <schwab@suse.de>
30500
30501         [BZ #14964]
30502         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30503         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30504
30505 2013-01-09  David S. Miller  <davem@davemloft.net>
30506
30507         [BZ #15003]
30508         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30509         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30510         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30511         (TCP_FASTOPEN): Define.
30512         (tcp_repair_opt): New structure.
30513         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30514         enum values.
30515         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30516         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30517         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30518         (tcp_cookie_transactions): New structure.
30519
30520 2013-01-09  Anton Blanchard  <anton@samba.org>
30521
30522         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30523         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30524         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30525         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30526
30527 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30528
30529         * include/features.h (__USE_ANSI): Remove.
30530
30531 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30532
30533         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30534
30535         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30536
30537 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30538
30539         * sysdeps/s390/fpu/libm-test-ulps: Update.
30540
30541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30542
30543         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30544         (__acr): Likewise.
30545         (__cpy): Likewise.
30546         (norm): Likewise.
30547         (denorm): Likewise.
30548         (__mp_dbl): Likewise.
30549         (__dbl_mp): Likewise.
30550         (add_magnitudes): Likewise.
30551         (sub_magnitudes): Likewise.
30552         (__add): Likewise.
30553         (__sub): Likewise.
30554         (__mul): Likewise.
30555         (__inv): Likewise.
30556         (__dvd): Likewise.
30557         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30558         (__acr): Likewise.
30559         (__cpy): Likewise.
30560         (norm): Likewise.
30561         (denorm): Likewise.
30562         (__mp_dbl): Likewise.
30563         (__dbl_mp): Likewise.
30564         (add_magnitudes): Likewise.
30565         (sub_magnitudes): Likewise.
30566         (__add): Likewise.
30567         (__sub): Likewise.
30568         (__mul): Likewise.
30569         (__inv): Likewise.
30570         (__dvd): Likewise.
30571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30572         (__acr): Likewise.
30573         (__cpy): Likewise.
30574         (norm): Likewise.
30575         (denorm): Likewise.
30576         (__mp_dbl): Likewise.
30577         (__dbl_mp): Likewise.
30578         (add_magnitudes): Likewise.
30579         (sub_magnitudes): Likewise.
30580         (__add): Likewise.
30581         (__sub): Likewise.
30582         (__mul): Likewise.
30583         (__inv): Likewise.
30584         (__dvd): Likewise.
30585
30586 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30587
30588         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30589         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30590         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30591         2 && __USE_EXTERN_INLINES]: Likewise.
30592
30593 2013-01-08  Andreas Jaeger  <aj@suse.de>
30594
30595         [BZ# 14985]
30596         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30597         Remove.
30598         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30599         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30600
30601 2013-01-07  Anton Blanchard  <anton@samba.org>
30602
30603         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30604         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30605         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30606         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30607         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30608         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30609         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30610         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30612         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30613         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30614         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30615         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30616         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30617         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30618         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30619         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30620         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30621         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30622         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30623         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30624         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30625         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30626         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30627         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30628         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30629         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30630         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30631         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30632         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30633         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30635         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30636         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30637         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30638         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30639         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30640         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30641         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30642         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30643         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30644         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30645         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30646
30647 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30648
30649         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30650         (__MALLOC_PMT): Likewise.
30651         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30652         [__GNUC__], only on [_LIBC].
30653         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30654         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30655         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30656         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30657         forward declaration.
30658         (realloc_hook_ini): Likewise.
30659         (memalign_hook_ini): Likewise.
30660         (__libc_memalign): Do not use __MALLOC_PMT in variable
30661         declaration.
30662         (__libc_valloc): Likewise.
30663         (__libc_pvalloc): Likewise.
30664         (__libc_calloc): Likewise.
30665         (__posix_memalign): Likewise.
30666
30667         [BZ #14996]
30668         * math/s_casinh.c: Include <float.h>.
30669         (__casinh): Do not do computation with squaring and square root
30670         for large arguments.
30671         * math/s_casinhf.c: Include <float.h>.
30672         (__casinhf): Do not do computation with squaring and square root
30673         for large arguments.
30674         * math/s_casinhl.c: Include <float.h>.
30675         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30676         (__casinhl): Do not do computation with squaring and square root
30677         for large arguments.
30678         * math/libm-test.inc (casin_test): Add more tests.
30679         (casinh_test): Likewise.
30680         * sysdeps/i386/fpu/libm-test-ulps: Update.
30681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30682
30683 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30684
30685         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30686         (__x86_64_raw_data_cache_size): Likewise.
30687         (__x86_64_data_cache_size_half): Likewise.
30688         (__x86_64_raw_data_cache_size_half): Likewise.
30689         (__x86_64_shared_cache_size): Likewise.
30690         (__x86_64_raw_shared_cache_size): Likewise.
30691         (__x86_64_shared_cache_size_half): Likewise.
30692         (__x86_64_raw_shared_cache_size_half): Likewise.
30693         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30694         to ...
30695         (__x86_data_cache_size): This.
30696         (__x86_64_raw_data_cache_size): Renamed to ...
30697         (__x86_raw_data_cache_size): This.
30698         (__x86_64_data_cache_size_half): Renamed to ...
30699         (__x86_data_cache_size_half): This.
30700         (__x86_64_raw_data_cache_size_half): Renamed to ...
30701         (__x86_raw_data_cache_size_half): This.
30702         (__x86_64_shared_cache_size): Renamed to ...
30703         (__x86_shared_cache_size): This.
30704         (__x86_64_raw_shared_cache_size): Renamed to ...
30705         (__x86_raw_shared_cache_size): This.
30706         (__x86_64_shared_cache_size_half): Renamed to ...
30707         (__x86_shared_cache_size_half): This.
30708         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30709         (__x86_raw_shared_cache_size_half): This.
30710         * sysdeps/x86_64/memcpy.S: Updated.
30711         * sysdeps/x86_64/memset.S: Likewise.
30712         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30713         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30714         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30715
30716 2013-01-04  David S. Miller  <davem@davemloft.net>
30717
30718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30719
30720 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30721
30722         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30723         1 to avoid redefinition warning.
30724         (__USE_GNU): Don't define.
30725         (init_signaling_nan): Protoize.
30726
30727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30728
30729 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30730
30731         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30733         (__cpymn): Likewise.
30734         (norm): Remove commented code.
30735         (denorm): Likewise.
30736         (__mp_dbl): Likewise.
30737         (__inv): Likewise.
30738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30739         (__cpymn): Likewise.
30740         (norm): Remove commented code.
30741         (denorm): Likewise.
30742         (__mp_dbl): Likewise.
30743         (__inv): Likewise.
30744
30745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30746         mp_no value for 1.0 and 2.0.
30747         (norm): Use RADIXI instead of radixi.d.
30748         (denorm): Likewise.
30749         (__mul): Use 0.0 instead of zero.d.
30750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30751         mp_no value for 1.0 and 2.0.
30752         (norm): Use RADIXI instead of radixi.d.
30753         (denorm): Likewise.
30754         (__mul): Use 0.0 instead of zero.d.
30755
30756 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
30757
30758         [BZ #14994]
30759         * math/s_casinh.c (__casinh): Reduce finite argument to first
30760         quadrant then set signs of results at the end.
30761         * math/s_casinhf.c (__casinhf): Likewise.
30762         * math/s_casinhl.c (__casinhl): Likewise.
30763         * math/libm-test.inc (casin_test): Add more tests.
30764         (casinh_test): Likewise.
30765         * sysdeps/i386/fpu/libm-test-ulps: Update.
30766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30767
30768 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30769
30770         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30771
30772         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30773
30774         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30775         declarations.
30776         (denorm): Likewise.
30777         (__mp_dbl): Likewise.
30778         (__inv): Likewise.
30779
30780         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30781         and adjust the header comment.
30782
30783         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30784         variable name from declaration.
30785
30786 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
30787
30788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30789         Initialize COMMON_CPUID_INDEX_7 element.
30790         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30791         (CPUID_RTM): Likewise.
30792         (HAS_RTM): Likewise.
30793         (COMMON_CPUID_INDEX_7): New enum.
30794
30795 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
30796
30797         [BZ #14981]
30798         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30799         size is zero, record memory as freed.
30800
30801 2013-01-03  Andreas Jaeger  <aj@suse.de>
30802
30803         * po/ia.po: Add new Interlingua translation.
30804
30805 2012-01-03  Allan McRae  <allan@archlinux.org>
30806
30807         * locale/programs/localedef.c: Fix description of '--posix' flag.
30808
30809 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
30810
30811         * NEWS: Update dates in second copyright notice.
30812         * README: Update copyright dates in example.
30813         * manual/libc.texinfo: Update copyright dates.
30814         * scripts/test-installation.pl: Update copyright date in --version
30815         output.
30816
30817         * hurd/ctty-input.c: Fix copyright notice formatting.
30818         * hurd/ctty-output.c: Likewise.
30819         * hurd/dtable.c: Likewise.
30820         * hurd/hurd-raise.c: Likewise.
30821         * hurd/hurdprio.c: Likewise.
30822         * hurd/msgportdemux.c: Likewise.
30823         * misc/sys/file.h: Likewise.
30824         * misc/sys/ioctl.h: Likewise.
30825         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30826         * sysdeps/mach/hurd/chdir.c: Likewise.
30827         * sysdeps/mach/hurd/fchdir.c: Likewise.
30828         * sysdeps/mach/hurd/rename.c: Likewise.
30829         * sysdeps/mach/hurd/rmdir.c: Likewise.
30830         * sysdeps/mach/hurd/seekdir.c: Likewise.
30831         * sysdeps/mach/hurd/setsid.c: Likewise.
30832         * sysdeps/posix/wait3.c: Likewise.
30833
30834         * All files with FSF copyright notices: Update copyright dates
30835         using scripts/update-copyrights.
30836         * intl/plural.c: Regenerated.
30837         * locale/programs/charmap-kw.h: Likewise.
30838         * locale/programs/locfile-kw.h: Likewise.
30839
30840 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30841
30842         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30843         four values.
30844
30845         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30846         calculation loop and add branch prediction.
30847
30848         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30849         check access beyond bounds of m1np.
30850
30851         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30852         MPTWO.
30853         (__inv): Remove local variable MPTWO to use the global
30854         constant.
30855         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30856         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30857         variable MPTWO.
30858         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30859         MP3HALFS static const.
30860
30861 2013-01-01  David S. Miller  <davem@davemloft.net>
30862
30863         * po/ca.po: Update from translation team.
30864
30865 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
30866
30867         * scripts/update-copyrights: New file.
30868         * Makeconfig: Reformat copyright notice.
30869         * ctype/ctype.h: Likewise.
30870         * debug/swprintf_chk.c: Likewise.
30871         * elf/dl-cache.c: Likewise.
30872         * elf/dl-debug.c: Likewise.
30873         * elf/dl-object.c: Likewise.
30874         * grp/initgroups.c: Likewise.
30875         * hurd/Makefile: Likewise.
30876         * hurd/hurd/signal.h: Likewise.
30877         * hurd/hurdfault.c: Likewise.
30878         * hurd/hurdioctl.c: Likewise.
30879         * hurd/hurdlookup.c: Likewise.
30880         * hurd/intr-msg.c: Likewise.
30881         * iconv/gconv_open.c: Likewise.
30882         * libio/swprintf.c: Likewise.
30883         * locale/lc-ctype.c: Likewise.
30884         * locale/nl_langinfo.c: Likewise.
30885         * mach/Machrules: Likewise.
30886         * mach/Makefile: Likewise.
30887         * malloc/obstack.h: Likewise.
30888         * manual/Makefile: Likewise.
30889         * manual/tsort.awk: Likewise.
30890         * misc/bits/stab.def: Likewise.
30891         * nis/nis_print_group_entry.c: Likewise.
30892         * nis/nis_table.c: Likewise.
30893         * nis/nss_compat/compat-pwd.c: Likewise.
30894         * nis/nss_compat/compat-spwd.c: Likewise.
30895         * po/Makefile: Likewise.
30896         * posix/fnmatch.c: Likewise.
30897         * posix/regex.h: Likewise.
30898         * resolv/Makefile: Likewise.
30899         * resolv/nss_dns/dns-network.c: Likewise.
30900         * resolv/res_hconf.c: Likewise.
30901         * scripts/gen-sorted.awk: Likewise.
30902         * soft-fp/soft-fp.h: Likewise.
30903         * stdio-common/printf.h: Likewise.
30904         * stdlib/monetary.h: Likewise.
30905         * stdlib/random.c: Likewise.
30906         * stdlib/random_r.c: Likewise.
30907         * sysdeps/generic/Makefile: Likewise.
30908         * sysdeps/gnu/Makefile: Likewise.
30909         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30910         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30911         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30912         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30913         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30914         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30915         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30916         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30917         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30918         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30919         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30920         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30921         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30922         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30923         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30924         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30925         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30926         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30927         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30928         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30929         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30930         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30931         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30932         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30933         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30934         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30935         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30936         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30937         * sysdeps/mach/hurd/errnos.awk: Likewise.
30938         * sysdeps/mach/hurd/fork.c: Likewise.
30939         * sysdeps/mach/hurd/getcwd.c: Likewise.
30940         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30941         * sysdeps/mach/hurd/mmap.c: Likewise.
30942         * sysdeps/mach/hurd/utimes.c: Likewise.
30943         * sysdeps/mach/hurd/xmknod.c: Likewise.
30944         * sysdeps/posix/profil.c: Likewise.
30945         * sysdeps/posix/readdir_r.c: Likewise.
30946         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30947         * sysdeps/powerpc/bits/setjmp.h: Likewise.
30948         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30949         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30951         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30952         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30953         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30955         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30956         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30957         * sysdeps/pthread/lio_listio.c: Likewise.
30958         * sysdeps/sparc/dl-procinfo.h: Likewise.
30959         * sysdeps/unix/i386/sysdep.S: Likewise.
30960         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30961         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30962         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30963         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30965         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30966         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30967         * sysdeps/unix/sysv/linux/speed.c: Likewise.
30968         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30969         * sysdeps/wordsize-32/divdi3.c: Likewise.
30970         * time/sys/time.h: Likewise.
30971         * wcsmbs/Makefile: Likewise.
30972
30973 2013-01-01  David S. Miller  <davem@davemloft.net>
30974
30975         * po/fr.po: Update from translation team.
30976
30977         * catgets/gencat.c: Update copyright year.
30978         * csu/version.c: Likewise.
30979         * debug/catchsegv.sh: Likewise.
30980         * debug/pcprofiledump.c: Likewise.
30981         * debug/xtrace.sh: Likewise.
30982         * elf/ldconfig.c: Likewise.
30983         * elf/ldd.bash.in: Likewise.
30984         * elf/pldd.c: Likewise.
30985         * elf/sotruss.ksh: Likewise.
30986         * elf/sprof.c: Likewise.
30987         * iconv/iconv_prog.c: Likewise.
30988         * iconv/iconvconfig.c: Likewise.
30989         * locale/programs/locale.c: Likewise.
30990         * locale/programs/localedef.c: Likewise.
30991         * login/programs/pt_chown.c: Likewise.
30992         * malloc/memusage.sh: Likewise.
30993         * malloc/memusagestat.c: Likewise.
30994         * malloc/mtrace.pl: Likewise.
30995         * nscd/nscd.c: Likewise.
30996         * nss/getent.c: Likewise.
30997         * nss/makedb.c: Likewise.
30998         * posix/getconf.c: Likewise.
30999
31000 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31001
31002         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31003         numbers.
31004
31005 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31006
31007         * math/bits/mathcalls.h (modf): Use __nonnull.
31008
31009 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31010
31011         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31012         (split): Use macro CN instead of the bare value.
31013         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31014         could be used.
31015         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31016         instead of the bare value.
31017         (power1): Likewise.
31018
31019 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31020
31021         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31022         __ATAN_TWOM.
31023         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31024
31025         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31026         their values.
31027         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31028         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31029         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31030         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31031
31032 2012-12-28  Andreas Jaeger  <aj@suse.de>
31033
31034         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31035         values are from Linux 3.7.
31036
31037         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31038         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31039
31040 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31041
31042         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31043         TRUE case.
31044
31045         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31046         (norm): Likewise.
31047         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31048         variables with preprocessor constants.
31049         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31050         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31051         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31052
31053 2012-12-27  Bruno Haible  <bruno@clisp.org>
31054
31055         [BZ #14317]
31056         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31057         only if needed.
31058
31059 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31060
31061         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31062         and use variable directly.
31063         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31064
31065         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31066         MPONE.
31067         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31068         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31069         variable MPONE.
31070         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31071         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31072         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31073         include directive.  Remove local variable MPONE.
31074         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31075         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31076         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31077
31078 2012-12-25  David S. Miller  <davem@davemloft.net>
31079
31080         * version.h (RELEASE): Set to "development".
31081         (VERSION): Set to "2.17.90".
31082         * NEWS: Add 2.18 section.
31083
31084 2012-12-21  David S. Miller  <davem@davemloft.net>
31085
31086         * po/hr.po: Update from translation team.
31087
31088 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31089
31090         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31091
31092 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31093
31094         * NEWS:  Mention new memcpy for MIPS.
31095
31096 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31097
31098         * manual/contrib.texi (Contributors): Spelling correction.
31099
31100 2012-12-15  David S. Miller  <davem@davemloft.net>
31101
31102         * po/ru.po: Update from translation team.
31103
31104 2012-12-13  David S. Miller  <davem@davemloft.net>
31105
31106         * NEWS: Mention IFUNC testsuite enhancements.
31107
31108         * po/pl.po: Update from translation team.
31109         * po/bg.po: Likewise.
31110
31111         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31112         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31113
31114 2012-12-11  David S. Miller  <davem@davemloft.net>
31115
31116         * po/sv.po: Update from translation team.
31117
31118         * po/vi.po: Update from translation team.
31119
31120         * po/cs.po: Update from translation team.
31121
31122         * po/de.po: Update from translation team.
31123         * po/eo.po: Likewise.
31124         * po/nl.po: Likewise.
31125
31126 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31127
31128         [BZ #14246]
31129         * manual/argp.texi (Argp Helper Functions): Move node to follow
31130         Argp Parsing State.
31131
31132         [BZ #14872]
31133         * manual/conf.texi (Limits on File System Capacity): Mention if
31134         terminating null is included in the max size.
31135
31136 2012-12-10  Andreas Jaeger  <aj@suse.de>
31137
31138         * po/cs.po: Update from translation team.
31139
31140 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31141
31142         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31143         void pointer and cast to uintptr_t.
31144         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31145         path.
31146         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31147         * sysdeps/s390/s390-64/memset.S: Likewise.
31148
31149 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31150
31151         [BZ #14833]
31152         * menual/message.texi (Message Translation): Fix typos.
31153         (Helper programs for gettext): Likewise.
31154
31155 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31156
31157         [BZ #14898]
31158         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31159         Change to -1.
31160
31161 2012-12-07  David S. Miller  <davem@davemloft.net>
31162
31163         * po/libc.pot: Update.
31164
31165 2012-12-07  Richard Henderson  <rth@redhat.com>
31166
31167         [BZ #10114]
31168         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31169         normal/normal case to before the switch.
31170         (_FP_DIV): Likewise.
31171
31172 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31173             Mike Frysinger  <vapier@gentoo.org>
31174
31175         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31176         check for __NR_fadvise64_64.
31177
31178 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31179
31180         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31181         0, not just to plain "0" as a statement.
31182         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31183         with cw.
31184
31185 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31186
31187         * NEWS: Use sourceware.org in Bugzilla URL.
31188
31189 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31190
31191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31192         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31193
31194         * stdio-common/tst-put-error.c (do_test): Add newline to the
31195         padded test to ensure flush.
31196
31197 2012-12-05  Jeff Law  <law@redhat.com>
31198
31199         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31200
31201 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31202
31203         * README: Don't refer to ports add-on as distributed separately.
31204         Mention AArch64 in list of systems supported in the ports add-on.
31205
31206         * LICENSES: Add more non-FSF copyright and license notices.
31207
31208         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31209         ((unused)).
31210
31211         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31212
31213         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31214         10000 as width of padded output.
31215
31216 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31217
31218         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31219
31220         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31221         variable LX with __attribute__ ((unused)).
31222         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31223         Likewise.
31224         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31225         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31226         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31227         with __attribute__ ((unused)).
31228
31229 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31230
31231         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31232
31233 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31234
31235         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31236         (CFLAGS-nldbl-acos.c): New variable.
31237         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31238         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31239         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31240         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31241         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31242         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31243         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31244         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31245         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31246         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31247         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31248         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31249         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31250         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31251         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31252         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31253         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31254         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31255         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31256         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31257         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31258         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31259         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31260         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31261         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31262         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31263         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31264         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31265         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31266         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31267         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31268         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31269         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31270         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31271         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31272         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31273         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31274         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31275         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31276         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31277         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31278         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31279         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31280         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31281         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31282         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31283         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31284         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31285         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31286         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31287         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31288         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31289         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31290         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31291         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31292         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31293         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31294         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31295         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31296         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31297         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31298         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31299         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31300         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31301         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31302         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31303         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31304         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31305         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31306         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31307         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31308         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31309         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31310         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31311         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31312         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31313         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31314         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31315         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31316         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31317         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31318         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31319         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31320         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31321         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31322         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31323         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31324         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31325         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31326         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31327         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31328         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31329         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31330         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31331         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31332         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31333         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31334
31335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31336         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31337
31338         [BZ #14914]
31339         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31340         whole low double instead of just low 47 bits when splitting values
31341         into two parts.
31342
31343 2012-12-03  Allan McRae  <allan@archlinux.org>
31344
31345         * manual/stdio.texi (Predefined Printf Handlers): Remove
31346         @hsep and @vsep usage.
31347
31348 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31349
31350         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31351         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31352
31353 2012-12-03  Jeff Law  <law@redhat.com>
31354
31355         * time/sys/time.h (settimeofday): Do not mark TV argument
31356         as __nonnull.
31357
31358 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31359
31360         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31361         when currently writing and seek to current position when not.
31362         * libio/Makefile (tests): Remove bug-fclose1.
31363         * libio/bug-fclose1.c: Delete.
31364
31365 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31366
31367         * manual/arith.texi (feenableexcept): Fix typo.
31368         (fedisableexcept): Likewise.
31369
31370 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31371
31372         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31373         second, differently-typed declaration, rather than a cast.
31374
31375 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31376
31377         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31378         * include/rpc/svc.h: ... here.
31379
31380 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31381
31382         [BZ #13013]
31383         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31384         depending n and resplen2 to catch cases where answer
31385         equals answerp2.
31386
31387 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31388
31389         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31390         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31391
31392 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31393
31394         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31395
31396 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31397
31398         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31399
31400 2012-11-28  Jeff Law  <law@redhat.com>
31401
31402         [BZ #13761]
31403         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31404         dataset_temporary.  Track alloca usage into alloca_used.
31405         If dataset is large allocate and release it via malloc/free.
31406
31407 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31408
31409         [BZ #14197]
31410         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31411
31412 2012-11-28  David S. Miller  <davem@davemloft.net>
31413
31414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31415
31416 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31417
31418         [BZ #14803]
31419         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31420         of pi/2 rounded to nearest to 64 bits.
31421         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31422         nearest to 64 bits.
31423         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31424         bits.
31425
31426 2012-11-28  Jeff Law <law@redhat.com>
31427             Martin Osvald <mosvald@redhat.com>
31428
31429         [BZ #14889]
31430         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31431         * sunrpc/svc.c: Include time.h.
31432         (__svc_accept_failed): New function.
31433         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31434         any reason other than EINTR, call __svc_accept_failed.
31435         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31436         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31437
31438 2012-11-28  Andreas Schwab  <schwab@suse.de>
31439
31440         * scripts/abilist.awk: Also handle indirect functions in .opd
31441         section.
31442
31443 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31444
31445         [BZ #13881]
31446         * sysdeps/x86/fpu/powl_helper.c: New file.
31447         * sysdeps/x86/fpu/Makefile: Likewise.
31448         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31449         (p3): New object.
31450         (__ieee754_powl): Use __powl_helper for finite arguments except
31451         integer exponents below 8.
31452         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31453         (p3): New object.
31454         (__ieee754_powl): Use __powl_helper for finite arguments except
31455         integer exponents below 8.
31456         * math/libm-test.inc (pow_test): Add more tests and enable some
31457         previously disabled tests.
31458         * sysdeps/i386/fpu/libm-test-ulps: Update.
31459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31460
31461 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31462             Carlos O'Donell  <carlos_odonell@mentor.com>
31463
31464         * nss/makedb.c (is_prime): Assert that input is odd and greater
31465         than 4.  Note that fact in a comment too.
31466         (next_prime): Add 4 to input.
31467
31468 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31469
31470         [BZ #11741]
31471         * libio/Makefile (tests): Add test case tst-fwrite-error.
31472         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31473         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31474         * libio/tst-fwrite-error.c: New test case.
31475
31476 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31477
31478         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31479         before casting to void *.
31480         * include/libc-internal.h (__pointer_type): New macro.
31481         (__integer_if_pointer_type_sub): Likewise.
31482         (__integer_if_pointer_type): Likewise.
31483         (cast_to_integer): Likewise.
31484         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31485         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31486         before casting to atomic64_t.
31487         (atomic_exchange_acq): Likewise.
31488         (__arch_exchange_and_add_body): Likewise.
31489         (__arch_add_body): Likewise.
31490         (atomic_add_negative): Likewise.
31491         (atomic_add_zero): Likewise.
31492
31493 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31494
31495         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31496         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31497         (add_fdes): Likewise.
31498         (linear_search_fdes): Likewise.
31499         (binary_search_unencoded_fdes): Likewise.
31500
31501 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31502
31503         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31504
31505 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31506
31507         * configure.in: Autodetect C++ header directories.
31508         * configure: Regenerated.
31509
31510 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31511
31512         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31513
31514 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31515
31516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31517
31518 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31519
31520         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31521         LDBL_MANT_DIG == 106]: Disable some tests.
31522         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31523         Likewise.
31524         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31525         Likewise.
31526
31527         [BZ #14871]
31528         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31529         input for small inputs.  Return +/- pi/2 for large inputs.
31530         * math/libm-test.inc (atan_test): Add more tests.
31531
31532         * sysdeps/generic/unwind-dw2-fde-glibc.c
31533         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31534         __attribute__ ((unused)).
31535
31536         [BZ #14645]
31537         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31538         x * y if x and y are nonzero and z is zero.
31539
31540         [BZ #14811]
31541         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31542         nonzero exponents with absolute value below 0x1p-117 to +/-
31543         0x1p-117.
31544
31545         [BZ #14869]
31546         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31547         up arguments below 2**-450, not just those below 2**-500.
31548         * math/libm-test.inc (hypot_test): Add another test.
31549
31550         [BZ #14868]
31551         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31552         Return a+b for ratio over 2**120, not 2**60.
31553         * math/libm-test.inc (hypot_test): Add another test.
31554
31555         * math/libm-test.inc (clog_test): Use
31556         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31557         (clog10_test): Likewise.
31558
31559         [BZ #6778]
31560         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31561
31562 2012-11-22  Andreas Schwab  <schwab@suse.de>
31563
31564         * sysdeps/i386/fpu/libm-test-ulps: Update.
31565
31566 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31567
31568         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31569         printf output with newline.
31570
31571 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31572
31573         [BZ #14865]
31574         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31575         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31576         -z nodlopen, -z initfirst and -z execstack support.
31577         * configure: Regenerated.
31578
31579         * elf/elf.h (DF_1_NODIRECT): New macro.
31580         (DF_1_IGNMULDEF): Likewise.
31581         (DF_1_NOKSYMS): Likewise.
31582         (DF_1_NOHDR): Likewise.
31583         (DF_1_EDITED): Likewise.
31584         (DF_1_NORELOC): Likewise.
31585         (DF_1_SYMINTPOSE): Likewise.
31586         (DF_1_GLOBAUDIT): Likewise.
31587         (DF_1_SINGLETON): Likewise.
31588         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31589         DT_1_SUPPORTED_MASK bits.
31590         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31591
31592 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31593
31594         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31595
31596 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31597
31598         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31599         macro.
31600
31601         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31602         (sendmmsg): Move declarations...
31603         * socket/sys/socket.h: ... here.
31604         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31605         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31606         include it from...
31607         * socket/recvmmsg.c: ... this new file.
31608         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31609         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31610         definition of __sendmmsg hidden.
31611         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31612         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31613         Move ENOSYS stub into and include it from...
31614         * socket/sendmmsg.c: ... this new file.
31615         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31616         (sysdep_routines): Move recvmmsg and sendmmsg...
31617         * socket/Makefile (routines): ... here.
31618         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31619         (GLIBC_PRIVATE): Add __sendmmsg.
31620         * include/sys/socket.h (__sendmmsg): Add declarations.
31621         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31622         sendmmsg.
31623
31624 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31625
31626         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31627         variable I1 with __attribute__ ((unused)).
31628         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31629
31630 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31631
31632         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31633         DUMMY variables with __attribute__ ((unused)).
31634
31635         * bits/byteswap.h: Include <bits/types.h>.
31636         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31637
31638 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31639
31640         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31641         string_t.  Do not manually set errno.
31642         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31643         length with __strnlen.  Make sure to both set errno and return it on
31644         failure.
31645
31646 2012-11-19  David S. Miller  <davem@davemloft.net>
31647
31648         With help from Joseph Myers.
31649         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31650         very large arguments properly.
31651         * math/libm-test.inc (atan_test): New tests.
31652         (atan2_test): New tests.
31653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31655
31656 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31657
31658         [BZ #14856]
31659         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31660         Define to 3.
31661
31662         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31663         [POSIX] (EADDRNOTAVAIL): Likewise.
31664         [POSIX] (EAFNOSUPPORT): Likewise.
31665         [POSIX] (EALREADY): Likewise.
31666         [POSIX] (ECONNABORTED): Likewise.
31667         [POSIX] (ECONNREFUSED): Likewise.
31668         [POSIX] (ECONNRESET): Likewise.
31669         [POSIX] (EDESTADDRREQ): Likewise.
31670         [POSIX] (EDQUOT): Likewise.
31671         [POSIX] (EHOSTUNREACH): Likewise.
31672         [POSIX] (EIDRM): Likewise.
31673         [POSIX] (EISCONN): Likewise.
31674         [POSIX] (ELOOP): Likewise.
31675         [POSIX] (EMULTIHOP): Likewise.
31676         [POSIX] (ENETDOWN): Likewise.
31677         [POSIX] (ENETUNREACH): Likewise.
31678         [POSIX] (ENOBUFS): Likewise.
31679         [POSIX] (ENODATA): Likewise.
31680         [POSIX] (ENOLINK): Likewise.
31681         [POSIX] (ENOMSG): Likewise.
31682         [POSIX] (ENOPROTOOPT): Likewise.
31683         [POSIX] (ENOSR): Likewise.
31684         [POSIX] (ENOSTR): Likewise.
31685         [POSIX] (ENOTCONN): Likewise.
31686         [POSIX] (ENOTSOCK): Likewise.
31687         [POSIX] (EOPNOTSUPP): Likewise.
31688         [POSIX] (EOVERFLOW): Likewise.
31689         [POSIX] (EPROTO): Likewise.
31690         [POSIX] (EPROTONOSUPPORT): Likewise.
31691         [POSIX] (EPROTOTYPE): Likewise.
31692         [POSIX] (ESTALE): Likewise.
31693         [POSIX] (ETIME): Likewise.
31694         [POSIX] (ETXTBSY): Likewise.
31695         [POSIX] (EWOULDBLOCK): Likewise.
31696         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31697         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31698         [POSIX] (SEEK_CUR): Likewise.
31699         [POSIX] (SEEK_END): Likewise.
31700         [POSIX || UNIX98] (mode_t): Do not require.
31701         [POSIX] (off_t): Likewise.
31702         [POSIX] (pid_t): Likewise.
31703         [POSIX] (sys/stat.h): Do not allow header.
31704         [POSIX] (unistd.h): Likewise.
31705         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31706         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31707         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31708         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31709         require.
31710         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31711         sigevent): Specify elements.
31712         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31713         entry.
31714         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31715         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31716
31717         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31718         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31719         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31720         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31721         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31722         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31723         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31724         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31725         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31726         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31727         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31728         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31729         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31730         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31731         Likewise.
31732         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31733         Likewise.
31734         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31735         Likewise.
31736         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31737         Likewise.
31738         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31739         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31740         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31741         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31742         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31743         Specify lower bound on value.
31744         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31745         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31746         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31747         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31748         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31749         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31750         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31751         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31752         value.
31753         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31754         as optional.
31755         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31756         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31757         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31758         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31759         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31760         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31761         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31762         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31763         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31764         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31765         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31766         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31767         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31768         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31769         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31770         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31771         entry.
31772         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31773         optional.
31774         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31775         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31776         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31777         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31778         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31779         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31780         Likewise.
31781         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31782         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31783         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31784         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31785         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
31786         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31787         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31788         as optional.
31789         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31790         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31791         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31792         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31793         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31794         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31795         specify as optional.
31796         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31797         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31798         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31799         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31800         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31801         [XPG3] (NL_LANGMAX): Likewise.
31802         [POSIX || XPG3] (NL_MSGMAX): Likewise.
31803         [POSIX || XPG3] (NL_NMAX): Likewise.
31804         [POSIX || XPG3] (NL_SETMAX): Likewise.
31805         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31806         [XPG3] (NZERO): Likewise.
31807         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31808         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31809         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31810         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31811         (REG_ERANGE): Expect.
31812         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31813         optional-constant.
31814         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31815         Use (void) in prototype.
31816         [POSIX] (*_t): Allow.
31817         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31818         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31819         (WRDE_BADVAL): Expect.
31820
31821         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31822         expect.
31823         [XPG3 || XPG4] (O_RSYNC): Likewise.
31824         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31825         Likewise.
31826         [XPG3 || XPG4] (pthread_sigmask): Likewise.
31827         [XPG3 || XPG4] (sigqueue): Likewise.
31828         [XPG3 || XPG4] (sigtimedwait): Likewise.
31829         [XPG3 || XPG4] (sigwaitinfo): Likewise.
31830         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31831         [XPG3 || XPG4] (vsnprintf): Likewise.
31832         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31833         Likewise.
31834         [XPG3 || XPG4] (blksize_t): Likewise.
31835         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31836         Likewise.
31837         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31838         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31839         [XPG3 || XPG4] (struct itimerspec): Likewise.
31840         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31841         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31842         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31843         [XPG3 || XPG4] (clockid_t): Likewise.
31844         [XPG3 || XPG4] (timer_t): Likewise.
31845         [XPG3 || XPG4] (clock_getres): Likewise.
31846         [XPG3 || XPG4] (clock_gettime): Likewise.
31847         [XPG3 || XPG4] (clock_settime): Likewise.
31848         [XPG3 || XPG4] (nanosleep): Likewise.
31849         [XPG3 || XPG4] (timer_create): Likewise.
31850         [XPG3 || XPG4] (timer_delete): Likewise.
31851         [XPG3 || XPG4] (timer_gettime): Likewise.
31852         [XPG3 || XPG4] (timer_getoverrun): Likewise.
31853         [XPG3 || XPG4] (timer_settime): Likewise.
31854         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31855         [XPG3 || XPG4] (getlogin_r): Likewise.
31856         [XPG3 || XPG4] (pread): Likewise.
31857         [XPG3 || XPG4] (pthread_atfork): Likewise.
31858         [XPG3 || XPG4] (pwrite): Likewise.
31859
31860         [BZ #14835]
31861         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31862         <bits/siginfo.h>.
31863
31864 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31865
31866         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31867         finalizing MALLSTREAM.
31868
31869         * sysdeps/mach/hurd/syncfs.c: New file.
31870
31871 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31872
31873         [BZ #14719]
31874         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31875         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31876         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31877         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31878         (_nss_dns_gethostbyname4_r): Likewise.
31879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31880         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31881
31882 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
31883
31884         [BZ #13763]
31885         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31886
31887 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
31888
31889         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31890         * elf/cache.c (print_entry): Print ",AArch64" for
31891         FLAG_AARCH64_LIB64
31892
31893         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31894         * elf/cache.c (print_entry): Print ",hard-float" for
31895         FLAG_ARM_LIBHF.
31896
31897 2012-11-18  David S. Miller  <davem@davemloft.net>
31898
31899         With help from Joseph Myers.
31900         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31901         cutoff to 2**-13.
31902         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31903         cutoff to 2**-25.
31904         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31905         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31906         small.
31907         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31908         * math/libm-test.inc (y0_test): New tests.
31909         (y1_test): New tests.
31910         * sysdeps/i386/fpu/libm-test-ulps: Update.
31911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31913
31914 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
31915
31916         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31917         64-bit targets.
31918         * configure: Regenerated.
31919
31920 2012-11-17  David S. Miller  <davem@davemloft.net>
31921
31922         [BZ #14811]
31923         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31924         nonzero exponents with absolute value below 0x1p-128 to +/-
31925         0x1p-128.
31926
31927 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
31928
31929         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31930
31931         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31932
31933         * posix/getconf-speclist.c: New file.
31934         * posix/posix-envs.def: Likewise.
31935         * posix/confstr.c (START_ENV_GROUP): New macro.
31936         (END_ENV_GROUP): Likewise.
31937         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31938         (KNOWN_PRESENT_ENV_STRING): Likewise.
31939         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31940         (UNKNOWN_ENVIRONMENT): Likewise.
31941         (confstr): Include posix-envs.def instead of handling
31942         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31943         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31944         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31945         (END_ENV_GROUP): Likewise.
31946         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31947         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31948         (UNKNOWN_ENVIRONMENT): Likewise.
31949         (__sysconf): Include posix-envs.def instead of handling associated
31950         cases directly here.
31951         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31952         preprocessing getconf-speclist.c rather than running getconf or
31953         generating empty file.
31954
31955 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
31956
31957         * scripts/check-local-headers.sh: Ignore 'mach' headers.
31958
31959 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
31960
31961         [BZ #14672]
31962         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31963
31964 2012-11-16  David S. Miller  <davem@davemloft.net>
31965
31966         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31967         smaller than LDBL_EPSILON/2.0L, just return xm1.
31968
31969 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
31970
31971         * elf/tst-array1.c (init): Set constructor priority to 1000.
31972         (fini): Set destructor priority to 1000.
31973         * elf/tst-array2dep.c: Likewise.
31974
31975 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31976
31977         [BZ #11741]
31978         * libio/fileops.c (_IO_new_file_write): Correctly return error.
31979         (_IO_new_file_xsputn): Also return EOF if none of the input
31980         data was written when overflow failed.
31981         * libio/iopadn.c (_IO_padn): Likewise.
31982         * libio/iowpadn.c (_IO_wpadn): Likewise.
31983         * stdio-common/tst-put-error.c: Add copyright notice.
31984         (do_test): Add case for printing padded string.
31985         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31986         _IO_padn returned error.
31987         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31988         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31989         return EOF.
31990
31991 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31992
31993         * libio/libioP.h: Add comment note that the references to C++
31994         bits are now obsolete.
31995
31996 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31997
31998         * math/libm-test.inc (check_complex): Use asprintf.
31999
32000 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32001
32002         * debug/pcprofiledump.c (print_version): Update copyright year.
32003         * malloc/memusagestat.c (print_version): Likewise.
32004
32005 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32006
32007         [BZ #14831]
32008         * elf/Makefile (tests): Add tst-audit8.
32009         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32010         ($(objpfx)tst-audit8.out): New target.
32011         (tst-audit8-ENV): New variable.
32012         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32013         audit if l_reloc_result is NULL.
32014         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32015         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32016         * elf/tst-audit8.c: New file.
32017
32018 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32019
32020         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32021         * misc/Makefile (CFLAGS-select.c): Define.
32022         * posix/Makefile (CFLAGS-pause.c): Define.
32023
32024 2012-11-13  David S. Miller  <davem@davemloft.net>
32025
32026         * crypt/Makefile: Move test targets after toplevel Rules
32027         inclusion.  Grab any necessary sysdep routines when linking.
32028         * crypt/md5.c (md5_process_block): Remove define, we will always
32029         name it __md5_process_block.
32030         (md5_finish_ctx): Update md5_process_block call.
32031         (md5_stream): Likewise.
32032         (md5_process_bytes): Likewise.
32033         (md5_process_block): Rename to __md5_process_block and move to ...
32034         * crypt/md5-block.c: ... here.
32035         * crypt/sha256.c (sha256_process_block): Move to ...
32036         * crypt/sha256-block.c: ... here.
32037         * crypt/sha512.c (sha512_process_block): Move to ...
32038         * crypt/sha512-block.c: ... here.
32039         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32040         path.
32041         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32042         * sysdeps/sparc/sparc64/multiarch/Makefile
32043         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32044         crypt subdir.
32045         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32046         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32047         multiarch changes.
32048         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32049         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32050         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32051         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32052         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32053         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32054         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32055         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32056         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32057         file.
32058         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32059         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32060         file.
32061         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32062
32063 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32064
32065         * timezone/tzselect.ksh: Update from tzcode git revision
32066         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32067         * timezone/zdump.c: Likewise.
32068         * timezone/zic.c: Likewise.
32069         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32070         in TZVERSION setting, not $(PKGVERSION).
32071         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32072         REPORT_BUGS_TO settings.
32073
32074         [BZ #14838]
32075         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32076         macro.
32077
32078 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32079
32080         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32081         detection to immediately after _FP_ROUND().
32082         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32083         bits are 0.
32084
32085 2012-11-11  David S. Miller  <davem@davemloft.net>
32086
32087         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32088         inttypes.h
32089         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32090         __close rather than their public counterparts.
32091
32092 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32093
32094         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32095         file.
32096         [UNIX98] (sem_timedwait): Do not expect.
32097         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32098         [XPG4 || UNIX98] (sockatmark): Do not expect.
32099         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32100         (clock_getcpuclockid): Do not expect.
32101         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32102         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32103         Do not expect.
32104         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32105         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32106         [UNIX98] (vwscanf): Likewise.
32107         [UNIX98] (vswscanf): Likewise.
32108
32109 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32110
32111         * timezone/version.h: Remove file.
32112         * timezone/README: Do not refer to version.h.
32113         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32114         $(objpfx)version.h.
32115         ($(objpfx)zdump.o): Likewise.
32116         ($(objpfx)version.h): New target.
32117
32118         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32119         2012i.
32120         * timezone/README: Don't mention modification to tzselect.ksh.
32121         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32122         work on unmodified tzselect.ksh.  Substitute version numbers in
32123         tzselect.ksh.
32124
32125         * Makefile (format-me): Remove.
32126         (INSTALL): Adjust indentation.  Use commands directly instead of
32127         using $(format-me).
32128
32129         * aclocal.m4 (ACX_PKGVERSION): New macro.
32130         (ACX_BUGURL): Likewise.
32131         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32132         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32133         (REPORT_BUGS_TO): Likewise.
32134         * configure: Regenerated.
32135         * config.h.in (PKGVERSION): New macro.
32136         (REPORT_BUGS_TO): Likewise.
32137         * config.make.in (PKGVERSION): New variable.
32138         (PKGVERSION_TEXI): Likewise.
32139         (REPORT_BUGS_TO): Likewise.
32140         (REPORT_BUGS_TEXI): Likewise.
32141         * Makefile (format-me): Use -I$(common-objpfx)manual.
32142         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32143         ($(common-objpfx)manual/%): New target.
32144         (manual/%): Remove target.
32145         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32146         (print_version): Use PKGVERSION.
32147         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32148         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32149         and REPORT_BUGS_TO.
32150         ($(objpfx)xtrace): Likewise.
32151         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32152         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32153         (print_version): Use PKGVERSION.
32154         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32155         (do_version): Use PKGVERSION.
32156         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32157         REPORT_BUGS_TO.
32158         (common-ldd-rewrite): Likewise.
32159         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32160         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32161         (print_version): Use PKGVERSION.
32162         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32163         * elf/pldd.c (argp_program_bug_address): Remove variable.
32164         (more_help): New function.
32165         (argp): Use more_help.
32166         (print_version): Use PKGVERSION.
32167         * elf/sln.c (main): Use PKGVERSION.
32168         (usage): Use REPORT_BUGS_TO.
32169         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32170         (top level): Use PKGVERSION.
32171         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32172         (print_version): Use PKGVERSION.
32173         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32174         (print_version): Use PKGVERSION.
32175         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32176         (print_version): Use PKGVERSION.
32177         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32178         (print_version): Use PKGVERSION.
32179         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32180         (print_version): Use PKGVERSION.
32181         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32182         (print_version): Use PKGVERSION.
32183         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32184         and BUGURL.
32185         ($(objpfx)memusage): Likewise.
32186         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32187         (do_version): Use PKGVERSION.
32188         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32189         (print_version): Use PKGVERSION.
32190         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32191         ($PKGVERSION): New variable.
32192         ($REPORT_BUGS_TO): Likewise.
32193         (usage): Use $REPORT_BUGS_TO.
32194         (top level): Use $PKGVERSION.
32195         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32196         ($(objpfx)pkgvers.texi): New rule.
32197         ($(objpfx)stamp-pkgvers): Likewise.
32198         * manual/install.texi: Include pkgvers.texi.
32199         (--with-pkgversion): Document new configure option.
32200         (--with-bugurl): Likewise.
32201         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32202         than necessarily for this particular distribution.  Use
32203         REPORT_BUGS_TO for where to report bugs.
32204         * INSTALL: Regenerated.
32205         * manual/libc.texinfo: Include pkgvers.texi.
32206         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32207         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32208         (print_version): Use PKGVERSION.
32209         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32210         (print_version): Use PKGVERSION.
32211         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32212         (print_version): Use PKGVERSION.
32213         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32214         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32215         macro.
32216         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32217         (print_version): Use PKGVERSION.
32218         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32219         (print_version): Use PKGVERSION.
32220         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32221         and PKGVERSION.
32222
32223         * timezone/checktab.awk: Update from tzcode 2012i.
32224         * timezone/ialloc.c: Likewise.
32225         * timezone/private.h: Likewise.
32226         * timezone/scheck.c: Likewise.
32227         * timezone/tzfile.h: Likewise.
32228         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32229         (TZVERSION): Hardcode tzcode version number.
32230         * timezone/zdump.c: Update from tzcode 2012i.
32231         * timezone/zic.c: Likewise.
32232         * timezone/version.h: New file.
32233         * timezone/README: Describe version.h.  Update upstream location.
32234
32235         [BZ #14824]
32236         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32237         (mktemp): Enable declaration.
32238         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32239         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32240         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32241         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32242         Likewise.
32243         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32244         Likewise.
32245         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32246         Likewise.
32247         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32248         Likewise.
32249         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32250         Likewise.
32251         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32252         Likewise.
32253
32254         [BZ #14821]
32255         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32256         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32257         for copies of such integer values.
32258         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32259         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32260
32261 2012-11-09  Andreas Jaeger  <aj@suse.de>
32262
32263         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32264         definitions and declarations that are provided by
32265         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32266
32267 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32268
32269         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32270         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32271         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32272         definition.
32273
32274 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32275
32276         * elf/elf.h: Update comment before AArch64 relocations.
32277
32278 2012-11-07  David S. Miller  <davem@davemloft.net>
32279
32280         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32281         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32282         (__start_context): Declare.
32283         (__makecontext_ret): Delete.
32284         (__makecontext): Hook up __start_context instead of
32285         __makecontext_ret.
32286         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32287         (sysdep_routines): Add __start_context when in stdlib.
32288
32289 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32290
32291         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32292         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32293         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32294         hardcoded "nm".
32295         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32296         (READELF): New variable.  Use it instead of hardcoded "readelf".
32297
32298 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32299
32300         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32301         * sysdeps/x86/Makefile: Here.
32302         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32303         * sysdeps/x86/tst-xmmymm.sh: This.
32304
32305 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32306
32307         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32308         expectations.
32309         [UNIX98] (pthread_barrier_t): Do not expect.
32310         [UNIX98] (pthread_barrierattr_t): Likewise.
32311         [UNIX98] (pthread_spinlock_t): Likewise.
32312         [UNIX98] (pthread_barrier_destroy): Likewise.
32313         [UNIX98] (pthread_barrier_init): Likewise.
32314         [UNIX98] (pthread_barrier_wait): Likewise.
32315         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32316         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32317         [UNIX98] (pthread_barrierattr_init): Likewise.
32318         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32319         [UNIX98] (pthread_getcpuclockid): Likewise.
32320         [UNIX98] (pthread_mutex_timedlock): Likewise.
32321         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32322         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32323         [UNIX98] (pthread_sigmask): Likewise.
32324         [UNIX98] (pthread_spin_destroy): Likewise.
32325         [UNIX98] (pthread_spin_init): Likewise.
32326         [UNIX98] (pthread_spin_lock): Likewise.
32327         [UNIX98] (pthread_spin_trylock): Likewise.
32328         [UNIX98] (pthread_spin_unlock): Likewise.
32329         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32330         Do not expect.
32331         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32332         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32333         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32334         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32335         [XPG3 || XPG4] (pthread_key_t): Likewise.
32336         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32337         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32338         [XPG3 || XPG4] (pthread_once_t): Likewise.
32339         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32340         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32341         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32342         [XPG3 || XPG4] (pthread_t): Likewise.
32343
32344         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32345         not expect.
32346         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32347
32348         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32349         Change function return type to int.
32350
32351         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32352         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32353         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32354         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32355         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32356         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32357         [!POSIX] (posix_madvise): Likewise.
32358         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32359         && !UNIX98].
32360         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32361         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32362         (mode_t): Likewise.
32363         (posix_mem_offset): Likewise.
32364         (posix_typed_mem_get_info): Likewise.
32365         (posix_typed_mem_open): Likewise.
32366
32367         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32368         Change condition to [XOPEN2K8].
32369
32370         * conform/conformtest.pl: Preprocess allow-header data with -x c
32371         instead of from stdin.
32372         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32373         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32374         [C99-based standards] (cerfc): Likewise.
32375         [C99-based standards] (cexp2): Likewise.
32376         [C99-based standards] (cexpm1): Likewise.
32377         [C99-based standards] (clog10): Likewise.
32378         [C99-based standards] (clog1p): Likewise.
32379         [C99-based standards] (clog2): Likewise.
32380         [C99-based standards] (clgamma): Likewise.
32381         [C99-based standards] (ctgamma): Likewise.
32382         [C99-based standards] (cerff): Likewise.
32383         [C99-based standards] (cerfcf): Likewise.
32384         [C99-based standards] (cexp2f): Likewise.
32385         [C99-based standards] (cexpm1f): Likewise.
32386         [C99-based standards] (clog10f): Likewise.
32387         [C99-based standards] (clog1pf): Likewise.
32388         [C99-based standards] (clog2f): Likewise.
32389         [C99-based standards] (clgammaf): Likewise.
32390         [C99-based standards] (ctgammaf): Likewise.
32391         [C99-based standards] (cerfl): Likewise.
32392         [C99-based standards] (cerfcl): Likewise.
32393         [C99-based standards] (cexp2l): Likewise.
32394         [C99-based standards] (cexpm1l): Likewise.
32395         [C99-based standards] (clog10l): Likewise.
32396         [C99-based standards] (clog1pl): Likewise.
32397         [C99-based standards] (clog2l): Likewise.
32398         [C99-based standards] (clgammal): Likewise.
32399         [C99-based standards] (ctgammal): Likewise.
32400         * conform/data/inttypes.h-data [C99-based standards]: Include
32401         stdint.h-data.  Remove all expectations for stdint.h contents.
32402         [C99-based standards] (PRI*): Do not allow.
32403         [C99-based standards] (SCN*): Likewise.
32404         [C99-based standards] (*_t): Likewise.
32405         [C99-based-standards] (PRId8): Expect macro.
32406         [C99-based-standards] (PRIi8): Likewise.
32407         [C99-based-standards] (PRIo8): Likewise.
32408         [C99-based-standards] (PRIu8): Likewise.
32409         [C99-based-standards] (PRIx8): Likewise.
32410         [C99-based-standards] (PRIX8): Likewise.
32411         [C99-based-standards] (SCNd8): Likewise.
32412         [C99-based-standards] (SCNi8): Likewise.
32413         [C99-based-standards] (SCNo8): Likewise.
32414         [C99-based-standards] (SCNu8): Likewise.
32415         [C99-based-standards] (SCNx8): Likewise.
32416         [C99-based-standards] (PRIdLEAST8): Likewise.
32417         [C99-based-standards] (PRIiLEAST8): Likewise.
32418         [C99-based-standards] (PRIoLEAST8): Likewise.
32419         [C99-based-standards] (PRIuLEAST8): Likewise.
32420         [C99-based-standards] (PRIxLEAST8): Likewise.
32421         [C99-based-standards] (PRIXLEAST8): Likewise.
32422         [C99-based-standards] (SCNdLEAST8): Likewise.
32423         [C99-based-standards] (SCNiLEAST8): Likewise.
32424         [C99-based-standards] (SCNoLEAST8): Likewise.
32425         [C99-based-standards] (SCNuLEAST8): Likewise.
32426         [C99-based-standards] (SCNxLEAST8): Likewise.
32427         [C99-based-standards] (PRIdFAST8): Likewise.
32428         [C99-based-standards] (PRIiFAST8): Likewise.
32429         [C99-based-standards] (PRIoFAST8): Likewise.
32430         [C99-based-standards] (PRIuFAST8): Likewise.
32431         [C99-based-standards] (PRIxFAST8): Likewise.
32432         [C99-based-standards] (PRIXFAST8): Likewise.
32433         [C99-based-standards] (SCNdFAST8): Likewise.
32434         [C99-based-standards] (SCNiFAST8): Likewise.
32435         [C99-based-standards] (SCNoFAST8): Likewise.
32436         [C99-based-standards] (SCNuFAST8): Likewise.
32437         [C99-based-standards] (SCNxFAST8): Likewise.
32438         [C99-based-standards] (PRId16): Likewise.
32439         [C99-based-standards] (PRIi16): Likewise.
32440         [C99-based-standards] (PRIo16): Likewise.
32441         [C99-based-standards] (PRIu16): Likewise.
32442         [C99-based-standards] (PRIx16): Likewise.
32443         [C99-based-standards] (PRIX16): Likewise.
32444         [C99-based-standards] (SCNd16): Likewise.
32445         [C99-based-standards] (SCNi16): Likewise.
32446         [C99-based-standards] (SCNo16): Likewise.
32447         [C99-based-standards] (SCNu16): Likewise.
32448         [C99-based-standards] (SCNx16): Likewise.
32449         [C99-based-standards] (PRIdLEAST16): Likewise.
32450         [C99-based-standards] (PRIiLEAST16): Likewise.
32451         [C99-based-standards] (PRIoLEAST16): Likewise.
32452         [C99-based-standards] (PRIuLEAST16): Likewise.
32453         [C99-based-standards] (PRIxLEAST16): Likewise.
32454         [C99-based-standards] (PRIXLEAST16): Likewise.
32455         [C99-based-standards] (SCNdLEAST16): Likewise.
32456         [C99-based-standards] (SCNiLEAST16): Likewise.
32457         [C99-based-standards] (SCNoLEAST16): Likewise.
32458         [C99-based-standards] (SCNuLEAST16): Likewise.
32459         [C99-based-standards] (SCNxLEAST16): Likewise.
32460         [C99-based-standards] (PRIdFAST16): Likewise.
32461         [C99-based-standards] (PRIiFAST16): Likewise.
32462         [C99-based-standards] (PRIoFAST16): Likewise.
32463         [C99-based-standards] (PRIuFAST16): Likewise.
32464         [C99-based-standards] (PRIxFAST16): Likewise.
32465         [C99-based-standards] (PRIXFAST16): Likewise.
32466         [C99-based-standards] (SCNdFAST16): Likewise.
32467         [C99-based-standards] (SCNiFAST16): Likewise.
32468         [C99-based-standards] (SCNoFAST16): Likewise.
32469         [C99-based-standards] (SCNuFAST16): Likewise.
32470         [C99-based-standards] (SCNxFAST16): Likewise.
32471         [C99-based-standards] (PRId32): Likewise.
32472         [C99-based-standards] (PRIi32): Likewise.
32473         [C99-based-standards] (PRIo32): Likewise.
32474         [C99-based-standards] (PRIu32): Likewise.
32475         [C99-based-standards] (PRIx32): Likewise.
32476         [C99-based-standards] (PRIX32): Likewise.
32477         [C99-based-standards] (SCNd32): Likewise.
32478         [C99-based-standards] (SCNi32): Likewise.
32479         [C99-based-standards] (SCNo32): Likewise.
32480         [C99-based-standards] (SCNu32): Likewise.
32481         [C99-based-standards] (SCNx32): Likewise.
32482         [C99-based-standards] (PRIdLEAST32): Likewise.
32483         [C99-based-standards] (PRIiLEAST32): Likewise.
32484         [C99-based-standards] (PRIoLEAST32): Likewise.
32485         [C99-based-standards] (PRIuLEAST32): Likewise.
32486         [C99-based-standards] (PRIxLEAST32): Likewise.
32487         [C99-based-standards] (PRIXLEAST32): Likewise.
32488         [C99-based-standards] (SCNdLEAST32): Likewise.
32489         [C99-based-standards] (SCNiLEAST32): Likewise.
32490         [C99-based-standards] (SCNoLEAST32): Likewise.
32491         [C99-based-standards] (SCNuLEAST32): Likewise.
32492         [C99-based-standards] (SCNxLEAST32): Likewise.
32493         [C99-based-standards] (PRIdFAST32): Likewise.
32494         [C99-based-standards] (PRIiFAST32): Likewise.
32495         [C99-based-standards] (PRIoFAST32): Likewise.
32496         [C99-based-standards] (PRIuFAST32): Likewise.
32497         [C99-based-standards] (PRIxFAST32): Likewise.
32498         [C99-based-standards] (PRIXFAST32): Likewise.
32499         [C99-based-standards] (SCNdFAST32): Likewise.
32500         [C99-based-standards] (SCNiFAST32): Likewise.
32501         [C99-based-standards] (SCNoFAST32): Likewise.
32502         [C99-based-standards] (SCNuFAST32): Likewise.
32503         [C99-based-standards] (SCNxFAST32): Likewise.
32504         [C99-based-standards] (PRId64): Likewise.
32505         [C99-based-standards] (PRIi64): Likewise.
32506         [C99-based-standards] (PRIo64): Likewise.
32507         [C99-based-standards] (PRIu64): Likewise.
32508         [C99-based-standards] (PRIx64): Likewise.
32509         [C99-based-standards] (PRIX64): Likewise.
32510         [C99-based-standards] (SCNd64): Likewise.
32511         [C99-based-standards] (SCNi64): Likewise.
32512         [C99-based-standards] (SCNo64): Likewise.
32513         [C99-based-standards] (SCNu64): Likewise.
32514         [C99-based-standards] (SCNx64): Likewise.
32515         [C99-based-standards] (PRIdLEAST64): Likewise.
32516         [C99-based-standards] (PRIiLEAST64): Likewise.
32517         [C99-based-standards] (PRIoLEAST64): Likewise.
32518         [C99-based-standards] (PRIuLEAST64): Likewise.
32519         [C99-based-standards] (PRIxLEAST64): Likewise.
32520         [C99-based-standards] (PRIXLEAST64): Likewise.
32521         [C99-based-standards] (SCNdLEAST64): Likewise.
32522         [C99-based-standards] (SCNiLEAST64): Likewise.
32523         [C99-based-standards] (SCNoLEAST64): Likewise.
32524         [C99-based-standards] (SCNuLEAST64): Likewise.
32525         [C99-based-standards] (SCNxLEAST64): Likewise.
32526         [C99-based-standards] (PRIdFAST64): Likewise.
32527         [C99-based-standards] (PRIiFAST64): Likewise.
32528         [C99-based-standards] (PRIoFAST64): Likewise.
32529         [C99-based-standards] (PRIuFAST64): Likewise.
32530         [C99-based-standards] (PRIxFAST64): Likewise.
32531         [C99-based-standards] (PRIXFAST64): Likewise.
32532         [C99-based-standards] (SCNdFAST64): Likewise.
32533         [C99-based-standards] (SCNiFAST64): Likewise.
32534         [C99-based-standards] (SCNoFAST64): Likewise.
32535         [C99-based-standards] (SCNuFAST64): Likewise.
32536         [C99-based-standards] (SCNxFAST64): Likewise.
32537         [C99-based-standards] (PRIdMAX): Likewise.
32538         [C99-based-standards] (PRIiMAX): Likewise.
32539         [C99-based-standards] (PRIoMAX): Likewise.
32540         [C99-based-standards] (PRIuMAX): Likewise.
32541         [C99-based-standards] (PRIxMAX): Likewise.
32542         [C99-based-standards] (PRIXMAX): Likewise.
32543         [C99-based-standards] (SCNdMAX): Likewise.
32544         [C99-based-standards] (SCNiMAX): Likewise.
32545         [C99-based-standards] (SCNoMAX): Likewise.
32546         [C99-based-standards] (SCNuMAX): Likewise.
32547         [C99-based-standards] (SCNxMAX): Likewise.
32548         [C99-based-standards] (PRIdPTR): Likewise.
32549         [C99-based-standards] (PRIiPTR): Likewise.
32550         [C99-based-standards] (PRIoPTR): Likewise.
32551         [C99-based-standards] (PRIuPTR): Likewise.
32552         [C99-based-standards] (PRIxPTR): Likewise.
32553         [C99-based-standards] (PRIXPTR): Likewise.
32554         [C99-based-standards] (SCNdPTR): Likewise.
32555         [C99-based-standards] (SCNiPTR): Likewise.
32556         [C99-based-standards] (SCNoPTR): Likewise.
32557         [C99-based-standards] (SCNuPTR): Likewise.
32558         [C99-based-standards] (SCNxPTR): Likewise.
32559         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32560         allow.
32561         * conform/data/stdint.h-data: Update comments to clarify
32562         requirements.
32563         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32564         type.
32565         [C99-based standards] (INT8_MAX): Likewise.
32566         [C99-based standards] (INT16_MIN): Likewise.
32567         [C99-based standards] (INT16_MAX): Likewise.
32568         [C99-based standards] (INT32_MIN): Likewise.
32569         [C99-based standards] (INT32_MAX): Likewise.
32570         [C99-based standards] (INT64_MIN): Likewise.
32571         [C99-based standards] (INT64_MAX): Likewise.
32572         [C99-based standards] (UINT8_MAX): Likewise.
32573         [C99-based standards] (UINT16_MAX): Likewise.
32574         [C99-based standards] (UINT32_MAX): Likewise.
32575         [C99-based standards] (UINT64_MAX): Likewise.
32576         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32577         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32578         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32579         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32580         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32581         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32582         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32583         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32584         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32585         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32586         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32587         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32588         [C99-based standards] (INT_FAST8_MIN): Likewise.
32589         [C99-based standards] (INT_FAST8_MAX): Likewise.
32590         [C99-based standards] (INT_FAST16_MIN): Likewise.
32591         [C99-based standards] (INT_FAST16_MAX): Likewise.
32592         [C99-based standards] (INT_FAST32_MIN): Likewise.
32593         [C99-based standards] (INT_FAST32_MAX): Likewise.
32594         [C99-based standards] (INT_FAST64_MIN): Likewise.
32595         [C99-based standards] (INT_FAST64_MAX): Likewise.
32596         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32597         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32598         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32599         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32600         [C99-based standards] (INTPTR_MIN): Likewise.
32601         [C99-based standards] (INTPTR_MAX): Likewise.
32602         [C99-based standards] (UINTPTR_MAX): Likewise.
32603         [C99-based standards] (INTMAX_MIN): Likewise.
32604         [C99-based standards] (INTMAX_MAX): Likewise.
32605         [C99-based standards] (UINTMAX_MAX): Likewise.
32606         [C99-based standards] (PTRDIFF_MIN): Likewise.
32607         [C99-based standards] (PTRDIFF_MAX): Likewise.
32608         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32609         [C99-based standards] (SIZE_MAX): Likewise.
32610         [C99-based standards] (WCHAR_MAX): Likewise.
32611         [C99-based standards] (WINT_MAX): Likewise.
32612         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32613         constraint on value.
32614         [C99-based standards] (WCHAR_MIN): Likewise.
32615         [C99-based standards] (WINT_MIN): Likewise.
32616         [C99-based standards] (*_t): Allow.
32617         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32618         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32619         Include math.h-data and complex.h-data.  Remove all expectations
32620         of math.h and complex.h contents.
32621         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32622         at end of line.
32623         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32624         (struct tm): Expect tag.
32625         [C99-based-standards] (wcstof): Expect function.
32626         [C99-based-standards] (wcstold): Likewise.
32627         [C99-based-standards] (wcstoll): Likewise.
32628         [C99-based-standards] (wcstoull): Likewise.
32629         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32630         macro-int-constant.  Specify type.
32631         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32632         constraint on value.
32633         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32634         Specify type.
32635         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32636         Specify value.
32637         [ISO C standards]: Do not allow headers.
32638         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32639         wcs[abcdefghijklmnopqrstuvwxyz]*.
32640         [ISO C standards] (*_t): Do not allow.
32641         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32642         Expect function.
32643         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32644         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32645         Specify type.
32646         [ISO C standards]: Do not allow headers.
32647         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32648         is[abcdefghijklmnopqrstuvwxyz]*.
32649         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32650         to[abcdefghijklmnopqrstuvwxyz]*.
32651         [ISO C standards] (*_t): Do not allow.
32652         * conform/data/stdalign.h-data: New file.
32653         * conform/data/stdbool.h-data: Likewise.
32654         * conform/data/stdnoreturn.h-data: Likewise.
32655
32656 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32657
32658         [BZ #14815]
32659         * manual/filesys.texi (Directory Entries): Typo fix.
32660         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32661
32662 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32663
32664         * elf/elf.h (EM_AARCH64): New macro.
32665         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32666         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32667         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32668         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32669         (R_AARCH64_TLSDESC): Likewise.
32670         (NT_ARM_TLS): Likewise.
32671         (NT_ARM_HW_BREAK): Likewise.
32672         (NT_ARM_HW_WATCH): Likewise.
32673
32674 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32675
32676         [BZ #14811]
32677         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32678         (__ieee754_powl): Saturate nonzero exponents with absolute value
32679         below 0x1p-79 to +/- 0x1p-79.
32680         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32681         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32682         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32683         nonzero exponents with absolute value below 0x1p-32 to +/-
32684         0x1p-32.
32685         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32686         (__ieee754_powl): Saturate nonzero exponents with absolute value
32687         below 0x1p-79 to +/- 0x1p-79.
32688         * math/libm-test.inc (pow_test): Add more tests.
32689
32690 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32691
32692         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32693         _dl_s390_cap_flags with kernel. Increase string length.
32694         (_dl_s390_platforms): Add z196 and zEC12.
32695
32696 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32697
32698         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32699         Change XOPEN21K to XOPEN2K.
32700
32701 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32702
32703         * string/memmove.c: Use memcpy when possible.
32704
32705 2012-11-06  Andreas Jaeger  <aj@suse.de>
32706
32707         * po/eo.po: Update from translation team.
32708
32709 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32710
32711         [BZ #14793]
32712         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32713         exponent and small x and y exponents, scale x or y up.  Increase
32714         by 2 the exponent used in scaling up.
32715         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32716         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32717         * math/libm-test.inc (fma_test): Add more tests.
32718         (fma_test_towardzero): Likewise.
32719         (fma_test_downward): Likewise.
32720         (fma_test_upward): Likewise.
32721
32722 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32723
32724         [BZ #14805]
32725         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32726         fenv_t *.
32727
32728         [BZ #14801]
32729         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32730         namespace for names of struct fields.
32731         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32732         fenv_t fields.
32733         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32734         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32735
32736 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32737
32738         [BZ #3665]
32739         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32740
32741 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32742
32743         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32744         PTR_DEMANGLE.
32745
32746         [BZ #5246]
32747         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32748         PTR_DEMANGLE.
32749
32750 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32751
32752         [BZ #14797]
32753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32754         definitely overflow as x * y not x * y + z.
32755         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32756         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32757         * math/libm-test.inc (fma_test): Add more tests.
32758         (fma_test_towardzero): Likewise.
32759         (fma_test_downward): Likewise.
32760         (fma_test_upward): Likewise.
32761
32762 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32763
32764         [BZ #157]
32765
32766         * include/stub-tag.h: Remove file.
32767         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32768         '#include' of it.
32769         * manual/maint.texi (Porting): Don't reference it.
32770         * Makerules ($(objpfx)stubs): Likewise.
32771         * dirent/closedir.c: Don't include <stub-tag.h>.
32772         * dirent/dirfd.c: Likewise.
32773         * dirent/fdopendir.c: Likewise.
32774         * dirent/getdents.c: Likewise.
32775         * dirent/getdents64.c: Likewise.
32776         * dirent/opendir.c: Likewise.
32777         * dirent/readdir.c: Likewise.
32778         * dirent/readdir64.c: Likewise.
32779         * dirent/readdir64_r.c: Likewise.
32780         * dirent/readdir_r.c: Likewise.
32781         * dirent/rewinddir.c: Likewise.
32782         * dirent/seekdir.c: Likewise.
32783         * dirent/telldir.c: Likewise.
32784         * gmon/profil.c: Likewise.
32785         * grp/setgroups.c: Likewise.
32786         * inet/if_index.c: Likewise.
32787         * io/access.c: Likewise.
32788         * io/chdir.c: Likewise.
32789         * io/chmod.c: Likewise.
32790         * io/chown.c: Likewise.
32791         * io/close.c: Likewise.
32792         * io/dup.c: Likewise.
32793         * io/dup2.c: Likewise.
32794         * io/dup3.c: Likewise.
32795         * io/euidaccess.c: Likewise.
32796         * io/faccessat.c: Likewise.
32797         * io/fchdir.c: Likewise.
32798         * io/fchmod.c: Likewise.
32799         * io/fchmodat.c: Likewise.
32800         * io/fchown.c: Likewise.
32801         * io/fchownat.c: Likewise.
32802         * io/fcntl.c: Likewise.
32803         * io/flock.c: Likewise.
32804         * io/fstatfs.c: Likewise.
32805         * io/fstatfs64.c: Likewise.
32806         * io/fstatvfs.c: Likewise.
32807         * io/fstatvfs64.c: Likewise.
32808         * io/futimens.c: Likewise.
32809         * io/fxstat.c: Likewise.
32810         * io/fxstat64.c: Likewise.
32811         * io/fxstatat.c: Likewise.
32812         * io/fxstatat64.c: Likewise.
32813         * io/getcwd.c: Likewise.
32814         * io/isatty.c: Likewise.
32815         * io/lchmod.c: Likewise.
32816         * io/lchown.c: Likewise.
32817         * io/link.c: Likewise.
32818         * io/linkat.c: Likewise.
32819         * io/lseek.c: Likewise.
32820         * io/lseek64.c: Likewise.
32821         * io/lxstat64.c: Likewise.
32822         * io/mkdir.c: Likewise.
32823         * io/mkdirat.c: Likewise.
32824         * io/mkfifo.c: Likewise.
32825         * io/mkfifoat.c: Likewise.
32826         * io/open.c: Likewise.
32827         * io/open64.c: Likewise.
32828         * io/openat.c: Likewise.
32829         * io/openat64.c: Likewise.
32830         * io/pipe.c: Likewise.
32831         * io/pipe2.c: Likewise.
32832         * io/poll.c: Likewise.
32833         * io/posix_fadvise.c: Likewise.
32834         * io/posix_fadvise64.c: Likewise.
32835         * io/posix_fallocate.c: Likewise.
32836         * io/posix_fallocate64.c: Likewise.
32837         * io/read.c: Likewise.
32838         * io/readlink.c: Likewise.
32839         * io/readlinkat.c: Likewise.
32840         * io/rmdir.c: Likewise.
32841         * io/sendfile.c: Likewise.
32842         * io/sendfile64.c: Likewise.
32843         * io/statfs.c: Likewise.
32844         * io/statfs64.c: Likewise.
32845         * io/statvfs.c: Likewise.
32846         * io/statvfs64.c: Likewise.
32847         * io/symlink.c: Likewise.
32848         * io/symlinkat.c: Likewise.
32849         * io/ttyname.c: Likewise.
32850         * io/ttyname_r.c: Likewise.
32851         * io/umask.c: Likewise.
32852         * io/unlink.c: Likewise.
32853         * io/unlinkat.c: Likewise.
32854         * io/utime.c: Likewise.
32855         * io/utimensat.c: Likewise.
32856         * io/write.c: Likewise.
32857         * io/xmknod.c: Likewise.
32858         * io/xmknodat.c: Likewise.
32859         * io/xstat.c: Likewise.
32860         * io/xstat64.c: Likewise.
32861         * login/getpt.c: Likewise.
32862         * login/grantpt.c: Likewise.
32863         * login/unlockpt.c: Likewise.
32864         * math/e_acoshl.c: Likewise.
32865         * math/e_acosl.c: Likewise.
32866         * math/e_asinl.c: Likewise.
32867         * math/e_atan2l.c: Likewise.
32868         * math/e_atanhl.c: Likewise.
32869         * math/e_coshl.c: Likewise.
32870         * math/e_expl.c: Likewise.
32871         * math/e_fmodl.c: Likewise.
32872         * math/e_gammal_r.c: Likewise.
32873         * math/e_hypotl.c: Likewise.
32874         * math/e_j0l.c: Likewise.
32875         * math/e_j1l.c: Likewise.
32876         * math/e_jnl.c: Likewise.
32877         * math/e_lgammal_r.c: Likewise.
32878         * math/e_log10l.c: Likewise.
32879         * math/e_log2l.c: Likewise.
32880         * math/e_logl.c: Likewise.
32881         * math/e_powl.c: Likewise.
32882         * math/e_rem_pio2l.c: Likewise.
32883         * math/e_sinhl.c: Likewise.
32884         * math/e_sqrtl.c: Likewise.
32885         * math/fclrexcpt.c: Likewise.
32886         * math/fedisblxcpt.c: Likewise.
32887         * math/feenablxcpt.c: Likewise.
32888         * math/fegetenv.c: Likewise.
32889         * math/fegetexcept.c: Likewise.
32890         * math/fegetround.c: Likewise.
32891         * math/feholdexcpt.c: Likewise.
32892         * math/fesetenv.c: Likewise.
32893         * math/fesetround.c: Likewise.
32894         * math/feupdateenv.c: Likewise.
32895         * math/fgetexcptflg.c: Likewise.
32896         * math/fraiseexcpt.c: Likewise.
32897         * math/fsetexcptflg.c: Likewise.
32898         * math/ftestexcept.c: Likewise.
32899         * math/k_cosl.c: Likewise.
32900         * math/k_rem_pio2l.c: Likewise.
32901         * math/k_sinl.c: Likewise.
32902         * math/k_tanl.c: Likewise.
32903         * math/s_asinhl.c: Likewise.
32904         * math/s_atanl.c: Likewise.
32905         * math/s_cbrtl.c: Likewise.
32906         * math/s_erfl.c: Likewise.
32907         * math/s_expm1l.c: Likewise.
32908         * math/s_log1pl.c: Likewise.
32909         * math/s_tanhl.c: Likewise.
32910         * misc/acct.c: Likewise.
32911         * misc/brk.c: Likewise.
32912         * misc/chflags.c: Likewise.
32913         * misc/chroot.c: Likewise.
32914         * misc/fchflags.c: Likewise.
32915         * misc/fgetxattr.c: Likewise.
32916         * misc/flistxattr.c: Likewise.
32917         * misc/fremovexattr.c: Likewise.
32918         * misc/fsetxattr.c: Likewise.
32919         * misc/fsync.c: Likewise.
32920         * misc/ftruncate.c: Likewise.
32921         * misc/futimes.c: Likewise.
32922         * misc/futimesat.c: Likewise.
32923         * misc/getdomain.c: Likewise.
32924         * misc/getdtsz.c: Likewise.
32925         * misc/gethostid.c: Likewise.
32926         * misc/gethostname.c: Likewise.
32927         * misc/getloadavg.c: Likewise.
32928         * misc/getpagesize.c: Likewise.
32929         * misc/getsysstats.c: Likewise.
32930         * misc/getxattr.c: Likewise.
32931         * misc/gtty.c: Likewise.
32932         * misc/ioctl.c: Likewise.
32933         * misc/lgetxattr.c: Likewise.
32934         * misc/listxattr.c: Likewise.
32935         * misc/llistxattr.c: Likewise.
32936         * misc/lremovexattr.c: Likewise.
32937         * misc/lsetxattr.c: Likewise.
32938         * misc/lutimes.c: Likewise.
32939         * misc/madvise.c: Likewise.
32940         * misc/mincore.c: Likewise.
32941         * misc/mlock.c: Likewise.
32942         * misc/mlockall.c: Likewise.
32943         * misc/mmap.c: Likewise.
32944         * misc/mprotect.c: Likewise.
32945         * misc/msync.c: Likewise.
32946         * misc/munlock.c: Likewise.
32947         * misc/munlockall.c: Likewise.
32948         * misc/munmap.c: Likewise.
32949         * misc/preadv.c: Likewise.
32950         * misc/preadv64.c: Likewise.
32951         * misc/ptrace.c: Likewise.
32952         * misc/pwritev.c: Likewise.
32953         * misc/pwritev64.c: Likewise.
32954         * misc/readv.c: Likewise.
32955         * misc/reboot.c: Likewise.
32956         * misc/remap_file_pages.c: Likewise.
32957         * misc/removexattr.c: Likewise.
32958         * misc/revoke.c: Likewise.
32959         * misc/select.c: Likewise.
32960         * misc/setdomain.c: Likewise.
32961         * misc/setegid.c: Likewise.
32962         * misc/seteuid.c: Likewise.
32963         * misc/sethostid.c: Likewise.
32964         * misc/sethostname.c: Likewise.
32965         * misc/setregid.c: Likewise.
32966         * misc/setreuid.c: Likewise.
32967         * misc/setxattr.c: Likewise.
32968         * misc/sstk.c: Likewise.
32969         * misc/stty.c: Likewise.
32970         * misc/swapoff.c: Likewise.
32971         * misc/swapon.c: Likewise.
32972         * misc/sync.c: Likewise.
32973         * misc/syncfs.c: Likewise.
32974         * misc/syscall.c: Likewise.
32975         * misc/truncate.c: Likewise.
32976         * misc/ualarm.c: Likewise.
32977         * misc/usleep.c: Likewise.
32978         * misc/ustat.c: Likewise.
32979         * misc/utimes.c: Likewise.
32980         * misc/vhangup.c: Likewise.
32981         * misc/writev.c: Likewise.
32982         * posix/_exit.c: Likewise.
32983         * posix/alarm.c: Likewise.
32984         * posix/execve.c: Likewise.
32985         * posix/fexecve.c: Likewise.
32986         * posix/fork.c: Likewise.
32987         * posix/fpathconf.c: Likewise.
32988         * posix/getaddrinfo.c: Likewise.
32989         * posix/getegid.c: Likewise.
32990         * posix/geteuid.c: Likewise.
32991         * posix/getgid.c: Likewise.
32992         * posix/getgroups.c: Likewise.
32993         * posix/getlogin.c: Likewise.
32994         * posix/getlogin_r.c: Likewise.
32995         * posix/getpgid.c: Likewise.
32996         * posix/getpid.c: Likewise.
32997         * posix/getppid.c: Likewise.
32998         * posix/getresgid.c: Likewise.
32999         * posix/getresuid.c: Likewise.
33000         * posix/getsid.c: Likewise.
33001         * posix/getuid.c: Likewise.
33002         * posix/glob64.c: Likewise.
33003         * posix/nanosleep.c: Likewise.
33004         * posix/pathconf.c: Likewise.
33005         * posix/pause.c: Likewise.
33006         * posix/posix_madvise.c: Likewise.
33007         * posix/pread.c: Likewise.
33008         * posix/pread64.c: Likewise.
33009         * posix/pwrite.c: Likewise.
33010         * posix/pwrite64.c: Likewise.
33011         * posix/sched_getaffinity.c: Likewise.
33012         * posix/sched_getp.c: Likewise.
33013         * posix/sched_gets.c: Likewise.
33014         * posix/sched_primax.c: Likewise.
33015         * posix/sched_primin.c: Likewise.
33016         * posix/sched_rr_gi.c: Likewise.
33017         * posix/sched_setaffinity.c: Likewise.
33018         * posix/sched_setp.c: Likewise.
33019         * posix/sched_sets.c: Likewise.
33020         * posix/sched_yield.c: Likewise.
33021         * posix/setgid.c: Likewise.
33022         * posix/setlogin.c: Likewise.
33023         * posix/setpgid.c: Likewise.
33024         * posix/setresgid.c: Likewise.
33025         * posix/setresuid.c: Likewise.
33026         * posix/setsid.c: Likewise.
33027         * posix/setuid.c: Likewise.
33028         * posix/sleep.c: Likewise.
33029         * posix/spawni.c: Likewise.
33030         * posix/sysconf.c: Likewise.
33031         * posix/times.c: Likewise.
33032         * posix/wait.c: Likewise.
33033         * posix/wait3.c: Likewise.
33034         * posix/wait4.c: Likewise.
33035         * posix/waitpid.c: Likewise.
33036         * resolv/gai_sigqueue.c: Likewise.
33037         * resource/getpriority.c: Likewise.
33038         * resource/getrlimit.c: Likewise.
33039         * resource/getrusage.c: Likewise.
33040         * resource/nice.c: Likewise.
33041         * resource/setpriority.c: Likewise.
33042         * resource/setrlimit.c: Likewise.
33043         * resource/ulimit.c: Likewise.
33044         * rt/aio_cancel.c: Likewise.
33045         * rt/aio_fsync.c: Likewise.
33046         * rt/aio_read.c: Likewise.
33047         * rt/aio_sigqueue.c: Likewise.
33048         * rt/aio_suspend.c: Likewise.
33049         * rt/aio_write.c: Likewise.
33050         * rt/clock_getres.c: Likewise.
33051         * rt/clock_gettime.c: Likewise.
33052         * rt/clock_nanosleep.c: Likewise.
33053         * rt/clock_settime.c: Likewise.
33054         * rt/lio_listio.c: Likewise.
33055         * rt/mq_close.c: Likewise.
33056         * rt/mq_getattr.c: Likewise.
33057         * rt/mq_notify.c: Likewise.
33058         * rt/mq_open.c: Likewise.
33059         * rt/mq_receive.c: Likewise.
33060         * rt/mq_send.c: Likewise.
33061         * rt/mq_setattr.c: Likewise.
33062         * rt/mq_timedreceive.c: Likewise.
33063         * rt/mq_timedsend.c: Likewise.
33064         * rt/mq_unlink.c: Likewise.
33065         * rt/shm_open.c: Likewise.
33066         * rt/shm_unlink.c: Likewise.
33067         * rt/timer_create.c: Likewise.
33068         * rt/timer_delete.c: Likewise.
33069         * rt/timer_getoverr.c: Likewise.
33070         * rt/timer_gettime.c: Likewise.
33071         * rt/timer_settime.c: Likewise.
33072         * setjmp/__longjmp.c: Likewise.
33073         * setjmp/setjmp.c: Likewise.
33074         * signal/kill.c: Likewise.
33075         * signal/killpg.c: Likewise.
33076         * signal/raise.c: Likewise.
33077         * signal/sigaction.c: Likewise.
33078         * signal/sigaltstack.c: Likewise.
33079         * signal/sigblock.c: Likewise.
33080         * signal/sigignore.c: Likewise.
33081         * signal/sigintr.c: Likewise.
33082         * signal/signal.c: Likewise.
33083         * signal/sigpause.c: Likewise.
33084         * signal/sigpending.c: Likewise.
33085         * signal/sigqueue.c: Likewise.
33086         * signal/sigreturn.c: Likewise.
33087         * signal/sigset.c: Likewise.
33088         * signal/sigsetmask.c: Likewise.
33089         * signal/sigstack.c: Likewise.
33090         * signal/sigsuspend.c: Likewise.
33091         * signal/sigtimedwait.c: Likewise.
33092         * signal/sigvec.c: Likewise.
33093         * signal/sigwait.c: Likewise.
33094         * signal/sigwaitinfo.c: Likewise.
33095         * signal/sysv_signal.c: Likewise.
33096         * socket/accept.c: Likewise.
33097         * socket/accept4.c: Likewise.
33098         * socket/bind.c: Likewise.
33099         * socket/connect.c: Likewise.
33100         * socket/getpeername.c: Likewise.
33101         * socket/getsockname.c: Likewise.
33102         * socket/getsockopt.c: Likewise.
33103         * socket/isfdtype.c: Likewise.
33104         * socket/listen.c: Likewise.
33105         * socket/recv.c: Likewise.
33106         * socket/recvfrom.c: Likewise.
33107         * socket/recvmsg.c: Likewise.
33108         * socket/send.c: Likewise.
33109         * socket/sendmsg.c: Likewise.
33110         * socket/sendto.c: Likewise.
33111         * socket/setsockopt.c: Likewise.
33112         * socket/shutdown.c: Likewise.
33113         * socket/sockatmark.c: Likewise.
33114         * socket/socket.c: Likewise.
33115         * socket/socketpair.c: Likewise.
33116         * stdio-common/ctermid.c: Likewise.
33117         * stdio-common/cuserid.c: Likewise.
33118         * stdio-common/remove.c: Likewise.
33119         * stdio-common/rename.c: Likewise.
33120         * stdio-common/renameat.c: Likewise.
33121         * stdio-common/tempname.c: Likewise.
33122         * stdlib/getcontext.c: Likewise.
33123         * stdlib/makecontext.c: Likewise.
33124         * stdlib/setcontext.c: Likewise.
33125         * stdlib/swapcontext.c: Likewise.
33126         * stdlib/system.c: Likewise.
33127         * streams/fattach.c: Likewise.
33128         * streams/fdetach.c: Likewise.
33129         * streams/getmsg.c: Likewise.
33130         * streams/getpmsg.c: Likewise.
33131         * streams/putmsg.c: Likewise.
33132         * streams/putpmsg.c: Likewise.
33133         * sysdeps/unix/bsd/getpt.c: Likewise.
33134         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33135         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33136         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33138         Likewise.
33139         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33140         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33141         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33142         * sysvipc/msgctl.c: Likewise.
33143         * sysvipc/msgget.c: Likewise.
33144         * sysvipc/msgrcv.c: Likewise.
33145         * sysvipc/msgsnd.c: Likewise.
33146         * sysvipc/semctl.c: Likewise.
33147         * sysvipc/semget.c: Likewise.
33148         * sysvipc/semop.c: Likewise.
33149         * sysvipc/semtimedop.c: Likewise.
33150         * sysvipc/shmat.c: Likewise.
33151         * sysvipc/shmctl.c: Likewise.
33152         * sysvipc/shmdt.c: Likewise.
33153         * sysvipc/shmget.c: Likewise.
33154         * termios/tcdrain.c: Likewise.
33155         * termios/tcflow.c: Likewise.
33156         * termios/tcflush.c: Likewise.
33157         * termios/tcgetattr.c: Likewise.
33158         * termios/tcgetpgrp.c: Likewise.
33159         * termios/tcsendbrk.c: Likewise.
33160         * termios/tcsetattr.c: Likewise.
33161         * termios/tcsetpgrp.c: Likewise.
33162         * time/adjtime.c: Likewise.
33163         * time/clock.c: Likewise.
33164         * time/getitimer.c: Likewise.
33165         * time/gettimeofday.c: Likewise.
33166         * time/setitimer.c: Likewise.
33167         * time/settimeofday.c: Likewise.
33168         * time/stime.c: Likewise.
33169         * time/time.c: Likewise.
33170
33171 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33172
33173         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33174         /usr/old/bin.
33175
33176         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33177         instead of spaces.
33178         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33179
33180 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33181
33182         [BZ #14796]
33183         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33184         FE_TONEAREST before applying Dekker multiplication and Knuth
33185         addition.  Clear inexact exceptions and check for exact zero
33186         results afterwards.
33187         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33188         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33189         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33190         * math/libm-test.inc (fma_test): Add more tests.
33191         (fma_test_towardzero): Likewise.
33192         (fma_test_downward): Likewise.
33193         (fma_test_upward): Likewise.
33194         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33195         function.
33196         (libc_fesetround): New macro.
33197         (libc_fesetroundf): Likewise.
33198         (libc_fesetroundl): Likewise.
33199         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33200         function.
33201         (libc_fesetround_387): Likewise.
33202         (libc_fesetroundf): New macro.
33203         (libc_fesetround): Likewise.
33204         (libc_fesetroundl): Likewise.
33205         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33206         function.
33207         (libc_fesetroundf): New macro.
33208         (libc_fesetround): Likewise.
33209         (libc_fesetroundl): Likewise.
33210         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33211         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33212         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33213         libm_hidden_ver.
33214         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33215         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33216         libm_hidden_def.
33217         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33218         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33219         libm_hidden_ver.
33220         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33221         libm_hidden_def.
33222
33223         [BZ #3439]
33224         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33225         integer constant usable in #if and use that to give value to enum
33226         constant.
33227         (FE_DIVBYZERO): Likewise.
33228         (FE_UNDERFLOW): Likewise.
33229         (FE_OVERFLOW): Likewise.
33230         (FE_INVALID): Likewise.
33231         (FE_INVALID_SNAN): Likewise.
33232         (FE_INVALID_ISI): Likewise.
33233         (FE_INVALID_IDI): Likewise.
33234         (FE_INVALID_ZDZ): Likewise.
33235         (FE_INVALID_IMZ): Likewise.
33236         (FE_INVALID_COMPARE): Likewise.
33237         (FE_INVALID_SOFTWARE): Likewise.
33238         (FE_INVALID_SQRT): Likewise.
33239         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33240         (FE_TONEAREST): Likewise.
33241         (FE_TOWARDZERO): Likewise.
33242         (FE_UPWARD): Likewise.
33243         (FE_DOWNWARD): Likewise.
33244         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33245         (FE_DIVBYZERO): Likewise.
33246         (FE_OVERFLOW): Likewise.
33247         (FE_UNDERFLOW): Likewise.
33248         (FE_INEXACT): Likewise.
33249         (FE_TONEAREST): Likewise.
33250         (FE_DOWNWARD): Likewise.
33251         (FE_UPWARD): Likewise.
33252         (FE_TOWARDZERO): Likewise.
33253         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33254         (FE_UNDERFLOW): Likewise.
33255         (FE_OVERFLOW): Likewise.
33256         (FE_DIVBYZERO): Likewise.
33257         (FE_INVALID): Likewise.
33258         (FE_TONEAREST): Likewise.
33259         (FE_TOWARDZERO): Likewise.
33260         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33261         (FE_OVERFLOW): Likewise.
33262         (FE_UNDERFLOW): Likewise.
33263         (FE_DIVBYZERO): Likewise.
33264         (FE_INEXACT): Likewise.
33265         (FE_TONEAREST): Likewise.
33266         (FE_TOWARDZERO): Likewise.
33267         (FE_UPWARD): Likewise.
33268         (FE_DOWNWARD): Likewise.
33269         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33270         (FE_DIVBYZERO): Likewise.
33271         (FE_OVERFLOW): Likewise.
33272         (FE_UNDERFLOW): Likewise.
33273         (FE_INEXACT): Likewise.
33274         (FE_TONEAREST): Likewise.
33275         (FE_DOWNWARD): Likewise.
33276         (FE_UPWARD): Likewise.
33277         (FE_TOWARDZERO): Likewise.
33278
33279 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33280
33281         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33282
33283 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33284
33285         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33286         commands.  Quote $PWD.
33287         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33288         -x" by "export".
33289         (remove_newlines): Remove.
33290
33291 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33292
33293         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33294         * stdlib/stdlib.h (atof): Moved to ...
33295         * include/bits/stdlib-float.h: Here.  New file.
33296         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33297         * stdlib/bits/stdlib-float.h: New file.
33298         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33299         -mno-sse -mno-mmx.
33300         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33301         <xmmintrin.h>.
33302
33303 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33304
33305         * conform/conformtest.pl (@headers): Add fenv.h.
33306         * conform/data/fenv.h-data: New file.
33307         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33308         include of <math/fenv.h>.
33309
33310         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33311         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33312         && !UNIX98].  Enables tests for XOPEN2K8.
33313         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33314         POSIX2008]: Likewise.
33315
33316         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33317         (struct rusage): Do not expect type or its members.
33318
33319         [BZ #3439]
33320         * math/math.h (FP_NAN): Define macro to integer constant usable in
33321         #if and use that to give value to enum constant.
33322         (FP_INFINITE): Likewise.
33323         (FP_ZERO): Likewise.
33324         (FP_SUBNORMAL): Likewise.
33325         (FP_NORMAL): Likewise.
33326
33327 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33328
33329         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33330         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33331         arguments.
33332
33333 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33334
33335         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33336         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33337         autoconf-time if not.
33338         * configure.in: Remove AC_PREREQ.
33339
33340 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33341
33342         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33343         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33344         of the internal implementation.
33345
33346 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33347
33348         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33349         except include of <misc/sys/syslog.h>.
33350
33351 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33352
33353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33354         function returns with a NULL context exit with zero.
33355
33356 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33357
33358         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33359
33360 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33361
33362         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33363         (run_program_cmd): This.
33364         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33365         (tst_langinfo): New variable.  Use it.
33366
33367 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33368
33369         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33370         floating point opcodes.
33371
33372 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33373
33374         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33375         variable.
33376
33377         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33378
33379         * sysdeps/mach/hurd/powerpc: Remove directory.
33380         * sysdeps/mach/powerpc: Likewise.
33381
33382 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33383
33384         * scripts/check-local-headers.sh: Ignore c++ headers.
33385
33386 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33387
33388         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33389         __libc_cleanup_region_start argument.
33390
33391 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33392
33393         [BZ #14784]
33394         [BZ #14785]
33395         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33396         x * y using scaling, not as x * y + z.
33397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33398         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33399         * math/libm-test.inc (fma_test): Add more tests.
33400         (fma_test_towardzero): Likewise.
33401         (fma_test_downward): Likewise.
33402         (fma_test_upward): Likewise.
33403
33404 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33405
33406         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33407
33408 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33409
33410         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33411         New variable.
33412
33413 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33414
33415         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33416
33417 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33418
33419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33420         Fix sort order.
33421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33422         Likewise.
33423
33424 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33425
33426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33427         Fix the order of the list for glibc 2.17.
33428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33429         Likewise.
33430
33431 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33432
33433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33434
33435 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33436
33437         [BZ #14610]
33438         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33439         for low part of x being zero before using __atanl (y).
33440         * math/libm-test.inc (atan2_test): Add another test.
33441
33442         * manual/install.texi (Configuring and compiling): Document
33443         general use of test-wrapper and test-wrapper-env.
33444         * INSTALL: Regenerated.
33445
33446         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33447         (__fma): Do not extract and scale down low bits on after-rounding
33448         systems when result rounded to normal precision would have normal
33449         exponent.
33450         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33451         (__fmal): Do not extract and scale down low bits on after-rounding
33452         systems when result rounded to normal precision would have normal
33453         exponent.
33454         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33455         (__fmal): Do not extract and scale down low bits on after-rounding
33456         systems when result rounded to normal precision would have normal
33457         exponent.
33458         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33459         macro.
33460         (fma_test): Add more tests.
33461         (fma_test_towardzero): Likewise.
33462         (fma_test_downward): Likewise.
33463         (fma_test_upward): Likewise.
33464
33465 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33466
33467         * sysdeps/i386/tininess.h: Renamed to ...
33468         * sysdeps/x86/tininess.h: This.
33469         * sysdeps/x86_64/tininess.h: Removed.
33470
33471 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33472
33473         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33474         input.  Use $(build-program-cmd).
33475         ($(objpfx)tst-array1-static.out): Likewise.
33476         ($(objpfx)tst-array2.out): Likewise.
33477         ($(objpfx)tst-array3.out): Likewise.
33478         ($(objpfx)tst-array4.out): Likewise.
33479         ($(objpfx)tst-array5.out): Likewise.
33480         ($(objpfx)tst-array5-static.out): Likewise.
33481
33482 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33483
33484         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33485         if defined.
33486
33487         * nss/nsswitch.h (nss_interface_function): Provide new
33488         macro for use with NSS functions.
33489         * grp/initgroups.c: Use new macro.
33490         * nss/getXXbyYY.c: Likewise.
33491         * nss/getXXbyYY_r.c: Likewise.
33492         * nss/getXXent.c: Likewise.
33493         * nss/getXXent_r.c: Likewise.
33494         * sysdeps/posix/getaddrinfo.c: Likewise.
33495
33496 2012-10-30  Andreas Jaeger  <aj@suse.de>
33497
33498         * po/ru.po: Update Russion translation from translation project.
33499
33500 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33501
33502         [BZ #14152]
33503         [BZ #14783]
33504         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33505         result and shift together with sticky bit instead of replicating
33506         round-to-nearest rounding.
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.  Do not permit
33510         missing underflow exceptions.
33511         (fma_test_towardzero): Add more tests.
33512         (fma_test_downward): Likewise.
33513         (fma_test_upward): Likewise.
33514
33515         [BZ #14047]
33516         * sysdeps/generic/tininess.h: New file.
33517         * sysdeps/i386/tininess.h: Likewise.
33518         * sysdeps/sh/tininess.h: Likewise.
33519         * sysdeps/x86_64/tininess.h: Likewise.
33520         * stdlib/tst-strtod-underflow.c: Likewise.
33521         * stdlib/tst-tininess.c: Likewise.
33522         * stdlib/strtod_l.c: Include <tininess.h>.
33523         (round_and_return): Do not set errno for exact underflow cases.
33524         Force an underflow exception when setting errno for underflow.
33525         Determine underflow based on rounding to normal precision if
33526         TININESS_AFTER_ROUNDING.
33527         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33528         ERANGE for exact underflow cases.
33529         * stdlib/Makefile (tests): Add tst-tininess and
33530         tst-strtod-underflow.
33531         ($(objpfx)tst-tininess): Use $(link-libm).
33532         ($(objpfx)tst-strtod-underflow): Likewise.
33533
33534 2012-10-30  Andreas Jaeger  <aj@suse.de>
33535
33536         [BZ#14767]
33537         * elf/Makefile (tests): Remove conditional for have-initfini-array
33538         since this is now always required and the variable does not exist
33539         anymore.
33540         (tests-static): Likewise.
33541         (modules-names): Likewise.
33542
33543         * po/eo.po: Add Esperanto translation from translation project.
33544
33545         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33546         merged with constructor/destructor.
33547         (init_array): Likewise.
33548         * elf/tst-array2dep.c (fini_array): Likewise.
33549         (init_array): Likewise.
33550
33551 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33552
33553         * manual/message.texi: Delete @cartouche tags.
33554
33555 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33556
33557         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33558         EOPNOTSUPP.
33559         * sysdeps/mach/hurd/fsync.c: Likewise.
33560
33561         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33562         [_POSIX_REALTIME_SIGNALS]: Change condition to
33563         [_POSIX_REALTIME_SIGNALS > 0].
33564
33565 2012-10-27  Andreas Jaeger  <aj@suse.de>
33566
33567         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33568         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33569         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33570         [__WORDSIZE != 64]: Likewise.
33571
33572 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33573
33574         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33575         *  iconvdata/tst-tables.sh: Likewise.
33576
33577 2012-10-25  David S. Miller  <davem@davemloft.net>
33578
33579         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33580         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33581         of strtoull.
33582
33583         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33584         ifunc-impl-list.c
33585         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33586         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33587         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33588         file.
33589
33590 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33591
33592         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33593         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33594         __getdirentries.
33595
33596 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33597             Jim Blandy  <jimb@codesourcery.com>
33598
33599         * scripts/cross-test-ssh.sh: New file.
33600         * manual/install.texi (Configuring and compiling): Document use of
33601         cross-test-ssh.sh.
33602         * INSTALL: Regenerated.
33603
33604 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33605
33606         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33607         EOPNOTSUPP.
33608
33609 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33610
33611         * Makeconfig (run-program-prefix): Fix comment.
33612
33613 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33614             Jim Blandy  <jimb@codesourcery.com>
33615
33616         * Makeconfig (test-wrapper): New variable,
33617         (test-wrapper-env): Likewise.
33618         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33619         (run-built-tests): Define to yes.
33620         (run-program-prefix): Use $(test-wrapper).
33621         (built-program-cmd): Likewise.
33622         * Rules (make-test-out): Use $(test-wrapper-env) and
33623         $(host-built-program-cmd).
33624         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33625         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33626         tst-pathopt.sh.
33627         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33628         $(test-wrapper-env) to tst-rtld-load-self.sh.
33629         ($(objpfx)order2.out): Use $(test-wrapper).
33630         ($(objpfx)tst-initorder.out): Likewise.
33631         ($(objpfx)tst-initorder2.out): Likewise.
33632         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33633         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33634         (test_wrapper_env): New variable.  Use it to run ld.so.
33635         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33636         Use it to run ld.so.
33637         (test_wrapper_env): Likewise.
33638         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33639         $(test-wrapper) to run-iconv-test.sh.
33640         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33641         (ICONV): Use $test_wrapper.
33642         * posix/Makefile ($(objpfx)globtest.out): Pass
33643         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33644         globtest.sh, not $(run-program-prefix).
33645         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33646         (test_wrapper): Likewise.
33647         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33648         set together with run_via_rtld_prefix.
33649         (run_program_prefix): Define in terms of test_wrapper and
33650         run_via_rtld_prefix.
33651
33652 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33653
33654         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33655         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33656         Targets removed.
33657
33658         [BZ #14743]
33659         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33660         Declare __clock_getres, __clock_gettime, __clock_settime,
33661         __clock_nanosleep, and __clock_getcpuclockid.
33662         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33663         Remove librt_hidden_def (clock_gettime).
33664         * sysdeps/unix/clock_gettime.c: Likewise.
33665         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33666         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33667         * rt/clock_getres.c: Define __clock_getres as an alias.
33668         * sysdeps/posix/clock_getres.c: Likewise.
33669         * rt/clock_settime.c: Define __clock_settime as an alias.
33670         * sysdeps/unix/clock_settime.c: Likewise.
33671         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33672         * sysdeps/unix/clock_nanosleep.c: Likewise.
33673         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33674         * rt/clock-compat.c: New file.
33675         * rt/Makefile (librt-routines): Add clock-compat and move
33676         $(clock-routines) to ...
33677         (routines): ... here, new variable.
33678         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33679         Don't add get_clockfreq here.
33680         * rt/Versions (libc: GLIBC_2.17): New version set.
33681         Add clock_* symbols here.
33682         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33683         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33684         (GLIBC_2.17): Add clock_* symbols.
33685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33687         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33689         Likewise.
33690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33691         Likewise.
33692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33696         * NEWS: Mention the move.
33697
33698         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33699         Use __open, __read, __close rather than their public counterparts.
33700         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33701         (__get_clockfreq_via_cpuinfo): Likewise.
33702         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33703         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33704
33705         * config.h.in (HAVE_IFUNC): New #undef.
33706         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33707         was successful.
33708         * configure: Regenerated.
33709
33710 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33711
33712         * configure.in: Move READELF check to start of file.
33713         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33714         libc_cv_asm_gnu_indirect_function in the process.
33715         * configure: Regenerated.
33716
33717 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33718
33719         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33720         send the output to /dev/null.
33721         (libc_cv_cc_with_libunwind): Likewise.
33722         (libc_cv_as_noexecstack): Likewise.
33723         * configure: Regenerate.
33724
33725 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33726
33727         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33728
33729         * posix/globtest.sh (TMPDIR): Do not set.
33730         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33731         (testout): Likewise.
33732
33733 2012-10-24  Andreas Jaeger  <aj@suse.de>
33734
33735         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33736         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33737         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33738         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33739         posix_fadvise64, posix_fallocate64.
33740
33741         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33742         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33743         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33744         Likewise.
33745         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33746         Likewise.
33747         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33748
33749         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33750         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33751         <bits/fcntl-linux.h>.
33752         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33753
33754         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33755         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33756         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33757         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33758         [__WORDSIZE != 64]: Likewise.
33759
33760 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33761
33762         * Makeconfig (run-built-tests): New variable.
33763         * Rules [$(cross-compiling) = yes]: Change condition to
33764         [$(run-built-tests) = no].
33765         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33766         to [$(run-built-tests) = yes].
33767         * elf/Makefile [$(cross-compiling) = no]: Likewise
33768         * grp/Makefile [$(cross-compiling) = no]: Likewise.
33769         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33770         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33771         * intl/Makefile [$(cross-compiling) = no]: Likewise.
33772         * io/Makefile [$(cross-compiling) = no]: Likewise.
33773         * libio/Makefile [$(cross-compiling) = no]: Likewise.
33774         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33775         * misc/Makefile [$(cross-compiling) = no]: Likewise.
33776         * posix/Makefile [$(cross-compiling) = no]: Likewise.
33777         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33778         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33779         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33780         * string/Makefile [$(cross-compiling) = no]: Likewise.
33781
33782         * posix/Makefile ($(objpfx)globtest.out): Pass
33783         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33784         $(rtld-installed-name).
33785         * posix/globtest.sh (elf_objpfx): Remove variable.
33786         (rtld_installed_name): Likewise.
33787         (library_path): Likewise.
33788         (run_program_prefix): New variable.  Use for running globtest
33789         binary.
33790
33791 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
33792             Joseph Myers  <joseph@codesourcery.com>
33793
33794         * Makeconfig (host-built-program-cmd): New variable.
33795         * elf/Makefile (tst-stackguard1-ARGS): Use
33796         $(host-built-program-cmd).
33797         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33798         (tst-spawn-ARGS): Likewise.
33799         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33800
33801 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33802             Jim Blandy  <jimb@codesourcery.com>
33803
33804         * Makeconfig (run-via-rtld-prefix): New variable.
33805         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33806         (built-program-cmd): Likewise.
33807
33808 2012-10-22  Andreas Jaeger  <aj@suse.de>
33809
33810         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33811         __O_RSYNC if it exists, otherwise to O_SYNC.
33812
33813 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
33814             Joseph Myers  <joseph@codesourcery.com>
33815
33816         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33817         /dev/null.
33818         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33819         from /dev/null
33820         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33821         /dev/null.
33822
33823 2012-10-22  Andreas Jaeger  <aj@suse.de>
33824
33825         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33826         Define always.
33827         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33828
33829         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33830         bits/fcntl-linux.h.
33831
33832         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33833         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33834
33835         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33836         to __O_LARGEFILE.
33837         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33838         to __O_LARGEFILE.
33839
33840 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
33841             Joseph Myers  <joseph@codesourcery.com>
33842
33843         * config.make.in (NM): New variable.
33844
33845 2012-10-21  Andreas Jaeger  <aj@suse.de>
33846
33847         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33848         definitions and declarations that are provided by
33849         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33850
33851 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33852
33853         [BZ #14683]
33854         * elf/Makefile (tests-static): Add tst-leaks1-static.
33855         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33856         ($(objpfx)tst-leaks1-static): New rule.
33857         ($(objpfx)tst-leaks1-static-mem): Likewise.
33858         (tst-leaks1-static-ENV): New macro.
33859         * elf/dl-open.c (dl_open_worker): Check the main application
33860         only if SHARED is defined.
33861         * elf/tst-leaks1-static.c: New file.
33862
33863 2012-10-20  Andreas Jaeger  <aj@suse.de>
33864
33865         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33866         generic values for Linux.
33867         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33868         and declarations that are provided by <bits/fcntl-linux.h> and
33869         include <bits/fcntl-linux.h>.
33870         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33871         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33872
33873 2012-10-20  Roland McGrath  <roland@hack.frob.com>
33874
33875         * io/fcntl.h: Move include of <bits/types.h> to the top and
33876         include it unconditionally.
33877
33878 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33879
33880         * wcsmbs/Makefile (tests-ifunc): New variable.
33881         (tests): Add $(tests-ifunc).
33882         * wcsmbs/test-wcschr-ifunc.c: New file.
33883         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33884         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33885         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33886         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33887         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33888
33889         * string/Makefile (tests-ifunc): New variable.
33890         (tests): Add $(tests-ifunc).
33891         * string/test-memccpy.c (TEST_NAME): New macro.
33892         * string/test-memchr.c (TEST_NAME): Likewise.
33893         * string/test-memcmp.c (TEST_NAME): Likewise.
33894         * string/test-memcpy.c (TEST_NAME): Likewise.
33895         * string/test-memmem.c (TEST_NAME): Likewise.
33896         * string/test-memmove.c (TEST_NAME): Likewise.
33897         * string/test-memset.c (TEST_NAME): Likewise.
33898         * string/test-rawmemchr.c (TEST_NAME): Likewise.
33899         * string/test-stpcpy.c (TEST_NAME): Likewise.
33900         * string/test-stpncpy.c (TEST_NAME): Likewise.
33901         * string/test-strcasecmp.c (TEST_NAME): Likewise.
33902         * string/test-strcasestr.c (TEST_NAME): Likewise.
33903         * string/test-strcat.c (TEST_NAME): Likewise.
33904         * string/test-strchr.c (TEST_NAME): Likewise.
33905         * string/test-strcmp.c(TEST_NAME): Likewise.
33906         * string/test-strcpy.c (TEST_NAME): Likewise.
33907         * string/test-strcspn.c (TEST_NAME): Likewise.
33908         * string/test-strlen.c (TEST_NAME): Likewise.
33909         * string/test-strncasecmp.c (TEST_NAME): Likewise.
33910         * string/test-strncmp.c (TEST_NAME): Likewise.
33911         * string/test-strncpy.c (TEST_NAME): Likewise.
33912         * string/test-strnlen.c (TEST_NAME): Likewise.
33913         * string/test-strpbrk.c (TEST_NAME): Likewise.
33914         * string/test-strrchr.c (TEST_NAME): Likewise.
33915         * string/test-strspn.c (TEST_NAME): Likewise.
33916         * string/test-strstr.c (TEST_NAME): Likewise.
33917         * string/test-bcopy-ifunc.c: New file.
33918         * string/test-bzero-ifunc.c: Likewise.
33919         * string/test-memccpy-ifunc.c: Likewise.
33920         * string/test-memchr-ifunc.c: Likewise.
33921         * string/test-memcmp-ifunc.c: Likewise.
33922         * string/test-memcpy-ifunc.c: Likewise.
33923         * string/test-memmem-ifunc.c: Likewise.
33924         * string/test-memmove-ifunc.c: Likewise.
33925         * string/test-mempcpy-ifunc.c: Likewise.
33926         * string/test-memset-ifunc.c: Likewise.
33927         * string/test-rawmemchr-ifunc.c: Likewise.
33928         * string/test-stpcpy-ifunc.c: Likewise.
33929         * string/test-stpncpy-ifunc.c: Likewise.
33930         * string/test-strcasecmp-ifunc.c: Likewise.
33931         * string/test-strcasestr-ifunc.c: Likewise.
33932         * string/test-strcat-ifunc.c: Likewise.
33933         * string/test-strchr-ifunc.c: Likewise.
33934         * string/test-strchrnul-ifunc.c: Likewise.
33935         * string/test-strcmp-ifunc.c: Likewise.
33936         * string/test-strcpy-ifunc.c: Likewise.
33937         * string/test-strcspn-ifunc.c: Likewise.
33938         * string/test-strlen-ifunc.c: Likewise.
33939         * string/test-strncasecmp-ifunc.c: Likewise.
33940         * string/test-strncat-ifunc.c: Likewise.
33941         * string/test-strncmp-ifunc.c: Likewise.
33942         * string/test-strncpy-ifunc.c: Likewise.
33943         * string/test-strnlen-ifunc.c: Likewise.
33944         * string/test-strpbrk-ifunc.c: Likewise.
33945         * string/test-strrchr-ifunc.c: Likewise.
33946         * string/test-strspn-ifunc.c: Likewise.
33947         * string/test-strstr-ifunc.c: Likewise.
33948
33949         * debug/Makefile (tests-ifunc): New variable.
33950         (tests): Add $(tests-ifunc).
33951         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33952         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33953         * debug/test-stpcpy_chk-ifunc.c: New file.
33954         * debug/test-strcpy_chk-ifunc.c: Likewise.
33955
33956 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33957
33958         [BZ #13601]
33959         * elf/dl-load.c (open_verify): Retry read if the entire ELF
33960         header is not read in.
33961
33962 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
33963
33964         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
33965         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
33966         directly.  Pass built executable to script as
33967         $(built-program-cmd).
33968         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
33969         $testprogram without using LD_LIBRARY_PATH and $ldso.
33970
33971         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33972         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33973         $(rtld-installed-name).
33974         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33975         (rtld_installed_name): Likewise.
33976         (library_path): Likewise.
33977         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
33978         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33979         $(run-program-prefix) to tst-tables.sh.
33980         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
33981         it to run tst-table-from and tst-table-to.
33982         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33983         Pass it to tst-table.sh.
33984         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33985         $(run-program-prefix) to tst-gettext.sh.
33986         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33987         tst-translit.sh.
33988         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33989         tst-gettext2.sh.
33990         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
33991         to run tst-gettext.
33992         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
33993         to run tst-gettext2.
33994         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
33995         to run tst-translit.
33996         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33997         $(run-program-prefix) to tst-mtrace.sh.
33998         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
33999         to run tst-mtrace.
34000         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34001         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34002         $(rtld-installed-name).
34003         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34004         (rtld_installed_name): Likewise.
34005         (run_program_prefix): New variable.  Use it to run wordexp-test.
34006
34007         * Makeconfig (ARCH): Remove all definitions.
34008         (machine): Likewise.
34009         [ARCH]: Remove conditional code.
34010         [!objdir]: Give error.
34011         [!objdir] (objpfx): Remove.
34012         [!objdir] (common-objpfx): Likewise.
34013         [!objdir] (common-objdir): Likewise.
34014         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34015         AC_CONFIG_FILES call.
34016         * configure: Regenerated.
34017
34018         [BZ #13888]
34019         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34020         or TMPDIR.
34021         (testout): Likewise.
34022
34023         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34024         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34025         $(rtld-installed-name).
34026         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34027         (rtld_installed_name): Likwise.
34028         (runit): Remove function.
34029         (run_getconf): New variable,  Use it for running getconf binary.
34030
34031 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34032
34033         [BZ #14716]
34034         * string/test-memmem.c (check_result): New function.
34035         (do_one_test): Use it.
34036         (check1): New function.
34037         (test_main): Use it.
34038
34039 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34040
34041         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34042
34043 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34044
34045         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34046         (_G_LSEEK64): Likewise.
34047         (_G_MMAP64): Likewise.
34048         (_G_FSTAT64): Likewise.
34049         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34050         (_G_LSEEK64): Likewise.
34051         (_G_MMAP64): Likewise.
34052         (_G_FSTAT64): Likewise.
34053         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34054         unconditional.  Call __mmap64 directly.
34055         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34056         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34057         __lseek64 directly.
34058         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34059         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34060         __mmap64 directly.
34061         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34062         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34063         __lseek64 directly.
34064         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34065         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34066         __lseek64 directly.
34067         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34068         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34069         __lseek64 directly.
34070         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34071         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34072         __fxstat64 directly.
34073         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34074         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34075         unconditional.
34076         (freopen64) [!_G_OPEN64]: Remove conditional code.
34077         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34078         unconditional.
34079         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34080         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34081         unconditional.
34082         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34083         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34084         unconditional.
34085         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34086         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34087         unconditional.
34088         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34089         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34090         unconditional.
34091         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34092         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34093         unconditional.
34094         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34095         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34096         unconditional.
34097         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34098
34099 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34100
34101         [BZ #12140]
34102         * manual/memory.texi (Malloc Tunable Parameters): Add note
34103         about free list pointers overwriting some perturb bytes.
34104         Wording suggested by Roland McGrath.
34105
34106 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34107
34108         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34109         (lgamma_test): Likewise.
34110         (tgamma_test): Likewise.
34111
34112 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34113
34114         [BZ #14700]
34115         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34116         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34117
34118 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34119
34120         * NEWS: Mention BZ #14716.
34121         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34122         when removing AVAILABLE1_USES_J macro.
34123
34124 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34125
34126         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34127         (__bswap_64): __uint64_t for unsigned 64-bit int.
34128
34129 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34130
34131         * include/string.h (memmem): Declare libc hidden alias.
34132         * string/memmem.c (memmem): Define libc hidden alias.
34133         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34134         __read, __close instead of open, read, close.
34135
34136 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34137
34138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34139         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34140         global and hidden.
34141         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34142         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34143         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34144         Likewise.
34145         (__rawmemchr_sse2): Likewise.
34146         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34147         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34148         (__strchr_sse2): Likewise.
34149         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34150         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34151         (__strcasecmp_sse2): Likewise.
34152         (__strncasecmp_sse2): Likewise.
34153         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34154         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34155         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34156         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34157         (__strrchr_sse2): Likewise.
34158         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34159         ifunc-impl-list.c.
34160         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34161         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34162         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34163         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34164         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34165         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34166         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34167         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34168         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34169         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34170         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34171         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34172         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34173         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34174         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34175         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34176         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34177         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34178         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34179         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34180         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34181         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34182         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34183         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34184         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34185         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34186         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34187         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34188         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34189         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34190
34191         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34192         global and hidden.
34193         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34194         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34195         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34196         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34197         Likewise.
34198         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34199         Likewise.
34200         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34201         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34202         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34203         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34204         ifunc-impl-list.c.
34205         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34206         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34207         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34208         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34209         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34210         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34211         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34212         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34213         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34214         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34215         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34216         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34217         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34218         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34219         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34220         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34221         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34222         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34223         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34224         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34225         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34226         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34227         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34228         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34229         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34230         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34231         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34232         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34233         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34234         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34235         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34236         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34237         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34238         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34239         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34240         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34241         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34242         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34243         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34244         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34245         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34246
34247         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34248         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34249         * include/ifunc-impl-list.h: New file.
34250         * misc/ifunc-impl-list.c: Likewise.
34251         * misc/Makefile (routines): Add ifunc-impl-list.
34252         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34253         * string/test-string.h: Include <ifunc-impl-list.h>.
34254         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34255         TEST_NAME]: New variables.
34256         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34257         are defined.
34258         (test_init): Call __libc_ifunc_impl_list to initialize
34259         func_list if TEST_IFUNC and TEST_NAME are defined.
34260
34261         * string/Makefile (strop-tests): Add bcopy and bzero.
34262         * string/test-bcopy.c: New file.
34263         * string/test-bzero.c: Likewise.
34264         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34265         defined.
34266         * string/test-memset.c: Support bzero test if TEST_BZERO is
34267         defined.
34268         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34269         __libc_memmove.
34270         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34271         __libc_memset.
34272         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34273         of memset.
34274
34275 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34276
34277         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34278         * configure: Regenerated.
34279
34280         * Makeconfig (+link-static-before-libc): Don't include
34281         $(link-static-libc).
34282
34283         * libio/libio.h (_IO_pos_t): Remove.
34284
34285 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34286
34287         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34288         McGrath.
34289
34290 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34291
34292         * crypt/crypt-entry.c: Include fips-private.h.
34293         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34294         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34295         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34296         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34297
34298 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34299
34300         * crypt/crypt-private.h: Include stdbool.h.
34301         (_ufc_setup_salt_r): Return bool.
34302         * crypt/crypt-entry.c: Include errno.h.
34303         (__crypt_r): Return NULL with EINVAL for bad salt.
34304         * crypt/crypt_util.c (bad_for_salt): New.
34305         (_ufc_setup_salt_r): Check that salt is long enough and within
34306         the specified alphabet.
34307         * crypt/badsalttest.c: New file.
34308         * crypt/Makefile (tests): Add it.
34309         ($(objpfx)badsalttest): New.
34310
34311 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34312
34313         * NEWS: Add entry for BZ #14602.
34314
34315 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34316
34317         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34318         type-generic.
34319         * math/libm-test.inc: Update comment listing what functions and
34320         macros are tested.
34321         (isgreater_test): New function.
34322         (isgreaterequal_test): Likewise.
34323         (isless_test): Likewise.
34324         (islessequal_test): Likewise.
34325         (islessgreater_test): Likewise.
34326         (isunordered_test): Likewise.
34327         (main): Call the new functions.
34328
34329 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34330
34331         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34332         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34333         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34334         * sysdeps/i386/configure: Regenerated.
34335         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34336         * sysdeps/mach/configure: Regenerated.
34337         * sysdeps/mach/hurd/configure: Regenerated.
34338         * sysdeps/powerpc/configure: Regenerated.
34339         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34340         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34341         * sysdeps/s390/s390-32/configure: Regenerated.
34342         * sysdeps/s390/s390-64/configure: Regenerated.
34343         * sysdeps/sh/configure: Regenerated.
34344         * sysdeps/sparc/configure: Regenerated.
34345         * sysdeps/unix/sysv/linux/configure: Regenerated.
34346         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34347         * sysdeps/x86_64/configure: Regenerated.
34348
34349         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34350         defined.  Don't check if MAP is NULL.
34351
34352 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34353
34354         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34355         (_G_stat64): Likewise.
34356         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34357         (_G_stat64): Likewise.
34358         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34359         instead of struct _G_stat64.
34360         * libio/fileops.c (mmap_remap_check): Likewise.
34361         (decide_maybe_mmap): Likewise.
34362         (_IO_new_file_seekoff): Likewise.
34363         (_IO_file_stat): Likewise.
34364         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34365         _G_off64_t.
34366         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34367         instead of struct _G_stat64.
34368         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34369
34370 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34371
34372         [BZ #14602]
34373         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34374         Replace with ...
34375         (CHECK_EOL): New macro.
34376         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34377         CHECK_EOL.
34378         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34379         Replace with CHECK_EOL.
34380         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34381         Replace with CHECK_EOL.
34382
34383 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34384
34385         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34386         type-generic.
34387         * math/libm-test.inc: Update comment listing what functions and
34388         macros are tested.
34389         (finite_test): New function.
34390         (isinf_test): Likewise.
34391         (isnan_test): Likewise.
34392         (fpclassify_test): Test subnormal input.
34393         (isfinite_test): Likewise.
34394         (isnormal_test): Likewise.
34395         (main): Call the new functions.
34396
34397 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34398
34399         [BZ #14660]
34400         * Makerules (%.dynsym): Force C locale when running
34401         $(OBJDUMP) --dynamic-syms.
34402
34403 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34404
34405         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34406         <stdint.h>.
34407
34408 2012-10-06  David S. Miller  <davem@davemloft.net>
34409
34410         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34411         upper 32-bits of the length value in %o2 since we use branch-on-register
34412         tests which consider the entire 64-bit register.
34413
34414 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34415
34416         * string/test-strstr.c (check2): Add a test for page boundary.
34417
34418 2012-10-05  David S. Miller  <davem@davemloft.net>
34419
34420         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34421         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34422         file.
34423         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34424         sysdep_routines.
34425         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34426         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34427         and bzero when HWCAP_SPARC_CRYPTO is present.
34428
34429 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34430
34431         [BZ #14602]
34432         * string/test-strstr.c (check2): New function.
34433         (test_main): Call check2.
34434
34435         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34436         and bug-strchr1.
34437         * string/bug-strcasestr1.c (do_test): Moved to ...
34438         * string/test-strcasestr.c (check1): Here.  New function.
34439         (do_one_test): Break out result checking code into ...
34440         (check_result): This.  New function.
34441         (do_one_test): Call check_result.
34442         (test_main): Call check1.
34443         * string/bug-strchr1.c (do_test): Moved to ...
34444         * string/test-strchr.c (check1): Here.  New function.
34445         (do_one_test): Break out result checking code into ...
34446         (check_result): This.  New function.
34447         (do_one_test): Call check_result.
34448         (test_main): Call check1.
34449         * string/bug-strstr1.c (main): Moved to ...
34450         * string/test-strstr.c (check1): Here.  New function.
34451         (do_one_test): Break out result checking code into ...
34452         (check_result): This.  New function.
34453         (do_one_test): Call check_result.
34454         (test_main): Call check1.
34455         * string/bug-strcasestr1.c: Removed.
34456         * string/bug-strchr1.c: Likewise.
34457         * string/bug-strstr1.c: Likewise.
34458
34459         * elf/Makefile (dl-routines): Add hwcaps.
34460         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34461         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34462         (_dl_important_hwcaps): Moved to ...
34463         * elf/dl-hwcaps.c: Here.  New file.
34464         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34465
34466         [BZ #14557]
34467         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34468         if IS_IN_rtld isn't defined.
34469
34470         * elf/dl-support.c (_dl_sysinfo_map): New.
34471         Include "get-dynamic-info.h" and "setup-vdso.h".
34472         (_dl_non_dynamic_init): Call setup_vdso.
34473         * elf/dynamic-link.h: Don't include <assert.h>.
34474         (elf_get_dynamic_info): Moved to ...
34475         * elf/get-dynamic-info.h: Here.  New file.
34476         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34477         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34478         * elf/setup-vdso.h: Here.  New file.
34479         * elf/rtld.c: Include "setup-vdso.h".
34480         (dl_main): Call setup_vdso.
34481
34482 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34483
34484         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34485         creal in comment listing functions tested.  List finite, isinf,
34486         isnan, isless, islessequal, isgreater, isgreaterequal,
34487         islessgreater, isunordered, lgamma_r and pow10 as functions and
34488         macros not tested.  Mention which functions not tested are aliases
34489         for other functions.  Fix typo.  Note that signs of NaNs are not
34490         tested.
34491
34492         * scripts/config.guess: Update from config.git.
34493         * scripts/config.sub: Likewise.
34494
34495 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34496
34497         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34498         * misc/madvise.c (madvise): Renamed to __madvise.
34499         Make madvise a weak alias.
34500         * include/sys/mman.h: Declare __madvise.
34501         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34502         * sysdeps/unix/syscalls.list
34503         (madvise): Make __madvise the strong name, and madvise a weak alias.
34504         * sysdeps/unix/sysv/linux/syscalls.list
34505         (madvise, mmap): Remove redundant entries.
34506         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34507         * malloc/malloc.c (mtrim): Likewise.
34508         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34509
34510 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34511
34512         * sysdeps/mach/hurd/dl-cache.c: File removed.
34513         * config.h.in (USE_LDCONFIG): New #undef.
34514         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34515         * configure: Regenerated.
34516         * elf/Makefile (dl-routines): Add dl-cache only under
34517         [$(use-ldconfig) = yes].
34518         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34519         cache on [USE_LDCONFIG].
34520         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34521         [USE_LDCONFIG].
34522         * elf/rtld.c (dl_main): Likewise.
34523
34524 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34525
34526         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34527         _SC_LEVEL4_CACHE_LINESIZE.
34528
34529 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34530
34531         * sysdeps/unix/bsd/confstr.h: File removed.
34532
34533 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34534
34535         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34536         sys/sdt-config.h.
34537
34538 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34539
34540         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34541         Make 'mapoff' field ElfW(Off) rather than off_t.
34542
34543 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34544
34545         * nscd/Makefile: Remove nscd-cflags and all its users.
34546         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34547         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34548
34549         [BZ #10631]
34550         * malloc.c (malloc_printerr): Clarify error message.
34551
34552 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34553
34554         [BZ #14648]
34555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34556         Set bit_FMA_Usable if FMA is supported.
34557         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34558         macro.
34559         (bit_FMA4_Usable): Updated.
34560         (index_FMA_Usable): New macro.
34561         (CPUID_FMA): Likewise
34562         (HAS_FMA): Defined with bit_FMA_Usable.
34563
34564 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34565
34566         * bits/types.h (__swblk_t): Type removed.
34567         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34568         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34569         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34570         (__SWBLK_T_TYPE): Likewise.
34571         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34572         (__SWBLK_T_TYPE): Likewise.
34573         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34574         (__SWBLK_T_TYPE): Likewise.
34575         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34576         (__SWBLK_T_TYPE): Likewise.
34577
34578 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34579             Honza Horak <hhorak@redhat.com>
34580
34581         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34582         (xdr_mapname): Use YPMAXMAP as maxsize.
34583         (xdr_peername): Use YPMAXPEER as maxsize.
34584         (xdr_keydat): Use YPAXRECORD as maxsize.
34585         (xdr_valdat): Use YPMAXRECORD as maxsize.
34586
34587 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34588
34589         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34590
34591         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34592         * csu/init-first.c: ... here.
34593         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34594         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34595         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34596         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34597         * sysdeps/i386/init-first.c: File removed.
34598         * sysdeps/sh/init-first.c: File removed.
34599
34600 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34601
34602         [BZ #14645]
34603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34604         if x * y might underflow to zero and z is zero.
34605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34606         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34607         * math/libm-test.inc (min_subnorm_value): New variable.
34608         (fma_test): Add more tests.
34609         (fma_test_towardzero): Likewise.
34610         (fma_test_downward): Likewise
34611         (fma_test_upward): Likewise.
34612         (initialize): Set min_subnorm_value.
34613
34614 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34615
34616         [BZ #14638]
34617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34618         0 + 0.
34619         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34620         mode for addition resulting in exact zero.
34621         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34622         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34623         exact 0 + 0.
34624         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34625         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34626         * math/libm-test.inc (fma_test): Add more tests.
34627         (fma_test_towardzero): New function.
34628         (fma_test_downward): Likewise.
34629         (fma_test_upward): Likewise.
34630         (main): Call the new functions.
34631
34632 2012-09-28  David S. Miller  <davem@davemloft.net>
34633
34634         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34635
34636 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34637
34638         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34639         instead of SIGALRM.
34640
34641         * sysdeps/gnu/_G_config.h: Moved to ...
34642         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34643         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34644         * sysdeps/generic/_G_config.h: ... here.
34645
34646         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34647
34648         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34649
34650         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34651         Conditionalize target on [libnss_test1.so-version].
34652
34653         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34654
34655         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34656         (elfobjdir): Move out of conditionals.
34657
34658         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34659         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34660         (__nss_lookup_function): Conditionalize label remove_from_tree on
34661         [!DO_STATIC_NSS || SHARED], matching its only use.
34662
34663 2012-09-28  David S. Miller  <davem@davemloft.net>
34664
34665         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34666         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34667         file.
34668         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34669         sysdep_routines.
34670         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34671         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34672         when HWCAP_SPARC_CRYPTO is present.
34673
34674 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34675
34676         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34677
34678 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34679
34680         [BZ #6530]
34681         * stdio-common/vfprintf.c (process_string_arg): Revert
34682         2000-07-22 change.
34683
34684 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34685
34686         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34687         for testcase.
34688         * stdio-common/tst-sprintf.c: Include <locale.h>
34689         (main): Test sprintf's handling of incomplete multibyte
34690         characters.
34691
34692 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34693
34694         * elf/dl-runtime.c (VERSYMIDX): Removed.
34695         * elf/dl-version.c (VERSYMIDX): Likewise.
34696         * elf/do-rel.h (VERSYMIDX): Likewise.
34697         (VALIDX): Likewise.
34698         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34699         * elf/rtld.c (VALIDX): Likewise.
34700         (ADDRIDX): Likewise.
34701         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34702         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34703         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34704         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34705         (VALIDX): Likewise.
34706         (ADDRIDX): Likewise.
34707
34708 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34709
34710         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34711
34712 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34713
34714         [BZ #11438]
34715         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34716         to global scope.
34717         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34718         addresses are in the same scope as 192.0.2/24.
34719         * posix/gai.conf: Document new scope table defaults.
34720
34721 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34722
34723         [BZ #5298]
34724         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34725         for ftell.  Compute offsets from write pointers instead.
34726         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34727
34728 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34729
34730         [BZ #14543]
34731         * libio/Makefile (tests): New test case tst-fseek.
34732         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34733         combination works in wide mode.
34734         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34735         state when the external buffer state changes.
34736
34737 2012-09-27  David S. Miller  <davem@davemloft.net>
34738
34739         [BZ #14376]
34740         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34741         pass reloc->r_addend in as the 'high' argument to
34742         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34743
34744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34745
34746 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34747
34748         * rt/tst-aio2.c: Include <pthread.h>.
34749         * rt/tst-aio3.c: Likewise.
34750
34751 2012-09-27  Steve Ellcey  <sellcey@mips.com>
34752
34753         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34754
34755 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
34756
34757         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34758         contents on [SHARED].
34759
34760 2012-09-26  Marek Polacek  <polacek@redhat.com>
34761
34762         [BZ #14530]
34763         [BZ #13741]
34764         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34765         for C++ and GCC <4.3 as well as for non GCC compilers.
34766
34767 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34768
34769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34770
34771 2012-09-25  Roland McGrath  <roland@hack.frob.com>
34772
34773         * Makefile.in (all, install): Declare with .PHONY.
34774         Reported by Michael Hope <michael.hope@linaro.org>.
34775
34776 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34777
34778         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34779         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34780         system header.
34781         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34782         Likewise.
34783         (sydep_routines): Add the new and the internal functions.
34784         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34785         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34787         (GLIBC_2.17): Add the new function.
34788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34789         (GLIBC_2.17): Likewise.
34790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34791         (GLIBC_2.17): Likewise.
34792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34793         (GLIBC_2.17): Likewise.
34794         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34795
34796 2012-09-25  Alan Modra  <amodra@gmail.com>
34797
34798         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34799         Add release barrier before setting once_control to say
34800         initialisation is done.  Add hints on lwarx.  Use macro in
34801         place of isync.
34802         (clear_once_control): Add release barrier.
34803
34804 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34805
34806         [BZ #13629]
34807         * math/s_clog.c (__clog): Handle more values close to |z| = 1
34808         specially.
34809         * math/s_clog10.c (__clog10): Likewise.
34810         * math/s_clog10f.c (__clog10f): Likewise.
34811         * math/s_clog10l.c (__clog10l): Likewise.
34812         * math/s_clogf.c (__clogf): Likewise.
34813         * math/s_clogl.c (__clogl): Likewise.
34814         * math/Makefile (libm-calls): Add x2y2m1.
34815         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34816         (__x2y2m1): Likewise.
34817         (__x2y2m1l): Likewise.
34818         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34819         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34820         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34821         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34822         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34823         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34824         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34825         * sysdeps/i386/fpu/libm-test-ulps: Update.
34826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34827
34828         [BZ #14621]
34829         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34830         int as type of variable DEPTH.
34831         (glob): Use size_t instead of int as type of variables NEWCOUNT
34832         and OLD_PATHC.
34833
34834 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34835
34836         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34837         Add s_sincosf-sse2.
34838         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34839         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34840         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34841         macros for using routine as __sincosf_ia32.
34842         Use macro for function declaration and weak_alias.
34843         * sysdeps/i386/fpu/libm-test-ulps: Update.
34844
34845         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34847
34848         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34849         subnormal argument.
34850         * math/s_cexpf.c (__cexpf): Likewise.
34851         * math/s_csinf.c (__csinf): Likewise.
34852         * math/s_csinhf.c (__csinhf): Likewise.
34853         * math/s_ctanf.c (__ctanf): Likewise.
34854         * math/s_ctanhf.c (__ctanhf): Likewise.
34855         * math/s_ccosh.c (__ccoshf): Likewise.
34856         * math/s_cexp.c (__cexpl): Likewise.
34857         * math/s_csin.c (__csin): Likewise.
34858         * math/s_csinh.c (__csinh): Likewise.
34859         * math/s_ctan.c (__ctan): Likewise.
34860         * math/s_ctanh.c (ctanh): Likewise.
34861         * math/s_ccoshl.c (__ccoshl): Likewise.
34862         * math/s_cexpl.c (__cexpl): Likewise.
34863         * math/s_csinl.c (__csinl): Likewise.
34864         * math/s_csinhl.c (__csinhl): Likewise.
34865         * math/s_ctanl.c (__ctanl): Likewise.
34866         * math/s_ctanhl.c (__ctanhl): Likewise.
34867
34868 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34869
34870         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34871         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34872         (_IO_off_t): Define to __off_t, not _G_off_t.
34873         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34874         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34875         (_IO_wint_t): Define to wint_t, not _G_wint_t.
34876         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34877         type of __dummy and __dummy2 fields.
34878         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34879         (_G_ssize_t): Likewise.
34880         (_G_off_t): Likewise.
34881         (_G_pid_t): Likewise.
34882         (_G_uid_t): Likewise.
34883         (_G_wchar_t): Likewise.
34884         (_G_wint_t): Likewise.
34885         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34886         (_G_ssize_t): Likewise.
34887         (_G_off_t): Likewise.
34888         (_G_pid_t): Likewise.
34889         (_G_uid_t): Likewise.
34890         (_G_wchar_t): Likewise.
34891         (_G_wint_t): Likewise.
34892         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34893         (_G_ssize_t): Likewise.
34894         (_G_off_t): Likewise.
34895         (_G_pid_t): Likewise.
34896         (_G_uid_t): Likewise.
34897         (_G_wchar_t): Likewise.
34898         (_G_wint_t): Likewise.
34899
34900 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34901
34902         * malloc/arena.c: Include malloc-sysdep.h.
34903         (shrink_heap): Use check_may_shrink_heap to decide if madvise
34904         is sufficient to shrink the heap or an unmap is needed.
34905         * sysdeps/generic/malloc-sysdep.h: New file.  Define
34906         new function check_may_shrink_heap.
34907         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
34908         new function check_may_shrink_heap.
34909
34910 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34911
34912         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34913         comments.
34914
34915 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
34916
34917         * catgets/test-gencat.sh: Add "set -e".
34918         * elf/tst-pathopt.sh: Likewise.
34919         * grp/tst_fgetgrent.sh: Likewise.
34920         * iconvdata/run-iconv-test.sh: Likewise.
34921         * intl/tst-gettext.sh: Likewise.
34922         * intl/tst-gettext2.sh: Likewise.
34923         * intl/tst-gettext4.sh: Likewise.
34924         * intl/tst-gettext6.sh: Likewise.
34925         * intl/tst-translit.sh: Likewise.
34926         * io/ftwtest-sh: Likewise.
34927         * libio/test-freopen.sh: Likewise.
34928         * malloc/tst-mtrace.sh: Likewise.
34929         * posix/globtest.sh: Likewise.
34930         * posix/tst-getconf.sh: Likewise.
34931         * posix/wordexp-tst.sh: Likewise.
34932         * stdio-common/tst-printf.sh: Likewise.
34933         * stdio-common/tst-unbputc.sh: Likewise.
34934         * stdlib/tst-fmtmsg.sh: Likewise.
34935         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34936         * catgets/Makefile: Do not specify -e option when running
34937         testsuite shell scripts.
34938         * elf/Makefile: Likewise.
34939         * grp/Makefile: Likewise.
34940         * iconvdata/Makefile: Likewise.
34941         * intl/Makefile: Likewise.
34942         * io/Makefile: Likewise.
34943         * libio/Makefile: Likewise.
34944         * malloc/Makefile: Likewise.
34945         * posix/Makefile: Likewise.
34946         * stdio-common/Makefile: Likewise.
34947         * stdlib/Makefile: Likewise.
34948         * sysdeps/x86_64/Makefile: Likewise.
34949
34950         * io/ftwtest-sh: Add copyright header.
34951         * posix/globtest.sh: Likewise.
34952         * posix/tst-getconf.sh: Likewise.
34953         * posix/wordexp-tst.sh: Likewise.
34954         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34955
34956 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
34957
34958         [BZ #13679]
34959         * Makeconfig (+link): Defined as $(+link-static) if
34960         $(build-shared) isn't yes.
34961         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34962         isn't yes.
34963         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34964
34965         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34966
34967         [BZ #14562]
34968         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34969         new chunk size with MALLOC_ALIGN_MASK.
34970
34971 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
34972
34973         [BZ #5044]
34974         * stdio-common/printf_fphex.c: Include <stdbool.h> and
34975         <rounding-mode.h>.
34976         (__printf_fphex): Determine rounding using get_rounding_mode and
34977         round_away.
34978         * stdio-common/tst-printf-round.c (struct hex_test): New
34979         structure.
34980         (hex_tests): New variable.
34981         (test_hex_in_one_mode): New function.
34982         (do_test): Also run tests for hex float output.
34983
34984 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
34985
34986         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34987         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34988         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34989         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34990         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34991         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34992         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34993         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34994
34995 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
34996
34997         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34998         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34999         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35000         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35001
35002 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35003
35004         [BZ #14579]
35005         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35006         mode only.
35007         * elf/tst-rtld-load-self.sh: New test.
35008         * elf/Makefile: Run it.
35009
35010 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35011
35012         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35013         (tst-writev-ENV): Remove.
35014         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35015
35016 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35017
35018         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35019
35020 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35021
35022         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35023         unconditional.
35024         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35025         Likewise.
35026         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35027         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35028         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35029         Likewise.
35030
35031 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35032
35033         [BZ #14587]
35034         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35035         * config.make.in (have-cpp-asm-debuginfo): Removed.
35036         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35037         * configure: Regenerated.
35038
35039 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35040
35041         [BZ #5044]
35042         * stdio-common/printf_fp.c: Include <stdbool.h> and
35043         <rounding-mode.h>.
35044         (___printf_fp): Determine rounding using get_rounding_mode and
35045         round_away.
35046         * stdio-common/tst-printf-round.c: New file.
35047         * stdio-common/Makefile (tests): Add tst-printf-round.
35048         (link-libm): New variable.
35049         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35050
35051 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35052
35053         [BZ #14576]
35054         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35055         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35056         Likewise.
35057         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35058         Likewise.
35059
35060 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35061
35062         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35063         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35064         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35065         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35066
35067 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35068
35069         [BZ #14518]
35070         * include/rounding-mode.h: New file.
35071         * sysdeps/generic/get-rounding-mode.h: Likewise.
35072         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35073         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35074         (MAX_VALUE): New macro.
35075         (MIN_VALUE): Likewise.
35076         (overflow_value): New function.
35077         (underflow_value): Likewise.
35078         (round_and_return): Use overflow_value and underflow_value to
35079         determine return values in overflow and underflow cases.  Use
35080         round_away to determine rounding depending on rounding mode.
35081         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35082         determine return values in overflow and underflow cases.
35083         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35084         (struct test_results): New structure.
35085         (struct test): Use struct test_results to store expected results
35086         for all rounding modes.
35087         (TEST): Include expected results for all rounding modes.
35088         (test_in_one_mode): New function.
35089         (do_test): Use test_in_one_mode to compute and check results.
35090         Check results for all rounding modes.
35091         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35092         $(link-libm).
35093
35094 2012-12-09  Allan McRae  <allan@archlinux.org>
35095
35096         * sysdeps/i386/fpu/libm-test-ulps: Update
35097
35098 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35099
35100         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35101         (_G_int32_t): Likewise.
35102         (_G_uint16_t): Likewise.
35103         (_G_uint32_t): Likewise.
35104         (_G_HAVE_BOOL): Likewise.
35105         (_G_HAVE_ATEXIT): Likewise.
35106         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35107         (_G_HAVE_IO_FILE_OPEN): Likewise.
35108         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35109         (_G_int32_t): Likewise.
35110         (_G_uint16_t): Likewise.
35111         (_G_uint32_t): Likewise.
35112         (_G_HAVE_BOOL): Likewise.
35113         (_G_HAVE_ATEXIT): Likewise.
35114         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35115         (_G_HAVE_IO_FILE_OPEN): Likewise.
35116         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35117         (_G_int32_t): Likewise.
35118         (_G_uint16_t): Likewise.
35119         (_G_uint32_t): Likewise.
35120         (_G_HAVE_BOOL): Likewise.
35121         (_G_HAVE_ATEXIT): Likewise.
35122         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35123         (_G_HAVE_IO_FILE_OPEN): Likewise.
35124
35125 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35126
35127         * csu/libc-tls.c: Update copyright years.
35128
35129 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35130
35131         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35132         [!_G_USING_THUNKS]: Remove conditional code.
35133         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35134         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35135
35136         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35137         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35138         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35139         (_G_VTABLE_LABEL_PREFIX): Likewise.
35140         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35141         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35142         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35143         (_G_VTABLE_LABEL_PREFIX): Likewise.
35144         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35145         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35146         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35147         (_G_VTABLE_LABEL_PREFIX): Likewise.
35148         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35149
35150 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35151
35152         * libio/Makefile: Include ../Makeconfig before tests.
35153         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35154         only if $(build-shared) is yes.
35155
35156         * iconv/gconv_db.c: Update copyright years.
35157
35158 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35159
35160         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35161         unwind info if defined PIC. Fix special cases description.
35162         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35163
35164         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35165         DP_HI_MASK entry.
35166         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35167
35168 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35169
35170         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35171
35172         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35173         is NULL.
35174
35175         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35176         (LDLIBS-tst-chk4): This.
35177         (LDFLAGS-tst-chk5): Renamed to ...
35178         (LDLIBS-tst-chk5): This.
35179         (LDFLAGS-tst-chk6): Renamed to ...
35180         (LDLIBS-tst-chk6): This.
35181         (LDFLAGS-tst-lfschk4): Renamed to ...
35182         (LDLIBS-tst-lfschk4): This.
35183         (LDFLAGS-tst-lfschk5): Renamed to ...
35184         (LDLIBS-tst-lfschk5): This.
35185         (LDFLAGS-tst-lfschk6): Renamed to ...
35186         (LDLIBS-tst-lfschk6): This.
35187
35188         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35189         on $(common-objpfx)soversions.mk.
35190
35191 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35192
35193         [BZ #10014]
35194         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35195         example host name.
35196
35197 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35198
35199         * malloc/arena.c (arena_get_retry): New function that gets
35200         another arena for the caller to try its request on.
35201         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35202         current arena cannot fulfill the request.
35203         (__libc_memalign): Likewise.
35204         (__libc_memalign): Likewise.
35205         (__libc_pvalloc): Likewise.
35206         (__libc_calloc): Likewise.
35207
35208 2012-09-05  John Tobey  <john.tobey@gmail.com>
35209
35210         [BZ #13542]
35211         * manual/arith.texi (Operations on Complex): Fix description
35212         of carg branch cut.
35213
35214 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35215
35216         [BZ #10014]
35217         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35218         host name.
35219
35220         [BZ #10038]
35221         * manual/memory.texi (Memory): Make order of menu items match
35222         order of sections.
35223
35224 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35225
35226         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35227         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35228         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35229
35230 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35231
35232         * csu/libc-tls.c (static_dtv): Renamed to ...
35233         (_dl_static_dtv): This.  Make it global.
35234         (_dl_initial_dtv): Removed.
35235         (__libc_setup_tls): Updated.
35236         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35237         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35238         DL_INITIAL_DTV.
35239
35240 2012-09-06  Petr Machata  <pmachata@redhat.com>
35241
35242         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35243         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35244         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35245         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35246
35247 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35248
35249         [BZ #14545]
35250         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35251         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35252         freeing dtv[-1].
35253
35254 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35255
35256         [BZ #14544]
35257         * Makeconfig (link-static-before-libc): Replace $(+prector)
35258         with $(+prectorT).
35259         (link-static-after-libc): Replace $(+postctor) with
35260         $(+postctorT).
35261         (link-bounded): Replace $(+prector)/$(+postctor) with
35262         $(+prectorT)/$(+postctorT).
35263         (+prectorT): New macro.
35264         (+postctorT): Likewise.
35265
35266 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35267
35268         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35269         (round_str): Handle values above the maximum for IBM long double
35270         as inexact.
35271         * stdlib/tst-strtod-round.c (tests): Regenerated.
35272
35273 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35274
35275         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35276         assembler flag.
35277         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35278         zarch_nohighgprs around the zarch optimized routines.
35279         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35280         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35281         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35282         for zarch.
35283
35284 2012-09-05  David S. Miller  <davem@davemloft.net>
35285
35286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35287
35288         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35289         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35290         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35291         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35292         entries.
35293
35294 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35295
35296         * malloc/arena.c: Fold copyright years.
35297         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35298
35299 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35300
35301         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35302
35303 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35304
35305         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35306
35307 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35308
35309         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35310         change internal state upon failure.
35311
35312 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35313
35314         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35315         * malloc/memusage.c (mmap): Likewise.
35316         (mmap64, mremap): Likewise.  Adjust name in comment.
35317
35318 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35319
35320         * libio/fileops.c: Fix typos in comments.
35321         * libio/oldfileops.c: Likewise.
35322         * libio/wfileops.c: Likewise.
35323
35324 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35325
35326         [BZ #1349]
35327         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35328         (tst-malloc-usable-ENV): Set environment for test case.
35329         * malloc/hooks.c (malloc_check_get_size): New function to get
35330         requested size.
35331         * malloc/malloc.c (musable): Use malloc_check_get_size.
35332         * malloc/tst-malloc-usable.c: New test case.
35333
35334 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35335
35336         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35337
35338 2012-09-05  Allan McRae  <allan@archlinux.org>
35339
35340         [BZ #13966]
35341         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35342         determine header location.
35343         * configure: Regenerated.
35344
35345 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35346
35347         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35348         float format.
35349         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35350         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35351         format.
35352         (test): Regenerate.
35353
35354 2012-09-04  David S. Miller  <davem@davemloft.net>
35355
35356         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35357         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35358         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35359
35360 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35361
35362         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35363         failures.
35364
35365         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35366
35367 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35368
35369         [BZ #9914]
35370         * libio/iogetdelim.c: Include <limits.h>.
35371         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35372         + len + 1 would overflow.
35373
35374 2012-09-03  Andreas Jaeger  <aj@suse.de>
35375
35376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35377         * sysdeps/i386/fpu/libm-test-ulps: Update.
35378
35379 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35380
35381         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35382         Add s_sinf-sse2, s_conf-sse2.
35383
35384         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35385         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35386         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35387         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35388
35389         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35390         for using routine as __sinf_ia32.
35391         Use macro for function declaration and weak_alias.
35392         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35393         for using routine as __cosf_ia32.
35394         Use macro for function declaration and weak_alias.
35395
35396         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35397         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35398
35399         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35400         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35402
35403         * math/libm-test.inc (cos_test): Add more test cases.
35404         (sin_test): Likewise.
35405         (sincos_test): Likewise.
35406
35407 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35408
35409         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35410         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35411         hidden.
35412         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35413
35414 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35415
35416         [BZ #14538]
35417         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35418         first element of the GOT.
35419         (elf_machine_load_address): Return the difference between
35420         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35421
35422 2012-09-01  Allan McRae  <allan@archlinux.org>
35423
35424         [BZ #13412]
35425         * configure.in (AWK): Require gawk version 3.0 or later.
35426         * configure: Regenerated.
35427
35428 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35429
35430         * sysdeps/unix/sysv/linux/kernel-features.h
35431         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35432         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35433         [__NR_clock_getres]: Make code unconditional.
35434         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35435         (clock_getcpuclockid): Remove code left unreachable by removal of
35436         conditionals.
35437         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35438         code unconditional.
35439         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35440         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35441         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35442         Make code unconditional.
35443         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35444         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35445         * sysdeps/unix/sysv/linux/clock_settime.c
35446         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35447         conditional code.
35448         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35449         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35450
35451 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35452
35453         [BZ #14476]
35454         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35455         scripts/test-installation.pl.
35456
35457         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35458         and $ld_so_version if it is set.
35459
35460 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35461
35462         [BZ #14516]
35463         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35464         failure if reading from procfs failed.
35465         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35466
35467 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35468
35469         * sysdeps/unix/sysv/linux/kernel-features.h
35470         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35471         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35472         Remove conditional code.
35473         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35474         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35475         Remove conditional code.
35476         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35477         * sysdeps/unix/sysv/linux/i386/fxstat.c
35478         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35479         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35480         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35481         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35482         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35483         * sysdeps/unix/sysv/linux/i386/lxstat.c
35484         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35485         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35486         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35487         Remove conditional code.
35488         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35489         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35490         Remove conditional code.
35491         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35492         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35493         <kernel-features.h>.
35494         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35495         Remove.
35496         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35497         Remove conditional code.
35498         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35499         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35500         Remove conditional.
35501
35502 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35503
35504         [BZ #5400]
35505         * NEWS: Add fixed bug number.
35506
35507 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35508
35509         [BZ #14519]
35510         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35511         underflowing exponent in case of negative sign.
35512         * stdlib/tst-strtod-round-data: Add more tests.
35513         * stdlib/tst-strtod-round.c (tests): Regenerated.
35514
35515         [BZ #3479]
35516         * stdlib/strtod_l.c (NDIG): Remove.
35517         (HEXNDIG): Likewise.
35518         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35519         smallest representable value.
35520         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35521         lie within an exact representation of 1/2 ulp of the result.
35522         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35523         unconditionally.
35524         (TENS_P9_IDX): Define unconditionally.
35525         (TENS_P9_SIZE): Likewise.
35526         (TENS_P10_IDX): Likewise.
35527         (TENS_P10_SIZE): Likewise.
35528         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35529         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35530         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35531         entries for 10^2^13 and 10^2^14.
35532         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35533         (TENS_P13_IDX): Define.
35534         (TENS_P13_SIZE): Likewise.
35535         (TENS_P14_IDX): Likewise.
35536         (TENS_P14_SIZE): Likewise.
35537         (_fpioconst_pow10): Change array size to
35538         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35539         unconditional.
35540         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35541         1024]: Add entries for 10^2^13 and 10^2^14.
35542         [LAST_POW10 > _LAST_POW10]: Remove #error.
35543         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35544         (_fpioconst_pow10): Change array size to
35545         FPIOCONST_POW10_ARRAY_SIZE.
35546         * stdlib/gen-fpioconst.c: New file.
35547         * stdlib/gen-tst-strtod-round.c: Likewise.
35548         * stdlib/tst-strtod-round-data: Likewise.
35549         * stdlib/tst-strtod-round.c: Likewise.
35550         * stdlib/Makefile (tests): Add tst-strtod-round.
35551
35552         [BZ #14459]
35553         * stdlib/strtod_l.c: Include <stdint.h>.
35554         (NDEBUG): Do not define.
35555         (round_and_return): Change EXPONENT parameter to type intmax_t.
35556         Rearrange calculations to avoid internal overflow possibilities.
35557         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35558         Rearrange calculations to avoid internal overflow possibilities.
35559         Assert that number fits inside MPNSIZE limbs.
35560         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35561         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35562         calculations and add assertions to avoid internal overflow
35563         possibilities.  Add casts to avoid signed/unsigned operations.
35564         * stdlib/tst-strtod-overflow.c: New file.
35565         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35566
35567 2012-08-25  Marek Polacek  <polacek@redhat.com>
35568
35569         * time/time.h: Fix some typos in comments.
35570
35571 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35572
35573         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35574         * posix/tst-rfc3484-2.c: Likewise.
35575         * posix/tst-rfc3484-3.c: Likewise.
35576
35577 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35578
35579         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35580         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35581
35582 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35583
35584         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35585         #include of fxstatat64.c.
35586
35587 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35588
35589         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35590         * shadow/getspent_r.c: Likewise.
35591         * shadow/getspnam.c: Likewise.
35592         * shadow/getspnam_r.c: Likewise.
35593         * gshadow/getsgent.c: Likewise.
35594         * gshadow/getsgent_r.c: Likewise.
35595         * gshadow/getsgnam.c: Likewise.
35596         * gshadow/getsgnam_r.c: Likewise.
35597         * inet/getnetbyad.c: Likewise.
35598         * inet/getnetbyad_r.c: Likewise.
35599         * inet/getnetbynm.c: Likewise.
35600         * inet/getnetbynm_r.c: Likewise.
35601         * inet/getnetent.c: Likewise.
35602         * inet/getnetent_r.c: Likewise.
35603         * inet/getproto.c: Likewise.
35604         * inet/getproto_r.c: Likewise.
35605         * inet/getprtent.c: Likewise.
35606         * inet/getprtent_r.c: Likewise.
35607         * inet/getprtname.c: Likewise.
35608         * inet/getprtname_r.c: Likewise.
35609         * inet/getrpcbyname.c: Likewise.
35610         * inet/getrpcbyname_r.c: Likewise.
35611         * inet/getrpcbynumber.c: Likewise.
35612         * inet/getrpcbynumber_r.c: Likewise.
35613         * inet/getrpcent.c: Likewise.
35614         * inet/getrpcent_r.c: Likewise.
35615         * inet/getaliasent.c: Likewise.
35616         * inet/getaliasent_r.c: Likewise.
35617         * inet/getaliasname.c: Likewise.
35618         * inet/getaliasname_r.c: Likewise.
35619         * nscd/getgrgid_r.c: Likewise.
35620         * nscd/getgrnam_r.c: Likewise.
35621         * nscd/gethstbyad_r.c: Likewise.
35622         * nscd/gethstbynm3_r.c: Likewise.
35623         * nscd/getpwnam_r.c: Likewise.
35624         * nscd/getpwuid_r.c: Likewise.
35625         * nscd/getsrvbynm_r.c: Likewise.
35626         * nscd/getsrvbypt_r.c: Likewise.
35627         * nscd/gai.c: Likewise.
35628
35629         * configure.in (build_nscd): New substituted variable, set
35630         by --disable-build-nscd and defaults to $use_nscd.
35631         * configure: Regenerated.
35632         * config.make.in (build-nscd): New substituted variable.
35633         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35634         Change conditional to require [$(build-nscd) = yes] as well.
35635         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35636
35637         [BZ# 13696]
35638         * configure.in (use_nscd): New substituted variable, set by
35639         --disable-nscd.  If enabled, define USE_NSCD.
35640         * configure: Regenerated.
35641         * config.h.in: Add USE_NSCD.
35642         * config.make.in (use-nscd): New substituted variable.
35643         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35644         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35645         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35646         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35647         (CFLAGS-getgrnam_r.c): Likewise.
35648         (CFLAGS-initgroups.c): Likewise.
35649         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35650         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35651         Variables removed.
35652         * inet/getnetgrent_r.c
35653         (nscd_setnetgrent): New function, broken out of ...
35654         (setnetgrent): ... here.  Call it.
35655         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35656         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35657         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35658         * nscd/Makefile (routines, aux): Move definitions after include of
35659         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35660         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35661         Conditionalize on [USE_NSCD].
35662         (is_nscd, nscd_init_cb): Likewise.
35663         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35664         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35665         * nss/nss_db/db-init.c: Likewise.
35666         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35667         [USE_NSCD].
35668         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35669         (make_request): Use it.
35670         (cache_valid_p): New function.
35671         (__check_pf): Use it.
35672         * NEWS: Add item for --disable-nscd.
35673
35674 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35675
35676         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35677         to support sed >= 4.2.1-20-ga9bf076.
35678         * configure: Regenerated.
35679
35680 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35681
35682         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35683         Conditionalize whole body on [IREL].
35684
35685 2012-08-22  Jeff Law <law@redhat.com>
35686
35687         [BZ #14505]
35688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35689         if the family is PF_UNSPEC.
35690
35691 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35692
35693         * Makerules (lib-version): Rename from V.
35694         (install-lib-nosubdir): Change V to lib-version.
35695
35696 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35697
35698         [BZ #14252]
35699         * powerpc32/power6/wcschr.c: New file.
35700         * powerpc32/power6/wcscpy.c: New file.
35701         * powerpc32/power6/wcsrchr.c: New file.
35702         * powerpc64/power6/wcschr.c: New file.
35703         * powerpc64/power6/wcscpy.c: New file.
35704         * powerpc64/power6/wcsrchr.c: New file.
35705
35706 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35707
35708         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35709         (two_way_short_needle): Use it.
35710         * string/strstr.c (AVAILABLE1_USES_J): Define.
35711         * string/strcasestr.c: Likewise.
35712
35713         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35714         array references.
35715         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35716
35717         [BZ #11607]
35718         * NEWS: Add an entry.
35719         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35720         define their defaults.
35721         (two_way_short_needle): Detect end-of-string on-the-fly.
35722         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35723         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35724         * string/bug-strcasestr1.c: New test.
35725         * string/Makefile: Run it.
35726
35727 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35728
35729         [BZ #11607]
35730         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35731         the first character.
35732
35733 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35734
35735         * csu/elf-init.c (__libc_csu_irel): Function removed.
35736         * csu/libc-start.c (apply_irel): New function.
35737         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35738
35739 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35740
35741         * sysdeps/unix/sysv/linux/kernel-features.h
35742         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35743         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35744         <kernel-features.h>.
35745         [__NR_fadvise64_64]: Make code unconditional.
35746         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35747         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35748         !__NR_fadvise64_64)]: Likewise.
35749         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35750         !__NR_fadvise64_64))]: Likewise.
35751         [__NR_fadvise64]: Make code unconditional.
35752         [!__NR_fadvise64]: Remove conditional code.
35753         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35754         <kernel-features.h>.
35755         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35756         unconditional.
35757         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35758         conditional code.
35759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35760         not include <kernel-features.h>.
35761         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35762         unconditional.
35763         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35764         conditional code.
35765         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35766         include <kernel-features.h>.
35767         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35768         unconditional.
35769         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35770         conditional code.
35771
35772 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35773
35774         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35775         slight instruction rearrangements per scrollpipe analysis.
35776         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35777
35778 2012-08-20  Roland McGrath  <roland@hack.frob.com>
35779
35780         * manual/syslog.texi (syslog; vsyslog, closelog):
35781         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35782         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35783
35784         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35785         DSOCAPS to match condition on defining it.
35786
35787 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
35788
35789         * sysdeps/unix/sysv/linux/kernel-features.h
35790         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35792         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35793         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35795         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35796         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35798         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35799         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35800
35801         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35802         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35803
35804         * sysdeps/unix/sysv/linux/kernel-features.h
35805         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35806         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35807         unconditional.
35808         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35809         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35810         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35811         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35812         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35813         Make code unconditional.
35814         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35815         (__mmap64) [!__NR_mmap2]: Likewise.
35816         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35817         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35818         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35819         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35820         [__NR_mmap2]: Make code unconditional.
35821         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35822         (__mmap64) [!__NR_mmap2]: Likewise.
35823
35824 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35825
35826         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35827
35828 2012-08-18  Andreas Jaeger  <aj@suse.de>
35829
35830         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35831
35832 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35833
35834         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35835         * include/unistd.h (__have_sock_cloexec): Likewise.
35836         (__have_pipe2): Likewise.
35837         (__have_dup3): Likewise.
35838
35839 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35840
35841         [BZ #9685]
35842         * include/unistd.h (__have_pipe2): Change define into an extern int.
35843         (__have_dup3): Likewise.
35844         * socket/have_sock_cloexec.c: Include fcntl.h.
35845         (__have_pipe2): New variable.
35846         (__have_dup3): Likewise.
35847
35848 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
35849
35850         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35851
35852 2012-08-17  Marek Polacek  <polacek@redhat.com>
35853
35854         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35855         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35856
35857 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35858
35859         * configure.in: Add AC_SUBST for sysheaders.
35860         * configure: Regenerated.
35861         * config.make.in (sysheaders): New substituted variable.
35862
35863         * sysdeps/unix/mkfifo.c: Moved ...
35864         * sysdeps/posix/mkfifo.c: ... here.
35865         * sysdeps/unix/mkfifoat.c: Moved ...
35866         * sysdeps/posix/mkfifoat.c: ... here.
35867
35868         * sysdeps/unix/utime.c: Moved ...
35869         * sysdeps/posix/utime.c: ... here.
35870
35871         * sysdeps/unix/time.c: Moved ...
35872         * sysdeps/posix/time.c: ... here.
35873         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35874         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35875
35876         * sysdeps/unix/nice.c: Moved ...
35877         * sysdeps/posix/nice.c: ... here.
35878
35879         * sysdeps/unix/alarm.c: Moved ...
35880         * sysdeps/posix/alarm.c: ... here.
35881
35882         * intl/Makefile ($(codeset_mo)): Depend on the input file.
35883
35884 2012-08-17  Jeff Law <law@redhat.com>
35885
35886         * intl/Makefile (codeset_mo): New variable.
35887         ($(codeset_mo)): New target.
35888         (tst-codeset.out): Depend on that.  Remove explicit rule.
35889         (tst-gettext3.out, tst-gettext5.out): Likewise.
35890         (LOCPATH-ENV, tst-codeset-ENV): New variables.
35891         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35892         * intl/tst-codeset.sh: Remove.
35893         * intl/tst-gettext3.sh: Likewise.
35894         * intl/tst-gettext5.sh: Likewise.
35895
35896 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35897
35898         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
35899         * sysdeps/unix/syscalls.list: ... here.
35900
35901         * sysdeps/posix/getaddrinfo.c
35902         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35903         (gaiconf_init, gaiconf_reload): Use them.
35904         [!_STATBUF_ST_NSEC]
35905         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35906         Define using time_t rather than struct timespec.
35907
35908         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35909         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35910         Macros removed.
35911         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35912         [!NO_THREADS].
35913         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35914         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35915         Likewise.
35916
35917         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35918         __libc_cleanup_push argument.
35919
35920         * bits/param.h: New file.
35921         * misc/sys/param.h: New file.
35922         * include/sys/param.h: New file.
35923         * misc/Makefile (headers): Add bits/param.h.
35924         * sysdeps/generic/sys/param.h: File removed.
35925         * sysdeps/unix/sysv/linux/bits/param.h: New file.
35926         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35927         * sysdeps/mach/hurd/bits/param.h: New file.
35928         * sysdeps/mach/hurd/sys/param.h: File removed.
35929
35930         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35931         last change.
35932
35933         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35934         [_IO_MTSAFE_IO].
35935         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35936         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35937         New macros.
35938
35939         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35940         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35941         rather than -D_IO_MTSAFE_IO conditionally.
35942         * stdio-common/Makefile (CPPFLAGS): Likewise.
35943         * wcsmbs/Makefile (CPPFLAGS): Likewise.
35944         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35945         Use $(libio-mtsafe).
35946         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35947         of -D_IO_MTSAFE_IO.
35948         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35949         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35950         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35951         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35952         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35953         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35954         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35955         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35956         (CFLAGS-fread_u_chk.c): Likewise.
35957         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35958         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35959         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35960         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35961         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35962         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35963         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35964         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35965         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35966
35967         * libio/Makefile: Test [$(libc-reentrant) = yes]
35968         instead of [$(filter %REENTRANT, $(defines)) nonempty].
35969
35970         * Makeconfig
35971         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35972         * sysdeps/pthread/configure: File removed.
35973         * sysdeps/pthread/Makeconfig: New file.
35974         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35975         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35976
35977 2012-08-16  Gary Benson  <gbenson@redhat.com>
35978
35979         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35980         unmapping the first object in a namespace.
35981
35982 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35983
35984         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35985         (__internal_setnetgrent): ... this.  Add internal_function to
35986         definition.  Add libc_hidden_def.
35987         (setnetgrent): Update caller.
35988         (internal_endnetgrent): Renamed to ...
35989         (__internal_endnetgrent): ... this.  Add internal_function to
35990         definition.  Add libc_hidden_def.
35991         (endnetgrent): Update caller.
35992         (internal_getnetgrent_r): Renamed to ...
35993         (__internal_getnetgrent_r): ... this.  Add internal_function to
35994         definition.  Add libc_hidden_def.
35995         (__getnetgrent_r): Update caller.
35996         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
35997
35998 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
35999
36000         * stdlib/longlong.h: Update from GCC.
36001
36002 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36003
36004         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36005         on _QL, which is set by umul_ppmm but never used.
36006         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36007         variables, which are set by GMP macros but never used.
36008         * stdio-common/_itowa.c (_itowa): Likewise.
36009         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36010         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36011
36012 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36013
36014         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36015         struct La_sh_regs is not constant.
36016         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36017         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36018         and struct La_sparc64_regs are not constant.
36019
36020 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36021
36022         * sysdeps/unix/sysv/linux/kernel-features.h
36023         (__ASSUME_POSIX_TIMERS): Remove.
36024         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36025         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36026         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36027         Make code unconditional.
36028         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36029         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36030         Make code unconditional.
36031         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36032         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36033         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36034         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36035         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36036         Make code unconditional.
36037         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36038         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36039         (__libc_missing_posix_timers): Remove.
36040
36041 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36042
36043         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36044         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36045
36046         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36047
36048         * elf/dl-sym.c: Include <stdlib.h>.
36049
36050         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36051         constants, which avoids warnings in 32-bit builds.
36052
36053         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36054         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36055
36056         * misc/lseek.c: File moved to ...
36057         * io/lseek.c: ... here.
36058
36059         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36060
36061         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36062         shifting LEN more than 31 bits at once.
36063
36064 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36065
36066         [BZ #14195]
36067         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36068         segmentation fault for a case of two empty input strings.
36069         * string/test-strncasecmp.c (check1): Renamed to...
36070         (bz12205): ...this.
36071         (bz14195): Add new testcase for two empty input strings and N > 0.
36072         (test_main): Call new testcase, adapt for renamed function.
36073
36074 2012-08-15  Andreas Jaeger  <aj@suse.de>
36075
36076         [BZ #14090]
36077         * crypt/md5test2.c: New test, based on test supplied by Serge
36078         Belyshev <belyshev@depni.sinp.msu.ru>.
36079         * crypt/Makefile (xtests): Add md5test-giant..
36080         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36081
36082 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36083
36084         [BZ #14090]
36085         * crypt/md5.c (md5_process_block): Don't assume the buffer
36086         length is less than 2**32.
36087         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36088         length is less than 2**64.
36089
36090 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36091
36092         * string/str-two-way.h: Include <sys/param.h>.
36093         (MAX): Macro removed.
36094
36095         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36096         Move #define and #undef of memmove to just before and after
36097         including <string.h>.
36098
36099         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36100         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36101         and after including <string.h>.  Move declarations of
36102         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36103         to before #include "string/memmove.c".
36104
36105         * include/dirent.h: Declare __getdirentries.
36106
36107         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36108         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36109
36110 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36111
36112         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36113         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36114         * sysdeps/i386/configure: Regenerated.
36115         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36116         STABS_CURRENT_FILE, and STABS_FUN.
36117         (END): Remove call to STABS_FUN_END.
36118         (STABS_CURRENT_FILE1): Delete.
36119         (STABS_CURRENT_FILE): Likewise.
36120         (STABS_FUN): Likewise.
36121         (STABS_FUN_END): Likewise.
36122         (STABS_FUN2): Likewise.
36123         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36124         * sysdeps/x86_64/configure: Regenerated.
36125
36126 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36127
36128         * elf/dl-open.c: Include <atomic.h>.
36129         * elf/dl-lookup.c: Likewise.
36130
36131 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36132
36133         * sysdeps/unix/sysv/linux/kernel-features.h
36134         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36135         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36136         unconditionally.
36137         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36138         unconditionally.
36139         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36140         condition on __ASSUME_CLONE_THREAD_FLAGS.
36141
36142 2012-08-14  Andreas Jaeger  <aj@suse.de>
36143
36144         * sysdeps/i386/fpu/libm-test-ulps: Update.
36145
36146 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36147
36148         * include/atomic.h (atomic_exchange_and_add): Split into ...
36149         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36150         New atomic macros.
36151
36152 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36153
36154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36155
36156 2012-08-13  Jeff Law <law@redhat.com>
36157
36158         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36159         null byte in the output string.
36160
36161 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36162
36163         * sysdeps/unix/sysv/linux/kernel-features.h
36164         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36165         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36166         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36167         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36168         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36169         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36170         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36171
36172 2012-08-09  Jeff Law <law@redhat.com>
36173
36174         [BZ #13939]
36175         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36176         When avoid_arena is set, don't retry in the that arena.  Pick the
36177         next one, whatever it might be.
36178         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36179         (arena_lock): Pass in new parameter to arena_get2.
36180         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36181         arena_get2.
36182         (__libc_malloc): Unify retrying after main arena failure with
36183         __libc_memalign version.
36184         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36185
36186 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36187
36188         [BZ #14166]
36189         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36190         to __redirect_strstr.
36191         (__strstr_sse42): Use typeof __redirect_strstr.
36192         (__strstr_ia32): Likewise.
36193         (__libc_strstr): New prototype.
36194         (strstr): Renamed to ...
36195         (__libc_strstr): This.
36196         (strstr): New strong alias of __libc_strstr.
36197         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36198         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36199         __redirect_time.
36200         Include <time.h>.
36201         (__libc_time): New prototype.
36202         (time_ifunc): Replace time with __libc_time.
36203         (time): New strong alias and hidden definition of __libc_time.
36204         (__GI_time): Remove strong alias.
36205         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36206         Include <stddef.h>.
36207         (memmove): Redefined to __redirect_memmove.
36208         (__memmove_sse2): Use typeof __redirect_memmove.
36209         (__memmove_ssse3): Likewise.
36210         (__memmove_ssse3_back): Likewise.
36211         (__libc_memmove): New prototype.
36212         (memmove): Renamed to ...
36213         (__libc_memmove): This.
36214         (memmove): New strong alias of __libc_memmove.
36215
36216 2012-08-08  Mark Salter  <msalter@redhat.com>
36217
36218         * elf/elf.h
36219         (R_MN10300_TLS_GD): Define.
36220         (R_MN10300_TLS_LD): Likewise.
36221         (R_MN10300_TLS_LDO): Likewise.
36222         (R_MN10300_TLS_GOTIE): Likewise.
36223         (R_MN10300_TLS_IE): Likewise.
36224         (R_MN10300_TLS_LE): Likewise.
36225         (R_MN10300_TLS_DTPMOD): Likewise.
36226         (R_MN10300_TLS_DTPOFF): Likewise.
36227         (R_MN10300_TLS_TPOFF): Likewise.
36228         (R_MN10300_SYM_DIFF): Likewise.
36229         (R_MN10300_ALIGN): Likewise.
36230         (R_MN10300_NUM): Update.
36231
36232 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36233
36234         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36235         Remove.
36236
36237 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36238
36239         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36240
36241         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36242         sysdeps/unix -> sysdeps/posix move.
36243         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36244
36245 2012-08-07      Allan McRae     <allan@archlinux.org>
36246
36247         [BZ #14303]
36248         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36249         (SUNOS_CPP): Likewise.
36250         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36251         not found.
36252         (open_input): Call CPP using execvp.
36253
36254 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36255
36256         * sysdeps/unix/sysv/linux/kernel-features.h
36257         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36258         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36259         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36260         (__ASSUME_WAITID_SYSCALL): Likewise.
36261         * sysdeps/unix/sysv/linux/dl-execstack.c
36262         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36263         code unconditional.
36264         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36265         conditional code.
36266         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36267         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36268         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36269         code.
36270         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36271         unconditional.
36272         [__ASSUME_WAITID_SYSCALL]: Likewise.
36273         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36274
36275 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36276
36277         * sysdeps/unix/closedir.c: Renamed to ...
36278         * sysdeps/posix/closedir.c: ... here.
36279         * sysdeps/unix/dirfd.c: Renamed to ...
36280         * sysdeps/posix/dirfd.c: ... here.
36281         * sysdeps/unix/dirstream.h: Renamed to ...
36282         * sysdeps/posix/dirstream.h: ... here.
36283         * sysdeps/unix/fdopendir.c: Renamed to ...
36284         * sysdeps/posix/fdopendir.c: ... here.
36285         * sysdeps/unix/opendir.c: Renamed to ...
36286         * sysdeps/posix/opendir.c: ... here.
36287         * sysdeps/unix/readdir.c: Renamed to ...
36288         * sysdeps/posix/readdir.c: ... here.
36289         * sysdeps/unix/readdir_r.c: Renamed to ...
36290         * sysdeps/posix/readdir_r.c: ... here.
36291         * sysdeps/unix/rewinddir.c: Renamed to ...
36292         * sysdeps/posix/rewinddir.c: ... here.
36293         * sysdeps/unix/seekdir.c: Renamed to ...
36294         * sysdeps/posix/seekdir.c: ... here.
36295         * sysdeps/unix/telldir.c: Renamed to ...
36296         * sysdeps/posix/telldir.c: ... here.
36297         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36298         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36299         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36300         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36301
36302         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36303         * bits/fcntl.h: ... here.
36304
36305         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36306         not 0.
36307         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36308         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36309         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36310         (struct flock): Move l_start, l_len to the beginning.
36311         Use __pid_t for l_pid.
36312         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36313         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36314         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36315         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36316         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36317         [__USE_LARGEFILE64] (struct flock64): New type.
36318         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36319
36320         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36321         * bits/dirent.h: ... here.
36322
36323         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36324         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36325
36326 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36327
36328         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36329         Change from 2.6.0 to 2.6.16.
36330         * sysdeps/unix/sysv/linux/configure: Regenerated.
36331         * sysdeps/unix/sysv/linux/kernel-features.h
36332         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36333         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36334         version.
36335         (__ASSUME_UTIMES): Likewise.
36336         (__ASSUME_CLONE_STOPPED): Remove.
36337         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36338         architectures, not kernel version.
36339         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36340         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36341         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36342         (__ASSUME_WAITID_SYSCALL): Likewise.
36343         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36344         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36345         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36346         refer to older versions.
36347
36348 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36349
36350         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36351         Define alphasort64 as an alias.
36352         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36353         Define versionsort64 as an alias.
36354         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36355         Define scandir64 as an alias.
36356         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36357         Define scandirat64 as an alias.
36358         * dirent/alphasort64.c (alphasort64):
36359         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36360         * dirent/versionsort64.c: Likewise.
36361         * dirent/scandir64.c: Likewise.
36362         * dirent/scandirat64.c: Likewise.
36363         * sysdeps/wordsize-64/alphasort.c: File removed.
36364         * sysdeps/wordsize-64/alphasort64.c: File removed.
36365         * sysdeps/wordsize-64/scandir.c: File removed.
36366         * sysdeps/wordsize-64/scandir64.c: File removed.
36367         * sysdeps/wordsize-64/scandirat.c: File removed.
36368         * sysdeps/wordsize-64/scandirat64.c: File removed.
36369         * sysdeps/wordsize-64/versionsort.c: File removed.
36370         * sysdeps/wordsize-64/versionsort64.c: File removed.
36371         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36372         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36373         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36374         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36375         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36376         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36377         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36378         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36379
36380         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36381         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36382         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36383         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36384         [defined __arch64__ || defined __sparcv9]
36385         (__INO_T_MATCHES_INO64_T): New macro.
36386         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36387         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36388         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36389         * sysdeps/unix/sysv/linux/bits/dirent.h
36390         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36391         (_DIRENT_MATCHES_DIRENT64): New macro.
36392
36393         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36394         Define lockf64 as an alias.
36395         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36396         Define fseeko64 as an alias.
36397         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36398         Define ftello64 as an alias.
36399         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36400         Define _IO_fgetpos64 and fgetpos64 as aliases.
36401         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36402         Define _IO_fsetpos64 and fsetpos64 as aliases.
36403         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36404         Conditionalize body on this.
36405         * libio/fseeko64.c: Likewise.
36406         * libio/ftello64.c: Likewise.
36407         * libio/iofgetpos64.c: Likewise.
36408         * libio/iofsetpos64.c: Likewise.
36409         * sysdeps/wordsize-64/lockf.c: File removed.
36410         * sysdeps/wordsize-64/lockf64.c: File removed.
36411         * sysdeps/wordsize-64/fseeko.c: File removed.
36412         * sysdeps/wordsize-64/fseeko64.c: File removed.
36413         * sysdeps/wordsize-64/ftello.c: File removed.
36414         * sysdeps/wordsize-64/ftello64.c: File removed.
36415         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36416         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36417         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36418         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36419         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36420         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36421         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36422         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36423         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36424         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36425         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36426         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36427         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36428         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36429
36430         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36431         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36432         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36433         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36434         [defined __arch64__ || defined __sparcv9]
36435         (__OFF_T_MATCHES_OFF64_T): New macro.
36436         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36437         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36438         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36439         (__OFF_T_MATCHES_OFF64_T): New macro.
36440
36441 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36442
36443         * stdlib/secure-getenv.c (__secure_getenv): Replace
36444         GLIBC_2_16 with GLIBC_2_17.
36445
36446 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36447
36448         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36449         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36450
36451 2012-08-03  David S. Miller  <davem@davemloft.net>
36452
36453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36454
36455 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36456
36457         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36458         Remove.
36459         (__ASSUME_CORRECT_SI_PID): Likewise.
36460         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36461         (__ASSUME_TMPFS_NAME): Likewise.
36462         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36463         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36464         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36465         (HAVE_AUX_SECURE): Make definition unconditional.
36466         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36467         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36468
36469 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36470
36471         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36472         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36473         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36474         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36475         __eloop_threshold instead of SYMLOOP_MAX.
36476
36477         * sysdeps/generic/eloop-threshold.h: New file.
36478         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36479         of MAXSYMLINKS.
36480         * elf/chroot_canon.c (chroot_canon): Likewise.
36481
36482 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36483
36484         [BZ #13717]
36485         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36486         Change to 2.6.0 everywhere.
36487         * sysdeps/unix/sysv/linux/configure: Regenerated.
36488         * sysdeps/unix/sysv/linux/kernel-features.h
36489         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36490         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36491         kernel versions.
36492         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36493         (__ASSUME_FUTEX_REQUEUE): Remove.
36494         (__ASSUME_STATFS64): Define unconditionally.
36495         (__ASSUME_AT_SECURE): Likewise.
36496         (__ASSUME_CORRECT_SI_PID): Likewise.
36497         (__ASSUME_TGKILL): Define without depending on kernel version for
36498         i386.
36499         (__ASSUME_UTIMES): Likewise.
36500         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36501         kernel version.
36502         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36503         (__ASSUME_TMPFS_NAME): Likewise.
36504         * README: Update reference to Linux kernel versions.
36505
36506 2012-08-02  Marek Polacek  <polacek@redhat.com>
36507
36508         [BZ# 14150]
36509         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36510         libc_cv_asm_type_prefix with %.
36511         * configure: Regenerated.
36512         * include/libc-symbols.h: Remove comment about
36513         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36514         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36515         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36516         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36517         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36518         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36519         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36520         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36521         * elf/tst-unique2mod1.c: Likewise.
36522         * elf/tst-unique1mod2.c: Likewise.
36523         * elf/tst-unique1mod1.c: Likewise.
36524         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36525         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36526         Replace ASM_TYPE_DIRECTIVE with .type.
36527         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36528         * sysdeps/i386/sysdep.h: Likewise.
36529         * sysdeps/x86_64/sysdep.h: Likewise.
36530         * sysdeps/sh/sysdep.h: Likewise.
36531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36532         Do not define ASM_TYPE_DIRECTIVE.
36533         * sysdeps/powerpc/sysdep.h: Likewise.
36534         * sysdeps/powerpc/powerpc32/sysdep.h:
36535         Replace ASM_TYPE_DIRECTIVE with .type.
36536         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36537         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36538         * sysdeps/i386/fpu/e_powf.S: Likewise.
36539         * sysdeps/i386/fpu/e_expl.S: Likewise.
36540         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36541         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36542         * sysdeps/i386/fpu/e_pow.S: Likewise.
36543         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36544         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36545         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36546         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36547         * sysdeps/i386/fpu/e_log2.S: Likewise.
36548         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36549         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36550         * sysdeps/i386/fpu/e_powl.S: Likewise.
36551         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36552         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36553         * sysdeps/i386/fpu/e_logl.S: Likewise.
36554         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36555         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36556         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36557         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36558         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36559         * sysdeps/i386/fpu/e_log.S: Likewise.
36560         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36561         * sysdeps/i386/fpu/e_logf.S: Likewise.
36562         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36563         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36564         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36565         * sysdeps/i386/fpu/e_log10.S: Likewise.
36566         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36567         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36568         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36569         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36570         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36571         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36572         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36573         * sysdeps/i386/i686/strtok.S: Likewise.
36574         * sysdeps/i386/i386-mcount.S: Likewise.
36575         * sysdeps/i386/strtok.S: Likewise.
36576         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36577         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36578         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36579         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36580         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36581         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36582         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36583         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36584         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36585         * sysdeps/x86_64/_mcount.S: Likewise.
36586         * sysdeps/x86_64/strtok.S: Likewise.
36587         * sysdeps/sh/_mcount.S: Likewise.
36588
36589 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36590
36591         * libio/iofopen.c: Include <fcntl.h>.
36592         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36593         (_IO_fopen64, fopen64): Define as aliases.
36594         * libio/iofopen64.c: Include <fcntl.h>.
36595         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36596         Conditionalize body on this.
36597         * sysdeps/wordsize-64/iofopen.c: File removed.
36598         * sysdeps/wordsize-64/iofopen64.c: File removed.
36599
36600 2012-08-01  Marek Polacek  <polacek@redhat.com>
36601
36602         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36603         Use dlfcn directly instead of a variable.
36604         (binfmt-subdir): Do not define.
36605         (dlfcn): Likewise.
36606
36607 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36608
36609         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36610         Remove all definitions.
36611         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36612         <kernel-features.h>.
36613         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36614         (miss_F_GETOWN_EX): Remove all definitions.
36615         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36616         macro definition.
36617         [!__ASSUME_FCNTL64]: Remove conditional code.
36618         [__ASSUME_FCNTL64]: Make code unconditional.
36619         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36620         <kernel-features.h>.
36621         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36622         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36623         (lockf64) [__NR_fcntl64]: Make code unconditional.
36624         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36625
36626         * sysdeps/unix/sysv/linux/kernel-features.h
36627         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36628         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36629         Make code unconditional.
36630         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36631         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36633         [__NR_vfork]: Make code unconditional.
36634         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36635         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36637         [__NR_vfork]: Make code unconditional.
36638         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36639         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36640
36641 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36642
36643         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36644         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36645
36646         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36647         Define mkstemp64 as an alias.
36648         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36649         Define mkstemps64 as an alias.
36650         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36651         Define mkostemp64 as an alias.
36652         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36653         Define mkostemps64 as an alias.
36654         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36655         Conditionalize body on this.
36656         * misc/mkostemp64.c: Likewise.
36657         * misc/mkostemps64.c: Likewise.
36658         * misc/mkstemps64.c: Likewise.
36659         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36660         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36661         * sysdeps/wordsize-64/mkostemp.c: File removed.
36662         * sysdeps/wordsize-64/mkstemp.c: File removed.
36663         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36664         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36665         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36666         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36667
36668         [BZ #14138]
36669         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36670         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36671         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36672         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36673
36674         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36675         compat_symbol macros from <shlib-compat.h> rather than the underlying
36676         default_symbol_version and symbol_version macros, so that DEFAULT
36677         lines in shlib-versions are respected.
36678         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36679
36680 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36681
36682         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36683         Declare with warn_unused_result.
36684         (setgid, setregid, setegid, setresgid): Likewise.
36685         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36686         Likewise.
36687         * WUR-REPORT: Remove set*id functions.
36688
36689 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36690
36691         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36692
36693 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36694
36695         [BZ #10191]
36696         * include/sys/socket.h (__libc_accept, __libc_accept4):
36697         Add attribute_hidden.
36698         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36699
36700         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36701         use of PTR_MANGLE.
36702         * inet/getnetgrent_r.c (setup): Likewise.
36703
36704         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36705
36706 2012-07-31  David S. Miller  <davem@davemloft.net>
36707
36708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36709
36710 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36711
36712         [BZ #13629]
36713         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36714         value between 1.0 and 2.0 and smaller part has absolute value less
36715         than 1.0.
36716         * math/s_clog10.c (__clog10): Likewise.
36717         * math/s_clog10f.c (__clog10f): Likewise.
36718         * math/s_clog10l.c (__clog10l): Likewise.
36719         * math/s_clogf.c (__clogf): Likewise.
36720         * math/s_clogl.c (__clogl): Likewise.
36721         * math/libm-test.inc (clog_test): Add more tests.
36722         (clog10_test): Likewise.
36723         * sysdeps/i386/fpu/libm-test-ulps: Update.
36724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36725
36726 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36727
36728         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36729         Exit with zero in case no suitable GID is found, and write a
36730         message to standard error.
36731
36732 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36733
36734         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36735         rather than to 1.
36736         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36737         (MAXPATHLEN): Removed.
36738         (NOGROUP, NODEV): New macros.
36739         (setbit, clrbit, isset, isclr): New macros.
36740         (howmany, roundup, powerof2): New macros.
36741         (DEV_BSIZE): New macro.
36742
36743         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36744         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36745
36746         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36747         definition on [!__NO_LONG_DOUBLE_MATH].
36748
36749         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36750         PTR_MANGLE and PTR_DEMANGLE.
36751
36752         * socket/accept4.c (accept4): Rename to __libc_accept4.
36753         Define accept4 as a weak alias.
36754
36755         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36756         on [_DIRENT_HAVE_D_TYPE].
36757         * io/ftw.c (ftw_dir): Likewise.
36758
36759         * io/xmknod.c (__xmknod): Don't check PATH for being null.
36760
36761         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36762
36763         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36764         Use the BSD numbers rather than the arbitrary ones we had.
36765         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36766         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36767         (SIGXCPU, SIGXFSZ): New macros.
36768         (_NSIG): Now 32.
36769
36770         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36771         initializer on [_LIBC_REENTRANT].
36772
36773         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36774         definitions inside [_POSIX_MAPPED_FILES].
36775
36776         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36777
36778         * dirent/opendir.c: Include <fcntl.h>.
36779
36780         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36781         (__libc_getspecific): Likewise.
36782         (__libc_key_create): Likewise.
36783
36784         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36785         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36786         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36787         (tmpfile64): Define as alias.
36788         * sysdeps/wordsize-64/tmpfile.c: File removed.
36789         * sysdeps/wordsize-64/tmpfile64.c: File removed.
36790         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36791         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36792
36793         * stdio-common/vfscanf.c: Include <stdbool.h>.
36794         * nss/makedb.c: Likewise.
36795         * stdio-common/_i18n_number.h: Likewise.
36796         * argp/argp-help.c: Likewise.
36797         * posix/wordexp.c: Likewise.
36798         * sysdeps/posix/spawni.c: Likewise.
36799         * nss/nss_files/files-initgroups.c: Likewise.
36800         * stdio-common/reg-modifier.c: Include <stdlib.h>.
36801         * nss/nss_files/files-initgroups.c: Likewise.
36802         * nss/nss_db/db-netgrp.c: Likewise.
36803         * nss/nss_db/db-initgroups.c: Likewise.
36804         * io/fchmodat.c: Include <sys/stat.h>.
36805
36806         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36807         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36808
36809         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36810         [HAVE_MMAP].
36811
36812         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36813         Add multiple inclusion protection.
36814
36815 2012-07-27  David S. Miller  <davem@davemloft.net>
36816
36817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36818
36819 2012-07-27  Gary Benson  <gbenson@redhat.com>
36820
36821         [BZ #14298]
36822         * elf/rtld.c: Include <stap-probe.h>.
36823         (dl_main): Added static probes "init_start" and "init_complete".
36824         * elf/dl-load.c: Include <stap-probe.h>.
36825         (lose): Take new parameter "nsid".
36826         Added static probe "map_failed".
36827         (_dl_map_object_from_fd): Pass namespace id to lose.
36828         Added static probe "map_start".
36829         (open_verify): Pass namespace id to lose.
36830         * elf/dl-open.c: Include <stap-probe.h>.
36831         (dl_open_worker) Added static probes "map_complete", "reloc_start"
36832         and "reloc_complete".
36833         * elf/dl-close.c: Include <stap-probe.h>.
36834         (_dl_close_worker): Added static probes "unmap_start" and
36835         "unmap_complete".
36836         * elf/rtld-debugger-interface.txt: New file documenting the above.
36837
36838 2012-07-26  Roland McGrath  <roland@hack.frob.com>
36839
36840         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36841         rather than a string variable.
36842         * sunrpc/rpc_main.c (h_output): Likewise.
36843         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36844
36845 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
36846
36847         * inet/check_native.c: New file.
36848
36849 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
36850
36851         [BZ #13629]
36852         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36853         if larger part has absolute value 1.0.
36854         * math/s_clog10.c (__clog10): Likewise.
36855         * math/s_clog10f.c (__clog10f): Likewise.
36856         * math/s_clog10l.c (__clog10l): Likewise.
36857         * math/s_clogf.c (__clogf): Likewise.
36858         * math/s_clogl.c (__clogl): Likewise.
36859         * math/libm-test.inc (clog_test): Add more tests.
36860         (clog10_test): Likewise.
36861         * sysdeps/i386/fpu/libm-test-ulps: Update.
36862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36863
36864         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36865         (pltexit): Likewise.
36866         (La_regs): Likewise.
36867         (La_retval): Likewise.
36868         (int_retval): Likewise.
36869         Update #error for removed macros to refer only to definitions in
36870         tst-audit.h.
36871         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36872         macro.
36873         (pltexit): Likewise.
36874         (La_regs): Likewise.
36875         (La_retval): Likewise.
36876         (int_retval): Likewise.
36877         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36878         macro.
36879         (pltexit): Likewise.
36880         (La_regs): Likewise.
36881         (La_retval): Likewise.
36882         (int_retval): Likewise.
36883         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36884         macro.
36885         (pltexit): Likewise.
36886         (La_regs): Likewise.
36887         (La_retval): Likewise.
36888         (int_retval): Likewise.
36889         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36890         macro.
36891         (pltexit): Likewise.
36892         (La_regs): Likewise.
36893         (La_retval): Likewise.
36894         (int_retval): Likewise.
36895         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36896         macro.
36897         (pltexit): Likewise.
36898         (La_regs): Likewise.
36899         (La_retval): Likewise.
36900         (int_retval): Likewise.
36901         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36902         macro.
36903         (pltexit): Likewise.
36904         (La_regs): Likewise.
36905         (La_retval): Likewise.
36906         (int_retval): Likewise.
36907         * sysdeps/generic/tst-audit.h: Update comment to refer only to
36908         macro definitions in tst-audit.h.
36909         * sysdeps/i386/tst-audit.h: New file.
36910         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36911         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36912         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36913         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36914         * sysdeps/sh/tst-audit.h: Likewise.
36915         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36916         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36917         * sysdeps/x86_64/tst-audit.h: Likewise.
36918
36919 2012-07-26  Andreas Jaeger  <aj@suse.de>
36920
36921         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36922         ptrace.
36923
36924         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36925         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36926         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36927         PTRACE_O_MASK.
36928         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36929         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36930         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36931
36932         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36933         value.
36934
36935         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36936         _sigsys.
36937         (si_call_addr, si_syscall, si_arch): Define new macro.
36938         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36939         _sigsys.
36940         (si_call_addr, si_syscall, si_arch): Define new marcro.
36941         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36942         _sigsys.
36943         (si_call_addr, si_syscall, si_arch): Define new macro.
36944         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36945         _sigsys.
36946         (si_call_addr, si_syscall, si_arch): Define new macro.
36947
36948 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36949
36950         [BZ #13717]
36951         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36952         Change to 2.4.21 where previously 2.4.1.
36953         * sysdeps/unix/sysv/linux/configure: Regenerated.
36954         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36955         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36956         Linux kernel version.
36957         (__ASSUME_STD_AUXV): Remove.
36958         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36959         kernel version.
36960         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36961         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36962         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36963         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36964         (__ASSUME_NETLINK_SUPPORT): Likewise.
36965         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36966         (__no_netlink_support): Remove conditional definition.
36967         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36968         Remove.
36969         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36970         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36971         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36972         (if_nameindex_ioctl): Remove.
36973         (if_nameindex_netlink): Do not handle __no_netlink_support.
36974         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36975         code.
36976         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36977         Remove conditional code.
36978         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36979         code.
36980         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36981         unconditional.
36982         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36983         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36984         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36985         Remove.
36986         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36987         [!__ASSUME_STD_AUXV]: Remove conditional code.
36988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36989         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36990         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36992         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36993         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36994         code.
36995         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36997         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36998         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36999         conditional code.
37000         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37002         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37003         code.
37004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37005         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37006         conditional code.
37007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37008         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37009         code unconditional.
37010         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37011         conditional code.
37012         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37013         unconditional.
37014         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37015         conditional code.
37016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37017         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37018         unconditional.
37019         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37020         conditional code.
37021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37022         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37023         code unconditional.
37024         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37025         conditional code.
37026         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37027         unconditional.
37028         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37029         conditional code.
37030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37031         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37032         code unconditional.
37033         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37034         conditional code.
37035         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37036         unconditional.
37037         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37038         conditional code.
37039
37040 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37041
37042         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37043         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37044         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37045         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37046         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37047         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37048         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37049         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37050         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37051         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37052         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37053         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37054         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37055         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37056         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37057         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37058         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37059         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37060         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37061         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37062         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37063         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37064         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37065
37066 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37067
37068         * Versions.def: Add GLIBC_2.17.
37069         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37070         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37071         Introduce __libc_secure_getenv.
37072         * stdlib/Versions (2.17): Add secure_getenv
37073         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37074         * stdlib/secure-getenv.c: Rename __secure_getenv to
37075         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37076         symbol __secure_getenv for GLIBC_2.0.
37077         * stdlib/tst-secure-getenv.c: New.
37078         * stdlib/Makefile (tests): Add testcase.
37079         * manual/startup.texi (Environment Access): Document
37080         secure_getenv.
37081         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37082         __libc_secure_getenv.
37083         * inet/ruserpass.c (ruserpass): Likewise.
37084         * malloc/mtrace.c (mtrace): Likewise.
37085         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37086         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37087         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37088         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37089         HAVE_SECURE_GETENV.
37090         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37091         __secure_getenv to __libc_secure_getenv.
37092         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37094         Likewise.
37095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37096         Likewise.
37097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37099         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37104
37105 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37106
37107         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37108         (struct La_i86_retval): Likewise.
37109         (struct La_x86_64_regs): Likewise.
37110         (struct La_x86_64_retval): Likewise.
37111         (struct La_x32_regs): Likewise.
37112         (struct La_x32_retval): Likewise.
37113         (struct La_ppc32_regs): Likewise.
37114         (struct La_ppc32_retval): Likewise.
37115         (struct La_ppc64_regs): Likewise.
37116         (struct La_ppc64_retval): Likewise.
37117         (struct La_sh_regs): Likewise.
37118         (struct La_sh_retval): Likewise.
37119         (struct La_s390_32_regs): Likewise.
37120         (struct La_s390_32_retval): Likewise.
37121         (struct La_s390_64_regs): Likewise.
37122         (struct La_s390_64_retval): Likewise.
37123         (struct La_sparc32_regs): Likewise.
37124         (struct La_sparc32_retval): Likewise.
37125         (struct La_sparc64_regs): Likewise.
37126         (struct La_sparc64_retval): Likewise.
37127         (struct audit_ifaces): Remove architecture-specific pltenter and
37128         pltexit members.
37129         * sysdeps/i386/ldsodefs.h: New file.
37130         * sysdeps/powerpc/ldsodefs.h: Likewise.
37131         * sysdeps/s390/ldsodefs.h: Likewise.
37132         * sysdeps/sh/ldsodefs.h: Likewise.
37133         * sysdeps/sparc/ldsodefs.h: Likewise.
37134         * sysdeps/x86_64/ldsodefs.h: Likewise.
37135
37136 2012-07-25  Marek Polacek  <polacek@redhat.com>
37137
37138         [BZ #6808]
37139         * math/libm-test.inc (yn_test): Add another test.
37140         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37141         to ERANGE when the result is +-Inf.
37142         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37143         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37144         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37145         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37146
37147 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37148
37149         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37150         equal to 0.
37151         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37152         clock_t.
37153         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37154
37155 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37156
37157         * configure.in <sysdeps resolving>: Correct printing
37158         Implies_before.
37159         * configure: Regenerate.
37160
37161 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37162
37163         * math/w_ilogb.c: Include <limits.h>.
37164         * math/w_ilogbl.c: Likewise.
37165
37166 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37167
37168         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37169         va_copy.  Document allowing for unavailable va_copy only as
37170         pre-C99 compatibility.
37171         * manual/string.texi (Copying and Concatenation): Use va_copy
37172         instead of __va_copy in concat example.
37173
37174 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37175
37176         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37177         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37178         it if not null.
37179
37180         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37181         with O_NOLINK passed to __file_name_lookup.
37182
37183         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37184         with O_NOLINK passed to __file_name_lookup.
37185
37186         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37187         negative N or less than NGIDS.
37188
37189         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37190         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37191         enough.  Use memcpy instead of strncpy.
37192
37193 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37194
37195         * elf/Makefile (check-data): Remove.
37196         (localplt.data): New vpath directive.
37197         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37198         instead of $(check-data).
37199         * scripts/data/localplt-generic.data: Move to ...
37200         * sysdeps/generic/localplt.data: ... here.
37201         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37202         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37203         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37205         ... here.
37206         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37208         ... here.
37209         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37211         ... here.
37212         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37214         ... here.
37215         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37217         ... here.
37218         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37220         ... here.
37221
37222 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37223
37224         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37225         PPC32 and PPC64 files.
37226         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37227         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37228
37229 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37230
37231         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37232         __makecontext_ret to ...
37233         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37234         ... here and call exit if uc_link is NULL.  New file.
37235         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37236         __makecontext_ret.S.
37237         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37238         __makecontext_ret to ...
37239         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37240         ... here and call exit if uc_link is NULL.  New file.
37241         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37242         __makecontext_ret.S.
37243
37244 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37245
37246         * elf/elf.h (R_390_IRELATIVE): New definition.
37247         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37248         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37249         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37250         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37251         (elf_machine_lazy_rel): Likewise.
37252         * sysdeps/s390/dl-irel.h: New file.
37253         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37254         * sysdeps/s390/s390-64/memset.S: New asm code.
37255         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37256         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37257         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37258         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37259         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37260         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37261         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37262         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37263         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37264         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37265         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37266         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37267         * sysdeps/s390/s390-32/memset.S: New asm code.
37268         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37269
37270 2012-07-17  Marek Polacek  <polacek@redhat.com>
37271
37272         [BZ #14349]
37273         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37274         * sysdeps/s390/s390-64/configure.in: Likewise.
37275         * sysdeps/sparc/configure.in: Likewise.
37276         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37277         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37278         * sysdeps/i386/configure.in: Likewise.
37279         * sysdeps/x86_64/configure.in: Likewise.
37280         * sysdeps/sh/configure.in: Likewise.
37281         * sysdeps/s390/s390-32/configure: Regenerated.
37282         * sysdeps/s390/s390-64/configure: Likewise.
37283         * sysdeps/x86_64/configure: Likewise.
37284         * sysdeps/sh/configure: Likewise.
37285         * sysdeps/powerpc/powerpc64/configure: Likewise.
37286         * sysdeps/powerpc/powerpc32/configure: Likewise.
37287         * sysdeps/sparc/configure: Likwise.
37288         * sysdeps/i386/configure: Likewise.
37289
37290         * elf/dl-open.c: Comment fixes.
37291
37292 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37293
37294         * Makefile [CXX] (check-data): Remove.
37295         [CXX] (c++-types.data): New vpath directive.
37296         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37297         vpath.  Do not allow for C++ type data being missing.
37298         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37299         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37300         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37301         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37302         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37303         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37304         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37306         ... here.
37307         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37309         ... here.
37310         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37312         ... here.
37313         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37315         ... here.
37316         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37318         ... here.
37319         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37321         ... here.
37322         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37324         ... here.
37325         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37327
37328         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37329         definitions to architecture-specific files.
37330         (TLS_IE): Likewise.
37331         (TLS_LD): Likewise.
37332         (TLS_GD): Likewise.
37333         * sysdeps/i386/tls-macros.h: New file.
37334         * sysdeps/powerpc/tls-macros.h: Likewise.
37335         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37336         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37337         * sysdeps/sh/tls-macros.h: Likewise.
37338         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37339         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37340         * sysdeps/x86_64/tls-macros.h: Likewise.
37341
37342 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37343
37344         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37345         zero value for regular exit case.
37346
37347         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37348         (__start_context): Preserve zero value for regular exit case.
37349
37350 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37351             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37352
37353         * manual/setjmp.texi (setcontext): Clarify normal process
37354         termination when uc_link is the null pointer.
37355         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37356         exit call.
37357
37358 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37359
37360         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37361         preprocessor.  Test for each exception mask separately.
37362
37363 2012-07-16  Andreas Jaeger  <aj@suse.de>
37364
37365         * po/ru.po: Update from translation team.
37366
37367 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37368
37369         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37370         equal to 0.
37371         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37372         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37373         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37374         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37375         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37376
37377 2012-07-13  Andreas Jaeger  <aj@suse.de>
37378
37379         * po/fr.po: Update from translation team.
37380
37381 2012-07-12  Marek Polacek  <polacek@redhat.com>
37382
37383         [BZ #14173]
37384         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37385         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37386         loop condition.
37387
37388 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37389
37390         [BZ #13717]
37391         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37392         Change to 2.4.1 where previously 2.4.0.
37393         * sysdeps/unix/sysv/linux/configure: Regenerated.
37394         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37395         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37396         version.
37397         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37398         (__ASSUME_AT_CLKTCK): Remove.
37399         (__ASSUME_AT_PAGESIZE): Likewise.
37400         (__ASSUME_AT_XID): Likewise.
37401         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37402         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37403         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37404         unconditionally.
37405         (HAVE_AUX_PAGESIZE): Likewise.
37406         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37407         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37408         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37409
37410 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37411
37412         [BZ #14307]
37413         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37414         the temporary buffer used to invoke __gethostbyname2_r,
37415         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37416         host_data / struct gaih_addrtuple.
37417         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37418         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37419         header file nss/nsswitch.h.
37420         * nss/nsswitch.h (global scope): Add definition of implementation
37421         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37422         resolv/nss_dns/dns-host.c).
37423
37424 2012-07-11  Andreas Jaeger  <aj@suse.de>
37425
37426         * po/fr.po: Update from translation team.
37427
37428         * po/sv.po: Update from translation team
37429         * po/fr.po: Another update from translation team.
37430
37431 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37432
37433         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37434         for subnormals or multiply small sinh result by itself.
37435         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37437
37438 2012-07-11  David S. Miller  <davem@davemloft.net>
37439
37440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37441
37442 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37443
37444         [BZ #14347]
37445         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37446         (INTERNAL_MARK): Shift it here.
37447
37448 2012-07-10  Marek Polacek  <polacek@redhat.com>
37449
37450         [BZ #14151]
37451         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37452         libc_cv_asm_global_directive with .globl.
37453         * configure: Regenerated.
37454         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37455         with .globl.
37456         * sysdeps/i386/configure: Regenerated.
37457         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37458         with .globl.
37459         * sysdeps/x86_64/configure: Regenerated.
37460         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37461         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37462         * elf/tst-unique2mod2.c: Likewise.
37463         * elf/tst-unique2mod1.c: Likewise.
37464         * elf/tst-unique1mod2.c: Likewise.
37465         * elf/tst-unique1mod1.c: Likewise.
37466         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37467         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37468         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37469         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37470         * sysdeps/mach/sysdep.h: Likewise.
37471         * sysdeps/i386/sysdep.h: Likewise.
37472         * sysdeps/i386/i386-mcount.S: Likewise.
37473         * sysdeps/x86_64/_mcount.S: Likewise.
37474         * sysdeps/x86_64/sysdep.h: Likewise.
37475         * sysdeps/sh/_mcount.S: Likewise.
37476         * sysdeps/sh/sysdep.h: Likewise.
37477         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37478         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37479         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37480         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37481         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37482         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37483         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37484         * locale/localeinfo.h: Likewise.
37485         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37486         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37487
37488 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37489
37490         [BZ #14336]
37491         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37492         system".
37493         * manual/message.texi (The Uniforum approach): Likewise.
37494         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37495         (glibc iconv Implementation): Likewise.
37496
37497 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37498
37499         [BZ #14337]
37500         * math/s_clog.c (__clog): Avoid scaling a value down where that
37501         could result in underflow.
37502         * math/s_clog10.c (__clog10): Likewise.
37503         * math/s_clog10f.c (__clog10f): Likewise.
37504         * math/s_clog10l.c (__clog10l): Likewise.
37505         * math/s_clogf.c (__clogf): Likewise.
37506         * math/s_clogl.c (__clogl): Likewise.
37507         * math/libm-test.inc (clog_test): Add more tests.
37508         (clog10_test): Likewise.
37509         * sysdeps/i386/fpu/libm-test-ulps: Update.
37510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37511
37512 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37513
37514         [BZ #14283]
37515         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37516         by 7 not 8 to examine high bit of fractional part.
37517
37518         [BZ #14042]
37519         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37520         for call to __mcount_internal.
37521         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37522         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37523         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37524
37525 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37526
37527         [BZ #14154]
37528         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37529         approximation for values within 0x1p-13f of an odd multiple of
37530         pi/4.
37531         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37532         exception.  Add more tests.
37533         * sysdeps/i386/fpu/libm-test-ulps: Update.
37534
37535         [BZ #6778]
37536         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37537         inputs and return -1 for them.  Do not check for +Inf in case not
37538         reachable for +Inf.
37539         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37540         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37541         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37542         and return -1 for them.  Do not check for +Inf in case not
37543         reachable for +Inf.
37544         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37545         define.
37546         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37547         and return -1 for them.  Do not check for +Inf in case not
37548         reachable for +Inf.
37549         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37550         spurious underflow.
37551         * sysdeps/i386/fpu/libm-test-ulps: Update.
37552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37553
37554 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37555
37556         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37557
37558 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37559
37560         [BZ #14157]
37561         [BZ #14331]
37562         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37563         could result in spurious underflow.  Scale down values above
37564         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37565         * math/s_csqrtf.c (__csqrtf): Likewise.
37566         * math/s_csqrtl.c (__csqrtl): Likewise.
37567         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37568         spurious underflow.
37569         * sysdeps/i386/fpu/libm-test-ulps: Update.
37570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37571
37572 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37573
37574         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37575         xopen-msg.sed.
37576         * catgets/xopen-msg.awk: New file.
37577         * catgets/xopen-msg.sed: Removed.
37578
37579         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37580         po2text.sed.
37581         * intl/po2test.awk: New file.
37582         * intl/po2test.sed: Removed.
37583
37584 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37585
37586         [BZ #14328]
37587         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37588         or multiply small sinh result by itself.
37589         * math/s_ctanf.c (__ctanf): Likewise.
37590         * math/s_ctanh.c (__ctanh): Likewise.
37591         * math/s_ctanhf.c (__ctanhf): Likewise.
37592         * math/s_ctanhl.c (__ctanhl): Likewise.
37593         * math/s_ctanl.c (__ctanl): Likewise.
37594         * math/libm-test.inc (ctan_test_tonearest): New function.
37595         (ctan_test_towardzero): Likewise.
37596         (ctan_test_downward): Likewise.
37597         (ctan_test_upward): Likewise.
37598         (ctanh_test_tonearest): Likewise.
37599         (ctanh_test_towardzero): Likewise.
37600         (ctanh_test_downward): Likewise.
37601         (ctanh_test_upward): Likewise.
37602         (main): Call these new functions.
37603         * sysdeps/i386/fpu/libm-test-ulps: Update.
37604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37605
37606 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37607
37608         * .gitignore: Delete /ports entry.
37609
37610 2012-07-03  Andreas Jaeger  <aj@suse.de>
37611
37612         * po/bg.po: Update from translation team.
37613         * po/cs.po: Likewise.
37614         * po/de.po: Likewise.
37615         * po/hr.po: Likewise.
37616         * po/nl.pl: Likewise.
37617         * po/pl.po: Likewise.
37618         * po/vi.po: Likewise.
37619
37620 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37621
37622         * Makeconfig [!+link] (+link-before-libc): New variable.
37623         [!+link] (+link-after-libc): Likewise.
37624         [!+link] (+link-tests): Likewise.
37625         [!+link] (+link): Define in terms of $(+link-before-libc) and
37626         $(+link-after-libc).
37627         [!+link-static] (+link-static-before-libc): New variable.
37628         [!+link-static] (+link-static-after-libc): Likewise.
37629         [!+link-static] (+link-static-tests): Likewise.
37630         [!+link-static] (+link-static): Define in terms of
37631         $(+link-static-before-libc) and $(+link-static-after-libc).
37632         [build-shared] (link-libc-before-gnulib): New variable.
37633         [build-shared] (link-libc-tests): Likewise.
37634         [build-shared] (link-libc): Define in terms of
37635         $(link-libc-before-gnulib).
37636         [!build-shared] (link-libc-tests): New variable.
37637         (link-libc-static-tests): New variable.
37638         [!gnulib] (gnulib-arch): New variable.
37639         [!gnulib] (gnulib-tests): Likewise.
37640         [!gnulib] (static-gnulib-arch): Likewise.
37641         [!gnulib] (static-gnulib-tests): Likewise.
37642         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37643         Define with "=" instead of ":=".
37644         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37645         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37646         * Rules (binaries-all-notests): New variable.
37647         (binaries-all-tests): Likewise.
37648         (binaries-static-notests): Likewise.
37649         (binaries-static-tests): Likewise.
37650         (binaries-all): Define using $(binaries-all-notests) and
37651         $(binaries-all-tests).
37652         (binaries-static): Define using $(binaries-static-notests) and
37653         $(binaries-static-tests).
37654         (binaries-shared-tests): New variable.
37655         (binaries-shared-notests): Likewise.
37656         (binaries-shared): Remove variable.
37657         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37658         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37659         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37660         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37661         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37662         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37663         * elf/Makefile (sln-modules): New variable.
37664         (extra-objs): Add $(sln-modules:=.o).
37665         (ldconfig-modules): Add static-stubs.
37666         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37667         * elf/static-stubs.c: New file.
37668
37669         [BZ #14283]
37670         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37671         by 7 not 8 to examine high bit of fractional part.  Use volatile
37672         variables when splitting into final array of floats if
37673         __FLT_EVAL_METHOD__ != 0.
37674         * math/libm-test.inc (cos_test): Add another test.
37675         (sin_test): Likewise.
37676         * sysdeps/i386/fpu/libm-test-ulps: Update.
37677
37678         [BZ #14273]
37679         * math/libm-test.inc (cosh_test): Add more tests.
37680
37681         * version.h (RELEASE): Set to "development".
37682         (VERSION): Set to "2.16.90".
37683
37684 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37685
37686         * NEWS: Update copyright. Remove last-updated date.
37687         Mention math library bug fixes and timezone data changes.
37688         * README: Mention GNU/Hurd, x32, and HPPA support status.
37689
37690 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37691
37692         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37693
37694 2012-06-27  Andreas Jaeger  <aj@suse.de>
37695
37696         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37697
37698 2012-06-25  Andreas Jaeger  <aj@suse.de>
37699
37700         * sysdeps/s390/fpu/libm-test-ulps: Update.
37701
37702 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37703             Thomas Schwinge  <thomas@codesourcery.com>
37704
37705         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37706         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37707         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37708         fanotify_mark.
37709
37710 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37711
37712         * sysdeps/mach/start.c: Remove file.
37713         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37714         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37715         * sysdeps/sh/init-first.c: Likewise.
37716
37717         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37718         registers for frame unwinding purposes, add CFI directives.
37719         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37720         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37721         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37722         Likewise.
37723
37724         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37725         __fortify_fail returning.
37726         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37727
37728         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37729         sysdeps/sh/____longjmp_chk.S.
37730         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37731         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37732         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37733         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37734
37735         * sysdeps/sh/abort-instr.h: New file.
37736         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37737         process in case exit returns.
37738
37739         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37740         initialize the GOT register before use.
37741
37742         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37743         calculation of ARGC > 4.
37744
37745         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37746         meaningful names to some local labels.
37747
37748 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37749             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37750
37751         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37752         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37753         (__arch_compare_and_exchange_val_16_acq): Likewise.
37754         (__arch_compare_and_exchange_val_32_acq): Likewise.
37755         (atomic_exchange_and_add): Fix gUSA sequence.
37756         (atomic_add): Likewise.
37757         (atomic_add_negative): Likewise.
37758         (atomic_add_zero): Likewise.
37759         (atomic_bit_test_set): Likewise.
37760
37761 2012-06-22  Andreas Schwab  <schwab@redhat.com>
37762
37763         [BZ #13579]
37764         * include/link.h (struct link_map): Add l_free_initfini.
37765         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37766         l_initfini.
37767         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37768         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37769         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37770         set.
37771
37772 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
37773
37774         * configure.in: Use AC_LANG_SOURCE.
37775         * configure: Regenerate.
37776
37777 2012-06-22  Roland McGrath  <roland@hack.frob.com>
37778
37779         * configure.in (libc_cv_localstatedir): New substituted variable.
37780         * configure: Regenerated.
37781         * config.make.in (localstatedir): New variable, substituted from
37782         libc_cv_localstatedir.
37783         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37784         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37785         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37786         * sysdeps/gnu/configure: Regenerated.
37787
37788 2012-06-21  Jeff Law  <law@redhat.com>
37789
37790         [BZ #14277]
37791         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37792         free.  Simplify list management for _LIBC case.
37793
37794 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
37795
37796         [BZ #14273]
37797         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37798         Clear sign bit of 64-bit integer value before comparing against
37799         overflow value.
37800
37801         * sysdeps/mach/configure: Regenerated.
37802
37803 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
37804
37805         [BZ #14278]
37806         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37807
37808 2012-06-21  Jeff Law  <law@redhat.com>
37809
37810         [BZ #13882]
37811         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
37812         uint16_t for elements in the "seen" array to avoid char overflows.
37813         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37814         * elf/dl-open.c (dl_open_worker): Likewise.
37815
37816 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
37817
37818         * scripts/list-sources.sh: Scan PORTS for translations.
37819         * po/libc.pot: Regenerated.
37820
37821 2012-06-21  Andreas Jaeger  <aj@suse.de>
37822
37823         [BZ #12194]
37824         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37825         warning.
37826         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37827         * bits/byteswap-16.h (__bswap_16): Likewise.
37828         * bits/byteswap.h (__bswap_constant_16): Likewise.
37829
37830 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
37831
37832         [BZ #14117]
37833         * sysdeps/i386/fpu_control.h: Removed.
37834         * sysdeps/x86_64/fpu_control.h: Moved to ...
37835         * sysdeps/x86/fpu_control.h: Here.
37836
37837         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37838         (_FPU_SETCW): Likewise.
37839
37840 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
37841
37842         [BZ #14117]
37843         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37844         * sysdeps/x86/fpu/bits/mathinline.h: This.
37845         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37846
37847         [BZ #14050]
37848         [BZ #14117]
37849         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37850         functions if __x86_64__ is defined.
37851
37852 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
37853
37854         * string/endian.h: Add !__ASSEMBLER__ condition for including
37855         conversion interfaces.
37856
37857 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
37858
37859         [BZ #14241]
37860         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37861         of ABS(x) in calculating zero to negative powers other than odd
37862         integers.
37863         * math/libm-test.inc (pow_test): Add more tests.
37864
37865 2012-06-15  Andreas Jaeger  <aj@suse.de>
37866
37867         * manual/contrib.texi (Contributors): Update entry of Liubov
37868         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37869         Machado Filho.
37870
37871 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
37872
37873         * string/string.h: Add __wur to GNU version of strerror_r.
37874
37875 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
37876
37877         [BZ #14229]
37878         * string/Makefile (tests): Add tst-strtok_r.
37879         * string/tst-strtok_r.c: New file.
37880         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37881         RAX_LP/RDX_LP on SAVE_PTR.
37882
37883 2012-06-14  Roland McGrath  <roland@hack.frob.com>
37884
37885         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37886
37887 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
37888
37889         * libm_test.inc (csqrt_test): Allow more spurious underflow
37890         exceptions.
37891         (j0_test): Likewise.
37892         (j1_test): Likewise.
37893         (y0_test): Likewise.
37894         (y1_test): Likewise.
37895
37896 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
37897
37898         * po/Makefile (libc.pot): Use UTF-8 charset.
37899
37900 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
37901
37902         [BZ #14210]
37903         Suppress sign-conversion warning from FD_SET.
37904         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37905         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37906         not unsigned long int.
37907         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37908
37909 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
37910
37911         [BZ #14050]
37912         [BZ #14117]
37913         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37914         __extern_always_inline instead of __extern_inline.
37915         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37916         (__signbit): Likewise.
37917         (__signbitl): Support C++ namespace.
37918         (lrintf): New inline function.
37919         (lrint): Likewise.
37920         (llrintf): Likewise.
37921         (llrint): Likewise.
37922         (fmaxf): Likewise.
37923         (fmax): Likewise.
37924         (fminf): Likewise.
37925         (fmin): Likewise.
37926         (rint): Likewise.
37927         (rintf): Likewise.
37928         (ceil): Likewise.
37929         (ceilf): Likewise.
37930         (floor): Likewise.
37931         (floorf): Likewise.
37932         (nearbyint): Likewise.
37933         (nearbyintf): Likewise.
37934
37935 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
37936
37937         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37938         non-default versions.
37939
37940 2012-06-11  Roland McGrath  <roland@hack.frob.com>
37941
37942         [BZ #14218]
37943         * manual/argp.texi (Argp): Reword argp_parse description slightly.
37944
37945 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
37946
37947         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37948         (FE_UPWARD, FE_DOWNWARD): Don't define.
37949         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37950         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37951
37952         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37953         reading it.
37954         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37955         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37956
37957 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37958
37959         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37960         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37961         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37962         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37963
37964 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
37965
37966         [BZ #14117]
37967         * sysdeps/i386/fpu/bits/fenv.h: Removed.
37968         * sysdeps/i386/fpu/Implies: New file.
37969         * sysdeps/x86_64/fpu/Implies: Likewise.
37970         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37971         * sysdeps/x86/fpu/bits/fenv.h: This.
37972
37973         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37974         __SSE_MATH__.
37975
37976 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37977
37978         [BZ #14134]
37979         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37980         character 0xffff that matches the last element of the
37981         conversion table.
37982
37983 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37984
37985         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37986         fmodl commit.
37987
37988 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37989
37990         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37991         values higher than 25.6283.
37992
37993 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37994
37995         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37996         subnormal exponent extraction and add some __builtin_expect.
37997         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37998         Fix for subnormal mantissa calculation.
37999
38000 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38001
38002         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38003         cpu2 is -1 and errno is not ENOSYS.
38004
38005 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38006
38007         [BZ #14117]
38008         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38009         * sysdeps/x86/bits/string.h: This.
38010         * sysdeps/x86_64/bits/string.h: Removed.
38011
38012         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38013         if not compiling for x86-64, but compiling for >= i486.
38014
38015         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38016         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38017
38018         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38019         New macro from Linux kernel 3.4.0.
38020         (FP_XSTATE_MAGIC2): Likewise.
38021         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38022         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38023         (struct _fpx_sw_bytes): New struct.
38024         (struct _xsave_hdr): Likewise.
38025         (struct _ymmh_state): Likewise.
38026         (struct _xstate): Likewise.
38027
38028         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38029         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38030         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38031         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38032         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38033         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38034
38035         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38036         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38037         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38038         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38039         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38040         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38041
38042 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38043
38044         [BZ #13743]
38045         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38046         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38047         (sysdep_headers): Include sys/platform/ppc.h.
38048         * sysdeps/powerpc/test-gettimebase.c: Test for
38049         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38050         * manual/Makefile (appendices): Include platform.texi.
38051         * manual/contrib.texi (Contributors): Update @node pointers.
38052         * manual/maint.texi (Maintenance): Likewise.
38053         (Platform): New node.
38054         * manual/platform.texi: New file.  Document the new features.
38055
38056 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38057             Jakub Jelinek  <jakub@redhat.com>
38058
38059         [BZ #14188]
38060         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38061         where __builtin_expect is unavailable.
38062
38063 2012-06-03  David S. Miller  <davem@davemloft.net>
38064
38065         * stdlib/longlong.h: Updated from GCC.
38066
38067 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38068
38069         [BZ #14042]
38070         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38071         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38072         __mcount_internal.
38073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38074         (GLIBC_2.16): Likewise.
38075
38076 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38077
38078         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38079
38080 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38081
38082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38083         (default-abi): New variable.
38084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38085         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38086         variable.
38087         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38088         Likewise.
38089         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38090         Likewise.
38091         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38092         Likewise.
38093
38094         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38095         definition.  Document in comment.
38096
38097 2012-06-01  David S. Miller  <davem@davemloft.net>
38098
38099         * stdlib/longlong.h: Updated from GCC.
38100
38101 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38102
38103         [BZ #14117]
38104         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38105         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38106         sys/debugreg.h sys/io.h here.
38107         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38108         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38109         sys/io.h.
38110         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38111         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38112         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38113         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38114         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38115         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38116
38117         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38118         Define only if __x86_64__ is defined.
38119
38120 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38121
38122         [BZ #14048]
38123         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38124         Use int64_t for variable i.
38125         * math/libm-test.inc (fmod_test): Add more tests.
38126
38127         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38128         z computation is not scheduled after fetestexcept.
38129         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38130         Use math_force_eval instead of asm to ensure calculation scheduled
38131         before exception test.
38132         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38133         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38134
38135 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38136
38137         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38138         computation is not scheduled after fetestexcept.
38139
38140 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38141
38142         [BZ #14117]
38143         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38144         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38145
38146 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38147
38148         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38149         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38150
38151 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38152
38153         [BZ #14117]
38154         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38155         <bits/wordsize.h>.
38156         (__WCHAR_MIN): Support __WORDSIZE == 64.
38157         (__WCHAR_MAX): Likewise.
38158
38159         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38160         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38161
38162         [BZ #14183]
38163         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38164         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38165
38166         [BZ #14117]
38167         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38168         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38169
38170         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38171         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38172
38173         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38174         Defined to 1 if __x86_64__ isn't defined.
38175         (_STAT_VER_LINUX_OLD): New.
38176         (st_atime): Remove duplicate.
38177         (st_mtime): Likewise.
38178         (st_ctime): Likewise.
38179
38180 2012-05-31  David S. Miller  <davem@davemloft.net>
38181
38182         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38183         entries.
38184
38185 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38186
38187         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38188         gen-libm-test.pl.
38189
38190         [BZ #14132]
38191         * elf/dl-reloc.c: Include <_itoa.h>.
38192         (_dl_reloc_bad_type): Remove use of INTUSE.
38193         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38194         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38195         * stdio-common/psiginfo.c (psiginfo): Likewise.
38196         * stdio-common/psignal.c (psignal): Likewise.
38197         * string/strsignal.c (strsignal): Likewise.
38198         * include/signal.h (_sys_siglist): Declare hidden proto.
38199         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38200         INTVARDEF with libc_hidden_data_def.
38201         * stdio-common/itoa-udigits.c: Likewise.
38202         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38203         (_itoa_lower_digits_internal): Remove declaration.
38204         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38205         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38206         (_sys_sigabbrev_internal): Remove aliases.
38207         (_sys_siglist): Define hidden alias.
38208
38209 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38210
38211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38212         bits/sysctl.h.
38213
38214 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38215
38216         [BZ #14117]
38217         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38218         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38219
38220         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38221         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38222         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38223         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38224         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38225         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38226
38227         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38228         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38229         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38230
38231         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38232         with __addr.
38233         (insw): Likewise.
38234         (insl): Likewise.
38235         (outsb): Likewise.
38236         (outsw): Likewise.
38237         (outsl): Likewise.
38238
38239         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38240         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38241         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38242
38243         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38244         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38245         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38246         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38247         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38248         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38249
38250         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38251         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38252
38253         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38254         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38255
38256         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38257         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38258         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38259
38260         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38261         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38262         to ...
38263         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38264
38265         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38266         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38267         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38268
38269         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38270         for x86-64.
38271         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38272
38273 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38274
38275         * math/math.h (M_El): Use two more decimal places.
38276         (M_LOG2El): Likewise.
38277         (M_LOG10El): Likewise.
38278         (M_LN2l): Likewise.
38279         (M_LN10l): Likewise.
38280         (M_PIl): Likewise.
38281         (M_PI_2l): Likewise.
38282         (M_PI_4l): Likewise.
38283         (M_1_PIl): Likewise.
38284         (M_2_PIl): Likewise.
38285         (M_2_SQRTPIl): Likewise.
38286         (M_SQRT2l): Likewise.
38287         (M_SQRT1_2l): Likewise.
38288
38289 2012-05-31  David S. Miller  <davem@davemloft.net>
38290
38291         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38292         values between float registers.
38293         * sysdeps/sparc/sparc64/memset.S: Likewise.
38294         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38295
38296 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38297
38298         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38299         -D_FORTIFY_SOURCE=1.
38300         (CPPFLAGS-tst-longjmp_chk.c): Define.
38301         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38302         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38303         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38304         CFLAGS-tst-wchar-h.c.
38305
38306 2012-05-31  Marek Polacek  <polacek@redhat.com>
38307
38308         [BZ #14132]
38309         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38310         __endmntent_internal): Remove declaration.
38311         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38312         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38313         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38314
38315 2012-05-30  David S. Miller  <davem@davemloft.net>
38316
38317         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38318         (___Q_simulate_exceptions): Use real FP ops rather than writing
38319         into the %fsr.
38320         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38321         Likewise.
38322
38323 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38324
38325         [BZ #14117]
38326         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38327         * sysdeps/x86/bits/xtitypes.h: This.
38328
38329         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38330         * sysdeps/x86/bits/wordsize.h: This.
38331
38332         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38333         * sysdeps/x86/bits/huge_vall.h: This.
38334
38335         * sysdeps/i386/bits/select.h: Removed.
38336         * sysdeps/x86_64/bits/select.h: Renamed to ...
38337         * sysdeps/x86/bits/select.h: This.
38338
38339         * sysdeps/i386/bits/setjmp.h: Removed.
38340         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38341         * sysdeps/x86/bits/setjmp.h: This.
38342
38343         * sysdeps/i386/bits/mathdef.h: Removed.
38344         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38345         * sysdeps/x86/bits/mathdef.h: This.
38346
38347 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38348
38349         [BZ #14132]
38350         * include/sys/socket.h (__connect_internal)
38351         (__libc_sa_len_internal): Remove declaration.
38352         (__connect, __libc_sa_len): Declare hidden_proto.
38353         (SA_LEN): Remove use of INTUSE.
38354         * socket/connect.c: Add libc_hidden_def.
38355         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38356         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38357         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38358         alias.
38359         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38360         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38361         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38362         of adding _internal alias.
38363
38364 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38365
38366         [BZ #14117]
38367         * sysdeps/i386/bits/link.h: Removed.
38368         * sysdeps/i386/bits/linkmap.h: Likewise.
38369         * sysdeps/x86_64/bits/link.h: Renamed to ...
38370         * sysdeps/x86/bits/link.h: This.
38371         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38372         * sysdeps/x86/bits/linkmap.h: This.
38373
38374         * sysdeps/i386/bits/endian.h: Removed.
38375         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38376         * sysdeps/x86/bits/endian.h: This.
38377
38378         * sysdeps/i386/bits/byteswap.h: Removed.
38379         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38380         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38381         * sysdeps/x86/bits/byteswap.h: This.
38382         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38383         * sysdeps/x86/bits/byteswap-16.h: This.
38384         * sysdeps/i386/Implies: Add x86.
38385         * sysdeps/x86_64/Implies: Likewise.
38386
38387 2012-05-30  David S. Miller  <davem@davemloft.net>
38388
38389         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38390         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38391         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38392         (FP_TRAPPING_EXCEPTIONS): Define.
38393         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38394         (FP_TRAPPING_EXCEPTIONS): Define.
38395         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38396         subnormals only when inexact has been signalled or underflow
38397         exceptions are enabled.
38398         (_FP_PACK_CANONICAL): Likewise.
38399
38400 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38401
38402         [BZ #14183]
38403         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38404         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38405
38406 2012-05-30  Richard Henderson  <rth@twiddle.net>
38407
38408         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38409         with #ifndef NOT_IN_libc.
38410
38411         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38412         marked to avoid plt entry.
38413
38414 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38415
38416         [BZ #14112]
38417         * Makeconfig (default-abi): New macro.
38418         (abi-includes): Likewise.
38419         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38420         $(abi-$(default-abi)-lib-soname) for soname if defined.
38421         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38422         abi-variants.
38423         * Makefile (installed-stubs): Likewise.
38424         * include/stubs-biarch.h: Removed.
38425         * scripts/lib-names.awk: Only handle one library at a time.
38426         * scripts/soversions.awk: Remove WORDSIZE support.
38427         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38428         entries.
38429         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38430         Removed.
38431         (syscall-list-default-condition): Likewise.
38432         (syscall-list-default-condition): Likewise.
38433         (syscall-list-includes): Likewise.
38434         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38435         syscall-list-* with abi-*.  Handle undefined abi-variants.
38436         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38437         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38438         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38439         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38440         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38441         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38442         Removed.
38443         (syscall-list-32-options): Likewise.
38444         (syscall-list-32-condition): Likewise.
38445         (syscall-list-64-options): Likewise.
38446         (syscall-list-64-condition): Likewise.
38447         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38448         macro.
38449         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38450         Renamed to ...
38451         (abi-*): This.
38452         (abi-64-ld-soname): New macro.
38453         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38454         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38455         Renamed to ...
38456         (abi-*): This.
38457         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38458         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38459
38460 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38461
38462         * sysdeps/unix/sysv/linux/kernel-features.h
38463         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38464         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38465         include <kernel-features.h>.
38466         [!__NR_ftruncate64]: Remove conditional code.
38467         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38468         [__NR_ftruncate64]: Make code unconditional.
38469         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38470         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38471         include <kernel-features.h>.
38472         [!__NR_ftruncate64]: Remove conditional code.
38473         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38474         [__NR_ftruncate64]: Make code unconditional.
38475         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38477         include <kernel-features.h>.
38478         [!__NR_ftruncate64]: Remove conditional code.
38479         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38480         [__NR_ftruncate64]: Make code unconditional.
38481         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38483         include <kernel-features.h>.
38484         [!__NR_ftruncate64]: Remove conditional code.
38485         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38486         [__NR_ftruncate64]: Make code unconditional.
38487         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38488
38489         * configure.in (libc_cv_fpie): Weaken to a compile test using
38490         LIBC_TRY_CC_OPTION.
38491         * configure: Regenerated.
38492
38493 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38494
38495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38499         Refreshed.
38500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38506         Refreshed.
38507
38508 2012-05-27  David S. Miller  <davem@davemloft.net>
38509
38510         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38511         (___Q_zero): New.
38512         (__Q_simulate_exceptions): Return void.  Change to simulate
38513         exceptions by writing into the %fsr.
38514         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38515         (__Qp_handle_exceptions): Likewise.
38516         (numbers): Delete.
38517         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38518         __Qp_handle_exceptions.
38519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38520         __Qp_handle_exceptions.
38521         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38522         as unused and give dummy FP_RND_NEAREST initializer.
38523         (FP_INHIBIT_RESULTS): Define.
38524         (___Q_simulate_exceptions): Update declaration.
38525         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38526         formatting.
38527         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38528         as unused and give dummy FP_RND_NEAREST initializer.
38529         (__Qp_handle_exceptions): Update declaration.
38530         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38531         formatting.
38532
38533 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38534
38535         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38536         the temporary FPU control word.
38537         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38538         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38539         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38540         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38541         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38542         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38543         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38544         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38545         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38546         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38547         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38548
38549 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38550
38551         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38552         fields.
38553
38554 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38555
38556         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38557         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38558         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38559         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38560         Likewise.
38561         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38562         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38563         Likewise.
38564
38565 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38566
38567         * po/h.po: Update from translation team.
38568
38569 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38570
38571         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38572
38573         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38574         handling of denormals.
38575         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38576         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38577         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38578         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38579         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38580         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38581         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38582         Likewise.
38583
38584 2012-05-26  Marek Polacek  <polacek@redhat.com>
38585
38586         [BZ #14152]
38587         * math/libm-test.inc (fma_test): Don't always expect underflow
38588         exception.
38589
38590 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38591
38592         [BZ #12416]
38593         * elf/tst-execstack.c: Include stackinfo.h.
38594         (do_test): Adjust test case to ensure that pthread_getattr_np
38595         behaviour remains the same after marking stack executable.
38596
38597 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38598
38599         * sysdeps/unix/sysv/linux/kernel-features.h
38600         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38601         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38602         kernel-features.h.
38603         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38604         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38605         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38606         kernel-features.h.
38607         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38608         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38609
38610 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38611
38612         * configure.in: Define the default includes to being none.
38613         * configure: Regenerated.
38614
38615 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38616
38617         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38618         * sysdeps/x86_64/setjmp.S: Likewise.
38619         * sysdeps/i386/bsd-setjmp.S: Likewise.
38620         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38621         * sysdeps/i386/setjmp.S: Likewise.
38622         * sysdeps/i386/__longjmp.S: Likewise.
38623         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38624         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38625
38626         * include/stap-probe.h: New file.
38627         * configure.in: Handle --enable-systemtap.
38628         * configure: Regenerated.
38629         * config.h.in (USE_STAP_PROBE): New #undef.
38630         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38631         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38632         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38633
38634 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38635
38636         [BZ #13717]
38637         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38638         to 2.4.0 where earlier.
38639         * sysdeps/unix/sysv/linux/configure: Regenerated.
38640         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38641         <kernel-features.h>.
38642         [__ASSUME_32BITUIDS]: Make code unconditional.
38643         [!__ASSUME_32BITUIDS]: Remove conditional code.
38644         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38645         <kernel-features.h>.
38646         [__ASSUME_32BITUIDS]: Make code unconditional.
38647         [!__ASSUME_32BITUIDS]: Remove conditional code.
38648         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38649         [__ASSUME_32BITUIDS]: Make code unconditional.
38650         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38651         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38652         <kernel-features.h>.
38653         [__ASSUME_32BITUIDS]: Make code unconditional.
38654         [!__ASSUME_32BITUIDS]: Remove conditional code.
38655         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38656         <kernel-features.h>.
38657         [__ASSUME_32BITUIDS]: Make code unconditional.
38658         [!__ASSUME_32BITUIDS]: Remove conditional code.
38659         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38660         <kernel-features.h>.
38661         [__ASSUME_32BITUIDS]: Make code unconditional.
38662         [!__ASSUME_32BITUIDS]: Remove conditional code.
38663         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38664         <kernel-features.h>.
38665         [__ASSUME_32BITUIDS]: Make code unconditional.
38666         [!__ASSUME_32BITUIDS]: Remove conditional code.
38667         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38668         <kernel-features.h>.
38669         [__ASSUME_32BITUIDS]: Make code unconditional.
38670         [!__ASSUME_32BITUIDS]: Remove conditional code.
38671         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38672         <kernel-features.h>.
38673         [__ASSUME_32BITUIDS]: Make code unconditional.
38674         [!__ASSUME_32BITUIDS]: Remove conditional code.
38675         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38676         <kernel-features.h>.
38677         [__ASSUME_32BITUIDS]: Make code unconditional.
38678         [!__ASSUME_32BITUIDS]: Remove conditional code.
38679         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38680         <kernel-features.h>.
38681         [__ASSUME_32BITUIDS]: Make code unconditional.
38682         [!__ASSUME_32BITUIDS]: Remove conditional code.
38683         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38684         <kernel-features.h>.
38685         [__ASSUME_32BITUIDS]: Make code unconditional.
38686         [!__ASSUME_32BITUIDS]: Remove conditional code.
38687         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38688         <kernel-features.h>.
38689         [__ASSUME_32BITUIDS]: Make code unconditional.
38690         [!__ASSUME_32BITUIDS]: Remove conditional code.
38691         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38692         <kernel-features.h>.
38693         [__NR_setresgid] (__setresgid): Do not declare.
38694         [__ASSUME_32BITUIDS]: Make code unconditional.
38695         [!__ASSUME_32BITUIDS]: Remove conditional code.
38696         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38697         <kernel-features.h>.
38698         [__NR_setresuid] (__setresuid): Do not declare.
38699         [__ASSUME_32BITUIDS]: Make code unconditional.
38700         [!__ASSUME_32BITUIDS]: Remove conditional code.
38701         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38702         <kernel-features.h>.
38703         [__ASSUME_32BITUIDS]: Make code unconditional.
38704         [!__ASSUME_32BITUIDS]: Remove conditional code.
38705         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38706         <kernel-features.h>.
38707         [__ASSUME_32BITUIDS]: Make code unconditional.
38708         [!__ASSUME_32BITUIDS]: Remove conditional code.
38709         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38710         <kernel-features.h>.
38711         [__ASSUME_32BITUIDS]: Make code unconditional.
38712         [!__ASSUME_32BITUIDS]: Remove conditional code.
38713         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38714         <kernel-features.h>.
38715         [__ASSUME_32BITUIDS]: Make code unconditional.
38716         [!__ASSUME_32BITUIDS]: Remove conditional code.
38717         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38718         <kernel-features.h>.
38719         [__ASSUME_32BITUIDS]: Make code unconditional.
38720         [!__ASSUME_32BITUIDS]: Remove conditional code.
38721         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38722         <kernel-features.h>.
38723         [__ASSUME_32BITUIDS]: Make code unconditional.
38724         [!__ASSUME_32BITUIDS]: Remove conditional code.
38725         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38726         <kernel-features.h>.
38727         [__ASSUME_32BITUIDS]: Make code unconditional.
38728         [!__ASSUME_32BITUIDS]: Remove conditional code.
38729         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38730         <kernel-features.h>.
38731         [__ASSUME_32BITUIDS]: Make code unconditional.
38732         [!__ASSUME_32BITUIDS]: Remove conditional code.
38733         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38734         <kernel-features.h>.
38735         [__ASSUME_32BITUIDS]: Make code unconditional.
38736         [!__ASSUME_32BITUIDS]: Remove conditional code.
38737         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38738         <kernel-features.h>.
38739         [__ASSUME_32BITUIDS]: Make code unconditional.
38740         [!__ASSUME_32BITUIDS]: Remove conditional code.
38741         * sysdeps/unix/sysv/linux/kernel-features.h
38742         (__ASSUME_SETRESUID_SYSCALL): Remove.
38743         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38744         (__ASSUME_32BITUIDS): Likewise.
38745         (__ASSUME_LDT_WORKS): Likewise.
38746         (__ASSUME_O_DIRECTORY): Likewise.
38747         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38748         architecture but not kernel version.
38749         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38750         (__ASSUME_MMAP2_SYSCALL): Likewise.
38751         (__ASSUME_STAT64_SYSCALL): Likewise.
38752         (__ASSUME_IPC64): Likewise.
38753         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38754         <kernel-features.h>.
38755         [__ASSUME_32BITUIDS]: Make code unconditional.
38756         [!__ASSUME_32BITUIDS]: Remove conditional code.
38757         * sysdeps/unix/sysv/linux/opendir.c: Do not include
38758         <kernel-features.h>.
38759         [__ASSUME_O_DIRECTORY]: Make code unconditional.
38760         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38761         132096]: Remove conditional code.
38762         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38763         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38764         <kernel-features.h>.
38765         [__ASSUME_32BITUIDS]: Make code unconditional.
38766         [!__ASSUME_32BITUIDS]: Remove conditional code.
38767         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38768         <kernel-features.h>.
38769         [__ASSUME_32BITUIDS]: Make code unconditional.
38770         [!__ASSUME_32BITUIDS]: Remove conditional code.
38771         * sysdeps/unix/sysv/linux/setegid.c: Do not include
38772         <kernel-features.h>.
38773         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38774         unconditional.
38775         (__setresgid): Do not declare.
38776         [__ASSUME_32BITUIDS]: Make code unconditional.
38777         [!__ASSUME_32BITUIDS]: Remove conditional code.
38778         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38779         <kernel-features.h>.
38780         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38781         unconditional.
38782         (__setresuid): Do not declare.
38783         [__ASSUME_32BITUIDS]: Make code unconditional.
38784         [!__ASSUME_32BITUIDS]: Remove conditional code.
38785         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
38790         <kernel-features.h>.
38791         [__ASSUME_32BITUIDS]: Make code unconditional.
38792         [!__ASSUME_32BITUIDS]: Remove conditional code.
38793
38794 2012-05-25  Richard Henderson  <rth@twiddle.net>
38795
38796         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38797         dl_hwcap to ifunc resolver.
38798         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38799         elf_ifunc_invoke.
38800         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38801         dl_hwcap to ifunc resolver.
38802         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38803
38804 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38805
38806         [BZ #14153]
38807         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38808         for |x| <= 2**-26, not 2**-57.
38809         * math/libm-test.inc (acos_test): Do not allow spurious underflow
38810         exception.
38811
38812 2012-05-24  Jeff Law  <law@redhat.com>
38813
38814         * stdio-common/Makefile (tests): Add bug25.
38815         * stdio-common/bug25.c: New test.
38816
38817 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38818
38819         [BZ #13576]
38820         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38821         multiple of MALLOC_ALIGNMENT in size.
38822         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38823
38824 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38825
38826         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38827         Require >= 256.
38828         (FILENAME_MAX): Use macro-int-constant.
38829         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
38830         (_IOFBF): Use macro-int-constant.
38831         (_IOLBF): Likewise.
38832         (_IONBF): Likewise.
38833         (SEEK_CUR): Likewise.
38834         (SEEK_END): Likewise.
38835         (SEEK_SET): Likewise.
38836         (TMP_MAX): Likewise.
38837         (EOF): Use macro-int-constant.  Require < 0.
38838         (NULL): Use macro-constant.  Require == 0.
38839         (stdin): Require type to be FILE *.
38840         (stdout): Likewise.
38841         (stderr): Likewise.
38842         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38843         macro-int-constant.
38844         (EXIT_SUCCESS): Likewise.
38845         (NULL): Use macro-constant.  Require == 0.
38846         (RAND_MAX): Use macro-int-constant.
38847         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38848         [C99-based standards] (strtof): Require function.
38849         [C99-based standards] (strtold): Likewise.
38850         [C99-based standards] (strtoll): Likewise.
38851         [C99-based standards] (strtoull): Likewise.
38852         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38853         [ISO || ISO99 || ISO11] (limits.h): Likewise.
38854         [ISO || ISO99 || ISO11] (math.h): Likewise.
38855         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38856         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38857         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38858
38859 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
38860
38861         [BZ #14132]
38862         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38863         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38864         * intl/dgettext.c (DCGETTEXT): Likewise.
38865         * intl/gettext.c (DCGETTEXT): Likewise.
38866         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38867         * posix/regex_internal.h (gettext): Likewise.
38868         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38869         Remove declaration.
38870         * include/argz.h (__argz_count_internal)
38871         (__argz_stringify_internal): Remove declaration.
38872         (__argz_count, __argz_stringify): Declare hidden proto.
38873         * intl/dcgettext.c: Remove use of INTDEF.
38874         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38875         * string/argz-stringify.c: Likewise.
38876         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38877         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38878         Declare hidden proto.
38879         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38880         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38881         Declare hidden proto.
38882         * include/stdio.h (__asprintf_internal): Don't declare.
38883         (__asprintf): Don't define as macro.  Declare hidden proto.
38884         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38885         (__fsetlocking): Declare hidden proto.
38886         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38887         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38888         hidden proto.
38889         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38890         (_IO_setlinebuf): Remove use of INTUSE.
38891         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38892         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38893         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38894         Remove declaration.
38895         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38896         (_IO_do_flush): Remove use of INTUSE.
38897         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38898         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38899         (_IO_adjust_column, _IO_least_wmarker)
38900         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38901         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38902         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38903         (_IO_default_doallocate, _IO_wdefault_doallocate)
38904         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38905         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38906         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38907         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38908         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38909         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38910         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38911         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38912         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38913         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38914         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38915         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38916         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38917         proto.
38918         (_IO_flush_all_internal, _IO_adjust_column_internal)
38919         (_IO_default_uflow_internal, _IO_default_finish_internal)
38920         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38921         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38922         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38923         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38924         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38925         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38926         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38927         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38928         (_IO_file_close_internal, _IO_file_close_it_internal)
38929         (_IO_file_underflow_internal, _IO_file_overflow_internal)
38930         (_IO_file_init_internal, _IO_file_attach_internal)
38931         (_IO_file_fopen_internal, _IO_file_read_internal)
38932         (_IO_file_sync_internal, _IO_file_seek_internal)
38933         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38934         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38935         (_IO_str_underflow_internal, _IO_str_overflow_internal)
38936         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38937         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38938         (_IO_list_all_internal, _IO_link_in_internal)
38939         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38940         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38941         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38942         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38943         (_IO_do_write_internal, _IO_padn_internal)
38944         (_IO_getline_info_internal, _IO_getline_internal)
38945         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38946         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38947         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38948         (_IO_vfscanf_internal, _IO_vfprintf_internal)
38949         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38950         (_IO_init_internal, _IO_un_link_internal): Don't declare.
38951         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38952         with libc_hidden_ver, remove use of INTUSE.
38953         * libio/genops.c: Likewise.
38954         * libio/freopen.c: Likewise.
38955         * libio/freopen64.c: Likewise.
38956         * libio/iofclose.c: Likewise.
38957         * libio/iofdopen.c: Likewise.
38958         * libio/iofflush.c: Likewise.
38959         * libio/iofflush_u.c: Likewise.
38960         * libio/iofgets.c: Likewise.
38961         * libio/iofgets_u.c: Likewise.
38962         * libio/iofopen.c: Likewise.
38963         * libio/iofopncook.c: Likewise.
38964         * libio/iofread.c: Likewise.
38965         * libio/iofread_u.c: Likewise.
38966         * libio/ioftell.c: Likewise.
38967         * libio/iofwrite.c: Likewise.
38968         * libio/iogetline.c: Likewise.
38969         * libio/iogets.c: Likewise.
38970         * libio/iogetwline.c: Likewise.
38971         * libio/iopadn.c: Likewise.
38972         * libio/iopopen.c: Likewise.
38973         * libio/ioseekoff.c: Likewise.
38974         * libio/ioseekpos.c: Likewise.
38975         * libio/iosetbuffer.c: Likewise.
38976         * libio/iosetvbuf.c: Likewise.
38977         * libio/ioungetc.c: Likewise.
38978         * libio/ioungetwc.c: Likewise.
38979         * libio/iovdprintf.c: Likewise.
38980         * libio/iovsprintf.c: Likewise.
38981         * libio/iovsscanf.c: Likewise.
38982         * libio/memstream.c: Likewise.
38983         * libio/obprintf.c: Likewise.
38984         * libio/oldfileops.c: Likewise.
38985         * libio/oldiofclose.c: Likewise.
38986         * libio/oldiofdopen.c: Likewise.
38987         * libio/oldiofopen.c: Likewise.
38988         * libio/oldiopopen.c: Likewise.
38989         * libio/oldstdfiles.c: Likewise.
38990         * libio/putc.c: Likewise.
38991         * libio/setbuf.c: Likewise.
38992         * libio/setlinebuf.c: Likewise.
38993         * libio/stdfiles.c: Likewise.
38994         * libio/strops.c: Likewise.
38995         * libio/vasprintf.c: Likewise.
38996         * libio/vscanf.c: Likewise.
38997         * libio/vsnprintf.c: Likewise.
38998         * libio/vswprintf.c: Likewise.
38999         * libio/wfiledoalloc.c: Likewise.
39000         * libio/wfileops.c: Likewise.
39001         * libio/wgenops.c: Likewise.
39002         * libio/wmemstream.c: Likewise.
39003         * libio/wstrops.c: Likewise.
39004         * libio/__fpurge.c: Likewise.
39005         * libio/__fsetlocking.c: Likewise.
39006         * assert/assert.c: Likewise.
39007         * debug/fgets_chk.c: Likewise.
39008         * debug/fgets_u_chk.c: Likewise.
39009         * debug/fread_chk.c: Likewise.
39010         * debug/fread_u_chk.c: Likewise.
39011         * debug/gets_chk.c: Likewise.
39012         * debug/obprintf_chk.c: Likewise.
39013         * debug/vasprintf_chk.c: Likewise.
39014         * debug/vdprintf_chk.c: Likewise.
39015         * debug/vsnprintf_chk.c: Likewise.
39016         * debug/vsprintf_chk.c: Likewise.
39017         * malloc/mtrace.c: Likewise.
39018         * misc/error.c: Likewise.
39019         * misc/syslog.c: Likewise.
39020         * stdio-common/asprintf.c: Likewise.
39021         * stdio-common/fxprintf.c: Likewise.
39022         * stdio-common/getw.c: Likewise.
39023         * stdio-common/isoc99_fscanf.c: Likewise.
39024         * stdio-common/isoc99_scanf.c: Likewise.
39025         * stdio-common/isoc99_vfscanf.c: Likewise.
39026         * stdio-common/isoc99_vscanf.c: Likewise.
39027         * stdio-common/isoc99_vsscanf.c: Likewise.
39028         * stdio-common/printf-prs.c: Likewise.
39029         * stdio-common/printf_fp.c: Likewise.
39030         * stdio-common/printf_fphex.c: Likewise.
39031         * stdio-common/printf_size.c: Likewise.
39032         * stdio-common/putw.c: Likewise.
39033         * stdio-common/scanf.c: Likewise.
39034         * stdio-common/sprintf.c: Likewise.
39035         * stdio-common/tmpfile.c: Likewise.
39036         * stdio-common/vfprintf.c: Likewise.
39037         * stdio-common/vfscanf.c: Likewise.
39038         * stdlib/strfmon_l.c: Likewise.
39039         * sunrpc/openchild.c: Likewise.
39040         * sunrpc/xdr_stdio.c: Likewise.
39041         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39042         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39043
39044 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39045
39046         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39047
39048         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39049         in the third column, to generate for the shared library an IFUNC
39050         that uses _dl_vdso_vsym.
39051         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39052         * Makeconfig (object-suffixes-noshared): New variable.
39053
39054         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39055         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39056         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39057         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39058
39059         [BZ #14132]
39060         * include/sys/time.h (__gettimeofday): Remove macro.
39061         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39062         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39063         Remove INTDEF.
39064         (__gettimeofday): Add libc_hidden_def.
39065         (gettimeofday): Add libc_hidden_weak.
39066         * sysdeps/mach/gettimeofday.c: Likewise.
39067         * sysdeps/posix/gettimeofday.c: Likewise.
39068         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39069         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39070         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39071         (__gettimeofday_internal): Remove strong_alias.
39072         (__gettimeofday): Add libc_hidden_def.
39073         (gettimeofday): Add libc_hidden_weak.
39074         * sysdeps/unix/syscalls.list (gettimeofday):
39075         Remove __gettimeofday_internal alias.
39076
39077 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39078             H.J. Lu  <hongjiu.lu@intel.com>
39079
39080         [BZ #12495]
39081         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39082         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39083         (largebin_index_32_big): New.
39084         (largebin_index): Use it for 16-byte alignment.
39085         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39086         correction with front_misalign.
39087
39088 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39089
39090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39092         Likewise.
39093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39094         Likewise.
39095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39096         Likewise.
39097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39098         Likewise.
39099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39100         Likewise.
39101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39102         Likewise.
39103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39104         Likewise.
39105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39106         Likewise.
39107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39108         Likewise.
39109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39110         Likewise.
39111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39112         Likewise.
39113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39114         Likewise.
39115
39116         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39117         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39118
39119 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39120
39121         [BZ #10846]
39122         [BZ #14036]
39123         * math/libm-test.inc (exp_test): Add test from bug 14036.
39124         (pow_test): Add test from bug 10846.
39125
39126         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39127         and other flags.
39128         (special_function): Do not include flags in test name.
39129         (parse_args): Likewise.
39130         * sysdeps/i386/fpu/libm-test-ulps: Update.
39131         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39132         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39133         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39135
39136         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39137         exceptions.
39138         * math/libm-test.inc ("Philosophy"): Update comment about
39139         exception testing.
39140         (UNDERFLOW_EXCEPTION): New macro.
39141         (UNDERFLOW_EXCEPTION_OK): Likewise.
39142         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39143         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39144         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39145         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39146         (INVALID_EXCEPTION_OK): Update value.
39147         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39148         (OVERFLOW_EXCEPTION_OK): Likewise.
39149         (IGNORE_ZERO_INF_SIGN): Likewise.
39150         (test_exceptions): Handle underflow exceptions.
39151         (acos_test): Update for underflow exception expectations.
39152         (cexp_test): Likewise.
39153         (clog_test): Likewise.
39154         (clog10_test): Likewise.
39155         (csqrt_test): Likewise.
39156         (ctan_test): Likewise.
39157         (ctanh_test): Likewise.
39158         (exp_test): Likewise.
39159         (exp10_test): Likewise.
39160         (exp2_test): Likewise.
39161         (expm1_test): Likewise.
39162         (fma_test): Likewise.
39163         (j0_test): Likewise.
39164         (jn_test): Likewise.
39165         (nexttoward_test): Likewise.
39166         (pow_test): Likewise.
39167         (scalbn_test): Likewise.
39168         (scalbln_test): Likewise.
39169         (tan_test): Likewise.
39170         (y1_test): Likewise.
39171         * sysdeps/i386/fpu/libm-test-ulps: Update.
39172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39173
39174 2012-05-23  David S. Miller  <davem@davemloft.net>
39175
39176         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39177         (__libc_sigaction): Remove unused local variables.
39178
39179 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39180
39181         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39182
39183 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39184
39185         mktime: avoid signed integer overflow
39186         * time/mktime.c (__mktime_internal): Do not mishandle the case
39187         where diff == INT_MIN.
39188
39189         mktime: simplify computation of average
39190         * time/mktime.c (ranged_convert): Use new time_t_avg function
39191         instead of rolling our own (probably-slower) code.
39192
39193         mktime: do not assume signed right shift propagates sign bit
39194         * time/mktime.c (isdst_differ): New static function.
39195         (__mktime_internal): No need to normalize tm_isdst now.
39196         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39197         tm_isdst values.
39198
39199         mktime: merge another wrapv change from gnulib
39200         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39201         from some compilers.
39202
39203         mktime: remove incorrect attempt at unusual arithmetics
39204         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39205         The code didn't really work on such machines anyway.
39206         (TYPE_MINIMUM): Assume two's complement.
39207         (twos_complement_arithmetic): Verify that long_int and time_t
39208         are two's complement (or unsigned, in the latter case).
39209
39210         mktime: check signed shifts on long_int and time_t, too
39211         * time/mktime.c (SHR): Check that shifts work as desired
39212         on the types long_int and time_t too, as SHR is used on
39213         such types.
39214
39215         mktime: do not assume 'long' is wide enough
39216         * time/mktime.c (verify): Move decl up.
39217         (long_int): New type.
39218         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39219         to remove assumption in the code that 'long' is wide enough to
39220         store year values.  This assumption is not true on x32 and on
39221         some non-glibc platforms.
39222
39223         mktime: merge wrapv change from gnulib
39224         * time/mktime.c (WRAPV): New macro.
39225         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39226         (guess_time_tm, __mktime_internal): Do not assume that signed
39227         integer overflow wraps around; modern compilers generate code
39228         where this assumption is no longer valid.
39229
39230 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39231
39232         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39233         Replace "jmp L(pseudo_end)" with "ret".
39234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39235         Likewise.
39236
39237 2012-05-23  Andreas Jaeger  <aj@suse.de>
39238
39239         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39240         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39241
39242 2012-05-23  Andreas Jaeger  <aj@suse.de>
39243             Maximilian Attems  <max@stro.at>
39244
39245         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39246         New macros.
39247
39248 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39249
39250         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39251         code so that pseudo_end is just ret and the stack pointer is
39252         correct also for static library in error case.
39253
39254 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39255
39256         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39257         move to syscalls.list.
39258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39262
39263         * manual/install.texi (Running make install): Do not mention Linux
39264         kernel version for which pt_chown is not needed.
39265         (Linux): Do not mention problems with nscd with 2.0 kernels.
39266         * INSTALL: Regenerated.
39267
39268 2012-05-23  Andreas Jaeger  <aj@suse.de>
39269
39270         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39271         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39272         macro.
39273         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39274         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39275         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39276         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39277         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39278         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39279         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39280         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39281         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39282         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39283         * sysdeps/unix/sysv/linux/bits/in.h
39284         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39285
39286 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39287
39288         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39289         (PREPARE_VERSION): Just use assert instead, it will be elided
39290         under [NDEBUG] anyway.
39291
39292 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39293
39294         * sysdeps/unix/sysv/linux/Makefile: Include
39295         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39296         (sysdep_routines): Remove sysctl.
39297         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39298         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39299         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39300         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39301         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39302
39303 2012-05-22  Andreas Jaeger  <aj@suse.de>
39304
39305         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39306         that pseudo_end is just ret and the stack pointer is correct also
39307         for static library in error case.
39308
39309 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39310
39311         [BZ #14122]
39312         * nss/nsswitch.c (defconfig_entries): New variable.
39313         (__nss_database_lookup): Don't leak defconfig entries.
39314         (nss_parse_service_list): Don't leak on error paths.
39315         (free_database_entries): New function.
39316         (free_defconfig): New function.
39317         (free_mem): Move common code to free_database_entries.
39318
39319 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39320
39321         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39322         Add arch_prctl.
39323         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39324
39325         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39326         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39327         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39328         New macro.
39329         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39330         (INTERNAL_SYSCALL_TYPES): Likewise.
39331         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39332         (LOAD_REGS_TYPES_[1-6]): Likewise.
39333         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39334         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39335
39336 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39337
39338         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39339         copysignl for GLIBC_2_0.
39340         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39341         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39342         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39343         logbl for GLIBC_2_0.
39344         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39345         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39346
39347 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39348
39349         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39350         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39351
39352         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39353         Use "neg %eax".
39354
39355         * time/mktime.c: Update copyright years.
39356
39357 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39358
39359         mktime: merge comment-quoting-style change from gnulib
39360         * time/mktime.c: Quote 'like this' in comments.
39361         The GNU coding standards suggest that we no longer quote `like this',
39362         as "`" and "'" are typically rendered asymmetrically nowadays.
39363         The typical gnulib style is to quote 'like this' when quoting
39364         code, and "like this" when quoting English.
39365
39366         * time/mktime.c (compile-command): Add "-I.".
39367
39368         mktime: merge mktime-internal.h change from gnulib
39369         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39370
39371         mktime: merge time_r change from gnulib
39372         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39373
39374         mktime: merge DEBUG change from gnulib
39375         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39376         case system <time.h> has a #define.
39377
39378         mktime: merge <sys/types.h> change from gnulib
39379         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39380         since <time.t> is now guaranteed to define time_t.
39381
39382         mktime: merge HAVE_CONFIG_H change from gnulib
39383         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39384
39385 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39386
39387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39388         Use "neg %eax".
39389
39390         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39391         __rlim_t cast.
39392         (struct rusage): Use anonymous union to pad each field to
39393         __syscall_slong_t.
39394
39395 2012-05-21  David S. Miller  <davem@davemloft.net>
39396
39397         * Makefules (o-iterator): Remove .s cases.
39398         (compile-command.s): Delete.
39399         (COMPILE.s): Delete.
39400         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39401
39402 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39403
39404         * configure.in (libc_cv_predef_stack_protector): Only consider
39405         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39406         * configure: Regenerated.
39407
39408 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39409
39410         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39411         New macro.  Use R*LP on int and pointer.
39412         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39413         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39414         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39415         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39416
39417         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39418         [__WORDSIZE_TIME64_COMPAT32] instead of
39419         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39420         (struct utmp): Likewise.
39421         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39422         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39423         Renamed to ...
39424         (__WORDSIZE_TIME64_COMPAT32): This.
39425         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39426         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39427         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39428         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39429         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39430         (__WORDSIZE_TIME64_COMPAT32): New macro.
39431
39432 2012-05-21  Andreas Jaeger  <aj@suse.de>
39433
39434         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39435         only if [SHARED]. Add prototype for __wcschr_ia32.
39436
39437 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39438
39439         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39440         of %rbp unmolested in the jmp_buf while mangling the low bits.
39441         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39442         unmolested high bits of %rbp while demangling the low bits.
39443         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39444
39445 2012-05-21  Andreas Jaeger  <aj@suse.de>
39446
39447         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39448         * sunrpc/svc_simple.c: Use it for registerrpc.
39449         * sunrpc/xcrypt.c: Use it for passwd2des.
39450
39451         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39452
39453 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39454
39455         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39456         Don't define if [__SYSCALL_WORDSIZE != 32].
39457         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39458         New macro.
39459
39460 2012-05-21  Bruno Haible  <bruno@clisp.org>
39461             Andreas Jaeger  <aj@suse.de>
39462
39463         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39464         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39465         inptr and inend for must_buffer_ch.
39466         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39467         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39468         * stdio-common/Makefile (tests): Remove bug15.
39469         (bug15-ENV): Remove macro.
39470         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39471         anymore.
39472
39473 2012-05-19  Andreas Jaeger  <aj@suse.de>
39474             Roland McGrath  <roland@hack.frob.com>
39475
39476         * manual/contrib.texi: Completely rewritten. It contains now an
39477         alphabetical list of contributors and their contributions.
39478
39479 2012-05-21  Richard Henderson  <rth@twiddle.net>
39480
39481         * misc/getauxval.c (__getauxval): Use unsigned long int.
39482         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39483         (getauxval): Use unsigned long int.
39484
39485 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39486
39487         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39488
39489 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39490
39491         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39492         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39493         __alignof__ (long double).
39494
39495 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39496
39497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39498
39499 2012-05-20  Richard Henderson  <rth@twiddle.net>
39500
39501         * misc/getauxval.c: New file.
39502         * misc/sys/auxv.h: New file.
39503         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39504         (routines): Add getauxval.
39505         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39506         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39507         * elf/dl-sysdep.c (_dl_auxv): Remove.
39508         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39509         * elf/dl-support.c (_dl_auxv): New variable.
39510         (_dl_aux_init): Initialize it.
39511         * manual/startup.texi (Auxiliary Vector): New node.
39512         * sysdeps/generic/bits/hwcap.h: New file.
39513         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39514         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39515         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39516         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39517         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39518         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39520         Update.
39521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39524         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39529
39530 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39531
39532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39533
39534 2012-05-19  David S. Miller  <davem@davemloft.net>
39535
39536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39537
39538 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39539
39540         [BZ #14123]
39541         * math/s_ccosh.c: Include <float.h>
39542         (__ccosh): Avoid internal overflow calculating sinh and cosh
39543         values before multiplying by sin and cos values.
39544         * math/s_ccoshf.c: Likewise.
39545         * math/s_ccoshl.c: Likewise.
39546         * math/s_csin.c: Likewise.
39547         * math/s_csinf.c: Likewise.
39548         * math/s_csinl.c: Likewise.
39549         * math/s_csinh.c: Likewise.
39550         * math/s_csinhf.c: Likewise.
39551         * math/s_csinhl.c: Likewise.
39552         * math/libm-test.inc (ccos_test): Add more tests.
39553         (ccosh_test): Likewise.
39554         (csin_test): Likewise.
39555         (csinh_test): Likewise.
39556         * sysdeps/i386/fpu/libm-test-ulps: Update.
39557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39558
39559 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39560
39561         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39562         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39563
39564         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39565
39566 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39567
39568         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39569         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39570         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39571         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39572         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39573         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39574         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39575         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39576         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39577         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39578         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39579         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39580         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39581         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39582         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39583         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39584         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39585         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39586         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39587         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39588         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39589         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39590         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39591         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39592         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39593         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39594         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39595         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39596         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39597         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39598         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39599
39600 2012-05-18  Andreas Jaeger  <aj@suse.de>
39601
39602         * csu/.gitignore: Delete.
39603
39604 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39605
39606         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39607         (timex): Use __syscall_slong_t.
39608
39609 2012-05-18  Andreas Jaeger  <aj@suse.de>
39610             Carlos O'Donell  <carlos_odonell@mentor.com>
39611
39612         * manual/install.texi (Configuring and compiling): Update
39613         description about files modified in the source directory.
39614         * INSTALL: Regenerated.
39615
39616 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39617
39618         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39619         value.  Use "or" to set return value to -1.
39620         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39621         negate return value.
39622
39623 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39624
39625         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39626         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39627         failure if the compiler has Graphite support disabled.
39628         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39629         Likewise.
39630         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39631         (CFLAGS-memmove.c): Likewise.
39632         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39633         Likewise.
39634
39635 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39636
39637         * sysdeps/x86_64/x32/_itoa.h: New file.
39638
39639         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39640         getdents system call only if kernel and user dirents have the
39641         same d_ino and d_off.
39642
39643         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39644         LLONG_MAX != LONG_MAX.
39645         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39646         (_fitoa_word): Likewise.
39647
39648         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39649         years.
39650         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39651         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39652         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39653
39654         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39655         include <bits/wordsize.h>.  Check __x86_64__ instead of
39656         __WORDSIZE.
39657         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39658         if __x86_64__ is defined.  Use anonymous union on fpstate.
39659
39660         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39661         anonymous union.
39662
39663 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39664
39665         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39666         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39667         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39668         Refer to _rtld_local_ro instead of _rtld_global_ro.
39669         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39670         Likewise.
39671         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39672         Likewise.
39673         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39674         Likewise.
39675         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39676         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39677         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39678
39679         * sysdeps/powerpc/powerpc32/dl-machine.c
39680         (__elf_machine_runtime_setup) [PROF]: Don't reference
39681         _dl_prof_resolve.
39682
39683 2012-05-18  Andreas Jaeger  <aj@suse.de>
39684
39685         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39686         function only available for GCCs before 3.4 since GCC 3.4
39687         introduced a builtin.
39688         (lrint): Likewise.
39689         (llrintf): Likewise.
39690         (llrint): Likewise.
39691         (fmaxf): Likewise.
39692         (fmax): Likewise.
39693         (fminf): Likewise.
39694         (fmin): Likewise.
39695         (rint): Likewise.
39696         (rintf): Likewise.
39697         (nearbyint): Likewise.
39698         (nearbyintf): Likewise.
39699         (ceil): Likewise.
39700         (ceilf): Likewise.
39701         (floor): Likewise.
39702         (floorf): Likewise.
39703
39704 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39705
39706         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39707         on both fields and cast pointer to __syscall_ulong_t.
39708
39709         * bits/types.h (__fsword_t): New type.
39710         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39711         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39712         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39713         (__FSWORD_T_TYPE): Likewise.
39714         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39715         (__FSWORD_T_TYPE): Likewise.
39716         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39717         (__FSWORD_T_TYPE): Likewise.
39718         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39719         (__FSWORD_T_TYPE): Likewise.
39720         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39721         __SWORD_TYPE with __fsword_t.
39722         (statfs64): Likewise.
39723
39724 2012-05-17  David S. Miller  <davem@davemloft.net>
39725
39726         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39727
39728 2012-05-17  Andreas Jaeger  <aj@suse.de>
39729
39730         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39731         warning.
39732
39733 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39734
39735         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39736
39737 2012-05-17  Andreas Jaeger  <aj@suse.de>
39738
39739         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39740         when it is used.
39741
39742 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39743
39744         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39745
39746 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39747
39748         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39749         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39750
39751 2012-05-17  Andreas Jaeger  <aj@suse.de>
39752             Carlos O'Donell  <carlos_odonell@mentor.com>
39753
39754         [BZ #14059]
39755         * sysdeps/x86_64/multiarch/init-arch.h
39756         (bit_YMM_Usable): Rename to...
39757         (bit_AVX_Usable): ... this.
39758         (bit_FMA4_Usable): New macro.
39759         (bit_XMM_state): New macro.
39760         (bit_YMM_state): New macro.
39761         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39762         [__ASSEMBLER__] (index_AVX_Usable): ... this.
39763         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39764         (CPUID_OSXSAVE): New macro.
39765         (CPUID_AVX): New macro.
39766         (CPUID_FMA4): New macro.
39767         (index_YMM_Usable): Rename to...
39768         (index_AVX_Usable): ... this.
39769         (HAS_AVX): Use HAS_ARCH_FEATURE.
39770         (HAS_FMA4): Likewise.
39771         (HAS_YMM_USABLE): Remove.
39772         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39773         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39774         are present.
39775         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39776         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39777         * sysdeps/x86_64/multiarch/Makefile: Likewise.
39778         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39779         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39780
39781 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39782
39783         * math/libm-test.c: Support platforms without multiple rounding modes.
39784         * math/bug-nextafter.c: Support platforms without FP exceptions.
39785         * math/bug-nexttoward.c: Likewise.
39786         * math/test-fenv.c: Likewise.
39787         * math/test-misc.c: Likewise.
39788         * stdlib/bug-getcontext.c: Likewise.
39789
39790 2012-05-17  Andreas Jaeger  <aj@suse.de>
39791
39792         * manual/examples/search.c (critter_cmp): Change signature to
39793         avoid warnings.
39794         * manual/string.texi (Collation Functions): Likewise.
39795
39796 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39797
39798         * bits/types.h: Fold copyright years.
39799         * bits/typesizes.h: Likewise.
39800         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39801         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39802         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39803         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39804         * time/time.h: Likewise.
39805
39806 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
39807
39808         [BZ #208]
39809         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39810         in instead of returning them.  Return void.
39811         (__libc_mallinfo): Accumulate over all arenas.
39812         (__malloc_stats): Adjust for change in int_mallinfo interface.
39813
39814 2012-05-16  Roland McGrath  <roland@hack.frob.com>
39815
39816         [BZ #10375]
39817         * configure.in (NM): Add AC_CHECK_TOOL for it.
39818         (libc_extra_cflags): New substituted variable.
39819         Check for -fstack-protector being used implicitly.
39820         * configure: Regenerated.
39821         * config.make.in (config-extra-cflags): New variable,
39822         gets @libc_extra_cflags@.
39823         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39824
39825         [BZ #10375]
39826         * configure.in: Check for _FORTIFY_SOURCE being predefined.
39827         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39828         * configure: Regenerated.
39829         * config.make.in (CPPUNDEFS): New substituted variable.
39830         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39831         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39832         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39833
39834 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39835
39836         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39837         (mq_attr): Use __syscall_slong_t.
39838
39839 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39840
39841         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39842         Check __x86_64__ instead of __WORDSIZE.
39843         (_STAT_VER_LINUX): Likewise.
39844         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
39845         __syscall_ulong_t and __syscall_slong_t.
39846         (stat64): Likewise.
39847
39848 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39849
39850         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39851
39852 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39853
39854         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39855
39856 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39857
39858         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39859         __syscall_ulong_t.
39860
39861         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39862         include <bits/wordsize.h>.  Check __x86_64__ instead of
39863         __WORDSIZE.
39864         (greg_t): Use "__extension__ long long int" if __x86_64__ is
39865         defined.
39866         (mcontext_t): Replace "unsigned long" with "unsigned long long".
39867
39868         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39869         include <bits/wordsize.h>.  Check __x86_64__ instead of
39870         __WORDSIZE.
39871         (user_regs_struct): Use "__extension__ unsigned long long"
39872         instead of "unsigned long" if __x86_64__ is defined.
39873         (user): Likewise.  Pad after pointer field if __ILP32__ is
39874         defined.
39875
39876 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
39877
39878         * configure.in (makeinfo): Require version 4.5 or later.  Allow
39879         versions 5 to 9.
39880         * configure: Regenerated.
39881         * manual/install.texi (texinfo): Increase version requirement to
39882         4.5 or later.
39883         * INSTALL: Regenerated.
39884
39885         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39886
39887 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39888
39889         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39890
39891         * sysdeps/x86_64/x32/ffs.c: New file.
39892
39893         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39894         __syscall_ulong_t.
39895         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39896         defined.  Use __syscall_ulong_t.
39897         (shminfo): Use __syscall_ulong_t.
39898         (shm_info): Likewise.
39899
39900         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39901         __syscall_ulong_t.
39902
39903         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39904         <bits/wordsize.h>.
39905         (msgqnum_t): Use __syscall_ulong_t.
39906         (msglen_t): Likewise.
39907         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
39908         __syscall_ulong_t.
39909
39910         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39911         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39912
39913         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39914
39915         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39916         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39917
39918         * sysvipc/sys/msg.h (msgbuf): Replace long int with
39919         __syscall_slong_t.
39920
39921         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39922         include <bits/wordsize.h>.  Check __x86_64__ instead of
39923         __WORDSIZE.
39924
39925         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39926         "unsigned long long int" if __x86_64__ is defined.
39927         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39928
39929         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39930         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39931         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39932
39933         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39934         <stdint.h>.
39935         (GET_PC): Cast to uintptr_t first.
39936         (GET_FRAME): Likewise.
39937         (GET_STACK): Likewise.
39938
39939         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39940         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39941         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39942         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39943         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39944         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39945         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39946         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39947         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39948         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39949         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39950         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39951         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39952         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39953         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39954         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39955         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39956         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39957         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39958         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39959         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39960         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39961         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39962         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39963         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39964         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39965         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39966         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39967         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39968
39969 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
39970
39971         * Makerules (+depfiles): Also collect depfiles from .oS in
39972         $(extra-objs).
39973         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39974         .oS, $(libnldbl-routines)).
39975
39976         * Makerules (native-compile-mkdep-flags): Define.
39977         * sunrpc/Makefile (extra-objs): Add $(addprefix
39978         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39979         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39980         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
39981         calling $(make-target-directory).
39982
39983 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39984
39985         * bits/types.h (__snseconds_t): Removed.
39986         * time/time.h (struct timespec): Replace __snseconds_t with
39987         __syscall_slong_t.
39988         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39989         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39990         Likewise.
39991         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39992         (__SNSECONDS_T_TYPE): Likewise.
39993         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39994         (__SNSECONDS_T_TYPE): Likewise.
39995         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39996         (__SNSECONDS_T_TYPE): Likewise.
39997
39998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39999
40000         * sysdeps/mach/hurd/bits/typesizes.h
40001         (__SYSCALL_SLONG_TYPE): New macro.
40002         (__SYSCALL_ULONG_TYPE): Likewise.
40003
40004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40005
40006         * bits/types.h (__syscall_slong_t): New type.
40007         (__syscall_ulong_t): Likewise.
40008
40009         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40010         (__SYSCALL_ULONG_TYPE): Likewise.
40011         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40012         (__SYSCALL_SLONG_TYPE): Likewise.
40013         (__SYSCALL_ULONG_TYPE): Likewise.
40014         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40015         (__SYSCALL_SLONG_TYPE): Likewise.
40016         (__SYSCALL_ULONG_TYPE): Likewise.
40017         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40018         (__SYSCALL_SLONG_TYPE): Likewise.
40019         (__SYSCALL_ULONG_TYPE): Likewise.
40020
40021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40022
40023         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40024         Add sigaltstack-offsets.sym.
40025         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40026         <sigaltstack-offsets.h>.
40027         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40028         longjmp_msg pointer.
40029         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40030         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40031         signal stack.
40032         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40033
40034 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40035
40036         * elf/stackguard-macros.h: Remove file.
40037         * sysdeps/generic/stackguard-macros.h: New file.
40038         * sysdeps/i386/stackguard-macros.h: Likewise.
40039         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40040         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40041         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40042         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40043         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40044         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40045         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40046         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40047         <elf/stackguard-macros.h>.
40048
40049         [BZ #14109]
40050         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40051         __aligned__ in attribute.
40052         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40053         (gregset_t): Likewise.
40054
40055 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40056
40057         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40058         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40059         * sysdeps/x86_64/x32/Implies-after: New file.
40060
40061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40062
40063         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40064         and access return value for _dl_profile_fixup.  Use R10_LP to
40065         load frame size.
40066
40067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40068
40069         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40070
40071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40072
40073         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40074         * sysdeps/x86_64/x32/sysdep.h: New file.
40075
40076 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40077
40078         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40079         * sysdeps/x86_64/setjmp.S: Likewise.
40080
40081 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40082
40083         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40084         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40085         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40086         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40087         remove unused global constant.
40088
40089 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40090
40091         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40092         include of <not-cancel.h>.
40093
40094 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40095
40096         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40097
40098 2012-05-15  Jeff Law  <law@redhat.com>
40099             Andreas Jaeger  <aj@suse.de>
40100
40101         [BZ #13594]
40102         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40103         out from...
40104         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40105         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40106         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40107         code changing __hst_map_handle.map.
40108
40109 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40110
40111         * configure.in (sysnames): Look for Implies-before and Implies-after
40112         files.
40113         * configure: Regenerated.
40114
40115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40116
40117         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40118         8-byte data alignment with LP_SIZE alignment.
40119
40120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40121
40122         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40123         into R10_LP.
40124
40125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40126
40127         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40128
40129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40130
40131         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40132         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40133         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40134         Likewise.
40135         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40136
40137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40138
40139         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40140         (stackinfo_sub_sp): Likewise.
40141
40142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40143
40144         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40145         RAX_LP.
40146
40147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40148
40149         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40150         into R*_LP.
40151
40152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40153
40154         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40155         sizes into R*_LP.
40156
40157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40158
40159         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40160
40161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40162
40163         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40164         into R11_LP and load __x86_64_shared_cache_size_half into
40165         R8_LP.
40166
40167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40168
40169         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40170         R8_LP.
40171
40172 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40173
40174         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40175         logb for POWER7.
40176         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40177         logbf for POWER7.
40178         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40179         logbl for POWER7.
40180         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40181         powerpc32/power7/fpu/s_logb.c via #include.
40182         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40183         powerpc32/power7/fpu/s_logbf.c via #include.
40184         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40185         powerpc32/power7/fpu/s_logbl.c via #include.
40186
40187 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40188
40189         * README.libm: Remove file.
40190
40191 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40192
40193         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40194         count for x32.  Use R*_LP and omit operand-size suffix.
40195
40196 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40197
40198         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40199         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40200         * sysdeps/x86_64/x32/shlib-versions: New file.
40201
40202 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40203
40204         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40205         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40206         Use _dl_fatal_printf instead.
40207
40208 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40209
40210         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40211         set if not set by the user.  Do not allow for being unset.
40212         * sysdeps/unix/sysv/linux/configure: Regenerated.
40213
40214 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40215
40216         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40217         the `q' suffix from lea and replace .quad with ASM_ADDR.
40218
40219 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40220
40221         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40222         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40223         instead of $17.
40224         (PTR_DEMANGLE): Likewise.
40225
40226 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40227
40228         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40229         (LP_OP): Likewise.
40230         (ASM_ADDR): Likewise.
40231         (RAX_LP): Likewise.
40232         (RBP_LP): Likewise.
40233         (RBX_LP): Likewise.
40234         (RCX_LP): Likewise.
40235         (RDI_LP): Likewise.
40236         (RSI_LP): Likewise.
40237         (RSP_LP): Likewise.
40238         (R8_LP): Likewise.
40239         (R9_LP): Likewise.
40240         (R10_LP): Likewise.
40241         (R10_LP): Likewise.
40242         (R11_LP): Likewise.
40243         (R12_LP): Likewise.
40244         (R13_LP): Likewise.
40245         (R14_LP): Likewise.
40246         (R15_LP): Likewise.
40247
40248 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40249
40250         * sysdeps/x86_64/x32/dl-machine.h: New file.
40251
40252 2012-05-14  Andreas Jaeger  <aj@suse.de>
40253
40254         * manual/Makefile (subdir): Remove export of subdir.
40255         (all): Remove target.
40256         (.PHONY): Remove all from list.
40257         (mkinstalldirs): Remove.
40258         (.PHONY): Remove installdirs from list.
40259         ($(inst_infodir)/libc.info): Use make-target-directory.
40260         (installdirs): Remove.
40261         (subdir_%): Remove.
40262         (glibc-targets): Remove.
40263         (lib): Remove.
40264         (stubs): Remove.
40265         ($(objpfx)stubs ../po/manual.pot): Remove.
40266         ($(objpfx)stamp%): Remove.
40267         (make-target-directory): Remove.
40268         (subdir_install): Remove.
40269         (routines): Remove.
40270         (aux): Remove.
40271         (sources): Remove.
40272         (objects): Remove.
40273         (headers): Remove.
40274
40275         [BZ #13750]
40276         * manual/.gitignore: Remove, it's not needed anymore.
40277         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40278         all files in it.
40279         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40280         directory.
40281         (texis): Renamed to $(objpfx)texis.
40282         (texis-path): New, contains path to generated files.
40283         (chapters.%): Use texis-path for complete path, add extra argument
40284         libc-texinfo.sh.
40285         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40286         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40287         (summary,texi, stamp-summary): Use complete path of
40288         files. Generate files in build dir.
40289         (dir-add.texi): Build in build dir.
40290         (libm-err.texi,stamp-libm-err): Likewise.
40291         (version.texi, stamp-version): Likewise.
40292         (.%c.texi): Likewise.
40293         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40294         (mostlyclean): Remove target.
40295         (realclean): Remove target.
40296         (generated): Add new variable with contents from mostlyclean and
40297         realclean, remove entries duplicated in common-mostlyclean, add
40298         stamp-libm-err and stamp-version.
40299         (generated-dirs): Add libc directory.
40300         ($(inst_infodir)/libc.info): Install files from build dir.
40301
40302         * manual/install.texi (Configuring and compiling): Adjust since
40303         the info files are not part of the tar ball anymore.
40304
40305 2012-05-14  Andreas Jaeger  <aj@suse.de>
40306
40307         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40308         variable.
40309
40310 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40311
40312         [BZ #13717]
40313         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40314         to 2.2.0 where earlier.
40315         * sysdeps/unix/sysv/linux/configure: Regenerated.
40316         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40317         Remove conditional code.
40318         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40319         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40320         Remove conditional code.
40321         [!__NR_lchown]: Likewise.
40322         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40323         [__NR_lchown]: Likewise.
40324         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40325         comment referencing __ASSUME_LCHOWN_SYSCALL.
40326         * sysdeps/unix/sysv/linux/i386/sigaction.c
40327         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40328         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40329         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40330         Remove conditional code.
40331         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40332         (__protocol_available): Remove #if 0 code.
40333         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40334         conditional code.
40335         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40336         * sysdeps/unix/sysv/linux/kernel-features.h
40337         (__ASSUME_GETCWD_SYSCALL): Don't define.
40338         (__ASSUME_REALTIME_SIGNALS): Likewise.
40339         (__ASSUME_PREAD_SYSCALL): Likewise.
40340         (__ASSUME_PWRITE_SYSCALL): Likewise.
40341         (__ASSUME_POLL_SYSCALL): Likewise.
40342         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40343         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40344         non-SPARC.
40345         (__ASSUME_SIOCGIFNAME): Don't define.
40346         (__ASSUME_MSG_NOSIGNAL): Likewise.
40347         (__ASSUME_SENDFILE): Define unconditionally.
40348         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40349         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40350         conditional code.
40351         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40352         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40353         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40354         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40355         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40356         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40357         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40359         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40360         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40362         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40363         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40365         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40366         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40368         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40369         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40371         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40372         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40374         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40375         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40377         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40378         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40380         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40381         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40382         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40383         Remove conditional code.
40384         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40385         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40386         Remove conditional code.
40387         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40388         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40389         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40390         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40391         Remove conditional code.
40392         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40393         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40394         Remove conditional code.
40395         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40396         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40397         Remove conditional code.
40398         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40399         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40400         Remove conditional code.
40401         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40402         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40403         Remove conditional code.
40404         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40405         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40406         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40407         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40408         * sysdeps/unix/sysv/linux/sigaction.c
40409         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40410         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40411         * sysdeps/unix/sysv/linux/sigpending.c
40412         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40413         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40414         * sysdeps/unix/sysv/linux/sigprocmask.c
40415         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40416         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40417         * sysdeps/unix/sysv/linux/sigsuspend.c
40418         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40419         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40420         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40421         (__libc_missing_rt_sigs): Remove.
40422         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40423         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40424         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40425         Remove conditional code.
40426         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40427         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40428         return 1.
40429         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40430         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40431         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40432         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40433
40434 2012-05-14  Andreas Jaeger  <aj@suse.de>
40435
40436         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40437         it's not used in glibc.
40438         (__coshm1): Likewise.
40439         (__acosh1p): Likewise.
40440         (__sgn): Likewise.
40441
40442         * manual/string.texi (Copying and Concatenation): Add missing
40443         variable in concat example.
40444         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40445
40446 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40447
40448         [BZ #14103]
40449         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40450         __builtin_clzl with __builtin_clzll.
40451
40452 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40453
40454         [BZ #14104]
40455         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40456         libc_freeres_ptr.
40457
40458 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40459
40460         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40461         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40462         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40463         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40464
40465 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40466
40467         * NEWS: Update ia64 info.
40468
40469 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40470
40471         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40472         used as bcopy.
40473
40474 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40475
40476         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40477         * sysdeps/unix/syscalls.list (dup3): Likewise.
40478         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40479         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40480
40481 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40482
40483         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40484         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40485
40486 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40487
40488         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40489         thread pointer.
40490         (TLS_IE): Use mov/add instead of movq/addq to load thread
40491         pointer.
40492         (TLS_GD_PREFIX): New.
40493         (TLS_GD): Use it.
40494
40495 2012-05-11  David S. Miller  <davem@davemloft.net>
40496
40497         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40498         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40499         (_FPU_SETCW): Likewise.
40500
40501 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40502
40503         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40504         is 32-byte aligned.
40505
40506 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40507
40508         [BZ #11837]
40509         * iconvdata/gb18030.c: Update tables.
40510         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40511         characters specially.
40512         (BODY for TO_LOOP): Add encoding of missing ranges.
40513
40514 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40515
40516         [BZ #13673]
40517         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40518         * sysdeps/mach/hurd/dup3.c: Likewise.
40519         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40520         * sysdeps/powerpc/memmove.c:: Likewise.
40521
40522 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40523
40524         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40525         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40526
40527 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40528
40529         * elf/elf.h (R_X86_64_RELATIVE64): New.
40530         (R_X86_64_NUM): Updated.
40531         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40532         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40533         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40534         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40535         tst-quad1pie tst-quad2pie
40536         (modules-names): Add tst-quadmod1 tst-quadmod2.
40537         ($(objpfx)tst-quad1): New dependency.
40538         ($(objpfx)tst-quad2): Likewise.
40539         ($(objpfx)tst-quad1pie): Likewise.
40540         ($(objpfx)tst-quad2pie): Likewise.
40541         * sysdeps/x86_64/tst-quad1.c: New file.
40542         * sysdeps/x86_64/tst-quad1pie.c: New file.
40543         * sysdeps/x86_64/tst-quad2.c: Likewise.
40544         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40545         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40546         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40547         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40548         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40549
40550 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40551
40552         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40553         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40554         * streams/stropts.h (t_scalar_t): Define type.
40555
40556         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40557         (_PATH_PRESERVE): Set to "/var/lib".
40558         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40559
40560         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40561         instead of int.
40562
40563         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40564         if __dir_mkfile succeeded.
40565
40566         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40567         checking for _hurd_dtablesize.  Unlock it right after having
40568         finished _hurd_dtable allocation.
40569
40570 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40571
40572         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40573         * sysdeps/mach/hurd/configure: Regenerated.
40574         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40575         special-casing to...
40576         * sysdeps/gnu/configure.in: ... this new file.
40577         * sysdeps/unix/sysv/linux/configure: Regenerated.
40578         * sysdeps/gnu/configure: New generated file.
40579
40580         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40581         for Linux: use nsec instead of usec, as well as:
40582         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40583         members of type struct timespec.
40584         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40585         New macros.
40586         (struct stat64): Likewise.
40587         (_STATBUF_ST_NSEC): New macro.
40588         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40589
40590         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40591         __strtoul_internal rather than strtoul.
40592
40593 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40594
40595         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40596         and reject them.
40597
40598 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40599
40600         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40601         which preserves existing values.
40602         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40603
40604 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40605
40606         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40607         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40608         greater than FD_SETSIZE.
40609
40610 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40611
40612         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40613         allocated, call __vm_protect to finish enabling the existing space, and
40614         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40615         allocate the remainder.
40616
40617 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40618
40619         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40620         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40621
40622 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40623
40624         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40625         sysdeps/mach/hurd/readlink.c.
40626
40627         * posix/tst-sysconf.c (posix_options): Only use
40628         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40629         _POSIX_SYNCHRONIZED_IO when they are defined
40630         * sysdeps/mach/hurd/bits/posix_opt.h:
40631         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40632         (_XOPEN_REALTIME): Undefine macro.
40633         (_XOPEN_REALTIME_THREADS): Undefine macro.
40634         (_XOPEN_SHM): Undefine macro.
40635         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40636         macro to -1.
40637         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40638         macro to -1.
40639         (_POSIX_ASYNC_IO): Undefine macro.
40640         (_POSIX_PRIORITIZED_IO): Undefine macro.
40641         (_POSIX_SPIN_LOCKS): Define macro to -1.
40642
40643         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40644         SA_NODEFER, SA_RESETHAND.
40645         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40646         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40647         F_DUPFD_CLOEXEC.
40648
40649 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40650
40651         * elf/Makefile (pldd-modules): Define unconditionally.
40652
40653 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40654
40655         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40656
40657 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40658
40659         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40660         Return ENOENT when name is empty.
40661         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40662
40663 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40664
40665         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40666
40667         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40668
40669 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40670
40671         Fix mlock in all cases except non-readable pages.
40672         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40673         instead of VM_PROT_ALL as parameter to __vm_wire function.
40674
40675         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40676         (__mkdir): When path is `/', just fail with EEXIST.
40677         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40678
40679 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40680
40681         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40682         <sys/uio.h> (for writev).
40683         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40684         and <sys/param.h> (for MIN).
40685
40686 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40687
40688         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40689         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40690         if interrupted.
40691
40692 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40693
40694         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40695         Depend on against $(link-rpcuserlibs).
40696
40697 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40698
40699         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40700         (__libc_stack_end): Do not use attribute_relro.
40701         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40702         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40703         to libthread-provided value.
40704         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40705         attribute_relro.
40706
40707 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40708
40709         [BZ #3748]
40710         * bits/libc-lock.h (__libc_once_get): New macro.
40711         * sysdeps/mach/bits/libc-lock.h: Likewise.
40712         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40713         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40714         instead of using implementation details.
40715
40716         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40717         * libio/freopen.c: Likewise.
40718         * libio/freopen64.c: Likewise.
40719         * misc/syslog.c: Likewise.
40720         * nscd/connections.c: Likewise.
40721         * nscd/netgroupcache.c: Likewise.
40722         * sysdeps/posix/getcwd.c: Likewise.
40723
40724 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40725
40726         * math/w_ilogbf.c: Add #include <limits.h>.
40727
40728 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40729
40730         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40731         path instead of returning without unlocking.
40732
40733         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40734         immediate-write ioctls.
40735         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40736
40737 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40738
40739         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40740         __builtin_frame_address instead of making assumptions about the
40741         location of the return address relative to DATA.  Force early load of
40742         the return address.
40743         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40744         __builtin_frame_address.
40745
40746         dup3 for GNU Hurd.
40747         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40748         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40749         implement dup3 and do some further code clean-ups.
40750         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40751         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40752
40753 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40754
40755         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40756
40757         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40758         HURD_CRITICAL_END around holding _hurd_dtable_lock.
40759         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40760         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40761         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40762         d->port.lock.
40763
40764         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40765         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
40766         when handler == SIG_ERR, not when handler != SIG_ERR.
40767
40768 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40769
40770         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40771         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40772         definitions.
40773
40774         accept4 for GNU Hurd.
40775         * include/sys/socket.h (__libc_accept4): New prototype.
40776         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
40777         to implement __libc_accept4.
40778         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40779         __libc_accept4.
40780         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40781
40782         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40783         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40784         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40785         signal-defines.sym.
40786
40787 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40788
40789         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40790
40791 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40792
40793         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40794         assertion on O_CLOEXEC flag.
40795         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40796         * hurd/intern-fd.c: Likewise.
40797         * hurd/port2fd.c: Likewise.
40798
40799 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40800
40801         [BZ #3906]
40802         * bits/in.h (IPV6_PKTINFO): Define new macro.
40803         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40804
40805 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40806
40807         [BZ #13954]
40808         [BZ #13955]
40809         [BZ #13956]
40810         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40811         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40812         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40813         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40814         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40815         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40816         * math/libm-test.inc (logb_test) : Additional logb tests.
40817
40818 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
40819             Andreas Jaeger  <aj@suse.de>
40820
40821         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40822         * configure: Regenerated.
40823         * config.h.in (LINK_OBSOLETE_RPC): New macro.
40824         * config.make.in (link-obsolete-rpc): New substituted variable.
40825         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40826         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40827         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40828         (shared-only-routines): Don't set it under [link-obsolete-rpc],
40829         so that libc.a contains the symbols.
40830         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40831         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40832         * sunrpc/auth_none.c: Likewise.
40833         * sunrpc/auth_unix.c: Likewise.
40834         * sunrpc/authdes_prot.c: Likewise.
40835         * sunrpc/authuxprot.c: Likewise.
40836         * sunrpc/clnt_gen.c: Likewise.
40837         * sunrpc/clnt_perr.c: Likewise.
40838         * sunrpc/clnt_raw.c: Likewise.
40839         * sunrpc/clnt_simp.c: Likewise.
40840         * sunrpc/clnt_tcp.c: Likewise.
40841         * sunrpc/clnt_udp.c: Likewise.
40842         * sunrpc/clnt_unix.c: Likewise.
40843         * sunrpc/des_crypt.c: Likewise.
40844         * sunrpc/des_soft.c: Likewise.
40845         * sunrpc/get_myaddr.c: Likewise.
40846         * sunrpc/key_call.c: Likewise.
40847         * sunrpc/key_prot.c: Likewise.
40848         * sunrpc/netname.c: Likewise.
40849         * sunrpc/pm_getmaps.c: Likewise.
40850         * sunrpc/pm_getport.c: Likewise.
40851         * sunrpc/pmap_clnt.c: Likewise.
40852         * sunrpc/pmap_prot.c: Likewise.
40853         * sunrpc/pmap_prot2.c: Likewise.
40854         * sunrpc/pmap_rmt.c: Likewise.
40855         * sunrpc/publickey.c: Likewise.
40856         * sunrpc/rpc_cmsg.c: Likewise.
40857         * sunrpc/rpc_common.c: Likewise.
40858         * sunrpc/rpc_dtable.c: Likewise.
40859         * sunrpc/rpc_prot.c: Likewise.
40860         * sunrpc/rpc_thread.c: Likewise.
40861         * sunrpc/rtime.c: Likewise.
40862         * sunrpc/svc.c: Likewise.
40863         * sunrpc/svc_auth.c: Likewise.
40864         * sunrpc/svc_raw.c: Likewise.
40865         * sunrpc/svc_run.c: Likewise.
40866         * sunrpc/svc_tcp.c: Likewise.
40867         * sunrpc/svc_udp.c: Likewise.
40868         * sunrpc/svc_unix.c: Likewise.
40869         * sunrpc/svcauth_des.c: Likewise.
40870         * sunrpc/xcrypt.c: Likewise.
40871         * sunrpc/xdr.c: Likewise.
40872         * sunrpc/xdr_array.c: Likewise.
40873         * sunrpc/xdr_float.c: Likewise.
40874         * sunrpc/xdr_intXX_t.c: Likewise.
40875         * sunrpc/xdr_mem.c: Likewise.
40876         * sunrpc/xdr_rec.c: Likewise.
40877         * sunrpc/xdr_ref.c: Likewise.
40878         * sunrpc/xdr_sizeof.c: Likewise.
40879         * sunrpc/xdr_stdio.c: Likewise.
40880
40881 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40882
40883         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40884         change.  Update copyright years.
40885
40886 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40887
40888         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40889
40890 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
40891             Joseph Myers  <joseph@codesourcery.com>
40892             Paul Pluzhnikov  <ppluzhnikov@google.com>
40893
40894         [BZ #14012]
40895         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40896         requiring rpcgen.
40897         [cross-compiling] (extra-libs): Likewise.
40898         [cross-compiling] (extra-libs-others): Likewise.
40899         [cross-compiling] (librpcsvc-routines): Likewise.
40900         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40901         [cross-compiling] (omit-deps): Likewise.
40902         (sunrpc-CPPFLAGS): New variable.
40903         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40904         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40905         (cross-rpcgen-objs): New variable.
40906         (extra-objs): Append $(cross-rpcgen-objs).
40907         ($(cross-rpcgen-objs)): New rule.
40908         ($(objpfx)cross-rpcgen): Likewise.
40909         (rpcgen-cmd): Define to use $(built-program-file).  Expand
40910         comment.
40911         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40912         ($(objpfx)x%.stmp): Likewise.
40913         * sunrpc/proto.h [IS_IN_build] (_): Define.
40914         [IS_IN_build] (_libc_intl_domainname): Likewise.
40915
40916 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40917
40918         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40919         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40920         and R_X86_64_TPOFF64.
40921
40922 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40923
40924         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40925         sysdeps/unix/sysv/syscalls.list.
40926         (stime): Likewise.
40927         (utime): Likewise.
40928         * sysdeps/unix/sysv/syscalls.list: Remove file.
40929
40930 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
40931
40932         [BZ #3440]
40933         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40934         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40935         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40936         (__LC_IDENTIFICATION): Make these macros useful in #if
40937         expressions, as required by C99.
40938
40939 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
40940
40941         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40942         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
40943         after this.
40944
40945 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
40946
40947         * stdlib/longlong.h: Updated from GCC.
40948
40949 2012-05-09  Andreas Jaeger  <aj@suse.de>
40950
40951         * nscd/nscd.c (run_modes): Make named enum, reorder so that
40952         default is first entry.
40953         (run_mode): Set type.
40954         (main): Remove informal message about syslog.
40955         (options): Fix typo.
40956
40957         [BZ #14053]
40958         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40959         to asm.
40960         (lrint): Likewise.
40961         (llrintf): Likewise.
40962         (llrint): Likewise.
40963         (rint): Likewise.
40964         (rintf): Likewise.
40965         (nearbyint): Likewise.
40966         (nearbyintf): Likewise.
40967
40968 2012-05-09  Andreas Jaeger  <aj@suse.de>
40969             Pedro Alves  <palves@redhat.com>
40970
40971         * nscd/nscd.c (run_mode): Use enum.
40972         (main): Cleanup coding style issue.
40973
40974 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
40975             Andreas Jaeger  <aj@suse.de>
40976
40977         * nscd/nscd.c (go_background): Replaced with...
40978         (run_mode): ... this.
40979         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40980         (options): Add -F --foreground.
40981         (main): Implement it.
40982         (parse_opt): Parse it.
40983
40984 2012-05-09  Andreas Jaeger  <aj@suse.de>
40985
40986         [BZ #14083]
40987         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40988         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40989         -Wconversion warning.
40990         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40991         Likewise.
40992
40993 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
40994
40995         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
40996         == 0.
40997         (LC_ALL): Use macro-int-constant.
40998         (LC_COLLATE): Likewise.
40999         (LC_CTYPE): Likewise.
41000         (LC_MESSAGES): Likewise.
41001         (LC_MONETARY): Likewise.
41002         (LC_NUMERIC): Likewise.
41003         (LC_TIME): Likewise.
41004         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41005         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41006         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41007         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41008         Specify type.
41009         [C99-based standards] (float_t): Expect type.
41010         [C99-based standards] (double_t): Expect type.
41011         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41012         type.
41013         [C99-based standards] (HUGE_VALL): Likewise.
41014         [C99-based standards] (INFINITY): Likewise.
41015         [C99-based standards] (NAN): Likewise.
41016         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41017         [C99-based standards] (FP_NAN): Likewise.
41018         [C99-based standards] (FP_NORMAL): Likewise.
41019         [C99-based standards] (FP_SUBNORMAL): Likewise.
41020         [C99-based standards] (FP_ZERO): Likewise.
41021         [C99-based standards] (FP_FAST_FMA): Use
41022         optional-macro-int-constant.  Specify type.  Require == 1.
41023         [C99-based standards] (FP_FAST_FMAF): Likewise.
41024         [C99-based standards] (FP_FAST_FMAL): Likewise.
41025         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41026         [C99-based standards] (FP_ILOGBNAN): Likewise.
41027         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41028         Specify type.
41029         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41030         [C99-based standards] (math_errhandling): Specify type.
41031         [ISO99 || ISO11] (signgam): Do not allow.
41032         [non-C99-based standards] (copysignf): Do not allow.
41033         [non-C99-based standards] (exp2f): Likewise.
41034         [non-C99-based standards] (log2f): Likewise.
41035         [non-C99-based standards] (modff): Allow.
41036         [non-C99-based standards] (erff): Do not allow.
41037         [non-C99-based standards] (erfcf): Likewise.
41038         [non-C99-based standards] (gammaf): Likewise.
41039         [non-C99-based standards] (hypotf): Likewise.
41040         [non-C99-based standards] (j0f): Likewise.
41041         [non-C99-based standards] (j1f): Likewise.
41042         [non-C99-based standards] (jnf): Likewise.
41043         [non-C99-based standards] (lgammaf): Likewise.
41044         [non-C99-based standards] (tgammaf): Likewise.
41045         [non-C99-based standards] (y0f): Likewise.
41046         [non-C99-based standards] (y1f): Likewise.
41047         [non-C99-based standards] (ynf): Likewise.
41048         [non-C99-based standards] (isnanf): Likewise.
41049         [non-C99-based standards] (acoshf): Likewise.
41050         [non-C99-based standards] (asinhf): Likewise.
41051         [non-C99-based standards] (atanhf): Likewise.
41052         [non-C99-based standards] (cbrtf): Likewise.
41053         [non-C99-based standards] (expm1f): Likewise.
41054         [non-C99-based standards] (ilogbf): Likewise.
41055         [non-C99-based standards] (log1pf): Likewise.
41056         [non-C99-based standards] (logbf): Likewise.
41057         [non-C99-based standards] (nextafterf): Likewise.
41058         [non-C99-based standards] (remainderf): Likewise.
41059         [non-C99-based standards] (rintf): Likewise.
41060         [non-C99-based standards] (scalbf): Likewise.
41061         [non-C99-based standards] (copysignl): Likewise.
41062         [non-C99-based standards] (exp2l): Likewise.
41063         [non-C99-based standards] (log2l): Likewise.
41064         [non-C99-based standards] (modfl): Allow.
41065         [non-C99-based standards] (erfl): Do not allow.
41066         [non-C99-based standards] (erfcl): Likewise.
41067         [non-C99-based standards] (gammal): Likewise.
41068         [non-C99-based standards] (hypotl): Likewise.
41069         [non-C99-based standards] (j0l): Likewise.
41070         [non-C99-based standards] (j1l): Likewise.
41071         [non-C99-based standards] (jnl): Likewise.
41072         [non-C99-based standards] (lgammal): Likewise.
41073         [non-C99-based standards] (tgammal): Likewise.
41074         [non-C99-based standards] (y0l): Likewise.
41075         [non-C99-based standards] (y1l): Likewise.
41076         [non-C99-based standards] (ynl): Likewise.
41077         [non-C99-based standards] (isnanl): Likewise.
41078         [non-C99-based standards] (acoshl): Likewise.
41079         [non-C99-based standards] (asinhl): Likewise.
41080         [non-C99-based standards] (atanhl): Likewise.
41081         [non-C99-based standards] (cbrtl): Likewise.
41082         [non-C99-based standards] (expm1l): Likewise.
41083         [non-C99-based standards] (ilogbl): Likewise.
41084         [non-C99-based standards] (log1pl): Likewise.
41085         [non-C99-based standards] (logbl): Likewise.
41086         [non-C99-based standards] (nextafterl): Likewise.
41087         [non-C99-based standards] (remainderl): Likewise.
41088         [non-C99-based standards] (rintl): Likewise.
41089         [non-C99-based standards] (scalbl): Likewise.
41090         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41091         [non-C99-based standards] (FP_*): Do not allow.
41092         [C99-based standards] (FP_*): Change to
41093         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41094         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41095         allow.
41096         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41097         (SIG_ERR): Likewise.
41098         [X/Open-based standards] (SIG_HOLD): Likewise.
41099         (SIG_IGN): Likewise.
41100         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41101         positive value.
41102         (SIGFPE): Likewise.
41103         (SIGILL): Likewise.
41104         (SIGINT): Likewise.
41105         (SIGSEGV): Likewise.
41106         (SIGTER): Likewise.
41107         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41108         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41109         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41110         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41111         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41112         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41113         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41114         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41115         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41116         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41117         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41118         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41119         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41120         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41121         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41122         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41123         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41124         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41125         [X/Open-based standards] (SIGTRAP): Likewise.
41126         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41127         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41128         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41129         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41130         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41131         allow.
41132
41133 2012-05-08  Ian Wienand  <ianw@vmware.com>
41134
41135         [BZ #14080]
41136         * time/tzset.c (__tzset_parse_tz): Update default rules for
41137         daylight time changes in the Energy Policy Act of 2005.
41138
41139 2012-05-09  Andreas Jaeger  <aj@suse.de>
41140
41141         [BZ #13983]
41142         * elf/ldconfig.c (parse_conf): Change string to make clear that
41143         ldconfig only issued a warning if ld.so.conf does not exist.
41144
41145 2012-05-08  David S. Miller  <davem@davemloft.net>
41146
41147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41148         movxtod instead of popping the value on the stack.
41149
41150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41151
41152 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41153
41154         * config.h.in: Add HAVE_ARM_PCS_VFP.
41155
41156 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41157
41158         [BZ #13979]
41159         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41160         checking but the checks are disabled for any reason.
41161
41162 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41163
41164         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41165         and ELF64_R_TYPE with ELFW(R_TYPE).
41166
41167 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41168
41169         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41170         (ulimit): Likewise.
41171
41172         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41173         (settimeofday): Likewise.
41174
41175 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41176
41177         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41178         a struct th_u2 inside the union, and move tu_block/tu_code into
41179         a new th_u3 union of tu_block/tu_code inside of that.  Move
41180         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41181         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41182         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41183         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41184         (th_stuff): Change to th_u1.tu_stuff.
41185         (th_data): Define.
41186         (th_msg): Change to th_u1.th_u2.tu_data.
41187
41188 2012-05-07  David S. Miller  <davem@davemloft.net>
41189
41190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41191
41192         [BZ #14074]
41193         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41194         (SETUP_PIC_REG): Use it.
41195         (SETUP_PIC_REG_LEAF): Use it.
41196
41197 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41198
41199         [BZ #13885]
41200         [BZ #13923]
41201         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41202         USE_AS_EXPM1L.
41203         (EXPL_FINITE): Likewise.
41204         (FLDLOG): Likewise.
41205         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41206         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41207         e_expl.S.
41208         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41209         USE_AS_EXPM1L.
41210         (EXPL_FINITE): Likewise.
41211         (FLDLOG): Likewise.
41212         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41213         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41214         e_expl.S.
41215         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41216         test of -max_value argument for long double.
41217         * sysdeps/i386/fpu/libm-test-ulps: Update.
41218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41219
41220 2012-05-06  David S. Miller  <davem@davemloft.net>
41221
41222         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41223         quad soft-float symbols whose references which are compiler
41224         generated.
41225         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41226
41227 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41228
41229         [BZ #13884]
41230         [BZ #13914]
41231         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41232         USE_AS_EXP10L.
41233         (EXPL_FINITE): Likewise.
41234         (FLDLOG): Likewise.
41235         (c0): Likewise.
41236         (c1): Likewise.
41237         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41238         Adjust comments for base varying.
41239         (__expl_finite): Change alias to EXPL_FINITE.
41240         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41241         e_expl.S.
41242         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41243         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41244         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41245         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41246         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41247         USE_AS_EXP10L.
41248         (EXPL_FINITE): Likewise.
41249         (FLDLOG): Likewise.
41250         (c0): Likewise.
41251         (c1): Likewise.
41252         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41253         Adjust comments for base varying.
41254         (__expl_finite): Change alias to EXPL_FINITE.
41255         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41256         tests for bugs.
41257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41258
41259         [BZ #14064]
41260         * math/libm-test.inc (check_float_internal): Correct ulp
41261         calculation for subnormal expected results.
41262
41263 2012-05-06  Andreas Jaeger  <aj@suse.de>
41264
41265         * Makeconfig (+math-flags): New, set to -frounding-math.
41266         (+cflags): Add +math-flags so that all of glibc gets compiled with
41267         it.
41268
41269         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41270
41271 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41272
41273         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41274         Disable one test.
41275
41276         [BZ #13787]
41277         [BZ #13922]
41278         [BZ #14036]
41279         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41280         (__ieee754_expl): Allow for and saturate large arguments.
41281         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41282         (u_threshold): Likewise.
41283         (__exp): Call __ieee754_exp before checking for overflow and
41284         underflow.
41285         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41286         (u_threshold): Likewise.
41287         (__expf): Call __ieee754_expf before checking for overflow and
41288         underflow.
41289         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41290         (u_threshold): Likewise.
41291         (__expl): Call __ieee754_expl before checking for overflow and
41292         underflow.
41293         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41294         (__ieee754_expl): Allow for and saturate large arguments.
41295         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41296         missing overflow exception on overflow.
41297         (expm1_test): Do not allow missing overflow exception on overflow.
41298
41299         * sysdeps/i386/fpu/e_expl.c: Move to ...
41300         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41301         rather than using inline asm.
41302         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41303         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41304         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41305
41306         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41307         (nice): Likewise.
41308         (poll): Likewise.
41309         (signal): Likewise.
41310         (time): Likewise.
41311         (times): Likewise.
41312
41313 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41314
41315         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41316         sysdeps/unix/common/syscalls.list.
41317         (fchmod): Likewise.
41318         (fchown): Likewise.
41319         (ftruncate): Likewise.
41320         (getrusage): Likewise.
41321         (gettimeofday): Likewise.
41322         (setpgid): Likewise.
41323         (setregid): Likewise.
41324         (setreuid): Likewise.
41325         (sigaction): Likewise.
41326         (truncate): Likewise.
41327         (vhangup): Likewise.
41328         * sysdeps/unix/common/syscalls.list: Remove file.
41329         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41330         * sysdeps/unix/sysv/linux/Implies: Likewise.
41331
41332 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41333
41334         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41336         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41337         Moved to ...
41338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41339         Here.
41340         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41341         to ...
41342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41343         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41344         to ...
41345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41346         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41347         to ...
41348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41349         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41350         to ...
41351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41352         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41353         to ...
41354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41355         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41356         to ...
41357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41358         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41359         to ...
41360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41361         Here.
41362         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41363         to ...
41364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41365         Here.
41366         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41367         to ...
41368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41369         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41370         Moved to ...
41371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41372         Here.
41373         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41374         to ...
41375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41376
41377 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41378
41379         * sysdeps/unix/common/bits/dirent.h: Remove file.
41380         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41381
41382         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41383         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41384         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41385         * sysdeps/unix/bsd/isatty.c: Likewise.
41386         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41387         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41388         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41389
41390 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41391
41392         [BZ #13563]
41393         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41394         long double comparison inaccuracies.
41395         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41397
41398 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41399
41400         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41401         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41402
41403 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41404
41405         [BZ #14049]
41406         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41407         nonzero digits before rounding a hex value.
41408         * stdlib/tst-strtod.c (tests): Add another test.
41409
41410 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41411
41412         * sysdeps/s390/fpu/libm-test-ulps: Update.
41413
41414 2012-05-03  Andreas Jaeger  <aj@suse.de>
41415
41416         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41417         does not get optimized out.
41418         (malloc_opt_barrier): New.
41419
41420 2012-05-03  Andreas Jaeger  <aj@suse.de>
41421             Roland McGrath  <roland@hack.frob.com>
41422
41423         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41424         intermediate file deletion.
41425         (generated): Add .symlist files.
41426
41427 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41428
41429         [BZ #13775]
41430         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41431         Redirect under this condition.
41432         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41433         [__USE_GNU] (__dprintf_chk): Not under this condition.
41434         [__USE_GNU] (__vdprintf_chk): Likewise.
41435         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41436         under this condition.
41437         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41438         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41439         [__USE_XOPEN2K8] (vdprintf): Likewise.
41440         [__USE_GNU] (__dprintf_chk): Not under this condition.
41441         [__USE_GNU] (__vdprintf_chk): Likewise.
41442         [__USE_GNU] (dprintf): Likewise.
41443         [__USE_GNU] (vdprintf): Likewise.
41444
41445 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41446
41447         * elf/Makefile (common-generated): Set this instead of generated for
41448         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41449         $(all-built-dso)-derived lists.
41450
41451 2012-05-03  Andreas Jaeger  <aj@suse.de>
41452
41453         * sysdeps/i386/fpu/libm-test-ulps: Update.
41454
41455         * FAQ: Removed.
41456         * FAQ.in: Likewise.
41457         * scripts/gen-FAQ.pl: Likewise.
41458         * manual/install.texi (Installation): Point to online location of
41459         FAQ.
41460         * Makefile (files-for-dist): Remove FAQ.
41461         (FAQ): Remove.
41462
41463 2012-05-02  Allan McRae  <allan@archlinux.org>
41464
41465         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41466         (LDFLAGS-reldepmod5.so): Likewise.
41467         (LDFLAGS-reldep6mod1.so): Likewise.
41468         (LDFLAGS-reldep6mod4.so): Likewise.
41469         (LDFLAGS-reldep8mod3.so): Likewise.
41470         (LDFLAGS-unload4mod1.so): Likewise.
41471         (LDFLAGS-unload4mod2.so): Likewise.
41472         (LDFLAGS-tst-initorder): Likewise.
41473         (LDFLAGS-tst-initordera2.so): Likewise.
41474         (LDFLAGS-tst-initordera3.so): Likewise.
41475         (LDFLAGS-tst-initordera4.so): Likewise.
41476         (LDFLAGS-tst-initorderb2.so): Likewise.
41477         (LDFLAGS-noload): Likewise.
41478         (LDFLAGS-next): Likewise.
41479         (LDFLAGS-order2mod1.so): Likewise.
41480         (LDFLAGS-order2mod2.so): Likewise.
41481         (LDFLAGS-tst-initorder2): Likewise.
41482         (LDFLAGS-tst-initorder2a.so): Likewise.
41483         (LDFLAGS-tst-initorder2b.so): Likewise.
41484         (LDFLAGS-tst-initorder2c.so): Likewise.
41485         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41486
41487 2012-05-02  David S. Miller  <davem@davemloft.net>
41488
41489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41490
41491 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41492
41493         [BZ #14055]
41494         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41495
41496 2012-05-02  Andreas Jaeger  <aj@suse.de>
41497
41498         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41499         since we manipulate rounding mode.
41500         (CPPFLAGS-test-idouble.c): Likewise.
41501         (CPPFLAGS-test-ifloat.c): Likewise.
41502         (CFLAGS-test-ldouble.c): Likewise.
41503         (CFLAGS-test-double.c): Likewise.
41504         (CFLAGS-test-float.c): Likewise.
41505         (CFLAGS-test-misc.c): Likewise.
41506         (CFLAGS-test-test-fenv.c): Likewise.
41507
41508 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41509
41510         [BZ #2550]
41511         [BZ #2570]
41512         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41513         comparisons to determine direction to adjust input.
41514
41515 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41516
41517         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41518         output to the target.
41519
41520         * scripts/localplt.awk: New file.
41521         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41522         (check-localplt-CFLAGS): Variable removed.
41523         ($(all-built-dso:=.jmprel)): New static pattern rule.
41524         (generated): Add those targets.
41525         (localplt-built-dso): New variable.
41526         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41527
41528         * elf/check-localplt.c: File removed.
41529
41530         * scripts/check-execstack.awk: New file.
41531         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41532         (check-execstack-CFLAGS): Variable removed.
41533         ($(objpfx)check-execstack.h): Target removed.
41534         ($(objpfx)execstack-default): New target.
41535         (generated): Add that instead of check-execstack.h.
41536         ($(all-built-dso:=.phdr)): New static pattern rule.
41537         (generated): Add those targets.
41538         * elf/check-execstack.c: File removed.
41539
41540         * scripts/check-textrel.awk: New file.
41541         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41542         (check-textrel-CFLAGS): Variable removed.
41543         (all-built-dso): Use := to define.o
41544         ($(all-built-dso:=.dyn)): New static pattern rule.
41545         (generated): Add those targets.
41546         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41547         * config.make.in (READELF): New substituted variable.
41548         * elf/check-textrel.c: File removed.
41549
41550 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41551
41552         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41553         allow.
41554         * conform/data/ctype.h-data [C99-based standards] (isblank):
41555         Expect function.
41556         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41557         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41558         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41559         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41560         Specify type.  Require positive value.
41561         (EILSEQ): Likewise.
41562         (ERANGE): Likewise.
41563         [ISO || POSIX] (EILSEQ): Do not expect.
41564         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41565         Specify type.  Require positive value.
41566         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41567         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41568         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41569         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41570         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41571         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41572         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41573         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41574         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41575         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41576         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41577         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41578         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41579         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41580         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41581         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41582         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41583         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41584         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41585         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41586         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41587         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41588         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41589         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41590         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41591         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41592         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41593         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41594         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41595         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41596         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41597         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41598         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41599         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41600         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41601         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41602         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41603         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41604         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41605         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41606         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41607         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41608         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41609         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41610         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41611         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41612         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41613         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41614         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41615         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41616         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41617         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41618         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41619         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41620         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41621         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41622         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41623         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41624         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41625         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41626         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41627         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41628         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41629         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41630         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41631         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41632         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41633         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41634         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41635         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41636         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41637         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41638         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41639         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41640         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41641         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41642         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41643         Require >= 2.
41644         (FLT_ROUNDS): Expect as macro, not constant.
41645         (FLT_MANT_DIG): Use macro-int-constant.
41646         (DBL_MANT_DIG): Likewise.
41647         (LDBL_MANT_DIG): Likewise.
41648         (FLT_DIG): Likewise.
41649         (DBL_DIG): Likewise.
41650         (LDBL_DIG): Likewise.
41651         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41652         (DBL_MIN_EXP): Likewise.
41653         (LDBL_MIN_EXP): Likewise.
41654         (FLT_MAX_EXP): Use macro-int-constant.
41655         (DBL_MAX_EXP): Likewise.
41656         (LDBL_MAX_EXP): Likewise.
41657         (FLT_MAX_10_EXP): Likewise.
41658         (DBL_MAX_10_EXP): Likewise.
41659         (LDBL_MAX_10_EXP): Likewise.
41660         (FLT_MAX): Use macro-constant.
41661         (DBL_MAX): Likewise.
41662         (LDBL_MAX): Likewise.
41663         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41664         (DBL_EPSILON): Likewise.
41665         (LDBL_EPSILON): Likewise.
41666         (FLT_MIN): Likewise.
41667         (DBL_MIN): Likewise.
41668         (LDBL_MIN): Likewise.
41669         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41670         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41671         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41672         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41673         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41674         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41675         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41676         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41677         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41678         [ISO11] (FLT_TRUE_MIN): Likewise.
41679         [ISO11] (LDBL_TRUE_MIN): Likewise.
41680         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41681         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41682         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41683         (SCHAR_MAX): Likewise.
41684         (UCHAR_MAX): Likewise.
41685         (CHAR_MIN): Likewise.
41686         (CHAR_MAX): Likewise.
41687         (MB_LEN_MAX): Use macro-int-constant.
41688         (SHRT_MIN): Use macro-int-constant.  Specify type.
41689         (SHRT_MAX): Likewise.
41690         (USHRT_MAX): Likewise.
41691         (INT_MAX): Likewise.
41692         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41693         bound negative.
41694         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41695         bound with "U".
41696         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41697         bound with "L".
41698         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41699         bound negative.  Suffix upper bound with "L".
41700         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41701         bound with "UL".
41702         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41703         Specify type.
41704         [C99-based standards] (LLONG_MAX): Likewise.
41705         [C99-based standards] (ULLONG_MAX): Likewise.
41706         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41707         == 0.
41708         [ISO11] (max_align_t): Require type.
41709         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41710
41711         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41712         from $CFLAGS, without defining away __attribute__ calls.
41713         (checknamespace): Use $CFLAGS_namespace.
41714
41715         * conform/conformtest.pl (@keywords): Only include C99 keywords
41716         for standards based on C99 or C11.
41717
41718         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41719         Disable tests.
41720         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41721         UNIX98]: Likewise.
41722
41723         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41724         usability of symbols in #if.
41725
41726         * conform/conformtest.pl: If macro or constant types start
41727         "promoted:", expect the symbol to be of the following type
41728         promoted by the integer promotions.
41729
41730         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41731         in one place.  Also handle "macro-constant".
41732
41733         * conform/conformtest.pl: Only accept expected macro values with
41734         "==".  Parse all "macro" lines in one place.
41735         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41736
41737         * conform/conformtest.pl: Handle braced types on "constant" lines
41738         instead of handling "typed-constant".
41739         * conform/data/signal.h-data: Use "constant" instead of
41740         "typed-constant".
41741
41742         * conform/conformtest.pl: Handle "optional-" at start of lines in
41743         one place rather than duplicating several cases.  Handle each
41744         format of "macro" line with initial "optional-".
41745
41746         * conform/conformtest.pl: Only accept expected constant or
41747         optional-constant values with "==".  Parse all "constant" lines in
41748         one place.  Parse all "optional-constant" lines in one place.
41749         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41750         * conform/data/fmtmsg.h-data: Likewise.
41751         * conform/data/netinet/in.h-data: Likewise.
41752         * conform/data/tar.h-data: Likewise.
41753         * conform/data/limits.h-data: Use "==" form on "constant" and
41754         "optional-constant" lines.
41755
41756         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41757         Use -std=c99 for XOPEN2K.
41758         (@knownproblems): Remove.
41759         (newtoken): Don't check %isknown.
41760
41761         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41762         Do not expect macro.
41763         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41764         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41765         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41766         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41767         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41768         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41769         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41770         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41771         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41772         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41773         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41774         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41775         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41776         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41777         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41778         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41779         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41780         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41781         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41782         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41783         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41784         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41785         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41786         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41787         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41788         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41789         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41790         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41791         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41792         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41793         [XPG3] (acosh): Likewise.
41794         [XPG3] (asinh): Likewise.
41795         [XPG3] (atanh): Likewise.
41796         [XPG3] (cbrt): Likewise.
41797         [XPG3] (expm1): Likewise.
41798         [XPG3] (ilogb): Likewise.
41799         [XPG3] (log1p): Likewise.
41800         [XPG3] (logb): Likewise.
41801         [XPG3] (nextafter): Likewise.
41802         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41803         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41804         [XPG3] (remainder): Likewise.
41805         [XPG3] (rint): Likewise.
41806         [XPG3 || XPG4 || UNIX98] (round): Likewise.
41807         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41808         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41809         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41810         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41811         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41812         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41813         [UNIX98 || XOPEN2K] (scalb): Expect.
41814         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41815         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41816         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41817         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41818         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41819         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41820         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41821         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41822         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41823         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41824         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41825         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41826         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41827         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41828         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41829         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41830         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41831         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41832         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41833         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41834         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41835         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41836         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41837         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41838         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41839         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41840         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41841         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41842         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41843         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41844         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41845         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41846         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41847         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41848         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41849         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41850         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41851         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41852         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41853         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41854         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41855         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41856         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41857         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41858         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41859         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41860         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41861         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41862         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41863         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41864         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41865         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41866         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41867         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41868         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41869         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41870         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41871         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41872         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41873         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41874         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41875         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41876         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41877         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41878         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41879         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41880         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41881         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41882         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41883         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41884         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41885         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41886         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41887         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41888         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41889         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41890         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41891         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41892         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41893         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41894         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41895         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41896         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41897         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41898         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41899         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41900         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41901         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41902         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41903         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41904         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41905         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41906         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41907         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41908         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41909         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41910         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41911         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41912         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41913         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41914         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41915         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41916         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41917         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41918         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41919         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41920         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41921         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41922         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41923         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41924         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41925         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41926         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41927         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41928         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41929         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41930         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41931         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41932         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41933         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41934         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41935         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41936         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41937         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41938         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41939         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41940         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41941         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41942         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41943         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41944         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41945         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41946         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41947         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41948         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41949         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41950         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41951
41952         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41953         _XOPEN_SOURCE_EXTENDED for XPG4.
41954
41955         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41956
41957         * Makeconfig (localtime): Remove variable.
41958         (inst_localtime-file): Likewise.
41959
41960 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41961
41962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41963         Update.
41964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41965         Update.
41966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41967         Update.
41968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41969         Update.
41970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41971         Update.
41972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41973         Update.
41974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41975         Update.
41976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41977         Update.
41978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41979         Update.
41980
41981 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41982
41983         [BZ #2550]
41984         [BZ #2570]
41985         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41986         comparisons to determine direction to adjust input.
41987         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41988         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41989         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41990         Likewise.
41991         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41992         Likewise.
41993         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41994         Likewise.
41995         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41996         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41997         Likewise.
41998         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41999         Likewise.
42000         * math/libm-test.inc (nexttoward_test): Add more tests.
42001
42002 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42003
42004         [BZ #14040]
42005         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42006         in version GLIBC_2.1, not GLIBC_2.0.
42007         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42008         Likewise.
42009
42010 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42011
42012         [BZ #13942]
42013         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42014         (1 - x) * (1 + x).
42015         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42016         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42017         * math/libm-test.inc (acos_test): Add more tests.
42018         (asin_test): Likewise.
42019         * sysdeps/i386/fpu/libm-test-ulps: Update.
42020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42021
42022         [BZ #14034]
42023         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42024         of square root.
42025         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42026         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42027         * math/libm-test.inc (acos_test_tonearest): New function.
42028         (acos_test_towardzero): Likewise.
42029         (acos_test_downward): Likewise.
42030         (acos_test_upward): Likewise.
42031         (asin_test_tonearest): Likewise.
42032         (asin_test_towardzero): Likewise.
42033         (asin_test_downward): Likewise.
42034         (asin_test_upward): Likewise.
42035         (main): Call the new functions.
42036         * sysdeps/i386/fpu/libm-test-ulps: Update.
42037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42038
42039         [BZ #13884]
42040         [BZ #13924]
42041         * math/e_exp10.c: Include <float.h>.
42042         (__ieee754_exp10): Handle underflow here rather than multiplying
42043         large negative argument by M_LN10.
42044         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42045         of __ieee754_expf.
42046         * math/e_exp10l.c: Include <float.h>.
42047         (__ieee754_exp10l): Handle underflow here rather than multiplying
42048         large negative argument by M_LN10l.
42049         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42050         spurious overflow exception on underflow.
42051
42052 2012-04-29  Marek Polacek  <polacek@redhat.com>
42053
42054         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42055         (__fortify_function): New macro.
42056         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42057         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42058         __extern_always_inline.
42059         * libio/bits/stdio2.h: Likewise.
42060         * libio/bits/stdio.h: Likewise.
42061         * string/string.h: Likewise.
42062         * string/bits/string3.h: Likewise.
42063         * include/stdio.h: Likewise.
42064         * stdlib/bits/stdlib.h: Likewise.
42065         * stdlib/stdlib.h: Likewise.
42066         * rt/bits/mqueue2.h: Likewise.
42067         * rt/mqueue.h: Likewise.
42068         * posix/bits/unistd.h: Likewise.
42069         * posix/unistd.h: Likewise.
42070         * io/bits/poll2.h: Likewise.
42071         * io/bits/fcntl2.h: Likewise.
42072         * io/fcntl.h: Likewise.
42073         * io/sys/poll.h: Likewise.
42074         * misc/bits/syslog.h: Likewise.
42075         * misc/bits/syslog-ldbl.h: Likewise.
42076         * misc/sys/syslog.h: Likewise.
42077         * socket/bits/socket2.h: Likewise.
42078         * socket/sys/socket.h: Likewise.
42079         * debug/tst-chk1.c: Likewise.
42080         * wcsmbs/bits/wchar2.h: Likewise.
42081         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42082         * wcsmbs/wchar.h: Likewise.
42083
42084 2012-04-29  Andreas Jaeger  <aj@suse.de>
42085
42086         * Makerules (tests): Remove enable-check-abi protection.
42087         (check-abi-warn): Remove.
42088         (check-abi-%): Remove check-abi-warn usage.
42089
42090         * configure.in: Remove check-abi configure option.
42091         * configure: Regenerated.
42092         * config.make.in (enable-check-abi): Remove.
42093
42094 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42095
42096         [BZ #14033]
42097         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42098         double functions to double *_finite functions.
42099
42100         [BZ #13941]
42101         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42102         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42103         LDBL_MIN_EXP.
42104         * stdio-common/Makefile (tests): Add tst-sprintf3.
42105         * stdio-common/tst-sprintf3.c: New file.
42106
42107         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42108         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42109
42110 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42111
42112         * conform/conformtest.pl: Remove duplicate typed-constant
42113         handling.
42114
42115 2012-04-28  David S. Miller  <davem@davemloft.net>
42116
42117         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42118         (check-abi-%): Remove AWK script prerequisite and explicit
42119         abilist directory.
42120         (check-abi): Rewrite to just diff the symlist with the abilist.
42121         (config-tls, config-abi-config): Delete, no longer used.
42122         (update-abi-%): Remove AWK script and explicit abilist directory.
42123         (update-abi): Rewrite to simply compare and conditionally copy the
42124         symlist and the sysdep abilist file.  Remove update-abi-config
42125         checks.
42126         * abilist/ld.abilist: Remove.
42127         * abilist/libBrokenLocale.abilist: Remove.
42128         * abilist/libanl.abilist: Remove.
42129         * abilist/libcrypt.abilist: Remove.
42130         * abilist/libdl.abilist: Remove.
42131         * abilist/librt.abilist: Remove.
42132         * abilist/libthread_db.abilist: Remove.
42133         * abilist/libutil.abilist: Remove.
42134         * scripts/extract-abilist.awk: Remove.
42135         * scripts/merge-abilist.awk: Remove.
42136         * sysdeps/generic/libcidn.abilist: New file.
42137         * sysdeps/generic/libnss_compat.abilist: New file.
42138         * sysdeps/generic/libnss_db.abilist: New file.
42139         * sysdeps/generic/libnss_dns.abilist: New file.
42140         * sysdeps/generic/libnss_files.abilist: New file.
42141         * sysdeps/generic/libnss_hesiod.abilist: New file.
42142         * sysdeps/generic/libnss_nis.abilist: New file.
42143         * sysdeps/generic/libnss_nisplus.abilist: New file.
42144         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42145         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42146         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42147         file.
42148         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42149         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42150         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42151         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42152         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42153         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42154         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42155         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42156         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42157         file.
42158         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42159         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42160         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42161         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42162         file.
42163         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42164         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42165         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42166         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42167         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42168         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42169         file.
42170         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42171         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42172         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42173         file.
42174         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42175         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42176         New file.
42177         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42178         New file.
42179         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42180         New file.
42181         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42182         New file.
42183         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42184         New file.
42185         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42186         New file.
42187         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42188         New file.
42189         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42190         New file.
42191         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42192         New file.
42193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42194         New file.
42195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42196         New file.
42197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42198         New file.
42199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42200         New file.
42201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42202         file.
42203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42204         New file.
42205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42206         New file.
42207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42208         file.
42209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42210         New file.
42211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42212         New file.
42213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42214         file.
42215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42216         New file.
42217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42218         New file.
42219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42220         New file.
42221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42222         New file.
42223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42224         New file.
42225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42226         New file.
42227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42229         file.
42230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42231         New file.
42232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42233         file.
42234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42235         file.
42236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42237         file.
42238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42239         file.
42240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42241         file.
42242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42243         New file.
42244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42245         file.
42246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42247         file.
42248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42249         New file.
42250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42251         file.
42252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42254         file.
42255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42256         New file.
42257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42258         file.
42259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42260         file.
42261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42262         file.
42263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42264         file.
42265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42266         file.
42267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42268         New file.
42269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42270         file.
42271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42272         file.
42273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42274         New file.
42275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42276         file.
42277         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42278         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42279         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42280         file.
42281         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42282         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42283         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42284         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42285         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42286         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42287         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42288         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42289         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42290         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42293         file.
42294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42295         New file.
42296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42297         file.
42298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42299         file.
42300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42301         file.
42302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42303         file.
42304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42305         file.
42306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42307         New file.
42308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42309         New file.
42310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42311         file.
42312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42313         New file.
42314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42315         file.
42316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42318         file.
42319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42320         New file.
42321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42322         file.
42323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42324         file.
42325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42326         file.
42327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42328         file.
42329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42330         file.
42331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42332         New file.
42333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42334         New file.
42335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42336         file.
42337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42338         New file.
42339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42340         file.
42341
42342 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42343
42344         * conform/conformtest.pl: Fix typo in handling typed-constant from
42345         allow-header.
42346
42347 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42348
42349         * README: Cut down references to pre-2.6 Linux kernels and
42350         Linuxthreads.  Update lists of configurations in libc and ports
42351         and sort alphabetically.  Say "or newer" with Linux kernel version
42352         requirements.
42353
42354         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42355
42356 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42357
42358         [BZ #887]
42359         * math/libm-test.inc (logb_test_downward): New test to expose
42360         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42361         rounding mode.
42362
42363 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42364
42365         [BZ #14027]
42366         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42367         to be done.
42368         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42369         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42370
42371 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42372
42373         * sysdeps/unix/i386/brk.S: Remove file.
42374         * sysdeps/unix/i386/dl-brk.S: Likewise.
42375         * sysdeps/unix/i386/pipe.S: Likewise.
42376         * sysdeps/unix/i386/sigreturn.S: Likewise.
42377         * sysdeps/unix/i386/syscall.S: Likewise.
42378         * sysdeps/unix/i386/vfork.S: Likewise.
42379         * sysdeps/unix/i386/wait.S: Likewise.
42380
42381         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42382         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42383
42384         * configure.in (arm*-none*): Do not allow without
42385         --enable-hacker-mode.
42386         (netbsd*): Remove case setting base_os.
42387         (386bsd*): Likewise.
42388         (freebsd*): Likewise.
42389         (bsdi*): Likewise.
42390         (osf*): Likewise.
42391         (sunos*): Likewise.
42392         (ultrix*): Likewise.
42393         (newsos*): Likewise.
42394         (dynix*): Likewise.
42395         (*bsd*): Likewise.
42396         (sysv*): Likewise.
42397         (isc*): Likewise.
42398         (esix*): Likewise.
42399         (sco*): Likewise.
42400         (minix*): Likewise.
42401         (irix4*): Likewise.
42402         (irix6*): Likewise.
42403         (solaris[2-9]*): Likewise.
42404         (none): Likewise.
42405         * configure: Regenerated.
42406
42407 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42408
42409         [BZ #11521]
42410         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42411         overflow or cancellation in calculating denominator.
42412         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42413         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42414         down expression to avoid unexpected rounding in newer GCCs.
42415         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42416
42417 2012-04-26  David S. Miller  <davem@davemloft.net>
42418
42419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42420         long-double compat symbols.
42421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42434
42435 2012-04-25  David S. Miller  <davem@davemloft.net>
42436
42437         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42438         HWCAP_* values only after the memory barriers have been defined.
42439         (atomic_full_barrier): Define.
42440         (atomic_read_barrier): Define.
42441         (atomic_write_barrier): Define.
42442
42443 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42444
42445         * shlib-versions: Add libgcc_s version information.
42446         * sysdeps/generic/libgcc_s.h: Remove.
42447         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42448         libgcc_s.h.
42449         * sysdeps/gnu/unwind-resume.c: Likewise.
42450         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42451
42452 2012-04-25  David S. Miller  <davem@davemloft.net>
42453
42454         * sysdeps/unix/sparc/brk.S: Delete.
42455         * sysdeps/unix/sparc/dl-brk.S: Delete.
42456         * sysdeps/unix/sparc/pipe.S: Delete.
42457         * sysdeps/unix/sparc/sysdep.S: Delete.
42458         * sysdeps/unix/sparc/sysdep.h: Delete.
42459         * sysdeps/unix/sparc/vfork.S: Delete.
42460         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42461         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42462         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42463         (ret_ERRVAL, r0, r1, MOVE): Define.
42464         (JUMPTARGET): Remove.
42465         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42466         sysdeps/unix/sparc/sysdep.h
42467         (ENTRY, END): Remove.
42468         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42469
42470 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42471
42472         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42473         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42474         -DIS_IN_build.
42475
42476         * timezone/README: Update upstream location and email address for
42477         tzcode and tzdata.
42478         * timezone/zdump.c: Update from tzcode 2012b.
42479         * timezone/zic.c: Likewise.
42480
42481         * configure.in (libc_cv_as_needed): Remove test.
42482         * configure: Regenerated.
42483         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42484         conditional definition.
42485         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42486         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42487         * config.make.in (have-as-needed): Remove variable.
42488
42489 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42490             Paul Pluzhnikov  <ppluzhnikov@google.com>
42491
42492         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42493         strings correctly.
42494
42495 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42496
42497         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42498         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42499         * sysdeps/sh/strlen.S: Likewise.
42500
42501 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42502
42503         * sysdeps/unix/fork.S: Remove file.
42504         * sysdeps/unix/i386/fork.S: Likewise.
42505         * sysdeps/unix/sparc/fork.S: Likewise.
42506
42507         * sysdeps/unix/system.c: Remove file.
42508         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42509
42510         * sysdeps/unix/getegid.S: Remove file.
42511         * sysdeps/unix/geteuid.S: Likewise.
42512
42513 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42514
42515         * scripts/check-localplt.awk: New file.
42516         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42517         of diff.
42518         * scripts/data/localplt-generic.data: Add a comment.
42519
42520         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42521         NODE when __dir_mkfile failed.
42522         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42523         Reported by Ludovic Courtès <ludo@gnu.org>.
42524
42525 2012-04-24  Andreas Jaeger  <aj@suse.de>
42526
42527         * Makerules (common-clean): Also remove gen-as-const-headers
42528         files.
42529
42530 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42531
42532         * Makerules (native-compile): Do not change working directory for
42533         build.  Use $(OUTPUT_OPTION) in command.
42534         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42535
42536 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42537
42538         [BZ #13886]
42539         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42540         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42541         * math/libm-test.inc (floor_test): Add more tests.
42542         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42543
42544 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42545
42546         * sysdeps/unix/getdents.c: Remove file.
42547         * sysdeps/unix/sysv/getdents.c: Likewise.
42548         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42549
42550         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42551         sysdeps/unix/mman/syscalls.list.
42552         (mmap): Likewise.
42553         (mprotect): Likewise.
42554         (msync): Likewise.
42555         (munmap): Likewise.
42556         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42557         * sysdeps/unix/mman/syscalls.list: Remove.
42558         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42559
42560         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42561         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42562         * configure: Regenerated.
42563         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42564         $(libgcc_s_suffix).
42565         * config.make.in (libgcc_s_suffix): Remove variable.
42566
42567 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42568
42569         * sysdeps/unix/sysv/gethostname.c: Move to ...
42570         * sysdeps/posix/gethostname.c: ... here.
42571
42572         * sysdeps/unix/execve.S: Remove file.
42573
42574         * sysdeps/unix/_exit.S: Remove file.
42575
42576 2012-04-23  Andreas Jaeger  <aj@suse.de>
42577
42578         [BZ #13739]
42579         * manual/Makefile: Remove make dist support, there's no
42580         need for a stand-alone documentation tar ball.
42581         (TEXI2DVI): Define always, it's not in Makeconfig.
42582         (dist): Removed.
42583         (tar-it): Removed.
42584         (edition): Removed.
42585         (glibc-doc-$(edition).tar): Removed
42586         (%.Z): Removed.
42587         (%.gz): Removed.
42588         (%.uu): Removed.
42589         (ETAGS): Remove, it's in Makeconfig.
42590         (move-if-change): Remove, it's in Makeconfig.
42591
42592 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42593
42594         [BZ #13970]
42595         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42596         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42597         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42598         (strtod_l, strtof_l, strtold_l): Remove __wur.
42599         It is not necessarily an error to ignore strtol's return value.
42600         One can reliably look at the stored endptr to decide whether
42601         the number had valid syntax.
42602
42603 2012-04-21  Andreas Jaeger  <aj@suse.de>
42604
42605         [BZ #13739]
42606         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42607
42608 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42609
42610         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42611         * sysdeps/unix/sysv/Versions: Remove file.
42612
42613 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42614
42615         [BZ #13927]
42616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42617
42618 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42619
42620         [BZ #7064]
42621         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42622         version from __vm86.
42623
42624 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42625
42626         * sysdeps/unix/common/lxstat.c: Remove file.
42627         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42628
42629         * sysdeps/unix/sysv/Makefile: Remove file.
42630
42631         * sysdeps/unix/sysv/direct.h: Remove file.
42632
42633         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42634         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42635         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42636         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42637         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42638         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42639         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42640
42641         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42642
42643         * sysdeps/unix/xmknod.c: Remove file.
42644         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42645
42646         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42647
42648         * sysdeps/unix/sysv/i386/time.S: Remove file.
42649
42650         * sysdeps/unix/fxstat.c: Remove file.
42651         * sysdeps/unix/xstat.c: Likewise.
42652         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42653
42654         * sysdeps/unix/sysv/sigaction.c: Remove file.
42655
42656         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42657         (sysdep_headers): Remove variable.
42658         [termio.h not in sysdep_headers] (generated): Likewise.
42659         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42660         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42661         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42662         * sysdeps/unix/sysv/tcflow.c: Likewise.
42663         * sysdeps/unix/sysv/tcflush.c: Likewise.
42664         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42665         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42666         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42667         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42668         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42669
42670         * sysdeps/unix/siglist.c: Remove file.
42671
42672         * sysdeps/unix/getppid.S: Remove file.
42673
42674         * sysdeps/unix/mkdir.c: Remove file.
42675         * sysdeps/unix/rmdir.c: Likewise.
42676
42677 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42678
42679         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42680         ERR_MAX value.
42681         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42682         errlist-compat value.
42683
42684 2012-04-18  David S. Miller  <davem@davemloft.net>
42685
42686         * sysdeps/generic/memcopy.h (reg_char): Delete.
42687         * debug/strcat_chk.c: Use char, not reg_char.
42688         * debug/strcpy_chk.c: Likewise.
42689         * debug/strncat_chk.c: Likewise.
42690         * debug/strncpy_chk.c: Likewise.
42691         * string/memchr.c: Likewise.
42692         * string/memrchr.c: Likewise.
42693         * string/rawmemchr.c: Likewise.
42694         * string/strcat.c: Likewise.
42695         * string/strchr.c: Likewise.
42696         * string/strchrnul.c: Likewise.
42697         * string/strcmp.c: Likewise.
42698         * string/strcpy.c: Likewise.
42699         * string/strncat.c: Likewise.
42700         * string/strncmp.c: Likewise.
42701         * string/strncpy.c: Likewise.
42702
42703 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42704
42705         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42706         __builtin_memcopy is called when src and dest ranges are known to not
42707         overlap.
42708
42709 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42710
42711         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42712         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42713         fwd_align_merge macro call.
42714         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42715         bwd_align_merge macro call.
42716         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42717
42718 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42719
42720         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42721         bwd_align_merge macros.
42722         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42723         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42724         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42725
42726 2012-04-18  David S. Miller  <davem@davemloft.net>
42727
42728         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42729
42730 2012-04-18  Andreas Jaeger  <aj@suse.de>
42731
42732         [BZ# 6794]
42733         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42734         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42735         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42736
42737         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42738         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42739         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42740
42741         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42742         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42743         Adjust for changed ldbl-128 files.
42744
42745         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42746         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42747         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42748
42749 2012-04-17  David S. Miller  <davem@davemloft.net>
42750
42751         * sysdeps/sparc/sparc32/memcopy.h: Delete.
42752
42753 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
42754
42755         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42756         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42757         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42758         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42759         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42760         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42761
42762 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42763
42764         [BZ #6794]
42765         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42766         * math/libm-test.inc: Add ilogb errno and exception tests.
42767         * math/w_ilogb.c: New file: ilogb wrapper.
42768         * math/w_ilogbf.c: New file: ilogbf wrapper.
42769         * math/w_ilogbl.c: New file: ilogbl wrapper.
42770         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42771         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42772         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42773         exception being thrown with 0.0 as argument.
42774         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42775         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42776         exception being thrown with 0.0 as argument.
42777         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42778         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42779         exception being thrown with 0.0 as argument.
42780         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42781         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42782         exception being thrown with 0.0 as argument.
42783         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42784         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42785         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42786         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42787         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42788         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42789         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42790         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42791         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42792
42793 2012-04-17  Petr Baudis  <pasky@ucw.cz>
42794
42795         * include/sys/uio.h: Change __vector to __iovec to avoid clash
42796         with altivec.
42797
42798 2012-04-16  Marek Polacek  <polacek@redhat.com>
42799
42800         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42801
42802 2012-04-16  Marek Polacek  <polacek@redhat.com>
42803
42804         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42805         operands of fdivp instruction.
42806
42807 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42808
42809         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42810         * elf/tst-auditmod3b.c: Likewise.
42811         * elf/tst-auditmod4b.c: Likewise.
42812         * elf/tst-auditmod5b.c: Likewise.
42813         * elf/tst-auditmod6b.c: Likewise.
42814         * elf/tst-auditmod6c.c: Likewise.
42815         * elf/tst-auditmod7b.c: Likewise.
42816         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42817         * sysdeps/x86_64/preconfigure.in: Likewise.
42818         * sysdeps/x86_64/preconfigure: Regenerated.
42819
42820 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42821
42822         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42823         __ILP32__.
42824
42825 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
42826
42827         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42828         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42829
42830 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
42831
42832         [BZ #13973]
42833         * locale/iso-639.def: Fix gl language name. Spotted by
42834         Yaron Shahrabani.
42835
42836 2012-04-12  Roland McGrath  <roland@hack.frob.com>
42837
42838         [BZ #2074]
42839         * libio/libio.h (__io_write_fn): Update comment.
42840
42841 2012-04-12  Petr Baudis  <pasky@ucw.cz>
42842
42843         [BZ #2074]
42844         * stdio.texi (Hook Functions): The user provided writer function
42845         is not allowed to return -1.
42846
42847 2012-04-11  David S. Miller  <davem@davemloft.net>
42848
42849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42850
42851 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
42852
42853         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42854         Add a leading slash to rtkaio.
42855
42856 2012-04-11  Jim Meyering  <meyering@redhat.com>
42857
42858         [BZ #11959]
42859         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42860         It is not necessarily an error to ignore fwrite's return
42861         value.  One can reliably use ferror to test for errors after
42862         the fact.
42863
42864 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42865
42866         * bits/types.h (__snseconds_t): New type.
42867         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42868
42869         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42870         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42871         (__SNSECONDS_T_TYPE): Likewise.
42872         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42873         (__SNSECONDS_T_TYPE): Likewise.
42874         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42875         (__SNSECONDS_T_TYPE): Likewise.
42876
42877 2012-04-10  Andreas Jaeger  <aj@suse.de>
42878
42879         [BZ #2636]
42880         * manual/time.texi (Processor Time): Return type of times is
42881         elapsed real time since an arbitrary point in the past.
42882         (CPU Time): Move CLK_TCK from here...
42883         (Processor Time): ...to here.  Correct description.
42884         * manual/conf.texi (Constants for Sysconf): Correct description of
42885         _SC_CLK_TCK.
42886
42887 2012-04-10  David S. Miller  <davem@davemloft.net>
42888
42889         [BZ #13967]
42890         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42891         where the is a gap between DT_REL(A) and DT_JMPREL.
42892
42893 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42894
42895         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42896         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42897         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42898
42899 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42900
42901         * elf/dl-support.c (_dl_inhibit_cache): New variable.
42902         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42903         (dl_main): Handle --inhibit-cache.
42904         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42905         _dl_inhibit_cache.
42906         * elf/dl-load.c (_dl_map_object): Use it.
42907         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42908
42909 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42910
42911         [BZ #13872]
42912         * sysdeps/i386/fpu/e_powl.S (p78): New object.
42913         (__ieee754_powl): Saturate large exponents rather than testing for
42914         overflow of y*log2(x).
42915         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42916         * math/libm-test.inc (pow_test): Do not permit spurious overflow
42917         exceptions.
42918
42919         [BZ #11521]
42920         * math/s_ctan.c: Include <float.h>.
42921         (__ctan): Avoid internal overflow or cancellation in calculating
42922         denominator.
42923         * math/s_ctanf.c: Likewise.
42924         * math/s_ctanl.c: Likewise.
42925         * math/s_ctanh.c: Likewise.
42926         * math/s_ctanhf.c: Likewise.
42927         * math/s_ctanhl.c: Likewise.
42928         * math/libm-test.inc (ctan_test): Add more tests.
42929         (ctanh_test): Likewise.
42930         * sysdeps/i386/fpu/libm-test-ulps: Update.
42931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42932
42933 2012-04-09  Andreas Jaeger  <aj@suse.de>
42934
42935         [BZ #6894]
42936         * manual/filesys.texi (Directory Entries): Mention that d_namlen
42937         is an optional BSD extension.
42938
42939         [BZ #10254]
42940         * manual/stdio.texi (Opening Streams): Document additional fopen
42941         parameters.
42942
42943 2012-04-09  Roland McGrath  <roland@hack.frob.com>
42944
42945         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42946         %eax without telling the compiler.
42947
42948 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
42949
42950         [BZ # 13963]
42951         * manual/install.texi: Use sourceware.org.
42952
42953 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42954
42955         [BZ #13873]
42956         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42957         (__ieee754_pow): Generate overflow and underflow using huge*huge
42958         and tiny*tiny rather than just returning constant infinity or zero
42959         for large exponents.
42960         * math/libm-test.inc (pow_test): Require overflow exceptions for
42961         applicable cases of large exponents.
42962
42963         [BZ #706]
42964         * sysdeps/i386/fpu/e_pow.S (p10): New object.
42965         (__ieee754_pow): Use iterative multiplication algorithm only for
42966         integer exponents with absolute value below 1024.  Check for odd
42967         integer exponents when using algorithm for real exponents.
42968         * math/libm-test.inc (pow_test): Add more tests.
42969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42970
42971 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
42972
42973         [BZ #13705]
42974         * math/libm-test.inc (exp_test): Do not allow overflow exception
42975         on underflow test.
42976
42977 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
42978
42979         [BZ #13705]
42980         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42981         instead of __kernel_standard_f.
42982
42983 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
42984
42985         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42986         * sysdeps/x86_64/memset_chk.S: Likewise.
42987
42988 2012-04-08  Andreas Jaeger  <aj@suse.de>
42989
42990         [BZ #10153]
42991         * manual/startup.texi (Environment Access): Describe return value
42992         for putenv and setenv.
42993
42994         [BZ #6895]
42995         * manual/filesys.texi (Directory Entries): Add description for
42996         DT_LNK.
42997
42998         [BZ #6890]
42999         * manual/filesys.texi (Directory Entries): Clarify that it's file
43000         system not operating system in the description of DT_UNKNOWN.
43001
43002         [BZ #6578]
43003         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43004
43005 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43006
43007         [BZ #6649]
43008         * manual/llio.texi (Opening and Closing Files): Add cross
43009         reference to explain mode argument.
43010
43011 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43012
43013         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43014         * sysdeps/x86_64/memset_chk.S: Likewise.
43015
43016 2012-04-07  David S. Miller  <davem@davemloft.net>
43017
43018         * elf/elf.h (R_SPARC_WDISP10): Define.
43019         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43020         R_SPARC_SIZE32.
43021         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43022         R_SPARC_SIZE64 and R_SPARC_H34.
43023
43024 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43025
43026         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43027         conditions and remove no longer applicable assertion.
43028
43029 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43030
43031         * bits/byteswap.h: Include <features.h>.
43032         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43033         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43034
43035 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43036
43037         * bits/byteswap.h (__bswap_16): Removed.
43038         Include <bits/byteswap-16.h> to get __bswap_16.
43039         * sysdeps/i386/bits/byteswap.h: Likewise.
43040         * sysdeps/s390/bits/byteswap.h: Likewise.
43041         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43042         * bits/byteswap-16.h: New file.
43043         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43044         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43045         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43046         * string/Makefile (headers): Add bits/byteswap-16.h.
43047
43048 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43049
43050         [BZ #13895]
43051         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43052         extra indirection.
43053         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43054         * nss/tst-nss-static.c: New.
43055
43056 2012-04-06  Robert Millan  <rmh@gnu.org>
43057
43058         [BZ #6486]
43059         * manual/llio.texi (File Position Primitive): lseek
43060         refers to WHENCE when it really means OFFSET.
43061
43062 2012-04-06  Andreas Jaeger  <aj@suse.de>
43063
43064         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43065         strncmp declarations.
43066
43067         * abilist/libc.abilist: Add __poll and __ppoll.
43068
43069 2012-04-05  David S. Miller  <davem@davemloft.net>
43070
43071         * scripts/check-local-headers.sh: Accept a host triplet in the
43072         path matched by the exclude regexp.
43073
43074         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43075         definition.
43076         * sysdeps/powerpc/powerpc32/dl-machine.h
43077         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43078         * sysdeps/s390/s390-32/dl-machine.h
43079         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43080         * sysdeps/sparc/sparc32/dl-machine.h
43081         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43082         * sysdeps/sparc/sparc64/dl-machine.h
43083         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43084
43085         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43086         lazy binding.
43087         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43088         undefined symbol errors.
43089
43090         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43091         DT_NEEDED entries.
43092
43093 2012-04-05  Michael Matz  <matz@suse.de>
43094
43095         [BZ #13592]
43096         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43097
43098 2012-04-05  Andreas Jaeger  <aj@suse.de>
43099
43100         [BZ #13908]
43101         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43102         comment.
43103
43104 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43105
43106         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43107         which ROUND is no valid rounding mode.
43108
43109 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43110
43111         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43112         read again.
43113         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43114
43115 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43116
43117         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43118         an exception using FPU order intentionally.
43119
43120 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43121
43122         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43123         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43124         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43125         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43126
43127 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43128
43129         [BZ #12340]
43130         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43131         EINVAL when BUFLEN is too smal.
43132
43133 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43134
43135         [BZ #13553]
43136         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43137         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43138
43139 2012-04-03  Andreas Jaeger  <aj@suse.de>
43140
43141         [BZ #13938]
43142         * manual/setjmp.texi (System V contexts): Fix sentence.
43143
43144         [BZ #13926]
43145         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43146         New macro for this case.
43147         [!__GNUC__] (__bswap_64): New inline function for this case.
43148         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43149         * bits/byteswap.h: Likewise.
43150         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43151         ull, guard with __GLIBC_HAVE_LONG_LONG.
43152
43153         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43154         __GLIBC_HAVE_LONG_LONG.
43155
43156         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43157         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43158
43159 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43160
43161         [BZ #13691]
43162         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43163         inptr and inend, rather than using last_ch.
43164
43165 2012-04-02  David S. Miller  <davem@davemloft.net>
43166
43167         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43168         * stdio-common/printf-parse.h (read_int): Change return type to
43169         'int', return -1 on INT_MAX overflow.
43170         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43171         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43172         overflows INT_MAX.  Check for overflow of in-format-string precision
43173         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43174         SIZE_MAX not INT_MAX for integer overflow test.
43175         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43176         skip the construct in the format string but do not record anything.
43177         * stdio-common/bug22.c: Adjust to test both width/prevision
43178         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43179         explicitly for proper errno values.
43180
43181 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43182
43183         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43184         CHAR_MAX.
43185         * string/test-strcmp.c [! WIDE]: Likewise.
43186         * time/tst-mktime2.c: Likewise for INT_MAX.
43187         * string/test-string.h: #include <sys/param.h> for MIN.
43188
43189         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43190         * sysdeps/i386/init-first.c (init): Likewise.
43191         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43192         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43193         * sysdeps/sh/init-first.c (init): Likewise.
43194
43195 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43196
43197         * po/ru.po: Update from translation team.
43198         * po/vi.po: Likewise.
43199
43200 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43201
43202         * resolv/nss_dns/dns-host.c: Merge copyright years.
43203
43204 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43205
43206         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43207         Optimize memcpy with prefetch if
43208         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43209         src, dst pointers have unequal 16 byte alignments.
43210
43211 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43212
43213         [BZ #13928]
43214         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43215         from a CNAME entry and return the minimum ttl for the query.
43216         (gaih_getanswer_slice): Likewise.
43217
43218 2012-03-30  Jeff Law  <law@redhat.com>
43219
43220         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43221         due to long keys.
43222         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43223         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43224
43225         * resolv/nss_dns/dns-host.c: Update copyright year.
43226
43227 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43228
43229         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43230         requests to save a system call.  Fix check that all bytes are sent.
43231
43232         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43233         comments for sendmmsg.
43234
43235 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43236
43237         [BZ #13691]
43238         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43239         with only 1 character between 0x0041 and 0x01b0.
43240         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43241         * wcsmbs/tst-mbsnrtowcs.c: New file.
43242
43243 2012-03-29  David S. Miller  <davem@davemloft.net>
43244
43245         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43246         small copies by hand.
43247
43248 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43249
43250         [BZ #13761]
43251         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43252         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43253         group memberships.
43254
43255 2012-03-28  David S. Miller  <davem@davemloft.net>
43256
43257         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43258         that branches into memcpy.
43259         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43260         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43261         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43262         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43263         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43264         bits.
43265         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43266         implementation too.
43267         * sysdeps/sparc/mempcpy.S: New file.
43268
43269         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43270         the IFUNC routine in the libc case.
43271         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43272
43273         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43274         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43275         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43276         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43277         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43278         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43279         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43280         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43281
43282         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43283         loop to 256 bytes instead of 64 bytes and fix test signedness.
43284
43285         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43286         * sysdeps/sparc/sparc32/Makefile: rather than here...
43287         * sysdeps/sparc/sparc64/Makefile: and here.
43288
43289 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43290
43291         * malloc/mallocbug.c: Avoid warnings about unused variables.
43292
43293 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43294
43295         [BZ #13760]
43296         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43297         in the right place. Discard and retry query if response is
43298         larger than input buffer size.
43299
43300 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43301
43302         [BZ #369]
43303         [BZ #2678]
43304         [BZ #3866]
43305         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43306         x for large integer exponent.
43307         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43308         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43309         sign of result as needed afterwards.
43310         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43311         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43312         result for underflowing pow the same as for overflow.
43313         (__kernel_standard_l): Handle powl overflow and underflow here
43314         rather than calling __kernel_standard.
43315         * math/libm-test.inc (pow_test): Add more tests.
43316
43317         [BZ #3868]
43318         [BZ #13879]
43319         [BZ #13910]
43320         [BZ #13911]
43321         [BZ #13912]
43322         [BZ #13913]
43323         [BZ #13915]
43324         [BZ #13916]
43325         [BZ #13917]
43326         [BZ #13918]
43327         [BZ #13919]
43328         [BZ #13920]
43329         [BZ #13921]
43330         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43331         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43332         (__kernel_standard_l): New function.
43333         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43334         __kernel_standard.
43335         * math/w_acosl.c (__acosl): Likewise.
43336         * math/w_asinl.c (__asinl): Likewise.
43337         * math/w_atan2l.c (__atan2l): Likewise.
43338         * math/w_atanhl.c (__atanhl): Likewise.
43339         * math/w_coshl.c (__coshl): Likewise.
43340         * math/w_exp10l.c (__exp10l): Likewise.
43341         * math/w_exp2l.c (__exp2l): Likewise.
43342         * math/w_fmodl.c (__fmodl): Likewise.
43343         * math/w_hypotl.c (__hypotl): Likewise.
43344         * math/w_j0l.c (__j0l, __y0l): Likewise.
43345         * math/w_j1l.c (__j1l, __y1l): Likewise.
43346         * math/w_jnl.c (__jnl, __ynl): Likewise.
43347         * math/w_lgammal.c (__lgammal): Likewise.
43348         * math/w_log10l.c (__log10l): Likewise.
43349         * math/w_log2l.c (__log2l): Likewise.
43350         * math/w_logl.c (__logl): Likewise.
43351         * math/w_powl.c (__powl): Likewise.
43352         * math/w_remainderl.c (__remainderl): Likewise.
43353         * math/w_scalbl.c (sysv_scalbl): Likewise.
43354         * math/w_sinhl.c (__sinhl): Likewise.
43355         * math/w_sqrtl.c (__sqrtl): Likewise.
43356         * math/w_tgammal.c (__tgammal): Likewise.
43357         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43358         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43359         * math/libm-test.inc (acos_test): Add more tests.
43360         (acosh_test): Likewise.
43361         (asin_test): Likewise.
43362         (atanh_test): Likewise.
43363         (exp_test): Likewise.
43364         (exp10_test): Likewise.
43365         (exp2_test): Likewise.
43366         (expm1_test): Likewise.
43367         (lgamma_test): Likewise.
43368         (log_test): Likewise.
43369         (log10_test): Likewise.
43370         (log1p_test): Likewise.
43371         (log2_test): Likewise.
43372         (pow_test): Do not allow some spurious overflow exceptions.
43373         (sqrt_test): Add more tests.
43374         (tgamma_test): Likewise.
43375         (y0_test): Likewise.
43376         (y1_test): Likewise.
43377         (yn_test): Likewise.
43378
43379 2012-03-27  Anton Blanchard  <anton@samba.org>
43380
43381         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43382         MAP_HUGETLB.
43383         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43384         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43385         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43386
43387 2012-03-27  David S. Miller  <davem@davemloft.net>
43388
43389         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43390
43391         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43392         have-as-vis3 check.
43393
43394 2012-03-27  Andreas Jaeger  <aj@suse.de>
43395
43396         * sysdeps/x86_64/elf/configure.in: Moved to ...
43397         * sysdeps/x86_64/configure.in: ... here.
43398         * sysdeps/x86_64/elf/start.S: Moved to ...
43399         * sysdeps/x86_64/start.S: ... here.
43400         * sysdeps/x86_64/elf/configure: Delete.
43401
43402         * sysdeps/x86_64/configure.in: Merge contents from
43403         sysdeps/i386/configure.in (without i686 check).
43404
43405         * sysdeps/i386/elf/Versions: Merge into ...
43406         * sysdeps/i386/Versions: ... this.
43407         * sysdeps/i386/elf/Versions: Delete file.
43408         * sysdeps/i386/elf/start.S: Moved to ...
43409         * sysdeps/i386/start.S: ...here.
43410         * sysdeps/i386/elf/configure.in: Merge into...
43411         * sysdeps/i386/configure.in: ...here.
43412         * sysdeps/i386/elf/configure.in: Delete file.
43413         * sysdeps/i386/elf/configure: Delete file.
43414
43415         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43416         * debug/backtracesyms.c: ... here.
43417         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43418         * debug/backtracesymsfd.c: ... here.
43419         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43420         * sysdeps/generic/ifunc-sel.h: ... here.
43421
43422         * sysdeps/unix/i386/start.c: Delete file.
43423         * sysdeps/unix/sparc/start.c: Delete file.
43424         * sysdeps/unix/start.c: Delete file.
43425
43426         * sysdeps/sh/elf/configure.in: Moved to ...
43427         * sysdeps/sh/configure.in: ... here.
43428         * sysdeps/sh/elf/start.S: Moved to ...
43429         * sysdeps/sh/start.S: ... here.
43430         * sysdeps/sh/elf/configure: Delete file.
43431
43432         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43433         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43434         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43435         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43436         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43437         * sysdeps/powerpc/powerpc64/start.S: here.
43438         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43439         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43440         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43441         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43442         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43443
43444         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43445         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43446         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43447         * sysdeps/powerpc/powerpc32/start.S: ... here.
43448         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43449         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43450         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43451
43452         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43453         * sysdeps/powerpc/ifunc-sel.h: ... here.
43454         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43455         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43456
43457         * sysdeps/sparc/elf/configure.in: Moved to ...
43458         * sysdeps/sparc/configure.in: ... here.
43459         * sysdeps/sparc/elf/configure: Delete file.
43460         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43461         * sysdeps/sparc/sparc32/start.S: ... here.
43462         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43463         * sysdeps/sparc/sparc64/start.S: ... here.
43464         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43465         * sysdeps/sparc/sparc32/Makefile: ... this.
43466         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43467         * sysdeps/sparc/sparc64/Makefile: ... this.
43468
43469         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43470         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43471         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43472         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43473         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43474         * sysdeps/s390/s390-32/setjmp.S: ... here.
43475         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43476         * sysdeps/s390/s390-32/configure.in: ... here.
43477         * sysdeps/s390/s390-32/elf/configure: Delete file.
43478         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43479         * sysdeps/s390/s390-32/start.S: ... here.
43480
43481         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43482         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43483         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43484         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43485         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43486         * sysdeps/s390/s390-64/setjmp.S: ... here.
43487         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43488         * sysdeps/s390/s390-64/configure.in: ... here
43489         * sysdeps/s390/s390-64/elf/configure: Delete file.
43490         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43491         * sysdeps/s390/s390-64/start.S: ... here.
43492         * sysdeps/s390/s390-64/elf/configure: Delete.
43493
43494         * configure.in: Remove support for elf directories in sysdeps.
43495
43496         * configure: Regenerated.
43497         * sysdeps/i386/configure: Regenerated.
43498         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43499         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43500         * sysdeps/s390/s390-32/configure: Regenerated.
43501         * sysdeps/s390/s390-64/configure: Regenerated.
43502         * sysdeps/sh/configure: Regenerated.
43503         * sysdeps/sparc/configure: Regenerated.
43504         * sysdeps/x86_64/configure: Regenerated.
43505
43506 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43507
43508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43509
43510         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43511         denormal result into account.
43512
43513 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43514
43515         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43516         Reported by Allan McRae <allan@archlinux.org>.
43517
43518 2012-03-23  Jeff Law  <law@redhat.com>
43519
43520         * nss/getnssent.c (__nss_getent): Fix typo.
43521
43522 2012-03-23  David S. Miller  <davem@davemloft.net>
43523
43524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43525
43526 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43527
43528         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43529         to pad to uint64_t for each field.
43530         (dl_tls_index): Replace unsigned long with uint64_t.
43531
43532 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43533         Paul Pluzhnikov  <ppluzhnikov@google.com>
43534
43535         [BZ #6528]
43536         * grp/Makefile (otherlibs): Don't set it.
43537         * inet/Makefile (otherlibs): Likewise.
43538         * login/Makefile (otherlibs): Likewise.
43539         * nscd/Makefile (otherlibs): Likewise.
43540         * posix/Makefile (otherlibs): Likewise.
43541         * pwd/Makefile (otherlibs): Likewise.
43542         * rt/Makefile (otherlibs): Likewise.
43543         * sunrpc/Makefile (otherlibs): Likewise.
43544         * nss/Makefile (otherlibs): Likewise.
43545         Add libnss_files to routines and static-only-routines.
43546         ($(objpfx)getent): Remove rule.
43547         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43548         static-only-routines.
43549
43550 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43551
43552         [BZ #13892]
43553         * math/s_cexp.c: Include <float.h>.
43554         (__cexp): Handle exp result overflowing not necessarily
43555         overflowing both real and imaginary parts of result.
43556         * math/s_cexpf.c: Likewise.
43557         * math/s_cexpl.c: Likewise.
43558         * math/libm-test.inc (cexp_test): Add more tests.
43559         * sysdeps/i386/fpu/libm-test-ulps: Update.
43560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43561
43562 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43563
43564         * include/link.h (ELFW): New macro.
43565         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43566         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43567
43568 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43569
43570         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43571         with uint64_t.
43572
43573 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43574
43575         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43576         declaration.
43577         (struct La_x32_retval): Likewise.
43578
43579 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43580
43581         * sysdeps/x86_64/preconfigure.in: New file.
43582         * sysdeps/x86_64/preconfigure: New generated file.
43583
43584 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43585
43586         [BZ #13824]
43587         * math/e_exp2l.c: Include <float.h>.
43588         (__ieee754_exp2l): Handle overflow and underflow cases
43589         separately.  Only pass fractional part of argument to
43590         __ieee754_expl.
43591         * math/libm-test.inc (exp2_test): Add more tests.
43592
43593         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43594         negating x to take absolute value.
43595         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43596         Likewise.
43597         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43598         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43599         Likewise.
43600         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43601         computing low part if x was negated.
43602         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43603
43604 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43605
43606         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43607         la_x32_gnu_pltexit.
43608         (pltexit): Cast int_retval to ptrdiff_t.
43609         * elf/tst-auditmod3b.c: Likewise.
43610         * elf/tst-auditmod4b.c: Likewise.
43611         * elf/tst-auditmod5b.c: Likewise.
43612         * elf/tst-auditmod6b.c: Likewise.
43613         * elf/tst-auditmod6c.c: Likewise.
43614         * elf/tst-auditmod7b.c: Likewise.
43615
43616         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43617         and x32_gnu_pltexit.
43618
43619         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43620         __ELF_NATIVE_CLASS.
43621         (La_x32_regs): New macro.
43622         (La_x32_retval): Likewise.
43623         (la_x32_gnu_pltenter): New function prototype.
43624         (la_x32_gnu_pltexit): Likewise.
43625
43626 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43627
43628         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43629         exponent.
43630
43631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43632
43633         * configure.in (libc_cv_cc_nofma): Check for option to disable
43634         generation of FMA instructions.
43635         * configure: Regenerate.
43636         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43637         * sysdeps/ieee754/dbl-64/Makefile: New file.
43638         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43639         Remove brandred-fma4.
43640         (CFLAGS-brandred-fma4.c): Remove.
43641         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43642         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43643         define.
43644         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43645         define.
43646
43647 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43648
43649         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43650         LLONG_MAX != LONG_MAX.
43651         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43652         (_fitoa_word): Likewise.
43653         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43654         LLONG_MAX != LONG_MAX.
43655         * stdio-common/_itowa.h: Include <_itoa.h>.
43656         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43657         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43658         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43659         only if not defined.
43660         (_ITOA_WORD_TYPE): Likewise.
43661         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43662         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43663
43664 2012-03-21  David S. Miller  <davem@davemloft.net>
43665
43666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43667
43668 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43669
43670         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43671         of x86_64 when setting libc_cv_slibdir, libdir and
43672         libc_cv_localedir.
43673         * sysdeps/unix/sysv/linux/configure: Regenerated.
43674
43675 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43676
43677         * manual/lang.texi (Old Varargs): Remove section.
43678         (How Variadic): Update menu.
43679         (va_start): Do not mention varargs.h.
43680
43681 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43682             Joseph Myers  <joseph@codesourcery.com>
43683
43684         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43685         link test.
43686         * configure: Regenerated.
43687
43688 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43689
43690         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43691         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43692         conformtest.pl
43693
43694 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43695
43696         * NOTES: Remove.
43697         * Makefile (files-for-dist): Remove NOTES.
43698         (NOTES): Remove rule.
43699         * README: Don't refer to NOTES.
43700         * manual/creature.texi: Don't include macros.texi.
43701         * manual/intro.texi (creature.texi): Remove comment referring to
43702         NOTES.
43703
43704         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43705         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43706         * configure: Regenerated.
43707         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43708         LIBC_TRY_CC_OPTION.
43709         (libc_cv_as_i686): Likewise.
43710         (libc_cv_cc_avx): Likewise.
43711         (libc_cv_cc_sse2avx): Likewise.
43712         (libc_cv_cc_fma4): Likewise.
43713         (libc_cv_cc_novzeroupper): Likewise.
43714         * sysdeps/i386/configure: Regenerated.
43715
43716         [BZ #13883]
43717         * sysdeps/i386/fpu/s_cexp.S: Remove.
43718         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43719         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43720         * math/libm-test.inc (cexp_test): Add more tests.
43721         * sysdeps/i386/fpu/libm-test-ulps: Update.
43722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43723
43724 2012-03-21  Allan McRae  <allan@archlinux.org>
43725
43726         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43727
43728 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43729
43730         [BZ #13871]
43731         * math/w_exp2.c: Do not include <float.h>.
43732         (o_threshold, u_threshold): Remove.
43733         (__exp2): Calculate result before checking finiteness and calling
43734         __kernel_standard.
43735         * math/w_exp2f.c: Likewise.
43736         * math/w_exp2l.c: Likewise.
43737         * math/libm-test.inc (exp2_test): Require overflow exception for
43738         1e6 input.
43739
43740         [BZ #3866]
43741         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43742         range of signed 64-bit integers before using fistpll.  Remove
43743         checks for whether integers fit in mantissa bits.
43744         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43745         the range of signed 32-bit integers before using fistpl.  Remove
43746         checks for whether integers fit in mantissa bits.
43747         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43748         (__ieee754_powl): Test for y outside the range of signed 64-bit
43749         integers before using fistpll.  Reduce 64-bit values to 63-bit
43750         ones as needed.
43751         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43752         divide-by-zero is raised for zero to large negative powers.
43753         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43754         (__ieee754_powl): Test for y outside the range of signed 64-bit
43755         integers before using fistpll.  Reduce 64-bit values to 63-bit
43756         ones as needed.
43757         * math/libm-test.inc (pow_test): Add more tests.
43758
43759 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43760
43761         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43762         <stdio-common/_itoa.h>.
43763         * debug/segfault.c: Likewise.
43764         * elf/dl-cache.c: Likewise.
43765         * elf/dl-minimal.c: Likewise.
43766         * elf/dl-misc.c: Likewise.
43767         * elf/dl-sysdep.c: Likewise.
43768         * elf/dl-version.c: Likewise.
43769         * elf/rtld.c: Likewise.
43770         * hurd/hurdsock.c: Likewise.
43771         * hurd/lookup-retry.c: Likewise.
43772         * malloc/malloc.c: Likewise.
43773         * malloc/mtrace.c: Likewise.
43774         * nscd/nscd_getgr_r.c: Likewise.
43775         * nscd/nscd_getpw_r.c: Likewise.
43776         * nscd/nscd_getserv_r.c: Likewise.
43777         * posix/getopt_init.c: Likewise.
43778         * posix/wordexp.c: Likewise.
43779         * stdio-common/_itoa.c: Likewise.
43780         * stdio-common/printf_fphex.c: Likewise.
43781         * stdio-common/vfprintf.c: Likewise.
43782         * string/_strerror.c: Likewise.
43783         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43784         * sysdeps/i386/i686/hp-timing.h: Likewise.
43785         * sysdeps/mach/_strerror.c: Likewise.
43786         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43787         * sysdeps/mach/hurd/sethostid.c: Likewise.
43788         * sysdeps/mach/hurd/xmknodat.c: Likewise.
43789         * sysdeps/mach/xpg-strerror.c: Likewise.
43790         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43791         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43792         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43793         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43794         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43795         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43796         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43797         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43798         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43799         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43800         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43801         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43802         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43803         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43804         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43805         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43806         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43807         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43808         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43809         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43810         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43811
43812         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43813
43814         * stdio-common/_itoa.h: Moved to ...
43815         * sysdeps/generic/_itoa.h: Here.
43816
43817         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43818
43819         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43820         instead of "_itoa.h" and "_itowa.h".
43821         * stdio-common/vfprintf.: Likewise.
43822
43823 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43824
43825         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43826         <bits/wordsize.h>.
43827         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43828         (__signbit): Likwise.
43829         (llrintf): Likwise.
43830         (llrint): Likwise.
43831
43832 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43833
43834         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43835         __WORDSIZE != 64.
43836
43837 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
43838
43839         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43840         OVERFLOW_EXCEPTION_OK.
43841         * math/libm-test.inc ("Philosophy"): Update comment about
43842         exception testing.
43843         (OVERFLOW_EXCEPTION): Define.
43844         (OVERFLOW_EXCEPTION_OK): Likewise.
43845         (INVALID_EXCEPTION_OK): Renumber.
43846         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43847         (IGNORE_ZERO_INF_SIGN): Likewise.
43848         (test_exceptions): Handle FE_OVERFLOW.
43849         (exp10_test): Expect overflow exceptions.
43850         (exp2_test): Likewise.
43851         (expm1_test): Likewise.
43852         (nextafter_test): Likewise.
43853         (pow_test): Likewise.
43854         (scalbn_test): Likewise.
43855         (scalbln_test): Likewise.
43856
43857 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43858
43859         * sysdeps/x86_64/bits/atomic.h
43860         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43861         64bit integer.
43862         (atomic_exchange_acq): Likewise.
43863         (__arch_exchange_and_add_body): Likewise.
43864         (__arch_add_body): Likewise.
43865         (atomic_add_negative): Likewise.
43866         (atomic_add_zero): Likewise.
43867
43868 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43869
43870         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43871         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43872
43873 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43874
43875         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43876         Check __x86_64__ instead of __WORDSIZE.
43877
43878 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43879
43880         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43881
43882 2012-03-19  David S. Miller  <davem@davemloft.net>
43883
43884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43885
43886         * sysdeps/sparc/fpu/fenv_private.h: New file.
43887         * sysdeps/sparc/fpu/math_private.h: Use it.
43888         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43889         Remove.
43890         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43891         (libc_feholdexcept_setroundl): Remove.
43892         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43893         Remove.
43894         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43895         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43896
43897 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43898
43899         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43900         int64_t instead of long int.
43901         (INSERT_WORDS64): Likwise.
43902
43903 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43904
43905         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43906         _Unwind_GetCFA return to _Unwind_Ptr first.
43907
43908 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
43909
43910         [BZ #13629]
43911         * math/s_clog.c: Include <float.h>.
43912         (__clog): Scale large or subnormal inputs.
43913         * math/s_clogf.c: Likewise.
43914         * math/s_clogl.c: Likewise.
43915         * math/s_clog10.c: Include <float.h>.
43916         (M_LOG10_2): Define.
43917         (__clog10): Scale large or subnormal inputs.
43918         * math/s_clog10f.c: Likewise.
43919         * math/s_clog10l.c: Likewise.
43920         * math/libm-test.inc (clog_test): Add more tests.
43921         (clog10_test): Likewise.
43922         * sysdeps/i386/fpu/libm-test-ulps: Update.
43923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43924
43925         [BZ #11451]
43926         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43927         x and y.
43928         * math/libm-test.inc (atan2_test): Add another test.
43929
43930         * Makerules (common-objdir-compile): Remove.
43931         * sysdeps/unix/Makefile (config-generated): Do not add
43932         $(unix-generated) to variable.
43933         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43934         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43935         Remove rule.
43936         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43937         Likewise.
43938         [generic bits/local_lim.h] (before-compile): Do not append to
43939         variable.
43940         [generic bits/local_lim.h] (common-generated): Likewise.
43941         [generic sys/param.h] (before-compile): Do not append to variable.
43942         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43943         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43944         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43945         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43946         include.
43947         [generic sys/param.h] (sys/param.h-includes): Remove variable.
43948         [generic sys/param.h] (sys/param.h-includes): Remove rule.
43949         [generic sys/param.h] ($(addprefix
43950         $(common-objpfx),$(sys/param.h-includes))): Likewise.
43951         [generic sys/param.h] (common-generated): Do not append to
43952         variable.
43953         [generic sys/param.h] (sysdep_headers): Likewise.
43954         [generic bits/errno.h] (before-compile): Do not append to
43955         variable.
43956         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43957         rule.
43958         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43959         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43960         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43961         [generic bits/errno.h] (common-generated): Do not append to
43962         variable.
43963         [generic bits/ioctls.h] (before-compile): Do not append to
43964         variable.
43965         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43966         rule.
43967         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43968         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43969         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43970         rule.
43971         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43972         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43973         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43974         [generic bits/ioctls.h] (common-generated): Do not append to
43975         variable.
43976         [generic sys/syscall.h] (syscall.h): Remove variable.
43977         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43978         rule.
43979         [generic sys/syscall.h] (before-compile): Do not append to
43980         variable.
43981         [generic sys/syscall.h] (common-generated): Likewise.
43982         * sysdeps/unix/errnos-tmpl.c: Remove file.
43983         * sysdeps/unix/errnos.awk: Likewise.
43984         * sysdeps/unix/ioctls-tmpl.c: Likewise.
43985         * sysdeps/unix/ioctls.awk: Likewise.
43986         * sysdeps/unix/mk-local_lim.c: Likewise.
43987         * sysdeps/unix/snarf-ioctls: Likewise.
43988
43989 2012-03-19  Richard Henderson  <rth@twiddle.net>
43990
43991         * sysdeps/i386/fpu/fenv_private.h: New file.
43992         * sysdeps/i386/fpu/math_private.h: Use it.
43993         (math_opt_barrier, math_force_eval): Remove.
43994         (libc_feholdexcept_setround_53bit): Remove.
43995         (libc_feupdateenv_53bit): Remove.
43996         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43997         (math_opt_barrier, math_force_eval): Remove.
43998         (libc_feholdexcept): Remove.
43999         (libc_feholdexcept_setround): Remove.
44000         (libc_fetestexcept, libc_fesetenv): Remove.
44001         (libc_feupdateenv_test): Remove.
44002         (libc_feupdateenv, libc_feholdsetround): Remove.
44003         (libc_feresetround): Remove.
44004
44005         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44006         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44007
44008         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44009         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44010         (libc_feupdateenv_testl): New.
44011         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44012         (libc_feupdateenv_testf): New.
44013         (libc_feupdateenv): Use libc_feupdateenv_test.
44014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44015         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44016
44017         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44018         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44019         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44020         (libc_feresetround_noex): New.
44021         (libc_feresetround_noexf): New.
44022         (libc_feresetround_noexl): New.
44023         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44024         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44025         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44026         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44027         SET_RESTORE_ROUND.
44028         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44029         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44030         (__cos): Likewise.
44031         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44032         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44033         SET_RESTORE_ROUND_NOEX.
44034         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44035         SET_RESTORE_ROUND_NOEXF.
44036         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44037         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44038         (libc_feholdsetroundf): New.
44039         (libc_feresetround, libc_feresetroundf): New.
44040
44041         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44042         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44043         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44044
44045         * sysdeps/generic/math_private.h: Include <fenv.h>.
44046         (default_libc_feholdexcept): New.
44047         (default_libc_feholdexcept_setround): New.
44048         (default_libc_fesetenv, default_libc_feupdateenv): New.
44049         (libc_feholdexcept): Only define if undefined.
44050         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44051         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44052         (libc_feholdexcept_setroundl): Likewise.
44053         (libc_feholdexcept_setround_53bit): Likewise.
44054         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44055         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44056         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44057         (libc_feupdateenv_53bit): Likewise.
44058         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44059         (libc_feholdexcept): Convert from macro to inline function.
44060         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44061         (libc_fesetenv, libc_feupdateenv): Likewise.
44062
44063         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44064         not previously defined.
44065         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44066         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44067         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44068         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44069         * sysdeps/ieee754/flt-32/math_private.h: New file.
44070         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44071         math_private.h below SET_FLOAT_WORD.
44072         (__isnan, __isinf_ns, __finite): Remove.
44073         (__isnanf, __isinf_nsf, __finitef): Remove.
44074
44075 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44076
44077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44078
44079 2012-03-17  David S. Miller  <davem@davemloft.net>
44080
44081         [BZ #6471]
44082         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44083         for 2.16.
44084
44085 2012-03-16  David S. Miller  <davem@davemloft.net>
44086
44087         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44088         warnings.
44089
44090         [BZ #6471]
44091         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44092         properly.
44093         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44094         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44095         sysdep_routines when subdir is sysvipc.
44096         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44097         __getshmlba helper.
44098
44099         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44100
44101 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44102
44103         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44104         [__LP64__].
44105
44106 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44107
44108         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44109         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44110         (__lround): Renamed to ...
44111         (__llround): This.  Replace long int with long long int.
44112         Define lround functions as aliases of llround functions.
44113         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44114
44115 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44116
44117         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44118         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44119         adresses to uintptr_t.  Replace "long int" and "unsigned long
44120         int" with "greg_t" on va_arg.
44121
44122 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44123
44124         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44125         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44126
44127         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44128         Move e_machine check before EI_CLASS check.  Handle x32
44129         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44130         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44131         SKIP_EM_IA_64 and include
44132         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44133
44134         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44135         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44136         (add_system_dir): New macro.
44137
44138         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44139         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44140
44141 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44142
44143         [BZ #2551]
44144         [BZ #2552]
44145         [BZ #2553]
44146         [BZ #2554]
44147         [BZ #2562]
44148         [BZ #2563]
44149         [BZ #2565]
44150         [BZ #2566]
44151         [BZ #2576]
44152         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44153         (y0): Likewise.
44154         * math/w_j0f.c (j0f): Likewise.
44155         (y0f): Likewise.
44156         * math/w_j0l.c (__j0l): Likewise.
44157         (__y0l): Likewise.
44158         * math/w_j1.c (j1): Likewise.
44159         (y1): Likewise.
44160         * math/w_j1f.c (j1f): Likewise.
44161         (y1f): Likewise.
44162         * math/w_j1l.c (__j1l): Likewise.
44163         (__y1l): Likewise.
44164         * math/w_jn.c (jn): Likewise.
44165         (yn): Likewise.
44166         * math/w_jnf.c (jnf): Likewise.
44167         (ynf): Likewise.
44168         * math/w_jnl.c (__jnl): Likewise.
44169         (__ynl): Likewise.
44170         * math/libm-test.inc (j0_test): Add more tests.
44171         (j1_test): Likewise.
44172         (jn_test): Likewise.  Add trailing semicolon to existing test.
44173         (y0_test): Likewise.
44174         (y1_test): Likewise.
44175         * sysdeps/i386/fpu/libm-test-ulps: Update.
44176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44177
44178         [BZ #13851]
44179         [BZ #13854]
44180         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44181         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44182         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44183         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44184         (__tanl): Set errno for infinite argument.
44185         * sysdeps/i386/fpu/mptan.c: Remove.
44186         * sysdeps/i386/fpu/s_tan.S: Likewise.
44187         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44188         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44189         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44190         * math/libm-test.inc (tan_test): Add more tests and enable more
44191         tests for double and long double.
44192         * sysdeps/i386/fpu/libm-test-ulps: Update.
44193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44194
44195 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44196
44197         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44198         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44199
44200 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44201
44202         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44203         * configure.in: Use it for both main tree and add-ons.
44204         * configure: Regenerated.
44205
44206 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44207
44208         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44209
44210 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44211
44212         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44213         in comment.
44214
44215         [BZ #13851]
44216         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44217         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44218         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44219         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44220         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44221         infinite argument.
44222         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44223         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44224         != 0 for prec == 2.
44225         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44226         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44227         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44228         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44229         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44230         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44231         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44232         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44233         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44234         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44235         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44236         * math/libm-test.inc (cos_test): Add more tests and enable more
44237         tests for long double.
44238         (sin_test): Likewise.
44239         (sincos_test): Likewise.
44240         * sysdeps/i386/fpu/libm-test-ulps: Update.
44241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44242
44243 2012-03-16  David S. Miller  <davem@davemloft.net>
44244
44245         * sysdeps/sparc/fpu/math_private.h: New file.
44246
44247 2012-03-15  David S. Miller  <davem@davemloft.net>
44248
44249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44250         file.
44251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44253         file.
44254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44258         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44259         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44260         sysdep routines.
44261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44262
44263         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44264         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44265
44266         * sysdeps/sparc/sparc-ifunc.h: New file.
44267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44268         sparc-ifunc.h
44269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44271         Likewise.
44272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44273         Likewise.
44274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44278         Likewise.
44279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44284         Likewise.
44285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44286         Likewise.
44287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44293         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44294         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44295         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44296         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44298         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44300         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44301         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44302         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44303         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44304         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44305         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44306         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44307         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44308         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44309         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44310         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44311
44312 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44313
44314         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44315         scaling.
44316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44317
44318 2012-03-15  Andreas Jaeger  <aj@suse.de>
44319
44320         [BZ #13852]
44321         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44322         ieee754/flt-32 implementation for sin, cos and sincos.
44323         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44324         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44325         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44326         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44327         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44328         ieee754/flt-32 implementation for tan.
44329
44330         * math/libm-test.inc (cos_test): Enable some large input tests for
44331         float as well
44332         (sin_test): Likewise.
44333         (sincos_test): Likewise.
44334         (tan_test): Add tests for large input.
44335
44336         * sysdeps/i386/fpu/libm-test-ulps: Update.
44337
44338 2012-03-15  Andreas Jaeger  <aj@suse.de>
44339
44340         [BZ #13658]
44341         * math/libm-test.inc (cos_test): Add more test cases.
44342         (sin_test): Likewise.
44343         (sincos_test): Likewise.
44344
44345 2012-03-15  Andreas Jaeger  <aj@suse.de>
44346
44347         [BZ #13837]
44348         * math/libm-test.inc (cos_test): Add a test case for large input
44349         value.
44350         (sin_test): Likewise.
44351         (sincos_test): Likewise.
44352
44353 2012-03-15  Andreas Jaeger  <aj@suse.de>
44354             Joseph Myers  <joseph@codesourcery.com>
44355
44356         [BZ #13658]
44357         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44358         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44359         * sysdeps/i386/fpu/branred.c: Likewise.
44360         * sysdeps/i386/fpu/dosincos.c: Likewise.
44361         * sysdeps/i386/fpu/mpa.c: Likewise.
44362         * sysdeps/i386/fpu/s_cos.S: Likewise.
44363         * sysdeps/i386/fpu/s_sin.S: Likewise.
44364         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44365         * sysdeps/i386/fpu/sincos32.c: Likewise.
44366
44367         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44368         Define.
44369         (libc_feupdateenv_53bit): Define.
44370         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44371         Define.
44372         (libc_feupdateenv_53bit): Define.
44373
44374         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44375         53 bit (without extend i386 double precision).
44376
44377         * math/libm-test.inc (sincos_test): Add tests for large input.
44378         (sin): Likewise.
44379         (cos): Likewise.
44380
44381         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44382
44383 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44384
44385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44386
44387 2012-03-15  David S. Miller  <davem@davemloft.net>
44388
44389         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44390         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44391         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44392         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44400         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44401         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44402         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44403         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44405         file.
44406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44408         file.
44409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44411         file.
44412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44414         file.
44415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44416         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44417         fmin/fmax sysdep routines.
44418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44419
44420 2012-03-14  David S. Miller  <davem@davemloft.net>
44421
44422         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44423         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44424         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44425         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44426         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44427         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44428         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44429         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44430         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44431         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44433         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44434         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44435         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44436         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44437         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44438         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44439         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44440         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44441         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44442         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44443         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44444         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44445         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44446         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44447         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44448         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44449         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44450         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44451         routines.
44452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44453         file.
44454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44456         file.
44457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44459         file.
44460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44462         file.
44463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44465         file.
44466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44468         file.
44469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44470         file.
44471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44472         file.
44473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44474         file.
44475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44476         New file.
44477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44478         file.
44479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44480         file.
44481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44483         file.
44484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44486         file.
44487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44489         file.
44490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44492         VIS3 routines.
44493
44494         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44495         New file.
44496
44497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44498
44499         * sysdeps/sparc/configure.in: New file.
44500         * sysdeps/sparc/configure: Generate.
44501         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44502         * configure: Regenerate.
44503         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44504         * config.make.in (have-as-vis3): New.
44505         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44506         available use -Av9d instead of -Av9a.
44507         * sysdeps/sparc/sparc64/Makefile: Likewise.
44508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44510         New file.
44511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44512         file.
44513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44514         New file.
44515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44516         file.
44517         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44518         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44519         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44520         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44521         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44522
44523         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44524         fzeros/fnegs to load 0x80000000 into a float register instead of
44525         using the stack.
44526         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44527
44528 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44529
44530         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44531         bits/syscall.h.
44532         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44533         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44534         ($(inst_includedir)/bits/syscall.h): Remove rule.
44535         ($(objpfx)bits/syscall.d): Include instead of
44536         $(objpfx)syscall-list.d.
44537         (generated): Change syscall-list.h and syscall-list.d to
44538         bits/syscall.h and bits/syscall.d.
44539
44540 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44541
44542         [BZ #13846]
44543         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44544
44545 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44546
44547         [BZ #13841]
44548         * math/s_csqrt.c: Include <float.h>.
44549         (__csqrt): Scale large or subnormal inputs.
44550         * math/s_csqrtf.c: Likewise.
44551         * math/s_csqrtl.c: Likewise.
44552         * math/libm-test.inc (csqrt_test): Add more tests.
44553         * sysdeps/i386/fpu/libm-test-ulps: Update.
44554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44555
44556         [BZ #13840]
44557         * math/libm-test.inc (hypot_test): Add more tests.
44558
44559 2012-03-13  David S. Miller  <davem@davemloft.net>
44560
44561         [BZ #13840]
44562         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44563         double-precision for the calculation instead of scaling.
44564
44565 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44566
44567         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44568         manipulate bits before adding and subtracting TWO52[sx].
44569         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44570         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44571         Likewise.
44572         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44573
44574 2012-03-13  David S. Miller  <davem@davemloft.net>
44575
44576         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44577         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44578         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44579         rtld-global-offsets.h
44580         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44581
44582         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44583         large parameters.
44584
44585         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44586
44587         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44588         'err' in the ifdef scope in which it is actually used.
44589
44590         * nss/nss_db/db-init.c: Include string.h
44591
44592 2012-03-12  David S. Miller  <davem@davemloft.net>
44593
44594         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44595         masking out of the most significant byte of random value used.
44596         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44597         Fix coding style in previous change.
44598
44599         * sysdeps/unix/sysv/linux/kernel-features.h
44600         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44601         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44602         expression.
44603         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44604         later.
44605
44606 2012-03-11  David S. Miller  <davem@davemloft.net>
44607
44608         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44609         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44610         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44611         for 'resultvar' otherwise things get truncated on 64-bit.
44612
44613         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44614         Fix masking out of the most significant byte of random value used.
44615
44616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44617
44618 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44619
44620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44621
44622 2012-03-09  David S. Miller  <davem@davemloft.net>
44623
44624         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44625         variables with appropriate CPP guards.
44626         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44627         from the frame pointer, not the stack pointer.  Correct layout
44628         comments.  Fix test on resulting framesize and the management of
44629         the outregs buffer for pltexit.  Preserve floating point return
44630         values across _dl_call_pltexit call.
44631         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44632         framesize and the management of the outregs buffer for pltexit.
44633         Preserve floating point return values across _dl_call_pltexit
44634         call.
44635         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44636         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44637         (la_sparc64_gnu_pltexit): New functions.
44638         (print_exit): Fix format string for return register value.
44639
44640 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44641
44642         * sunrpc/Makefile (others): Add rpcgen.
44643         ($(objpfx)rpcgen): Remove special build rule and dependency on
44644         libc.
44645         * sunrpc/rpcgen.c: New file.
44646
44647 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44648
44649         [BZ #13673]
44650         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44651         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44652         * sysdeps/i386/crti.S: Likewise.
44653         * sysdeps/i386/crtn.S: Likewise.
44654         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44655         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44656         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44657         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44658         * sysdeps/sh/crti.S: Likewise.
44659         * sysdeps/sh/crtn.S: Likewise.
44660         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44661
44662         [BZ #13673]
44663         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44664         with URL.
44665         * locale/programs/locfile-kw.gperf: Likewise.
44666         * locale/programs/charmap-kw.h: Regenerated.
44667         * locale/programs/locfile-kw.h: Likewise.
44668
44669         [BZ #13673]
44670         * intl/plural.y: Replace FSF snail mail address with URL.
44671         * intl/plural.c: Regenerated.
44672
44673 2012-03-09  Richard Henderson  <rth@twiddle.net>
44674
44675         * include/math_private.h: Remove file.
44676         * math/math_private.h: Move file ...
44677         * sysdeps/generic/math_private.h: ... here.
44678
44679         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44680         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44681         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44682
44683         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44684         and <math_private.h>.
44685         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44686         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44687         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44688         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44689         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44690         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44691         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44692         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44693         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44694         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44695         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44696         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44697         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44698         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44699         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44700         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44701         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44702         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44703         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44704         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44705         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44706         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44707         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44708         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44709         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44710         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44711         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44712         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44713         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44714         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44715         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44716         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44717         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44718         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44719         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44720         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44721         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44722         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44723         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44724         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44725         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44726         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44727         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44728         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44729         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44730         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44731         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44732         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44733         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44734         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44735         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44736         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44737         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44738         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44739         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44740         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44741         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44742         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44743         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44744         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44745         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44746         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44747         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44748         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44749         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44750         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44751         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44752         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44753         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44754         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44755         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44756         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44757         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44758         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44759         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44760         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44761         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44762         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44763         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44764         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44765         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44766         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44767         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44768         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44769         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44770         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44771         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44772         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44773         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44774         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44775         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44776         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44777         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44778         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44779         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44780         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44781         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44782         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44783         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44784         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44785         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44786         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44787         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44788         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44789         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44790         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44791         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44792         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44793         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44794         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44795         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44796         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44797         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44798         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44799         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44800         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44801         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44802         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44803         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44804         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44805         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44806         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44807         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44808         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44809         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44810         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44811         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44812         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44813         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44814         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44815         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44816         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44817         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44818         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44819         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44820         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44821         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44822         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44823         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44824         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44825         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44826         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44827         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44828         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44829         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44830         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44831         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44832         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44833         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44834         * sysdeps/ieee754/k_standard.c: Likewise.
44835         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44836         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44837         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44838         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44839         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44840         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44841         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44842         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44843         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44844         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44845         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44846         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44847         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44848         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44849         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44850         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44851         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44852         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44853         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44854         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44855         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44856         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44857         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44858         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44859         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44860         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44861         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44862         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44863         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44864         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44865         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44866         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44867         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44868         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44869         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44870         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44871         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44872         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44873         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44874         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44875         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44876         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44877         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44878         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44879         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44880         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44881         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44882         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44883         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44884         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44885         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44886         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44887         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44888         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44889         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44890         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44891         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44892         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44893         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44894         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44895         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44896         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44897         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44898         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44899         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44900         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44901         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44902         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44903         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44904         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44905         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44906         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44907         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44908         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44909         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44910         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44911         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44912         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44913         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44914         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44915         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44916         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44917         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44918         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44919         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44920         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44921         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44922         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44923         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44924         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44925         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44926         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44927         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44928         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44929         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44930         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44931         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44932         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44933         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44934         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44935         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44936         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44937         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44938         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44939         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44940         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44941         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44942         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44943         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44944         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44945         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44946         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44947         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44948         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44949         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44950         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44951         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44952         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44953         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44954         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44955         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44956         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44957         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44958         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44959         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44960         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44961         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44962         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44963         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44964         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44965         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44966         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44967         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44968         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44969         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44970         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44971         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44972         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44973         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44974         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44975         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44976         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44977         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44978         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44979         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44980         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44981         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44982         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44983         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44984         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44985         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44986         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44987         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44988         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44989         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44990         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44991         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44992         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44993         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44994         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44995         * sysdeps/ieee754/s_lib_version.c: Likewise.
44996         * sysdeps/ieee754/s_matherr.c: Likewise.
44997         * sysdeps/ieee754/s_signgam.c: Likewise.
44998         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44999         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45000         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45001         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45002         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45003         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45004         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45005         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45006         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45007         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45008         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45009         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45010         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45011         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45012         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45013         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45014         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45015         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45016         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45017         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45018         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45019
45020 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45021
45022         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45023         * sunrpc/rpc_main.c: Likewise.
45024         * sunrpc/rpc_svcout.c: Likewise.
45025
45026 2012-03-09  David S. Miller  <davem@davemloft.net>
45027
45028         * include/math_private.h: New file.
45029
45030 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45031
45032         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45033         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45034         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45035         from <bits/socket_type.h>.
45036         (enum __socket_type): Don't define here.
45037         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45038         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45039         bits/socket_type.h.
45040
45041         [BZ #13566]
45042         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45043         checking __USE_GNU.
45044
45045         * Makerules ($(inst_includedir)/%.h): New rule.
45046         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45047         (install-others): Remove variable setting.
45048         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45049
45050 2012-03-08  Richard Henderson  <rth@twiddle.net>
45051
45052         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45053         from macro to inline function; merge with the
45054         !__LIBC_INTERNAL_MATH_INLINES version.
45055         (__ieee754_sqrtf): Likewise.
45056
45057         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45058         to inline function.
45059         (__rintf, __floor, __floorf): Likewise.
45060
45061         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45062         macro to inline function.
45063         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45064
45065         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45066         not <math/math_private.h>.
45067
45068 2012-03-08  David S. Miller  <davem@davemloft.net>
45069
45070         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45071         copyright year.
45072         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45073
45074 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45075
45076         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45077         normalization.
45078         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45079         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45080
45081 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45082
45083         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45084         be defined individually, they must be defined as a block.  Define
45085         S for printing a string instead of hidint the different by using a
45086         macro for adding the 'l'.
45087         * stdio-common/tst-fphex-wide.c: Adjust.
45088
45089 2012-03-07  Marek Polacek  <polacek@redhat.com>
45090
45091         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45092
45093 2012-03-08  Marek Polacek  <polacek@redhat.com>
45094
45095         [BZ #13806]
45096         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45097         * stdio-common/tst-fphex.c: Define a few macros to make the
45098         test reusable.  Use them.
45099         * stdio-common/tst-fphex-wide.c: New file.
45100
45101 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45102
45103         [BZ #6911]
45104         * manual/macros.texi (gnusystems): New macro.
45105         (nongnusystems): Likewise.
45106         (gnulinuxhurdsystems): Likewise.
45107         (gnuhurdsystems): Likewise..
45108         (gnulinuxsystems): Likewise.
45109         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45110         variants of the GNU system, not "GNU system".
45111         * manual/conf.texi: Likewise.
45112         * manual/errno.texi: Likewise.  Update example of errno macro
45113         expansion.
45114         * manual/filesys.texi: Likewise.
45115         (getumask): Document as specific to GNU/Hurd.
45116         * manual/install.texi: Likewise.  Reword some references to
45117         GNU/Linux.
45118         * manual/intro.texi: Likewise.
45119         * manual/io.texi: Likewise.
45120         (File Name Portability): Detail which constraints are inapplicable
45121         to all GNU systems and which are only inapplicable to GNU/Hurd.
45122         * manual/job.texi: Likewise.
45123         * manual/llio.texi: Likewise.
45124         (O_NOCTTY): Document as present on GNU/Linux.
45125         * manual/maint.texi: Likewise.
45126         * manual/memory.texi: Likewise.
45127         * manual/pattern.texi: Likewise.
45128         * manual/pipe.texi: Likewise.
45129         * manual/process.texi: Likewise.
45130         * manual/resource.texi: Likewise.
45131         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45132         child on GNU/Hurd.
45133         * manual/setjmp.texi: Likewise.
45134         * manual/signal.texi: Likewise.
45135         * manual/startup.texi: Likewise.
45136         * manual/stdio.texi: Likewise.
45137         * manual/terminal.texi: Likewise.
45138         (ONLCR): Document as POSIX.
45139         (OXTABS): Document availability on GNU/Linux as XTABS.
45140         (ONOEOT): Document availability separately from other bits.
45141         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45142         * manual/time.texi: Likewise.
45143         * manual/users.texi: Likewise.
45144         * INSTALL: Regenerated.
45145         * sysdeps/gnu/errlist.c: Regenerated.
45146
45147         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45148         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45149         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45150         puts.
45151         * configure: Regenerated.
45152
45153 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45154
45155         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45156         default includes instead of AC_HEADER_CHECK.
45157         * sysdeps/i386/configure: Regenerated.
45158
45159         [BZ #10716]
45160         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45161         * math/s_cacoshf.c (__cacoshf): Likewise.
45162         * math/s_cacoshl.c (__cacoshl): Likewise.
45163         * math/s_casinh.c (__casinh): Set signs of result from argument.
45164         * math/s_casinhf.c (__casinhf): Likewise.
45165         * math/s_casinhl.c (__casinhl): Likewise.
45166         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45167         (casinh_test): Add more tests.
45168         * sysdeps/i386/fpu/libm-test-ulps: Update.
45169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45170
45171 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45172
45173         * po/zh_TW.po: Update from translation team.
45174
45175         * login/Makefile (distribute): Remove variable.
45176         * catgets/Makefile: Likewise.
45177         * mach/Makefile: Likewise.
45178         * malloc/Makefile: Likewise.
45179         * misc/Makefile: Likewise.
45180         * iconv/Makefile: Likewise.
45181         * nscd/Makefile: Likewise.
45182         * hurd/Makefile: Likewise.
45183         * manual/Makefile: Likewise.
45184         * locale/Makefile: Likewise.
45185         * intl/Makefile: Likewise.
45186         * conform/Makefile: Likewise.
45187         * nss/Makefile: Likewise.
45188         * time/Makefile: Likewise.
45189         * soft-fp/Makefile: Likewise.
45190         * dirent/Makefile: Likewise.
45191         * gmon/Makefile: Likewise.
45192         * po/Makefile: Likewise.
45193         * rt/Makefile: Likewise.
45194         * socket/Makefile: Likewise.
45195         * math/Makefile: Likewise.
45196         * signal/Makefile: Likewise.
45197         * debug/Makefile: Likewise.
45198         * elf/Makefile: Likewise.
45199         * timezone/Makefile: Likewise.
45200         * stdlib/Makefile: Likewise.
45201         * iconvdata/Makefile: Likewise.
45202         * sunrpc/Makefile: Likewise.
45203         * io/Makefile: Likewise.
45204         * argp/Makefile: Likewise.
45205         * inet/Makefile: Likewise.
45206         * hesiod/Makefile: Likewise.
45207         * grp/Makefile: Likewise.
45208         * csu/Makefile: Likewise.
45209         * wctype/Makefile: Likewise.
45210         * crypt/Makefile: Likewise.
45211         * libio/Makefile: Likewise.
45212         * string/Makefile: Likewise.
45213         * nis/Makefile: Likewise.
45214         * resolv/Makefile: Likewise.
45215         * stdio-common/Makefile: Likewise.
45216         * wcsmbs/Makefile: Likewise.
45217         * dlfcn/Makefile: Likewise.
45218         * posix/Makefile: Likewise.
45219
45220         [BZ #6959]
45221         * timezone/Makefile: Don't install timezone files, just the programs
45222         and scripts.
45223
45224 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45225
45226         * nss/databases.def: Add missing gshadow entry.
45227
45228         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45229
45230 2012-03-06  Marek Polacek  <polacek@redhat.com>
45231
45232         [BZ #13726]
45233         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45234         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45235         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45236         * stdio-common/tst-long-dbl-fphex.c: New file.
45237
45238 2012-03-06  David S. Miller  <davem@davemloft.net>
45239
45240         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45241         (set_obp_int): New function.
45242         (get_obp_int): New function.
45243         (__get_clockfreq_via_dev_openprom): Likewise.
45244         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45245         Avoid unused variable warnings on 'val' and use builtin_expect.
45246         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45247         __builtin_expect.
45248         (INLINE_CLONE_SYSCALL): Likewise.
45249
45250 2012-03-05  David S. Miller  <davem@davemloft.net>
45251
45252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45253
45254 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45255
45256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45257
45258         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45259         only for |x| >= 40.
45260         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45261
45262 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45263
45264         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45265         Replace gettimeofday with __vdso_gettimeofday.
45266
45267         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45268         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45269         __vdso_clock_gettime and __vdso_getcpu.
45270
45271         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45272         time with __vdso_time.
45273
45274 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45275
45276         * manual/lang.texi (size_t): Note types to which size_t may be
45277         equivalent with the GNU C Library, but do not describe when
45278         differences between them are significant.
45279
45280 2012-03-05  Andreas Jaeger  <aj@suse.de>
45281
45282         * sysdeps/i386/fpu/libm-test-ulps: Update.
45283
45284 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45285
45286         [BZ #3976]
45287         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45288         (__ieee754_pow): Save and restore rounding mode and use
45289         round-to-nearest for main computations.
45290         * math/libm-test.inc (pow_test_tonearest): New function.
45291         (pow_test_towardzero): Likewise.
45292         (pow_test_downward): Likewise.
45293         (pow_test_upward): Likewise.
45294         (main): Call the new functions.
45295         * sysdeps/i386/fpu/libm-test-ulps: Update.
45296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45297
45298         [BZ #3976]
45299         * math/libm-test.inc (cosh_test_tonearest): New function.
45300         (cosh_test_towardzero): Likewise.
45301         (cosh_test_downward): Likewise.
45302         (cosh_test_upward): Likewise.
45303         (sinh_test_tonearest): Likewise.
45304         (sinh_test_towardzero): Likewise.
45305         (sinh_test_downward): Likewise.
45306         (sinh_test_upward): Likewise.
45307         (main): Call the new functions.
45308         * sysdeps/i386/fpu/libm-test-ulps: Update.
45309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45310
45311 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45312
45313         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45314         default stack guard is set in last bytes.
45315         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45316
45317 2012-03-05  Kees Cook  <keescook@chromium.org>
45318
45319         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45320
45321         [BZ #13656]
45322         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45323         possibly allocate from heap instead of stack.
45324         * stdio-common/bug-vfprintf-nargs.c: New file.
45325         * stdio-common/Makefile (tests): Add nargs overflow test.
45326
45327 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45328
45329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45330
45331 2012-03-03  Marek Polacek  <polacek@redhat.com>
45332
45333         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45334         * math/math_private.h: Likewise.
45335         * stdlib/tst-strtod.c: Likewise.
45336         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45337         * sysdeps/x86_64/bits/atomic.h: Likewise.
45338
45339 2012-03-02  David S. Miller  <davem@davemloft.net>
45340
45341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45345         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45346         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45347         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45348         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45349
45350 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45351
45352         [BZ #13792]
45353         * manual/examples/README: New file, says the example source files
45354         can be used under GPL>=2.
45355         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45356         line containing just "*/".
45357         * manual/examples/add.c: Add copyright header (GPL>=2).
45358         * manual/examples/argp-ex1.c: Likewise.
45359         * manual/examples/argp-ex2.c: Likewise.
45360         * manual/examples/argp-ex3.c: Likewise.
45361         * manual/examples/argp-ex4.c: Likewise.
45362         * manual/examples/atexit.c: Likewise.
45363         * manual/examples/db.c: Likewise.
45364         * manual/examples/dir.c: Likewise.
45365         * manual/examples/dir2.c: Likewise.
45366         * manual/examples/execinfo.c: Likewise.
45367         * manual/examples/filecli.c: Likewise.
45368         * manual/examples/filesrv.c: Likewise.
45369         * manual/examples/fmtmsgexpl.c: Likewise.
45370         * manual/examples/genpass.c: Likewise.
45371         * manual/examples/inetcli.c: Likewise.
45372         * manual/examples/inetsrv.c: Likewise.
45373         * manual/examples/isockad.c: Likewise.
45374         * manual/examples/longopt.c: Likewise.
45375         * manual/examples/memopen.c: Likewise.
45376         * manual/examples/memstrm.c: Likewise.
45377         * manual/examples/mkfsock.c: Likewise.
45378         * manual/examples/mkisock.c: Likewise.
45379         * manual/examples/mygetpass.c: Likewise.
45380         * manual/examples/pipe.c: Likewise.
45381         * manual/examples/popen.c: Likewise.
45382         * manual/examples/rprintf.c: Likewise.
45383         * manual/examples/search.c: Likewise.
45384         * manual/examples/select.c: Likewise.
45385         * manual/examples/setjmp.c: Likewise.
45386         * manual/examples/sigh1.c: Likewise.
45387         * manual/examples/sigusr.c: Likewise.
45388         * manual/examples/stpcpy.c: Likewise.
45389         * manual/examples/strdupa.c: Likewise.
45390         * manual/examples/strftim.c: Likewise.
45391         * manual/examples/strncat.c: Likewise.
45392         * manual/examples/subopt.c: Likewise.
45393         * manual/examples/swapcontext.c: Likewise.
45394         * manual/examples/termios.c: Likewise.
45395         * manual/examples/testopt.c: Likewise.
45396         * manual/examples/testpass.c: Likewise.
45397         * manual/examples/timeval_subtract.c: Likewise.
45398
45399         [BZ #13792]
45400         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45401         function to ...
45402         * manual/timeval_subtract.c.texi: ... here, new file.
45403
45404 2012-03-02  David S. Miller  <davem@davemloft.net>
45405
45406         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45407
45408 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45409
45410         [BZ #3976]
45411         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45412         (__sin): Save and restore rounding mode and use round-to-nearest
45413         for all computations.
45414         (__cos): Save and restore rounding mode and use round-to-nearest
45415         for all computations.
45416         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45417         <fenv.h>.
45418         (tan): Save and restore rounding mode and use round-to-nearest for
45419         all computations.
45420         * math/libm-test.inc (cos_test_tonearest): New function.
45421         (cos_test_towardzero): Likewise.
45422         (cos_test_downward): Likewise.
45423         (cos_test_upward): Likewise.
45424         (sin_test_tonearest): Likewise.
45425         (sin_test_towardzero): Likewise.
45426         (sin_test_downward): Likewise.
45427         (sin_test_upward): Likewise.
45428         (tan_test_tonearest): Likewise.
45429         (tan_test_towardzero): Likewise.
45430         (tan_test_downward): Likewise.
45431         (tan_test_upward): Likewise.
45432         (main): Call the new functions.
45433         * sysdeps/i386/fpu/libm-test-ulps: Update.
45434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45435
45436         [BZ #10135]
45437         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45438         small n, then large n, before computing and testing k+n.
45439         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45440         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45441         Likewise.
45442         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45443         Likewise.
45444         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45445         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45446         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45447         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45448         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45449         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45450         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45451         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45452         * math/libm-test.inc (scalbn_test): Add more tests.
45453         (scalbln_test): Likewise.
45454
45455         * manual/filesys.texi (mode_t): Describe constraints on size and
45456         signedness, not exact equivalence to a particular type.
45457         (ino_t): Likewise.
45458         (ino64_t): Likewise.
45459         (dev_t): Likewise.
45460         (nlink_t): Likewise.
45461         (blkcnt_t): Likewise.
45462         (blkcnt64_t): Likewise.
45463         * manual/llio.texi (off_t): Likewise.
45464
45465         [BZ #3976]
45466         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45467         (__ieee754_exp): Save and restore rounding mode and use
45468         round-to-nearest for all computations.
45469         * math/libm-test.inc (exp_test_tonearest): New function.
45470         (exp_test_towardzero): Likewise.
45471         (exp_test_downward): Likewise.
45472         (exp_test_upward): Likewise.
45473         (main): Call the new functions.
45474         * sysdeps/i386/fpu/libm-test-ulps: Update.
45475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45476
45477 2012-03-01  Chris Demetriou  <cgd@google.com>
45478
45479         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45480         have predictable order.
45481
45482 2012-03-01  David S. Miller  <davem@davemloft.net>
45483
45484         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45485
45486         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45487         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45488         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45489         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45490
45491         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45492         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45493         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45495         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45496         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45497         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45498         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45499         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45500
45501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45502
45503         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45504         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45505         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45506
45507         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45508         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45509         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45510         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45511         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45512         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45513         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45514         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45515         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45516         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45517         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45518         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45519         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45520         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45521         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45522         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45523         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45524         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45525         * sysdeps/sparc/elf/configure: Regenerated.
45526
45527 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45528
45529         * configure.in (AS, LD): Require binutils 2.20 or later.
45530         * configure: Regenerated.
45531         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45532         as required minimum version.
45533         * INSTALL: Regenerated.
45534
45535         [BZ #2541]
45536         [BZ #4108]
45537         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45538         before squaring exponent.
45539         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45540         bottom long double and 27 bits of top long double before squaring
45541         exponent.
45542         * math/libm-test.inc (erfc_test): Add more tests.
45543         * sysdeps/i386/fpu/libm-test-ulps: Update.
45544         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45546
45547 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45548
45549         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45550         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45551         containing bit-fields.
45552         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45553         * soft-fp/single.h (_FP_UNION_S): Likewise.
45554         * soft-fp/double.h (_FP_UNION_D): Likewise.
45555
45556 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45557
45558         [BZ #13786]
45559         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45560         not include ../strcmp.S.
45561         [USE_AS_STRNCASECMP_L]: Likewise.
45562         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45563         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45564         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45565         (__strncasecmp_l_ia32): Define as alias to
45566         __strncasecmp_l_nonascii.
45567
45568         [BZ #5794]
45569         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45570         * sysdeps/i386/fpu/libm-test-ulps: Update.
45571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45572
45573         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45575
45576 2012-02-29  Jeff Law  <law@redhat.com>
45577
45578         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45579         out of bounds read.
45580
45581 2012-02-29  Marek Polacek  <polacek@redhat.com>
45582
45583         [BZ #13706]
45584         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45585         * elf/Makefile: Add rules to run tst-unused-dep.out.
45586
45587 2012-02-28  David S. Miller  <davem@davemloft.net>
45588
45589         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45590         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45591         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45592         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45593         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45594         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45595
45596 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45597
45598         * math/libm-test.inc (llround_test): Move one test from
45599         lround_test.  Use TEST_f_L in moved test.
45600         (lround_test): Move misplaced test to llround_test.  Add testcase
45601         from bug 2561.
45602
45603 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45604
45605         * sysdeps/x86_64/fpu/e_expf.S: New file.
45606         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45607
45608 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45609
45610         [BZ #13637]
45611         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45612         of remain_len that may cause incomplete multi-byte character and
45613         false match.
45614         * posix/bug-regex33.c: New file.
45615         * posix/Makefile (tests): Add bug-regex33.
45616
45617 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45618
45619         * manual/macros.texi: New file.
45620         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45621         * manual/libc.texinfo: Include macros.texi.
45622         * manual/creatute.texi: Likewise.
45623         * manual/install.texi: Likewise.
45624         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45625         @glibcadj{} in references to the GNU C Library.
45626         * manual/charset.texi: Likewise.
45627         * manual/conf.texi: Likewise.
45628         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45629         when not using those macros.
45630         * manual/creature.texi: Likewise.
45631         * manual/crypt.texi: Likewise.
45632         * manual/errno.texi: Likewise.
45633         * manual/filesys.texi: Likewise.
45634         * manual/header.texi: Likewise.
45635         * manual/install.texi: Likewise.
45636         * manual/intro.texi: Likewise.
45637         * manual/io.texi: Likewise.
45638         * manual/job.texi: Likewise.
45639         * manual/lang.texi: Likewise.
45640         * manual/libc.texiinfo: Likewise.
45641         * manual/llio.texi: Likewise.
45642         * manual/locale.texi: Likewise.
45643         * manual/maint.texi: Likewise.
45644         * manual/math.texi: Likewise.
45645         * manual/memory.texi: Likewise.
45646         * manual/message.texi: Likewise.
45647         * manual/nss.texi: Likewise.
45648         * manual/pattern.texi: Likewise.
45649         * manual/process.texi: Likewise.
45650         * manual/resource.texi: Likewise.
45651         * manual/search.texi: Likewise.
45652         * manual/setjmp.texi: Likewise.
45653         * manual/signal.texi: Likewise.
45654         * manual/socket.texi: Likewise.
45655         * manual/startup.texi: Likewise.
45656         * manual/stdio.texi: Likewise.
45657         * manual/string.texi: Likewise.
45658         * manual/sysinfo.texi: Likewise.
45659         * manual/syslog.texi: Likewise.
45660         * manual/terminal.texi: Likewise.
45661         * manual/time.texi: Likewise.
45662         * manual/users.texi: Likewise.
45663         * INSTALL: Regenerated.
45664         * NOTES: Regenerated.
45665         * sysdeps/gnu/errlist.c: Regenerated.
45666
45667 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45668
45669         * include/dirent.h: Include <dirstream.h> before
45670         <dirent/dirent.h>.
45671
45672 2012-02-28  David S. Miller  <davem@davemloft.net>
45673
45674         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45675         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45676         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45677         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45678
45679 2012-02-27  David S. Miller  <davem@davemloft.net>
45680
45681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45683         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45684         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45685
45686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45687         frame pointer instead of stack pointer relative arg slot.
45688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45689         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45690         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45691
45692 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45693
45694         [BZ #3992]
45695         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45696
45697 2012-02-27  David S. Miller  <davem@davemloft.net>
45698
45699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45703         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45704         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45705         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45706         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45707
45708 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45709
45710         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45711         later.  Allow versions 5-9.
45712         * configure: Regenerated.
45713         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45714         required minimum version and 4.6 as recommended version.  Do not
45715         mention bugs in GCC 2.7 and 2.8.
45716         * INSTALL: Regenerated.
45717
45718 2012-02-27  David S. Miller  <davem@davemloft.net>
45719
45720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45724         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45725         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45726         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45727         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45728
45729         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45730         manipulate bits before adding and subtracting TWO112[sx].
45731         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45732
45733 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45734
45735         [BZ #13775]
45736         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45737         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45738         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45739         being in POSIX, because they are in 1003.1-2008.
45740
45741         * rt/tst-aio.c: Include <fcntl.h>.
45742         * rt/tst-aio7.c: Likewise.
45743         * rt/tst-aio64.c: Likewise.
45744
45745         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45746
45747 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45748
45749         * manual/install.texi (--with-headers): Describe headers as
45750         interface headers, not private headers.
45751         (Specific advice for GNU/Linux systems): Describe use of headers
45752         from "make headers_install", not private headers from older
45753         kernels.
45754         * INSTALL: Regenerated.
45755         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45756         Change to 2.6.19.
45757         * sysdeps/unix/sysv/linux/configure: Regenerated.
45758
45759         * manual/llio.texi (fclean): Remove documentation.
45760
45761         * manual/Makefile (libc-texi-generated): New variable.  Include
45762         version.texi.
45763         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45764         $(libc-texi-generated), not duplicated list of files.
45765         (version.texi, stamp-version): New rules.
45766         (realclean): Remove $(libc-texi-generated), not individual files
45767         from that list.  Do not remove dir-add.texinfo.
45768         * manual/libc.texinfo: Comment out uses of edition numbers and
45769         references to printed manual.  Remove last-updated dates.
45770         (EDITION): Comment out.
45771         (ISBN): Likewise.
45772         (VERSION, UPDATED): Remove.
45773         (version.texi): Include.
45774
45775 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
45776
45777         * sysdeps/posix/spawni.c: Include <signal.h>.
45778         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45779         * sysdeps/pthread/aio_fsync.c: Likewise.
45780
45781 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
45782
45783         * conform/Makefile (tests): Run only when not cross-compiling and
45784         when fast-check is not defined.
45785
45786         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45787         * conform/data/limits.h-data: Fixes for POSIX2008.
45788         * conform/run-conformtest.sh: Run all tests.
45789         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45790         headers.
45791         * include/bits/dlfcn.h: Likewise.
45792         * include/langinfo.h: Likewise.
45793         * include/monetary.h: Likewise.
45794         * include/sys/poll.h: Likewise.
45795
45796         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45797         for __USE_GNU.
45798         * posix/spawn.h: Define __need_sigset_t.
45799         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45800         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45801         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
45802         to get sigevent_t only.
45803         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45804         only for __USE_GNU.
45805         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45806         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45807         process_vm_writev only for __USE_GNU.
45808         * termios/termios.h: Declare tcgetsid also for POSIX2008.
45809
45810         * conform/Makefile: For now ignore errors from run-conformtest.
45811         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
45812         POSIX to avoid namespace pollution.  Don't prepend headers.
45813         * conform/data/aio.h-data: Fixes for POSIX testing.
45814         * conform/data/fcntl.h-data: Likewise.
45815         * conform/data/glob.h-data: Likewise.
45816         * conform/data/grp.h-data: Likewise.
45817         * conform/data/pthread.h-data: Likewise.
45818         * conform/data/pwd.h-data: Likewise.
45819         * conform/data/signal.h-data: Likewise.
45820         * conform/data/spawn.h-data: Likewise.
45821         * conform/data/stdio.h-data: Likewise.
45822         * conform/data/stdlib.h-data: Likewise.
45823         * conform/data/stropts.h-data: Likewise.
45824         * conform/data/sys/mman.h-data: Likewise.
45825         * conform/data/sys/stat.h-data: Likewise.
45826         * conform/data/sys/types.h-data: Likewise.
45827         * conform/data/sys/wait.h-data: Likewise.
45828         * conform/data/time.h-data: Likewise.
45829         * conform/data/unistd.h-data: Likewise.
45830         * conform/data/utime.h-data: Likewise.
45831
45832         * io/sys/stat.h: fchmod was always in POSIX.
45833         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45834         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45835         * rt/aio.h: Define __need_timespec before including <time.h>.
45836         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45837         struct.  Add forward declaration of pthread_attr_t and use it in
45838         sigevent.
45839         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45840         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45841         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45842         always remove CLK_TCK definition.
45843
45844 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
45845
45846         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45847
45848 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
45849
45850         * conform/run-conformtest.sh: New file.
45851         * conform/Makefile: Run run-conformtest for tests.
45852         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
45853         support.
45854
45855         * conform/data/uchar.h-data: New file.
45856         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45857         * conform/data/arpa/inet.h-data: Likewise.
45858         * conform/data/assert.h-data: Likewise.
45859         * conform/data/complex.h-data: Likewise.
45860         * conform/data/cpio.h-data: Likewise.
45861         * conform/data/ctype.h-data: Likewise.
45862         * conform/data/dirent.h-data: Likewise.
45863         * conform/data/dlfcn.h-data: Likewise.
45864         * conform/data/errno.h-data: Likewise.
45865         * conform/data/fcntl.h-data: Likewise.
45866         * conform/data/float.h-data: Likewise.
45867         * conform/data/fmtmsg.h-data: Likewise.
45868         * conform/data/fnmatch.h-data: Likewise.
45869         * conform/data/ftw.h-data: Likewise.
45870         * conform/data/glob.h-data: Likewise.
45871         * conform/data/grp.h-data: Likewise.
45872         * conform/data/iconv.h-data: Likewise.
45873         * conform/data/inttypes.h-data: Likewise.
45874         * conform/data/langinfo.h-data: Likewise.
45875         * conform/data/libgen.h-data: Likewise.
45876         * conform/data/limits.h-data: Likewise.
45877         * conform/data/locale.h-data: Likewise.
45878         * conform/data/math.h-data: Likewise.
45879         * conform/data/monetary.h-data: Likewise.
45880         * conform/data/mqueue.h-data: Likewise.
45881         * conform/data/ndbm.h-data: Likewise.
45882         * conform/data/net/if.h-data: Likewise.
45883         * conform/data/netdb.h-data: Likewise.
45884         * conform/data/netinet/in.h-data: Likewise.
45885         * conform/data/nl_types.h-data: Likewise.
45886         * conform/data/poll.h-data: Likewise.
45887         * conform/data/pthread.h-data: Likewise.
45888         * conform/data/pwd.h-data: Likewise.
45889         * conform/data/regex.h-data: Likewise.
45890         * conform/data/sched.h-data: Likewise.
45891         * conform/data/search.h-data: Likewise.
45892         * conform/data/semaphore.h-data: Likewise.
45893         * conform/data/setjmp.h-data: Likewise.
45894         * conform/data/signal.h-data: Likewise.
45895         * conform/data/spawn.h-data: Likewise.
45896         * conform/data/stdarg.h-data: Likewise.
45897         * conform/data/stdio.h-data: Likewise.
45898         * conform/data/stdlib.h-data: Likewise.
45899         * conform/data/string.h-data: Likewise.
45900         * conform/data/strings.h-data: Likewise.
45901         * conform/data/stropts.h-data: Likewise.
45902         * conform/data/sys/ipc.h-data: Likewise.
45903         * conform/data/sys/mman.h-data: Likewise.
45904         * conform/data/sys/msg.h-data: Likewise.
45905         * conform/data/sys/resource.h-data: Likewise.
45906         * conform/data/sys/select.h-data: Likewise.
45907         * conform/data/sys/sem.h-data: Likewise.
45908         * conform/data/sys/shm.h-data: Likewise.
45909         * conform/data/sys/socket.h-data: Likewise.
45910         * conform/data/sys/stat.h-data: Likewise.
45911         * conform/data/sys/statvfs.h-data: Likewise.
45912         * conform/data/sys/time.h-data: Likewise.
45913         * conform/data/sys/timeb.h-data: Likewise.
45914         * conform/data/sys/times.h-data: Likewise.
45915         * conform/data/sys/types.h-data: Likewise.
45916         * conform/data/sys/uio.h-data: Likewise.
45917         * conform/data/sys/un.h-data: Likewise.
45918         * conform/data/sys/utsname.h-data: Likewise.
45919         * conform/data/sys/wait.h-data: Likewise.
45920         * conform/data/syslog.h-data: Likewise.
45921         * conform/data/tar.h-data: Likewise.
45922         * conform/data/termios.h-data: Likewise.
45923         * conform/data/utime.h-data: Likewise.
45924         * conform/data/utmpx.h-data: Likewise.
45925         * conform/data/varargs.h-data: Likewise.
45926         * conform/data/wchar.h-data: Likewise.
45927         * conform/data/wctype.h-data: Likewise.
45928         * conform/data/wordexp.h-data: Likewise.
45929
45930         * include/stropts.h: New file.
45931         * include/uchar.h: New file.
45932         * include/aio.h: Changes to allow conformtest.pl to use the headers.
45933         * include/assert.h: Likewise.
45934         * include/ctype.h: Likewise.
45935         * include/dirent.h: Likewise.
45936         * include/dlfcn.h: Likewise.
45937         * include/fcntl.h: Likewise.
45938         * include/fnmatch.h: Likewise.
45939         * include/glob.h: Likewise.
45940         * include/grp.h: Likewise.
45941         * include/libio.h: Likewise.
45942         * include/locale.h: Likewise.
45943         * include/math.h: Likewise.
45944         * include/net/if.h: Likewise.
45945         * include/netdb.h: Likewise.
45946         * include/netinet/in.h: Likewise.
45947         * include/pthread.h: Likewise.
45948         * include/pwd.h: Likewise.
45949         * include/regex.h: Likewise.
45950         * include/sched.h: Likewise.
45951         * include/search.h: Likewise.
45952         * include/setjmp.h: Likewise.
45953         * include/signal.h: Likewise.
45954         * include/stdio.h: Likewise.
45955         * include/stdlib.h: Likewise.
45956         * include/string.h: Likewise.
45957         * include/sys/cdefs.h: Likewise.
45958         * include/sys/mman.h: Likewise.
45959         * include/sys/msg.h: Likewise.
45960         * include/sys/resource.h: Likewise.
45961         * include/sys/select.h: Likewise.
45962         * include/sys/socket.h: Likewise.
45963         * include/sys/stat.h: Likewise.
45964         * include/sys/statvfs.h: Likewise.
45965         * include/sys/time.h: Likewise.
45966         * include/sys/times.h: Likewise.
45967         * include/sys/uio.h: Likewise.
45968         * include/sys/utsname.h: Likewise.
45969         * include/sys/wait.h: Likewise.
45970         * include/termios.h: Likewise.
45971         * include/time.h: Likewise.
45972         * include/ulimit.h: Likewise.
45973         * include/unistd.h: Likewise.
45974         * include/utime.h: Likewise.
45975         * include/wchar.h: Likewise.
45976         * include/wctype.h: Likewise.
45977         * include/wordexp.h: Likewise.
45978
45979         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45980
45981         * time/time.h: TIME_UTC must be a macro.
45982         Make timespec_get available for ISO C11 only as well.
45983
45984 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
45985
45986         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45987         Reported by Peng Haitao <penght@cn.fujitsu.com>.
45988
45989 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45990
45991         * configure.in: Use -o not -a in test for unsupported multi-arch.
45992
45993 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45994
45995         * manual/texinfo.tex: Update to version 2012-01-19.16.
45996
45997 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45998
45999         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46000
46001 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46002
46003         [BZ #13738]
46004         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46005         * manual/fdl-1.3.texi: New file.
46006         * manual/fdl-1.1.texi: File removed.
46007
46008         [BZ #13738]
46009         * manual/libc.texinfo (FDL_VERSION): New @set.
46010         Use it for mention of FDL in cover text.
46011         (Documentation License): Use it in @include file name.
46012
46013 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46014             Roland McGrath  <roland@hack.frob.com>
46015
46016         [BZ #5461]
46017         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46018         (not LONG_LONG_MAX and LONG_LONG_MIN.
46019         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46020         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46021         name.
46022         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46023
46024 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46025
46026         [BZ #2547]
46027         [BZ #11365]
46028         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46029         manipulate bits before adding and subtracting TWO23[sx].
46030         * math/libm-test.inc (nearbyint_test): Add more tests.
46031
46032 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46033
46034         [BZ #2548]
46035         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46036         bits before adding and subtracting TWO23[sx].
46037         * math/libm-test.inc (rint_test): Add more tests.
46038         (rint_test_tonearest): Likewise.
46039         (rint_test_towardzero): Likewise.
46040         (rint_test_downward): Likewise.
46041         (rint_test_upward: Likewise.
46042
46043 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46044
46045         [BZ #10110]
46046         * include/stdc-predef.h: New file.  Extracted from features.h.
46047         * include/features.h: Include stdc-predef.h.
46048         * Makefile (headers): Add stdc-predef.h.
46049         * CONFORMANCE (Compiler limitations): Update.
46050
46051 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46052
46053         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46054
46055 2012-02-21  David S. Miller  <davem@davemloft.net>
46056
46057         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46058         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46059
46060 2012-02-20  David S. Miller  <davem@davemloft.net>
46061
46062         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46063         using a normal save/restore sequence, rather than allocating a
46064         dummy stack frame just to store a frame pointer and restore.
46065         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46066
46067 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46068
46069         * manual/install.texi: Fix stray word in line-wrapped comment.
46070
46071 2012-02-20  David S. Miller  <davem@davemloft.net>
46072
46073         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46074         both binutils and gcc support GOTDATA.
46075
46076         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46077         "rd %pc" in the PIC register setup sequences.
46078
46079         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46080         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46081         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46082         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46083         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46084         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46085         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46086         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46087         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46088         (SYSCALL_ERROR_HANDLER): Likewise.
46089         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46090         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46091         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46092         (SYSCALL_ERROR_HANDLER): Likewise.
46093
46094         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46095         (HAVE_GCC_GOTDATA): New.
46096         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46097         relocation support in both binutils and gcc.
46098         * sysdeps/sparc/elf/configure: Regenerate.
46099
46100         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46101         * sysdeps/sparc/sparc32/elf/configure: Delete.
46102         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46103         * sysdeps/sparc/sparc64/elf/configure: Delete.
46104         * sysdeps/sparc/elf/configure.in: New file.
46105         * sysdeps/sparc/elf/configure: Generate.
46106
46107         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46108         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46109         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46110         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46111         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46112
46113 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46114
46115         * manual/install.texi: Do not mention specific glibc version
46116         numbers.
46117         * manual/libc.texinfo (VERSION, UPDATED): Update.
46118         (@copying): Use @copyright{} and range of years.
46119
46120 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46121
46122         [BZ #13695]
46123         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46124         [crti.S not in sysdirs] (generated): Do not append.
46125         [crti.S not in sysdirs] (omit-deps): Likewise.
46126         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46127         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46128         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46129         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46130         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46131         Likewise.
46132         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46133         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46134         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46135         * csu/defs.awk: Remove file.
46136         * sysdeps/generic/initfini.c: Likewise.
46137         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46138         variable.
46139         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46140         Likewise.
46141
46142 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46143
46144         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46145         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46146         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46147         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46148         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46149         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46150         <bits/epoll.h>.
46151         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46152         (__EPOLL_PACKED): Define to empty if not defined by
46153         <bits/epoll.h>.
46154         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46156         bits/epoll.h.
46157
46158 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46159
46160         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46161         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46162         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46163         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46164         <bits/timerfd.h>.
46165         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46167         bits/timerfd.h.
46168
46169 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46170
46171         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46172         in C locale.
46173         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46174         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46175         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46177
46178 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46179
46180         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46181         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46182
46183 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46184
46185         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46186         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46187         defined.
46188         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46189         Likewise.
46190         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46191         entry for 2.16.
46192
46193 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46194
46195         * math/w_acos.c: Use non-signaling floating-point comparisons.
46196         * math/w_acosf.c: Likewise.
46197         * math/w_acosh.c: Likewise.
46198         * math/w_acoshf.c: Likewise.
46199         * math/w_acoshl.c: Likewise.
46200         * math/w_acosl.c: Likewise.
46201         * math/w_asin.c: Likewise.
46202         * math/w_asinf.c: Likewise.
46203         * math/w_asinl.c: Likewise.
46204         * math/w_atanh.c: Likewise.
46205         * math/w_atanhf.c: Likewise.
46206         * math/w_atanhl.c: Likewise.
46207         * math/w_exp2.c: Likewise.
46208         * math/w_exp2f.c: Likewise.
46209         * math/w_exp2l.c: Likewise.
46210         * math/w_j0.c: Likewise.
46211         * math/w_j0f.c: Likewise.
46212         * math/w_j0l.c: Likewise.
46213         * math/w_j1.c: Likewise.
46214         * math/w_j1f.c: Likewise.
46215         * math/w_j1l.c: Likewise.
46216         * math/w_jn.c: Likewise.
46217         * math/w_jnf.c: Likewise.
46218         * math/w_log.c: Likewise.
46219         * math/w_log10.c: Likewise.
46220         * math/w_log10f.c: Likewise.
46221         * math/w_log10l.c: Likewise.
46222         * math/w_log2.c: Likewise.
46223         * math/w_log2f.c: Likewise.
46224         * math/w_log2l.c: Likewise.
46225         * math/w_logf.c: Likewise.
46226         * math/w_logl.c: Likewise.
46227         * math/w_sqrt.c: Likewise.
46228         * math/w_sqrtf.c: Likewise.
46229         * math/w_sqrtl.c: Likewise.
46230         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46231         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46232         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46233         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46234         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46235
46236 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46237
46238         [BZ #9739]
46239         * manual/string.texi (strnlen): Use correct parameter name in
46240         equivalent expression.
46241
46242 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46243
46244         [BZ #11174]
46245         * manual/users.texi (seteuid): Consistently use neweuid for
46246         argument name.
46247
46248 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46249
46250         [BZ #13704]
46251         * manual/nss.texi (Services in the NSS configuration): Correct
46252         list of services in example configuration file.
46253
46254 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46255
46256         [BZ #11322]
46257         * manual/arith.texi: Remove statements about negative zero
46258         behaving identically to zero.
46259
46260 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46261
46262         [BZ #5993]
46263         * manual/install.texi: Do not document upgrading from libc5.
46264
46265 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46266
46267         [BZ #4596]
46268         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46269
46270 2012-02-18  David S. Miller  <davem@davemloft.net>
46271
46272         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46273         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46274         %o7 across the call.
46275         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46276         instead.
46277         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46278         SETUP_PIC_REG_LEAF.
46279         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46280         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46281         * sysdeps/sparc/crtn.S: Likewise.
46282
46283 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46284
46285         * aout/Makefile: Remove.
46286
46287 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46288
46289         [BZ #13058]
46290         * manual/examples/argp-ex1.c (main): Format definition in GNU
46291         style.
46292         * manual/examples/argp-ex2.c (main): Likewise.
46293         * manual/examples/argp-ex3.c (main): Likewise.
46294         * manual/examples/argp-ex4.c (main): Likewise.
46295         * manual/examples/longopt.c (main): Use new-style prototype
46296         definition.
46297         * manual/examples/strncat.c (main): Specify return type and use
46298         (void) for arguments.
46299         * manual/examples/subopt.c (main): Use char **argv argument.
46300
46301 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46302
46303         [BZ #5077]
46304         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46305         rounding modes.
46306
46307 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46308
46309         [BZ #6907]
46310         * manual/string.texi (strchr): Change when strchrnul is
46311         recommended.
46312
46313 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46314
46315         [BZ #174]
46316         * manual/locale.texi (setlocale): Document LOCPATH.
46317
46318 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46319
46320         [BZ #10210]
46321         * manual/process.texi (execle): Move @dots{} before last argument.
46322
46323 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46324
46325         [BZ #12047]
46326         * manual/charset.texi (Generic Charset Conversion): Fix typo
46327         (LC_TYPE -> LC_CTYPE).
46328
46329 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46330
46331         [BZ #5805]
46332         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46333         (scalbnf): Likewise.
46334         (scalbnl): Likewise.
46335         (scalbln): Likewise.
46336         (scalblnf): Likewise.
46337         (scalblnl): Likewise.
46338         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46339         (vwarnx): Likewise.
46340         (verr): Likewise.
46341         (verrx): Likewise.
46342         * manual/filesys.texi (telldir): Use braces around return type.
46343         * manual/llio.texi (mmap): Add space after comma.
46344         (mmap64): Likewise.
46345         * manual/math.texi (jn): Use @var{} on parameter names.
46346         (jnf): Likewise.
46347         (jnl): Likewise.
46348         (yn): Likewise.
46349         (ynf): Likewise.
46350         (ynl): Likewise.
46351         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46352         line.
46353         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46354         "...".
46355         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46356         (sched_get_priority_max): Likewise.
46357         * manual/signal.texi (sigvec): Add space after comma.
46358         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46359         names.
46360         (if_indextoname): Likewise.
46361         (if_freenameindex): Likewise.
46362         (sendto): Use ',' instead of '.' in prototype.
46363         * manual/startup.texi (syscall): Use @dots{} instead of literal
46364         "...".
46365         * manual/stdio.texi (__fpending): Separate initial words of
46366         paragraph from @deftypefun line.
46367         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46368         "...".
46369         (vsyslog): Use @var{} on parameter names.
46370         * manual/terminal.texi (stty): Use @var{} on parameter names.
46371         * manual/users.texi (getutmp): Use @var{} on parameter names.
46372         (getutmpx): Likewise.
46373
46374 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46375
46376         [BZ #6884]
46377         * manual/stdio.texi (fopen): Fix typos in description of
46378         ",ccs=STRING".
46379
46380 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46381
46382         [BZ #4026]
46383         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46384         get clock_id definition.
46385
46386 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46387
46388         [BZ #4822]
46389         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46390         (madvise): Cast every argument to void on its own.
46391
46392 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46393
46394         [BZ #9902]
46395         * manual/startup.texi (Exit Status): Fix typo.
46396
46397 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46398
46399         [BZ #10140]
46400         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46401         * manual/examples/argp-ex2.c: Likewise.
46402         * manual/examples/argp-ex3.c: Likewise.
46403
46404 2012-02-16  Richard Henderson  <rth@redhat.com>
46405
46406         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46407         * sysdeps/s390/s390-32/initfini.c: Remove.
46408         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46409         * sysdeps/s390/s390-64/initfini.c: Remove.
46410
46411 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46412
46413         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46414         compiler output for sysdeps/generic/initfini.c.
46415         * sysdeps/sh/elf/initfini.c: Remove file.
46416
46417 2012-02-16  David S. Miller  <davem@davemloft.net>
46418
46419         [BZ #11494]
46420         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46421
46422         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46423         * sysdeps/sparc/crti.S: New file.
46424         * sysdeps/sparc/crtn.S: New file.
46425         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46426         * sysdeps/sparc/sparc64/Makefile: Likewise.
46427
46428 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46429
46430         [BZ #3335]
46431         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46432
46433 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46434
46435         [BZ #4822]
46436         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46437
46438         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46439         (write, read, close): Likewise.
46440         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46441
46442 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46443
46444         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46445         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46446         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46447         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46448         <bits/signalfd.h>.
46449         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46451         bits/signalfd.h.
46452
46453 2012-02-14  Marek Polacek  <polacek@redhat.com>
46454
46455         * sysdeps/x86_64/crti.S: New file.
46456         * sysdeps/x86_64/crtn.S: New file.
46457         * sysdeps/x86_64/elf/initfini.c: Remove file.
46458
46459 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46460
46461         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46462         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46463         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46464         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46465         <bits/inotify.h>.
46466         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46468         bits/inotify.h.
46469
46470 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46471
46472         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46473         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46474         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46475         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46476         <bits/eventfd.h>.
46477         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46478         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46479         bits/eventfd.h.
46480
46481 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46482
46483         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46484         __feraiseexcept instead of feraiseexcept.
46485
46486         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46487         nanosleep invocations.
46488         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46489         strings, and add error checking for a nanosleep invocations.
46490
46491 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46492
46493         Replace FSF snail mail address with URLs, as per GNU coding standards.
46494         Most of the snail mail addresses were wrong anyway, and omitting
46495         them makes the source code easier to maintain.  Almost all of the
46496         changes are to license notices and to locale LC_IDENTIFICATION
46497         addresses, except for this one:
46498         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46499         not its snail mail address.
46500
46501 2012-02-09  Richard Henderson  <rth@twiddle.net>
46502
46503         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46504         of kernel-features.h.
46505
46506         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46507
46508 2012-02-08  Marek Polacek  <polacek@redhat.com>
46509
46510         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46511         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46512         * sysdeps/gnu/_G_config.h: Likewise.
46513         * sysdeps/generic/_G_config.h: Likewise.
46514
46515 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46516
46517         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46518         tests.
46519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46520
46521         * sysdeps/powerpc/powerpc32/crti.S: New file.
46522         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46523         * sysdeps/powerpc/powerpc64/crti.S: New file.
46524         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46525
46526         * Makeconfig (have-initfini): Don't set.
46527         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46528         * configure.in (nopic_initfini): Don't substitute.
46529         * config.h.in (HAVE_INITFINI): Don't #undef.
46530         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46531         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46532
46533 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46534
46535         Support crti.S and crtn.S provided directly by architectures.
46536         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46537         [crti.S in sysdirs] (omit-deps): Likewise.
46538         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46539         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46540         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46541         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46542         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46543         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46544         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46545         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46546         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46547         compiler output for sysdeps/generic/initfini.c.
46548         * sysdeps/i386/elf/Makefile: Remove file.
46549         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46550
46551 2012-02-07  Marek Polacek  <polacek@redhat.com>
46552
46553         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46554         * sysdeps/gnu/_G_config.h: Likewise.
46555         * sysdeps/mach/hurd/_G_config.h: Likewise.
46556
46557 2012-02-07  Marek Polacek  <polacek@redhat.com>
46558
46559         * math/Makefile (tests): Add tst-CMPLX2.
46560         * math/tst-CMPLX2.c: New file.
46561
46562 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46563
46564         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46565
46566         * math/libm-test.inc (jn_test): Add missing L suffix.
46567
46568 2012-02-06  Marek Polacek  <polacek@redhat.com>
46569
46570         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46571         * sysdeps/i386/fpu/e_powf.S: Likewise.
46572         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46573         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46574         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46575         * sysdeps/i386/fpu/e_pow.S: Likewise.
46576         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46577         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46578         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46579         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46580         * sysdeps/i386/fpu/e_log2.S: Likewise.
46581         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46582         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46583         * sysdeps/i386/fpu/e_powl.S: Likewise.
46584         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46585         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46586         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46587         * sysdeps/i386/fpu/e_logl.S: Likewise.
46588         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46589         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46590         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46591         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46592         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46593         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46594         * sysdeps/i386/fpu/e_log.S: Likewise.
46595         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46596         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46597         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46598         * sysdeps/i386/fpu/e_logf.S: Likewise.
46599         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46600         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46601         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46602         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46603         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46604         * sysdeps/i386/fpu/e_log10.S: Likewise.
46605         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46606         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46607         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46608         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46609         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46610         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46611         * sysdeps/i386/asm-syntax.h: Likewise.
46612         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46613         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46614         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46615         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46616         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46617         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46618         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46619         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46620         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46621         * sysdeps/powerpc/sysdep.h: Likewise.
46622         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46623         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46624
46625 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46626
46627         [BZ #411]
46628         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46629
46630 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46631
46632         * sysdeps/i386/sysdep.h: Include <features.h>.
46633         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46634         version.
46635
46636 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46637
46638         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46639         Define.
46640         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46641         LOAD_PIC_REG_STR.
46642
46643 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46644
46645         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46646         (SETUP_PIC_REG): Use GET_PC_THUNK.
46647         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46648         macro.
46649
46650 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46651
46652         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46653         for non-PIC compilation.
46654         (SETUP_PIC_REG): Add .p2align directive.
46655         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46656         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46657         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46658         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46659         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46660         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46661         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46662         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46663         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46664         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46665         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46666         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46667         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46668         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46669         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46670         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46671         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46672         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46673         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46674         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46675         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46676         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46677         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46678         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46679         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46681         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46682         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46683         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46684         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46685         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46686         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46687         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46688         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46689         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46690         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46691         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46692         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46693         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46694         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46695         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46696
46697 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46698
46699         * math/tst-CMPLX.c: Include <stdio.h>.
46700
46701 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46702
46703         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46704         float.
46705         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46706         * sysdeps/sparc/bits/mathdef.h: Likewise.
46707
46708 2012-01-31  Marek Polacek  <polacek@redhat.com>
46709
46710         * libio/libio.h: Don't define _PARAMS.
46711         * locale/programs/config.h: Don't define PARAMS.
46712         * stdlib/strtol_l.c: Likewise.
46713         (__strtol_l): Remove PARAMS from the prototype.
46714
46715 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46716
46717         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46718         names.  Just use the correct names.  Remove unnecessary wrapper
46719         functions.
46720         * malloc/arena.c: Likewise.
46721         * malloc/hooks.c: Likewise.
46722
46723         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46724         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46725         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46726
46727 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46728
46729         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46730         into tail calls.
46731         (update_get_addr): New function.
46732         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46733         GET_ADDR_MODULE parameter.
46734
46735 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46736
46737         * crypt/cert.c: Remove __STDC__ conditionals.
46738         * crypt/crypt-entry.c: Likewise.
46739         * crypt/crypt_util.c: Likewise.
46740         * libio/filedoalloc.c: Likewise.
46741         * libio/fileops.c: Likewise.
46742         * libio/genops.c: Likewise.
46743         * libio/iofclose.c: Likewise.
46744         * libio/iofdopen.c: Likewise.
46745         * libio/iofopen.c: Likewise.
46746         * libio/iofopen64.c: Likewise.
46747         * libio/iogetdelim.c: Likewise.
46748         * libio/iopopen.c: Likewise.
46749         * libio/obprintf.c: Likewise.
46750         * libio/oldfileops.c: Likewise.
46751         * libio/oldiofclose.c: Likewise.
46752         * libio/oldiofdopen.c: Likewise.
46753         * libio/oldiofopen.c: Likewise.
46754         * libio/oldiopopen.c: Likewise.
46755         * libio/wfiledoalloc.c: Likewise.
46756         * libio/wgenops.c: Likewise.
46757         * locale/programs/xmalloc.c: Likewise.
46758         * misc/syslog.c: Likewise.
46759         * stdio-common/xbug.c: Likewise.
46760         * string/memchr.c: Likewise.
46761         * string/memcmp.c: Likewise.
46762         * string/memrchr.c: Likewise.
46763         * string/rawmemchr.c: Likewise.
46764         * sysdeps/posix/getcwd.c: Likewise.
46765         * time/strftime_l.c: Likewise.
46766
46767 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46768
46769         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46770         * config.make.in (config-cflags-sse2avx): Define.
46771         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46772         Fix typo.
46773
46774 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
46775
46776         * scripts/config.guess: Update from upstream config git repository.
46777         * scripts/config.sub: Likewise.
46778
46779 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
46780
46781         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46782         (EM_NUM): Update.
46783         (R_TILEPRO_*, R_TILEGX_*): New macros.
46784
46785         * scripts/firstversions.awk: Fix bug in version range handling.
46786
46787         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46788
46789         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46790
46791         * include/sys/epoll.h: New file.
46792         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46793         libc_hidden_def.
46794
46795 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
46796
46797         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46798         Avoid unnecessary __WORDSIZE == 64 test.
46799         (fmaxf): Use VEX format if possible.
46800         (fmax): Likewise.
46801         (fminf): Likewise.
46802         (fmin): Likewise.
46803
46804         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46805         * math/math_private.h: Remove libc_fegetround* and
46806         libc_fesetround*.
46807         * sysdeps/i386/configure.in: Check for -msse2avx.
46808         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46809         also if SSE2AVX is defined.
46810         Remove libc_fegetround* and libc_fesetround*.
46811         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46812         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
46813         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46814         of HAS_YMM_USABLE.
46815         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46816         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46817         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46818         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46819         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46820
46821         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46822
46823 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46824
46825         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46826         size is not set.
46827         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46828
46829 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
46830
46831         [BZ #13618]
46832         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46833         relocation.
46834         * Makeconfig (libm): Define.
46835         * elf/Makefile: Add rules to build and run tst-relsort1.
46836         * elf/tst-relsort1.c: New file.
46837         * elf/tst-relsort1mod1.c: New file.
46838         * elf/tst-relsort1mod2.c: New file.
46839
46840 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
46841
46842         * math/s_ldexp.c: Remove __STDC__ conditionals.
46843         * math/s_ldexpf.c: Likewise.
46844         * math/s_ldexpl.c: Likewise.
46845         * math/s_nextafter.c: Likewise.
46846         * math/s_nexttowardf.c: Likewise.
46847         * math/s_significand.c: Likewise.
46848         * math/s_significandf.c: Likewise.
46849         * math/s_significandl.c: Likewise.
46850         * math/w_jnl.c: Likewise.
46851         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46852         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46853         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46854         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46855         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46856         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46857         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46858         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46859         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46860         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46861         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46862         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46863         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46864         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46865         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46866         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46867         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46868         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46869         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46870         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46871         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46872         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46873         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46874         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46875         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46876         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46877         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46878         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46879         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46880         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46881         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46882         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46883         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46884         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46885         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46886         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46887         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46888         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46889         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46890         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46891         * sysdeps/ieee754/k_standard.c: Likewise.
46892         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46893         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46894         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46895         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46896         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46897         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46898         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46899         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46900         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46901         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46902         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46903         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46904         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46905         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46906         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46907         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46908         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46909         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46910         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46911         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46912         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46913         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46914         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46915         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46916         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46917         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46918         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46919         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46920         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46921         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46922         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46923         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46924         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46925         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46926         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46927         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46928         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46929         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46930         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46931         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46932         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46933         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46934         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46935         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46936         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46937         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46938         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46939         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46940         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46941         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46942         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46943         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46944         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46945         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46946         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46947         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46948         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46949         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46950         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46951         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46952         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46953         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46954         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46955         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46956         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46957         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46958         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46959         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46960         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46961         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46962         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46963         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46964         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46965         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46966         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46967         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46968         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46969         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46970         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46971         * sysdeps/ieee754/s_matherr.c: Likewise.
46972         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46973         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46974         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46975         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46976
46977 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46978
46979         * crypt/md5.h: Remove __STDC__ conditionals.
46980         * libio/libioP.h: Likewise.
46981         * locale/programs/config.h: Likewise.
46982         * sysdeps/generic/sysdep.h: Likewise.
46983         * sysdeps/i386/asm-syntax.h: Likewise.
46984         * sysdeps/s390/asm-syntax.h: Likewise.
46985         * sysdeps/unix/sysdep.h: Likewise.
46986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46988
46989 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46990
46991         * libio/libio.h: Remove __STDC__ conditionals.
46992         * malloc/obstack.h: Likewise.
46993         * math/complex.h: Likewise.
46994         * math/math.h: Likewise.
46995         * sysdeps/generic/_G_config.h: Likewise.
46996         * sysdeps/gnu/_G_config.h: Likewise.
46997         * sysdeps/mach/hurd/_G_config.h: Likewise.
46998         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46999         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47000         * sysdeps/sparc/bits/mathdef.h: Likewise.
47001
47002 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47003
47004         [BZ #13583]
47005         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47006         Clean up HAS_* macros.
47007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47008         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47009         possible.
47010         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47011         HAS_AVX.
47012         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47013         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47014         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47015         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47016         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47017
47018 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47019
47020         * elf/tst-unique3.cc (gets): Remove declaration.
47021         * elf/tst-unique3lib.cc (gets): Likewise.
47022         * elf/tst-unique3lib2.cc (gets): Likewise.
47023         * elf/tst-unique4.cc (gets): Likewise.
47024
47025 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47026
47027         * include/stdio.h: Add C++ protection.  Add gets declarations and
47028         definitions.
47029         * debug/tst-chk1.c: Don't declare gets here.
47030         * stdio-common/tst-gets.c: Likewise.
47031
47032 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47033
47034         * posix/glob: Remove directory.
47035
47036 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47037
47038         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47039
47040 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47041
47042         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47043         of the non-standard EPFNOSUPPORT.
47044
47045 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47046
47047         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47048         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47049         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47050
47051 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47052
47053         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47054
47055 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47056
47057         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47058         transient errors.
47059         * nscd/grpcache.c (cache_addgr): Likewise.
47060         * nscd/hstcache.c (cache_addhst): Likewise.
47061         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47062         * nscd/pwdcache.c (cache_addpw): Likewise.
47063         * nscd/servicescache.c (cache_addserv): Likewise.
47064
47065 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47066
47067         * malloc/malloc.c: Various cleanups.
47068         * malloc/hooks.c: Likewise.
47069
47070         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47071         * stdlib/bug-fmtmsg1.c: New file.
47072
47073         * stdlib/fmtmsg.c (init): Add missing unlock.
47074         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47075
47076 2012-01-12  Marek Polacek  <polacek@redhat.com>
47077
47078         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47079         and _GNU_SOURCE.
47080
47081 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47082
47083         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47084         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47085         macro to ensure uniqueness of label name.
47086         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47087         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47088
47089 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47090
47091         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47092
47093         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47094         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47095         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47096         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47097
47098 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47099
47100         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47101
47102         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47103         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47104         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47105
47106         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47107
47108         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47109         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47110         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47111         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47112
47113         * math/bits/math-finite.h: Add ldexp support.
47114
47115 2012-01-10  Marek Polacek  <polacek@redhat.com>
47116
47117         * locale/programs/localedef.h (show_archive_content): Add noreturn
47118         attribute.
47119
47120 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47121
47122         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47123
47124 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47125
47126         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47127
47128         * io/Makefile (headers): Add bits/poll2.h.
47129
47130 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47131
47132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47133         typo #include statement.
47134
47135 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47136
47137         * include/sys/cdefs.h: Define __attribute_alloc_size.
47138         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47139         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47140         * elf/pldd.c: Likewise.
47141         * iconv/iconv_charmap.c: Likewise.
47142         * iconv/iconvconfig.c: Likewise.
47143         * iconv/strtab.c: Likewise.
47144         * locale/programs/locale.c: Likewise.
47145         * locale/programs/localedef.h: Likewise.
47146         * locale/programs/simple-hash.c: Likewise.
47147         * nscd/nscd.h: Likewise.
47148         * nss/makedb.c: Likewise.
47149         * sysdeps/generic/ldconfig.h: Likewise.
47150         * locale/programs/localedef.c: Remove xmalloc prototype.
47151         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47152
47153 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47154
47155         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47156         appropriate.
47157
47158 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47159
47160         * math/Makefile (tests): Add tst-CMPLX.
47161         * math/tst-CMPLX.c: New file.
47162
47163         * math/complex.h (CMPLXL): Fix typo.
47164
47165         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47166         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47167         GLIBC_2.16.
47168         * debug/tst-chk1.c: Add poll and ppoll tests.
47169         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47170         * include/sys/poll.h: Add hidden proto for ppoll.
47171         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47172         * sysdeps/mach/hurd/ppoll.c: Likewise.
47173         * io/ppoll.c: Likewise.
47174         * debug/poll_chk.c: New file.
47175         * debug/ppoll_chk.c: New file.
47176         * include/bits/poll2.h: New file.
47177         * io/bits/poll2.h: New file.
47178
47179         [BZ #1350]
47180         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47181
47182         * configure.in: static is always set to yes.  Remove.
47183         * config.make.in: Don't set build-static.
47184         * Makeconfig: Remove use of build-static.
47185         * dlfcn/Makefile: Likewise.
47186         * elf/Makefile: Likewise.
47187         * math/Makefile: Likewise.
47188         * misc/Makefile: Likewise.
47189         * nptl/Makefile: Likewise.
47190         * sysdeps/mach/hurd/Makefile: Likewise.
47191
47192         * configure.in: PWD_P is not used anymore.
47193         * config.make.in: Remove PWD_P entry.
47194
47195         * configure.in: Remove last remnants of RANLIB.
47196         No need to check for signed size_t anymore.
47197         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47198         and IA-64.
47199         Remove __builtin_expect test because we require at least gcc 3.4.
47200         * aclocal.m4: Likewise.
47201
47202         * wcsmbs/mbrtoc16.c: Implement using towc function.
47203         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47204         * wcsmbs/wcsmbsload.c: Likewise.
47205         * iconv/gconv_simple.c: Likewise.
47206         * iconv/gconv_int.h: Likewise.
47207         * iconv/gconv_builtin.h: Likewise.
47208         * iconv/iconv_prog.c: Remove CHAR16 handling.
47209
47210         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47211
47212         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47213
47214         * configure.in: Remove --with-elf and --enable-bounded options.
47215         Dont set base_machine for ia64.  More non-ELF conditions removed.
47216         Remove testing and setting of leading underscore information.
47217         * config.make.in (build-bounded): Set to no.
47218         * config.h.in: Remove NO_UNDERSCORES entry.
47219         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47220         them.
47221         * csu/start.c: Remove !NO_UNDERSCORE code.
47222         * locale/localeinfo.h: Likewise.
47223         * sysdeps/generic/machine-gmon.h: Likewise.
47224         * sysdeps/generic/sysdep.h: Likewise.
47225         * sysdeps/i386/sysdep.h: Likewise.
47226         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47227         * sysdeps/mach/sysdep.h: Likewise.
47228         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47229         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47230         * sysdeps/sh/sysdep.h: Likewise.
47231         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47232         * sysdeps/unix/i386/sysdep.S: Likewise.
47233         * sysdeps/unix/sparc/start.c: Likewise.
47234         * sysdeps/unix/sparc/sysdep.S: Likewise.
47235         * sysdeps/unix/sparc/sysdep.h: Likewise.
47236         * sysdeps/unix/start.c: Likewise.
47237         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47238         * sysdeps/x86_64/sysdep.h: Likewise.
47239
47240 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47241
47242         [BZ #13553]
47243         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47244         for non-gcc.
47245         * argp/argp-fmtstream.h: Use const instead __const.
47246         * argp/argp.h: Likewise.
47247         * assert/assert.h: Likewise.
47248         * bits/fenv.h: Likewise.
47249         * bits/sched.h: Likewise.
47250         * bits/sigset.h: Likewise.
47251         * bits/sigthread.h: Likewise.
47252         * catgets/nl_types.h: Likewise.
47253         * conform/data/pthread.h-data: Likewise.
47254         * crypt/crypt-private.h: Likewise.
47255         * crypt/crypt.h: Likewise.
47256         * crypt/crypt_util.c: Likewise.
47257         * ctype/ctype.h: Likewise.
47258         * debug/execinfo.h: Likewise.
47259         * debug/mbsnrtowcs_chk.c: Likewise.
47260         * debug/mbsrtowcs_chk.c: Likewise.
47261         * debug/wcsnrtombs_chk.c: Likewise.
47262         * debug/wcsrtombs_chk.c: Likewise.
47263         * debug/wcstombs_chk.c: Likewise.
47264         * dirent/dirent.h: Likewise.
47265         * dlfcn/dlfcn.h: Likewise.
47266         * elf/neededtest4.c: Likewise.
47267         * grp/grp.h: Likewise.
47268         * gshadow/gshadow.h: Likewise.
47269         * iconv/gconv.h: Likewise.
47270         * iconv/gconv_int.h: Likewise.
47271         * iconv/gconv_simple.c: Likewise.
47272         * iconv/iconv.h: Likewise.
47273         * iconv/loop.c: Likewise.
47274         * iconv/skeleton.c: Likewise.
47275         * include/aio.h: Likewise.
47276         * include/aliases.h: Likewise.
47277         * include/argz.h: Likewise.
47278         * include/arpa/inet.h: Likewise.
47279         * include/assert.h: Likewise.
47280         * include/dirent.h: Likewise.
47281         * include/dlfcn.h: Likewise.
47282         * include/execinfo.h: Likewise.
47283         * include/fcntl.h: Likewise.
47284         * include/fenv.h: Likewise.
47285         * include/glob.h: Likewise.
47286         * include/grp.h: Likewise.
47287         * include/libintl.h: Likewise.
47288         * include/mntent.h: Likewise.
47289         * include/netdb.h: Likewise.
47290         * include/pwd.h: Likewise.
47291         * include/rpc/netdb.h: Likewise.
47292         * include/sched.h: Likewise.
47293         * include/search.h: Likewise.
47294         * include/shadow.h: Likewise.
47295         * include/signal.h: Likewise.
47296         * include/stdio.h: Likewise.
47297         * include/stdlib.h: Likewise.
47298         * include/string.h: Likewise.
47299         * include/sys/socket.h: Likewise.
47300         * include/sys/stat.h: Likewise.
47301         * include/sys/statfs.h: Likewise.
47302         * include/sys/statvfs.h: Likewise.
47303         * include/sys/syslog.h: Likewise.
47304         * include/sys/time.h: Likewise.
47305         * include/sys/uio.h: Likewise.
47306         * include/time.h: Likewise.
47307         * include/unistd.h: Likewise.
47308         * include/utmp.h: Likewise.
47309         * include/wchar.h: Likewise.
47310         * include/wctype.h: Likewise.
47311         * inet/aliases.h: Likewise.
47312         * inet/arpa/inet.h: Likewise.
47313         * inet/netinet/ether.h: Likewise.
47314         * inet/netinet/in.h: Likewise.
47315         * intl/libintl.h: Likewise.
47316         * io/bits/fcntl2.h: Likewise.
47317         * io/fcntl.h: Likewise.
47318         * io/ftw.h: Likewise.
47319         * io/sys/poll.h: Likewise.
47320         * io/sys/stat.h: Likewise.
47321         * io/sys/statfs.h: Likewise.
47322         * io/sys/statvfs.h: Likewise.
47323         * io/utime.h: Likewise.
47324         * libio/bits/stdio.h: Likewise.
47325         * libio/bits/stdio2.h: Likewise.
47326         * libio/libio.h: Likewise.
47327         * libio/libioP.h: Likewise.
47328         * libio/stdio.h: Likewise.
47329         * locale/lc-ctype.c: Likewise.
47330         * locale/locale.h: Likewise.
47331         * login/utmp.h: Likewise.
47332         * malloc/arena.c: Likewise.
47333         * malloc/malloc.c: Likewise.
47334         * malloc/malloc.h: Likewise.
47335         * malloc/mcheck.c: Likewise.
47336         * malloc/mtrace.c: Likewise.
47337         * math/bits/mathcalls.h: Likewise.
47338         * math/fenv.h: Likewise.
47339         * math/math_private.h: Likewise.
47340         * misc/bits/error.h: Likewise.
47341         * misc/bits/syslog.h: Likewise.
47342         * misc/err.h: Likewise.
47343         * misc/error.h: Likewise.
47344         * misc/fstab.h: Likewise.
47345         * misc/mntent.h: Likewise.
47346         * misc/regexp.h: Likewise.
47347         * misc/search.h: Likewise.
47348         * misc/sgtty.h: Likewise.
47349         * misc/sys/mman.h: Likewise.
47350         * misc/sys/syslog.h: Likewise.
47351         * misc/sys/uio.h: Likewise.
47352         * misc/sys/xattr.h: Likewise.
47353         * misc/ttyent.h: Likewise.
47354         * nis/rpcsvc/ypclnt.h: Likewise.
47355         * nss/nss.h: Likewise.
47356         * posix/bits/unistd.h: Likewise.
47357         * posix/fnmatch.h: Likewise.
47358         * posix/glob.h: Likewise.
47359         * posix/sched.h: Likewise.
47360         * posix/spawn.h: Likewise.
47361         * posix/sys/wait.h: Likewise.
47362         * posix/unistd.h: Likewise.
47363         * posix/wordexp.h: Likewise.
47364         * pwd/pwd.h: Likewise.
47365         * resolv/netdb.h: Likewise.
47366         * resource/sys/resource.h: Likewise.
47367         * rt/aio.h: Likewise.
47368         * rt/bits/mqueue2.h: Likewise.
47369         * rt/mqueue.h: Likewise.
47370         * shadow/shadow.h: Likewise.
47371         * signal/signal.h: Likewise.
47372         * socket/send.c: Likewise.
47373         * socket/sendto.c: Likewise.
47374         * socket/sys/socket.h: Likewise.
47375         * stdio-common/printf.h: Likewise.
47376         * stdlib/bits/stdlib.h: Likewise.
47377         * stdlib/fmtmsg.h: Likewise.
47378         * stdlib/monetary.h: Likewise.
47379         * stdlib/stdlib.h: Likewise.
47380         * stdlib/ucontext.h: Likewise.
47381         * streams/stropts.h: Likewise.
47382         * string/argz.h: Likewise.
47383         * string/bits/string2.h: Likewise.
47384         * string/string.h: Likewise.
47385         * string/strings.h: Likewise.
47386         * sunrpc/rpc/auth.h: Likewise.
47387         * sunrpc/rpc/auth_des.h: Likewise.
47388         * sunrpc/rpc/clnt.h: Likewise.
47389         * sunrpc/rpc/netdb.h: Likewise.
47390         * sunrpc/rpc/pmap_clnt.h: Likewise.
47391         * sunrpc/rpc/xdr.h: Likewise.
47392         * sysdeps/generic/inttypes.h: Likewise.
47393         * sysdeps/generic/net/if.h: Likewise.
47394         * sysdeps/generic/sys/swap.h: Likewise.
47395         * sysdeps/gnu/net/if.h: Likewise.
47396         * sysdeps/gnu/utmpx.h: Likewise.
47397         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47398         * sysdeps/i386/i486/bits/string.h: Likewise.
47399         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47400         * sysdeps/s390/bits/string.h: Likewise.
47401         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47402         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47403         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47404         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47405         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47406         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47407         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47408         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47409         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47410         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47411         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47412         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47413         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47414         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47415         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47416         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47417         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47418         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47419         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47420         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47421         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47422         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47423         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47424         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47425         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47426         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47427         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47428         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47429         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47430         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47431         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47432         * sysvipc/sys/ipc.h: Likewise.
47433         * sysvipc/sys/msg.h: Likewise.
47434         * sysvipc/sys/sem.h: Likewise.
47435         * sysvipc/sys/shm.h: Likewise.
47436         * termios/termios.h: Likewise.
47437         * time/sys/time.h: Likewise.
47438         * time/time.h: Likewise.
47439         * wcsmbs/bits/wchar2.h: Likewise.
47440         * wcsmbs/uchar.h: Likewise.
47441         * wcsmbs/wchar.h: Likewise.
47442         * wctype/wctype.h: Likewise.
47443
47444         [BZ #13551]
47445         * Makeconfig: Remove all but ELF support including AIX support.
47446         * Makerules: Likewise.
47447         * config.h.in: Likewise.
47448         * config.make.in: Likewise.
47449         * configure: Likewise.
47450         * configure.in: Likewise.
47451         * csu/Makefile: Likewise.
47452         * csu/version.c: Likewise.
47453         * debug/Makefile: Likewise.
47454         * dlfcn/Makefile: Likewise.
47455         * elf/Makefile: Likewise.
47456         * extra-lib.mk: Likewise.
47457         * iconv/Makefile: Likewise.
47458         * include/libc-symbols.h: Likewise.
47459         * include/shlib-compat.h: Likewise.
47460         * resolv/Makefile: Likewise.
47461         * resolv/res_libc.c: Likewise.
47462         * rt/Makefile: Likewise.
47463         * sysdeps/i386/asm-syntax.h: Likewise.
47464         * sysdeps/i386/sysdep.h: Likewise.
47465         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47466         * sysdeps/mach/sysdep.h: Likewise.
47467         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47468         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47469         * sysdeps/s390/asm-syntax.h: Likewise.
47470         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47471         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47472         * sysdeps/sh/sysdep.h: Likewise.
47473         * sysdeps/unix/sparc/sysdep.h: Likewise.
47474         * sysdeps/wordsize-32/divdi3.c: Likewise.
47475         * sysdeps/x86_64/sysdep.h: Likewise.
47476
47477         * argp/Versions: Remove _argp_unlock_xxx.
47478
47479         [BZ #13559]
47480         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47481         * abilist/libBrokenLocale.abilist: Likewise.
47482         * abilist/libanl.abilist: Likewise.
47483         * abilist/libc.abilist: Likewise.
47484         * abilist/libcrypt.abilist: Likewise.
47485         * abilist/libdl.abilist: Likewise.
47486         * abilist/libm.abilist: Likewise.
47487         * abilist/libnsl.abilist: Likewise.
47488         * abilist/libpthread.abilist: Likewise.
47489         * abilist/libresolv.abilist: Likewise.
47490         * abilist/librt.abilist: Likewise.
47491         * abilist/libthread_db.abilist: Likewise.
47492         * abilist/libutil.abilist: Likewise.
47493         * abilist/libnss_db.abilist: New file.
47494
47495         * scripts/abilist.awk: Add support for indirect functions.
47496
47497         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47498
47499         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47500
47501         * shlib-versions: Remove entries for ports architectures.
47502
47503         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47504         files in ports.
47505         * elf/stackguard-macros.h: Remove support for IA-64.
47506         * elf/tst-auditmod1.c: Likewise.
47507         * sysdeps/generic/ldsodefs.h: Likewise.
47508
47509         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47510         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47511         configure files.
47512
47513         [BZ #13552]
47514         * configure.in: Remove --enable-omitfp support.
47515         * FAQ.in: Adjust.
47516         * config.make.in: Likewise.
47517         * Makeconfig: Likewise.
47518         * manual/install.texi: Likewise.
47519
47520         In case anyone cares, the IA-64 architecture could move to ports.
47521         * sysdeps/ia64/*: Removed.
47522         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47523         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47524
47525         [BZ #13555]
47526         * configure.in: Remove entries for unsupported architectures.
47527
47528         [BZ #13533]
47529         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47530         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47531         routines.
47532         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47533         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47534         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47535         fall back to using wcrtomb.
47536         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47537         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47538         renaming.
47539         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47540         * wcsmbs/tst-c16c32-1.c: New file.
47541
47542         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47543         local variable.
47544
47545         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47546
47547         * elf/tst-unique3.cc: Add explicit declaration of gets.
47548         * elf/tst-unique3lib.cc: Likewise.
47549         * elf/tst-unique3lib2.cc: Likewise.
47550         * elf/tst-unique4.cc: Likewise.
47551
47552         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47553
47554 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47555
47556         [BZ #13566]
47557         * assert/assert.h (static_assert): Don't define for C++.
47558         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47559         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47560
47561 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47562
47563         * iconv/loop.c (single loop): Fix assertion in storing of
47564         remaining bytes.
47565
47566         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47567
47568 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47569
47570         * posix/getconf.c: Update copyright year.
47571         * nss/getent.c: Likewise.
47572         * nss/makedb.c: Likewise.
47573         * iconv/iconvconfig.c: Likewise.
47574         * iconv/iconv_prog.c: Likewise.
47575         * elf/ldconfig.c: Likewise.
47576         * elf/pldd.c: Likewise.
47577         * elf/sotruss.ksh: Likewise.
47578         * catgets/gencat.c: Likewise.
47579         * csu/version.c: Likewise.
47580         * elf/ldd.bash.in: Likewise.
47581         * elf/sprof.c (print_version): Likewise.
47582         * locale/programs/locale.c: Likewise.
47583         * locale/programs/localedef.c: Likewise.
47584         * login/programs/pt_chown.c: Likewise.
47585         * nscd/nscd.c (print_version): Likewise.
47586         * debug/xtrace.sh: Likewise.
47587         * malloc/memusage.sh: Likewise.
47588         * malloc/mtrace.pl: Likewise.
47589         * debug/catchsegv.sh: Likewise.
47590
47591 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47592
47593         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47594         pure attribute.
47595
47596 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47597
47598         [BZ #13533]
47599         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47600         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47601         transformations.
47602         * iconv/gconv_int.h: Likewise.
47603         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47604         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47605         from libc for GLIBC_2.16.
47606         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47607         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47608         * wcsmbs/uchar.h: Really define mbstate_t.
47609         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47610         * wcsmbs/c16rtomb.c: New file.
47611         * wcsmbs/mbrtoc16.c: New file.
47612         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47613         for C/POSIX locale.
47614         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47615         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47616
47617         * wcsmbs/wchar.h: Add missing __restrict.
47618
47619 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47620
47621         [BZ #13532]
47622         * time/Makefile (routines): Add timespec_get.
47623         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47624         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47625         timespec for ISO C11.
47626         * time/timespec_get.c: New file.
47627         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47628         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47629
47630         [BZ #13531]
47631         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47632         * stdlib/stdlib.h: Declare aligned_alloc.
47633         * Versions.def: Add GLIBC_2.16 for libc.
47634         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47635
47636         [BZ 13527]
47637         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47638         ISO C11.
47639
47640         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47641         code.
47642
47643         [BZ #13528]
47644         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47645
47646         [BZ #13529]
47647         * assert/assert.h (static_assert): Define.
47648
47649         * version.h: Update for 2.16 development version.
47650
47651         [BZ #13526]
47652         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47653         _ISOC11_SOURCE.
47654
47655         * version.h (RELEASE): Bump for 2.15 release.
47656         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47657
47658         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47659         Patch by Marek Polacek <mpolacek@redhat.com>.
47660
47661         * bits/byteswap.h: Protect long long constants with __extension__.
47662         * sysdeps/i386/bits/byteswap.h: Likewise.
47663         * sysdeps/ia64/bits/byteswap.h: Likewise.
47664         * sysdeps/s390/bits/byteswap.h: Likewise.
47665         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47666
47667 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47668
47669         [BZ #13540]
47670         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47671         destination buffer.
47672         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47673
47674 2011-12-23  Marek Polacek  <polacek@redhat.com>
47675
47676         * elf/dl-addr.c (determine_info): Add inline keyword.
47677         * elf/tst-auditmod4b.c (check_avx): Likewise.
47678         * elf/tst-auditmod6b.c (check_avx): Likewise.
47679         * elf/tst-auditmod6c.c (check_avx): Likewise.
47680         * elf/tst-auditmod7b.c (check_avx): Likewise.
47681
47682 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47683
47684         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47685         !__SSE_MATH__.
47686
47687 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47688
47689         [BZ #13540]
47690         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47691         processing for last bytes.
47692
47693 2011-08-06  Bruno Haible  <bruno@clisp.org>
47694
47695         [BZ #13061]
47696         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47697         U+0385, not to U+1FEE.
47698
47699         [BZ #13062]
47700         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47701         entry for U+00A5 U+0301.
47702
47703 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47704
47705         [BZ #13166]
47706         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47707         buffer for the output is too small.
47708
47709         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47710         optimization.
47711
47712         [BZ #13185]
47713         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47714         SSE flags if possible.
47715
47716 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47717
47718         [BZ #13540]
47719         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47720         processing for last bytes.
47721
47722 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47723
47724         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47725         (syscall-list-default-options, syscall-list-default-condition)
47726         (syscall-list-includes): Define.
47727         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47728         list of ABIs and options and #if conditions for each ABI.  Do not
47729         handle common syscalls between ABIs specially.
47730         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47731         Remove.
47732         (syscall-list-variants, syscall-list-32bit-options)
47733         (syscall-list-32bit-condition, syscall-list-64bit-options)
47734         (syscall-list-64bit-condition): Define.
47735         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47736         (syscall-list-variants, syscall-list-32bit-options)
47737         (syscall-list-32bit-condition, syscall-list-64bit-options)
47738         (syscall-list-64bit-condition): Define.
47739         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47740         Remove.
47741         (syscall-list-variants, syscall-list-32bit-options)
47742         (syscall-list-32bit-condition, syscall-list-64bit-options)
47743         (syscall-list-64bit-condition): Define.
47744         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47745         Remove.
47746         (syscall-list-variants, syscall-list-32bit-options)
47747         (syscall-list-32bit-condition, syscall-list-64bit-options)
47748         (syscall-list-64bit-condition): Define.
47749
47750 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47751
47752         * locale/iso-639.def: Add brx entry.
47753
47754         [BZ #13328]
47755         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47756         Proposed by Mariusz_Cukr <marcukr@op.pl>.
47757
47758         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47759         __feraiseexcept_renamed.
47760
47761 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47762
47763         [BZ #13538]
47764         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47765         EPOLLET with unsigned values.
47766         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47767         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47768
47769         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47770         to large cancellation.
47771         * math/s_cacoshf.c: Likewise.
47772         * math/s_cacoshl.c: Likewise.
47773
47774 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
47775
47776         [BZ #13305]
47777         [BZ #12786]
47778         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47779         * math/s_cacoshf.c: Likewise.
47780         * math/s_cacoshl.c: Likewise.
47781
47782 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47783
47784         [BZ #13439]
47785         * iconv/gconv.h: Define __GCONV_SWAP.
47786         * iconvdata/unicode.c: The swap bit must be stored in __flags.
47787         * iconvdata/utf-16.c: Likewise.
47788         * iconvdata/utf-32.c: Likewise.
47789
47790 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
47791
47792         [BZ #13524]
47793         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47794         numerator after shifting it by one limb.
47795
47796 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
47797
47798         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47799         under [__USE_EXTERN_INLINES].
47800
47801 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47802
47803         [BZ #13446]
47804         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47805
47806 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47807
47808         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47809         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47810         optimized code.
47811         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47812         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47813         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47814         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47815         for strncasecmp/strncasecmp_l compilation.
47816         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47817         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47818
47819 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
47820
47821         [BZ #13484]
47822         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47823         of __asm__.
47824
47825 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47826
47827         [BZ #13506]
47828         * time/tzfile.c (__tzfile_read): Check values from file header.
47829
47830 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47831
47832         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47833         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47834         * powerpc/powerpc32/dl-start.S: Likewise.
47835         * powerpc/powerpc32/elf/start.S: Likewise.
47836         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47837         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47838         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47839         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47840         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47841         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47842         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47843         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47844         * powerpc/powerpc32/fpu/s_round.S: Likewise.
47845         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47846         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47847         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47848         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47849         * powerpc/powerpc32/memset.S: Likewise.
47850         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47851         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47852         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47853         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47854         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47855         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47856         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47857         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47858         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47859         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47860         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47861         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47862         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47863
47864 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47865
47866         * math/libm-test.inc: Added more nearbyint tests.
47867         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47868         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47869         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47870         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47871
47872 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
47873
47874         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47875         FD_CLOEXEC.
47876
47877 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47878
47879         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47880         Add wcscpy-ssse3 wcscpy-c.
47881         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47882         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47883         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47884         * sysdeps/x86_64/wcschr.S: New file.
47885         * sysdeps/x86_64/wcsrchr.S: New file.
47886         * string/test-strcmp.c: Remove checking of wcscmp function for
47887         wrong alignments.
47888         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47889         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47890         wcsrchr-sse2 wcsrchr-c.
47891         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47892         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47893         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47894         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47895         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47896         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47897         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47898         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47899         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47900         * wcsmbc/wcschr.c (WCSCHR): New macro.
47901
47902 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47903
47904         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47905         * wcsmbs/test-wcsrchr.c: New file.
47906         * string/test-strrchr.c: Add wcsrchr support.
47907         (WIDE): New macro.
47908         * wcsmbs/test-wcscpy.c: New file.
47909         * string/test-strcpy.c: Add wcscpy support.
47910         (WIDE): New macro.
47911
47912 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
47913
47914         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47915         the inner loop.
47916
47917 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
47918
47919         [BZ #13472]
47920         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47921
47922 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
47923
47924         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47925         Minor optimizations.
47926
47927         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47928         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47929         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47930
47931 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
47932
47933         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47934         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47935         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47936         for gcc to avoid warnings.
47937         * inet/Makefile (tests): Add tst-checks.
47938         * inet/tst-checks.c: New file.
47939
47940         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47941         warning.
47942
47943         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47944         __wmemcmp_sse2.
47945
47946         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47947         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47948
47949         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47950
47951 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
47952
47953         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47954         problem.
47955
47956         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47957
47958 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
47959
47960         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47961         conditional on GCC version.
47962         (__arch_compare_and_exchange_val_8_acq)
47963         (__arch_compare_and_exchange_val_16_acq)
47964         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47965         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47966         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47967
47968 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
47969
47970         * sysdeps/sh/backtrace.c: New file.
47971
47972 2011-12-02  Andreas Schwab  <schwab@redhat.com>
47973
47974         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
47975         parenthesis.
47976
47977 2011-12-01  Andreas Schwab  <schwab@redhat.com>
47978
47979         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47980         falling back to utime.
47981
47982 2011-11-30  Andreas Schwab  <schwab@redhat.com>
47983
47984         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47985         expectations for float.
47986
47987 2011-11-29  Andreas Schwab  <schwab@redhat.com>
47988
47989         * locale/weight.h (findidx): Add parameter len.
47990         * locale/weightwc.h (findidx): Likewise.
47991         * posix/fnmatch_loop.c (FCT): Adjust caller.
47992         * posix/regcomp.c (build_equiv_class): Likewise.
47993         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47994         * posix/regexec.c (check_node_accept_bytes): Likewise.
47995         * string/strcoll_l.c (STRCOLL): Likewise.
47996         * string/strxfrm_l.c (STRXFRM): Likewise.
47997
47998 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
47999
48000         * Makefile.in: Remove CVSOPT handling.
48001         * configure.in: Remove use of AC_REVISION.
48002         * iconvdata/Makefile (distribute): No need to filter out CVS.
48003         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48004         handling.
48005
48006 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48007
48008         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48009         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48010         [USE_AS_STRNCASECMP_L]: Likewise.
48011         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48012         NO_TLS_DIRECT_SEG_REFS.
48013         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48014         Fix argument offsets for non-PIC.
48015         [USE_AS_STRNCASECMP_L]: Likewise.
48016         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48017         NO_TLS_DIRECT_SEG_REFS.
48018
48019 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48020
48021         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48022         O_CLOEXEC.
48023         * locale/loadlocale.c (_nl_load_locale): Likewise.
48024
48025 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48026
48027         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48028         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48029         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48030         (SYSCALL_GETTIME): Set errno on error.
48031
48032         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48033         count references to noai6ai_cached.
48034
48035 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48036
48037         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48038
48039         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48040         FD_CLOEXEC for /proc/self/maps.
48041
48042         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48043         FD_CLOEXEC for /proc/meminfo.
48044
48045         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48046         gai.conf.
48047
48048         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48049         FD_CLOEXEC for given file.
48050
48051         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48052
48053         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48054         FD_CLOEXEC for /etc/hosts.
48055         (_gethtent): Likewise.
48056
48057         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48058
48059         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48060         cancellation and set FD_CLOEXEC for /etc/netgroup.
48061
48062         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48063         reading /etc/publickey.
48064
48065         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48066         allow cancellation when reading /etc/group.
48067
48068         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48069         cancellation.
48070         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48071
48072         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48073         when using data file.
48074
48075         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48076
48077         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48078         (write_nis_obj): Use "c" and "e" in fopen.
48079
48080         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48081
48082         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48083
48084         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48085
48086         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48087
48088         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48089         locale.alias.
48090
48091         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48092
48093         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48094
48095         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48096
48097         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48098         file parsing and set FD_CLOEXEC.
48099
48100 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48101
48102         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48103
48104 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48105
48106         * malloc/arena.c (arena_get2): Don't call reused_arena when
48107         _int_new_arena failed.
48108
48109 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48110
48111         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48112         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48113         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48114         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48115         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48116         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48117         to compile strcasecmp and strncasecmp.
48118         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48119         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48120
48121         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48122
48123 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48124
48125         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48126         locale-defines.sym to gen-as-const-headers.
48127         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48128         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48129         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48130         to compile strcasecmp and strncasecmp.
48131         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48132         strcasecmp_l and strncasecmp_l.
48133         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48134         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48135         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48136         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48137         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48138         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48139         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48140         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48141         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48142         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48143         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48144
48145 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48146
48147         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48148         result of SYSDEP_GETTIME_CPU to retval.
48149         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48150         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48151
48152         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48153         variable.
48154
48155         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48156         mantissa words.
48157         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48158
48159         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48160         from unused variable.
48161
48162         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48163         DWARF definitions.
48164         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48165         for assembling.
48166
48167         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48168         over namespaces.
48169
48170         * sunrpc/rpc_prot.c (rejected): Fix case value.
48171
48172         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48173         unsigned long long int to avoid warnings in shift.
48174
48175         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48176         of use of trans.
48177         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48178         variable tmp.
48179
48180         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48181         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48182         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48183
48184         * nis/nis_table.c (nis_list): Use variable of correct type for
48185         result of __follow_path call.
48186
48187 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48188
48189         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48190         of math functions ceil, trunc, floor, round, and sqrt, when
48191         avaliable on the platform.
48192         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48193         name clash.
48194         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48195         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48196         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48197
48198 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48199
48200         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48201         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48202
48203 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48204
48205         * include/unistd.h: Fix __readlink return type.
48206         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48207
48208 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48209
48210         * stdlib/ucontext.h: Undo last change for makecontext.
48211
48212 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48213
48214         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48215
48216         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48217         * setjmp/setjmp.h: Mark functions as non-leaf.
48218         * setjmp/bits/setjmp2.h: Likewise.
48219         * stdlib/ucontext.h: Likewise.
48220
48221 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48222
48223         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48224         (reused_arena): Don't check arena limit.
48225         (arena_get2): Atomically check arena limit.
48226
48227 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48228
48229         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48230         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48231
48232         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48233         instructions.
48234
48235 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48236
48237         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48238         handler when locking.
48239
48240         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48241         Fix size of allocated buffer.
48242
48243 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48244
48245         [BZ #10103]
48246         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48247         declarations for long double functions.
48248         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48249
48250         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48251
48252 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48253
48254         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48255         installed.
48256
48257         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48258         is disabled.
48259
48260 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48261
48262         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48263
48264 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48265
48266         * include/alloca.h (stackinfo_alloca_round): Define.
48267         (extend_alloca): Use it.
48268         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48269         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48270         here.
48271
48272         * scripts/check-local-headers.sh: Ignore libaudit.h.
48273
48274         * nscd/Makefile (extra-objs): Make recursively expanded.
48275
48276 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48277
48278         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48279         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48280
48281         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48282         * posix/tst-rfc3484-2.c: Likewise.
48283         * posix/tst-rfc3484-3.c: Likewise.
48284
48285         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48286         process_vm_writev.
48287         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48288         process_vm_writev.
48289         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48290         process_vm_writev from libc using GLIBC_2.15 version.
48291
48292         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48293
48294 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48295
48296         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48297         stack usage.
48298
48299 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48300
48301         [BZ #13367]
48302         * nss/getent.c (initgroups_keys): Show error message in case no group
48303         names are given.
48304
48305         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48306         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48307         __bump_nl_timestamp.
48308         * nscd/connections (nscd_init): When host database is served open
48309         netlink socket and request notification about configuration changes.
48310         (main_loop_poll): Track netlink file descriptor and bump timestamp
48311         in case data becomes available.
48312         (main_loop_epoll): Likewise.
48313         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48314         (database_pers_head): Add extra_data fileds.
48315         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48316         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48317         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48318         Adjust caller.
48319         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48320         in6ai data, call __free_in6ai.
48321         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48322         Add -DHAVE_NETLINK.
48323         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48324         interface information.  Reuse previous data if netlink timestamp
48325         is not changed.
48326         (__bump_nl_timestamp): New function.
48327         (__free_in6ai): New function.
48328
48329 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48330
48331         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48332         close_not_cancel_no_status here.
48333         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48334
48335 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48336
48337         [BZ #13276]
48338         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48339         return value.
48340
48341         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48342         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48343         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48344
48345 2011-07-03  Andreas Jaeger  <aj@suse.de>
48346
48347         [BZ #10709]
48348         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48349         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48350         * math/libm-test.inc (sin_test): Add test case.
48351
48352 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48353
48354         [BZ #13337]
48355         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48356         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48357
48358         * elf/chroot_canon.c (chroot_canon): Cleanups.
48359
48360         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48361
48362         [BZ #13335]
48363         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48364         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48365
48366         * string/test-strchr.c: Make usable for strchrnul testing.
48367         * string/test-strchrnul.c: New file.
48368         * string/Makefile (strop-tests): Add strchrnul.
48369
48370         * po/it.po: Update from translation team.
48371         * po/es.po: Likewise.
48372
48373 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48374
48375         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48376         the three constants needed as parameters.  Drop the others.
48377         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48378         __m128i_strloadu_tolower.
48379         Create and initialize variable zero and use it in all the places
48380         where _mm_setzero_si128 was used.
48381
48382         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48383         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48384         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48385         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48386         anymore.
48387         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48388         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48389         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48390         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48391         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48392         __mpranred, __mptan.
48393         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48394         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48395         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48396         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48397         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48398         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48399         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48400         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48401         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48402
48403 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48404
48405         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48406         redefine if SHARED.
48407         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48408
48409         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48410         wide char related routines to wcsmbs subdir.
48411
48412 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48413
48414         [BZ #13344]
48415         * misc/sys/cdefs.h (__THROWNL): Define.
48416         * posix/unistd.h: Use __THREADNL instead of __THREAD
48417         for memory synchronization functions.
48418
48419 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48420
48421         [BZ #13349]
48422         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48423         doesn't exist.
48424         * manual/stdio.texi (Obstack Streams): Node removed.
48425
48426 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48427
48428         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48429         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48430         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48431
48432         * math/math_private.h (math_force_eval): Allow non-addressable
48433         arguments.
48434         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48435
48436 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48437
48438         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48439         file is not needed.
48440
48441         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48442         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48443         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48444         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48445         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48446         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48447         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48448         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48449         Add AVX variants.
48450         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48451         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48452         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48453         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48454         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48455         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48456         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48457         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48458         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48459         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48460         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48461         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48462         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48463         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48464         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48465         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48466         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48467         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48468         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48469
48470         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48471         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48472
48473         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48474         place.  Use VEX encoding when compiling for AVX.
48475
48476 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48477
48478         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48479         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48480
48481         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48482
48483 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48484
48485         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48486         useless if() expression.
48487         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48488         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48489         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48490         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48491         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48492         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48493         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48494         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48495         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48496         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48497         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48498         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48499         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48500         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48501         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48502         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48503         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48504         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48505         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48506
48507         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48508
48509 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48510
48511         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48512         condition.
48513         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48514
48515 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48516
48517         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48518         .text section.  Avoid duplicate constants.
48519         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48520         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48521         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48522         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48523         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48525         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48526         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48527         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48528         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48529         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48530         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48531         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48532         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48533         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48534         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48535         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48536         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48537         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48538         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48539         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48540         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48541         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48542         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48543         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48544         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48545         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48546         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48547         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48548         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48549         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48550         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48551         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48552         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48553         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48554         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48555         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48556         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48557         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48558         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48559         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48560         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48561         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48562         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48563         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48564
48565 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48566
48567         * sysdeps/x86_64/dla.h: Move to ...
48568         * sysdeps/x86_64/fpu/dla.h: ...here.
48569         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48570         situations.  Use __builtin_fma only for gcc 4.6 and up.
48571
48572         * config.make.in: Add have-mfma4 entry.
48573         * configure.in: Substitute libc_cv_cc_fma4.
48574         * math/Makefile (dbl-only-routines): Add sincostab.
48575         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48576         Use __sincostab not sincos.
48577         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48578         name is a macro.
48579         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48580         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48581         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48582         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48583         using __copysign.
48584         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48585         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48586         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48587         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48588         and __inv.
48589         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48590         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48591         __copysign.
48592         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48593         define aliases when function name is a macro.
48594         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48595         sysdeps/ieee754/dbl-64/sincos.tbl.
48596         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48597         fma4-enabled routines.
48598         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48599         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48600         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48601         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48602         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48603         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48604         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48605         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48606         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48607         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48608         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48609         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48610         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48611         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48612         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48613         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48614         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48615         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48616         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48617         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48618         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48619         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48620         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48621         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48622         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48623         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48624         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48625         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48626         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48627         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48628
48629         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48630         rename.
48631         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48632         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48633         * sysdeps/ieee754/dbl-64/e_atan2.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/s_atan.c: Likewise.
48638         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48639
48640 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48641
48642         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48643
48644 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48645
48646         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48647
48648         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48649         prediction.
48650         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48651
48652         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48653         Remove unused variable magic_bits.
48654         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48655
48656         * string/strnlen.c: Define and use STRNLEN macro.
48657         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48658         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48659         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48660         * wcsmbs/wcslen.c: Define and use WCSLEN.
48661         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48662         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48663         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48664         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48665         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48666         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48667         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48668
48669 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48670
48671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48672         strnlen-sse2-no-bsf.
48673         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48674         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48675         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48676         Add strnlen support.
48677         (USE_AS_STRNLEN): New macro.
48678         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48679         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48680         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48681         * sysdeps/x86_64/wcslen.S: New file.
48682
48683 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48684
48685         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48686         XMM-moves are used for copying on small sizes.
48687
48688 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48689
48690         * wcsmbs/Makefile (strop-tests): Add wcschr.
48691         * wcsmbs/test-wcschr.c: New file.
48692         * string/test-strchr.c: Update.
48693         Add wcschr support.
48694         (WIDE): New macro.
48695
48696 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48697
48698         * wcsmbs/Makefile (strop-tests): Add wcslen.
48699         * wcsmbs/test-wcslen.c: New file.
48700         * string/test-strlen.c: Update.
48701         Add wcslen support.
48702         (WIDE): New macro.
48703
48704 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48705
48706         * po/it.po: Update from translation team.
48707
48708 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48709
48710         * sysdeps/x86_64/wcscmp.S: Update.
48711         Fix wrong comparison semantics.
48712         wcscmp shall use signed comparison not unsigned.
48713         Don't use substraction to avoid overflow bug.
48714         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48715         * wcsmbc/wcscmp.c: Likewise.
48716         * string/test-strcmp.c: Likewise.
48717         Add new tests to check cases with negative values.
48718
48719 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48720
48721         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48722         * sysdeps/x86_64/dla.h: ...here.  New file.
48723         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48724         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48725         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48726         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48727         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48728         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48729         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48730         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48731         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48732
48733 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48734
48735         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48736         __ynl_finite aliases.
48737
48738 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48739
48740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48741
48742         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48743         define DLA_FMA.
48744         [DLA_FMA] (EMULV): Use DLA_FMA.
48745         [DLA_FMA] (MUL12): Use EMULV.
48746         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48747         that are not needed.
48748         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48749         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48750         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48751         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48752         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48753         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48754         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48755
48756 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
48757
48758         * math/s_nan.c: Undef __nan.
48759         * math/s_nanf.c: Undef __nanf.
48760         * math/s_nanl.c: Undef __nanl.
48761         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48762         "math_private.h".
48763
48764 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48765
48766         * math/s_catan.c: Add branch predictions.
48767         * math/s_catanf.c: Likewise.
48768         * math/s_catanh.c: Likewise.
48769         * math/s_catanhf.c: Likewise.
48770         * math/s_catanhl.c: Likewise.
48771         * math/s_catanl.c: Likewise.
48772         * math/s_cexp.c: Likewise.
48773         * math/s_cexpf.c: Likewise.
48774         * math/s_cexpl.c: Likewise.
48775         * math/s_clog.c: Likewise.
48776         * math/s_clog10.c: Likewise.
48777         * math/s_clog10f.c: Likewise.
48778         * math/s_clog10l.c: Likewise.
48779         * math/s_clogf.c: Likewise.
48780         * math/s_clogl.c: Likewise.
48781         * math/s_csqrt.c: Likewise.
48782         * math/s_csqrtf.c: Likewise.
48783         * math/s_csqrtl.c: Likewise.
48784         * math/s_ctanf.c: Likewise.
48785         * math/s_ctanh.c: Likewise.
48786         * math/s_ctanhf.c: Likewise.
48787         * math/s_ctanhl.c: Likewise.
48788         * math/s_ctanl.c: Likewise.
48789
48790         * math/math_private.h: Define __nan, __nanf, __nanl.
48791         * math/s_cacosh.c: Include <math_private.h>.
48792         * math/s_cacoshl.c: Likewise.
48793         * math/s_casinh.c: Likewise.
48794         * math/s_casinhf.c: Likewise.
48795         * math/s_casinhl.c: Likewise.
48796         * math/s_ccos.c: Rely entire on ccosh.
48797         * math/s_ccosf.c: Rely entire on ccoshf.
48798         * math/s_ccosl.c: Rely entirely on ccoshl.
48799         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
48800         Remove tests for FE_INVALID.
48801         * math/s_ccoshf.c: Likewise.
48802         * math/s_ccoshl.c: Likewise.
48803         * math/s_csin.c: Likewise.
48804         * math/s_csinf.c: Likewise.
48805         * math/s_csinh.c Likewise.
48806         * math/s_csinhf.c: Likewise.
48807         * math/s_csinhl.c: Likewise.
48808         * math/s_csinl.c: Likewise.
48809         * math/s_ctan.c: Likewise.
48810         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48811         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48812         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48813
48814 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
48815
48816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48817         compilation problems.
48818
48819         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48820         __builtin_expect.
48821
48822 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
48823
48824         * sysdeps/i386/configure.in: Test for -mfma4 option.
48825         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48826         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48827         COMMON_CPUID_INDEX_80000001.
48828         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48829         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48830         use it if FMA3 is not supported.
48831         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48832
48833         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48834         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48835
48836 2011-10-20  Andreas Schwab  <schwab@redhat.com>
48837
48838         [BZ #12892]
48839         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48840         it would create a cycle with a link time dependency.
48841
48842 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
48843
48844         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48845         instruction.
48846         * string/Makefile (strop-tests): Add rawmemchr.
48847         * string/test-rawmemchr.c: New file.
48848
48849         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48850         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
48851         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
48852         when compiling str{,n}casecmp and when AVX is available.  Hook up
48853         new optimized code in initializers.
48854
48855 2011-10-19  Andreas Schwab  <schwab@redhat.com>
48856
48857         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48858         __feraiseexcept instead of feraiseexcept.
48859
48860 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
48861
48862         * math/math_private.h: Define defaults for libc_fetestexcept and
48863         libc_feupdateenv.
48864         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48865         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48866         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48867         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48868         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48869         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48870         libc_fetestexcept and libc_feupdateenv.
48871
48872         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48873         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48874         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48875         * sysdeps/x86_64/fpu/math_private.h: Define special version of
48876         libc_feholdexcept_setround.
48877
48878         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48879         Add s_nearbyint-c and s_nearbyintf-c.
48880         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48881         nearbyintf inlines.
48882         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48883         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48884         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48885         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48886
48887         * math/math_private.h: Define defaults for libc_fegetround,
48888         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48889         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48890         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48891         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48892         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48893         standard functions.
48894         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48895         Remove comments and hacks for old compiler versions.
48896         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48897         libc_fegetround, libc_fesetround, libc_feholdexcept, and
48898         libc_feholdexceptl.
48899
48900 2011-10-18  Andreas Schwab  <schwab@redhat.com>
48901
48902         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48903         (__feraiseexcept_renamed): Add __NTH.
48904         (feraiseexcept): Add __NTH.  Rename local variables to fix
48905         namespace violations.
48906
48907 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
48908
48909         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48910
48911         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48912
48913         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48914         recently added interfaces.
48915         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48916
48917         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48918         about macro parameter expansion.
48919
48920         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48921         __NO_MATH_INLINES is defined.  Cleanups.
48922
48923         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48924         and __floorf is target has SSE4.1.
48925         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48926         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48927         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48928         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48929
48930         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48931         name.
48932         (floorf): Likewise.
48933
48934         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48935
48936 2011-10-17  Andreas Schwab  <schwab@redhat.com>
48937
48938         * misc/sys/cdefs.h: Fix last change.
48939
48940         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48941         database lookup.
48942
48943 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
48944
48945         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48946
48947         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48948         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48949         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48950         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48951         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48952         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48953         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48954         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48955         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48956         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48957         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48958         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48959         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48960         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48961         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48962         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48963         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48964         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48965         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48966         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48967         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48968         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48969
48970         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48971         ceil, ceilf, floor, floorf.
48972
48973         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48974         Perform IRELATIVE relocations last.
48975
48976         * elf/do-rel.h: Add another parameter nrelative, replacing the
48977         local variable with the same name.  Change name of the function
48978         to end in Rel or Rela (uppercase).
48979         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48980         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
48981         elf_dynamic_do_##reloc function.
48982
48983 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48984
48985         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48986         is sufficient, at least on modern CPUs.
48987
48988         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48989
48990         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48991         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48992
48993         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48994         __expl_finite.
48995         * math/bits/math-finite.h: Add entries for exp.
48996         * math/e_expl.c: Add __*_finite alias.
48997         * sysdeps/i386/fpu/e_exp.S: Likewise.
48998         * sysdeps/i386/fpu/e_expf.S: Likewise.
48999         * sysdeps/i386/fpu/e_expl.c: Likewise.
49000         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49001         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49002         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49003         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49004         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49005         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49006         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49007
49008         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49009         is sufficient, at least on modern CPUs.
49010
49011         * ctype/ctype-info.c (__ctype_init): Define.
49012         * include/ctype.h (__ctype_init): Declare.
49013         (__ctype_b_loc): The variable is always initialized.
49014         (__ctype_toupper_loc): Likewise.
49015         (__ctype_tolower_loc): Likewise.
49016         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49017         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49018
49019 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49020
49021         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49022
49023         * configure.in: Also look in $cxxmachine/include for C++ system
49024         headers.
49025
49026 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49027
49028         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49029         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49030         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49031         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49032         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49033         (USE_AS_WMEMCMP): New macro.
49034         Fixing indents.
49035         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49036         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49037         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49038         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49039         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49040         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49041         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49042         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49043         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49044         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49045         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49046         (USE_AS_WMEMCMP): New macro.
49047         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49048         * sysdeps/string/test-memcmp.c: Update.
49049         Fix simple_wmemcmp.
49050         Add new tests.
49051         * wcsmbs/wmemcmp.c: Update.
49052         (WMEMCMP): New macro.
49053         Fix overflow bug.
49054
49055 2011-10-12  Andreas Jaeger  <aj@suse.de>
49056
49057         [BZ #13268]
49058         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49059
49060 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49061
49062         * libio/iofwide.c (do_length): Avoid warning.
49063
49064         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49065
49066 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49067
49068         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49069
49070         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49071         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49072         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49073         * sysdeps/i386/i686/fpu/e_log.S: New file.
49074         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49075         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49076
49077         * ctype/ctype.h: Add support for inlined isXXX functions when
49078         compiling C++ code.
49079
49080 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49081
49082         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49083
49084         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49085
49086 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49087
49088         [BZ #13291]
49089         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49090
49091 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49092
49093         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49094         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49095         feraiseexcept.
49096
49097         * sysdeps/x86_64/memrchr.S: Check for zero size.
49098
49099         * string/stratcliff.c: Add memrchr tests.
49100
49101 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49102
49103         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49104         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49105         rawmemchr-sse2 rawmemchr-sse2-bsf.
49106         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49107         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49108         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49109         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49110         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49111         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49112         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49113         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49114         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49115         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49116         * string/memrchr.c (MEMRCHR): New macro.
49117
49118 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49119
49120         Add integration with gcc's -ffinite-math-only and optimize wrapper
49121         functions in libm.
49122         * Versions.def: Define GLIBC_2.15 version for libm.
49123         * math/Makefile (headers): Add bits/math-finite.h.
49124         * math/bits/math-finite.h: New file.
49125         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49126         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49127         * math/e_acoshl.c: Add __*_finite alias.
49128         * math/e_acosl.c: Likewise.
49129         * math/e_asinl.c: Likewise.
49130         * math/e_atan2l.c: Likewise.
49131         * math/e_atanhl.c: Likewise.
49132         * math/e_coshl.c: Likewise.
49133         * math/e_exp10.c: Likewise.
49134         * math/e_exp10f.c: Likewise.
49135         * math/e_exp10l.c: Likewise.
49136         * math/e_exp2l.c: Likewise.
49137         * math/e_fmodl.c: Likewise.
49138         * math/e_gammal_r.c: Likewise.
49139         * math/e_hypotl.c: Likewise.
49140         * math/e_j0l.c: Likewise.
49141         * math/e_j1l.c: Likewise.
49142         * math/e_jnl.c: Likewise.
49143         * math/e_lgammal_r.c: Likewise.
49144         * math/e_log10l.c: Likewise.
49145         * math/e_log2l.c: Likewise.
49146         * math/e_logl.c: Likewise.
49147         * math/e_powl.c: Likewise.
49148         * math/e_sinhl.c: Likewise.
49149         * math/e_sqrtl.c: Likewise.
49150         * math/e_scalb.c: Completely rewritten and optimized.
49151         * math/e_scalbf.c: Likewise.
49152         * math/e_scalbl.c: Likewise.
49153         * math/w_acos.c: Likewise.
49154         * math/w_acosf.c: Likewise.
49155         * math/w_acosl.c: Likewise.
49156         * math/w_acosh.c: Likewise.
49157         * math/w_acoshf.c: Likewise.
49158         * math/w_acoshl.c: Likewise.
49159         * math/w_asin.c: Likewise.
49160         * math/w_asinf.c: Likewise.
49161         * math/w_asinl.c: Likewise.
49162         * math/w_atan2.c: Likewise.
49163         * math/w_atan2f.c: Likewise.
49164         * math/w_atan2l.c: Likewise.
49165         * math/w_atanh.c: Likewise.
49166         * math/w_atanhf.c: Likewise.
49167         * math/w_atanhl.c: Likewise.
49168         * math/w_exp10.c: Likewise.
49169         * math/w_exp10f.c: Likewise.
49170         * math/w_exp10l.c: Likewise.
49171         * math/w_fmod.c: Likewise.
49172         * math/w_fmodf.c: Likewise.
49173         * math/w_fmodl.c: Likewise.
49174         * math/w_j0.c: Likewise.
49175         * math/w_j0f.c: Likewise.
49176         * math/w_j0l.c: Likewise.
49177         * math/w_j1.c: Likewise.
49178         * math/w_j1f.c: Likewise.
49179         * math/w_j1l.c: Likewise.
49180         * math/w_jn.c: Likewise.
49181         * math/w_jnf.c: Likewise.
49182         * math/w_log.c: Likewise.
49183         * math/w_logf.c: Likewise.
49184         * math/w_logl.c: Likewise.
49185         * math/w_log10.c: Likewise.
49186         * math/w_log10f.c: Likewise.
49187         * math/w_log10l.c: Likewise.
49188         * math/w_log2.c: Likewise.
49189         * math/w_log2f.c: Likewise.
49190         * math/w_log2l.c: Likewise.
49191         * math/w_pow.c: Likewise.
49192         * math/w_powf.c: Likewise.
49193         * math/w_powl.c: Likewise.
49194         * math/w_remainder.c: Likewise.
49195         * math/w_remainderf.c: Likewise.
49196         * math/w_remainderl.c: Likewise.
49197         * math/w_scalb.c: Likewise.
49198         * math/w_scalbf.c: Likewise.
49199         * math/w_scalbl.c: Likewise.
49200         * math/w_sqrt.c: Likewise.
49201         * math/w_sqrtf.c: Likewise.
49202         * math/w_sqrtl.c: Likewise.
49203         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49204         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49205         used.
49206         * math/math_private.h: Declare __kernel_standard_f.
49207         * math/w_cosh.c: Remove cruft and optimize a bit.
49208         * math/w_coshf.c: Likewise.
49209         * math/w_coshl.c: Likewise.
49210         * math/w_exp2.c: Likewise.
49211         * math/w_exp2f.c: Likewise.
49212         * math/w_exp2l.c: Likewise.
49213         * math/w_hypot.c: Likewise.
49214         * math/w_hypotf.c: Likewise.
49215         * math/w_hypotl.c: Likewise.
49216         * math/w_lgamma.c: Likewise.
49217         * math/w_lgamma_r.c: Likewise.
49218         * math/w_lgammaf.c: Likewise.
49219         * math/w_lgammaf_r.c: Likewise.
49220         * math/w_lgammal.c: Likewise.
49221         * math/w_lgammal_r.c: Likewise.
49222         * math/w_sinh.c: Likewise.
49223         * math/w_sinhf.c: Likewise.
49224         * math/w_sinhl.c: Likewise.
49225         * math/w_tgamma.c: Likewise.
49226         * math/w_tgammaf.c: Likewise.
49227         * math/w_tgammal.c: Likewise.
49228         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49229         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49230         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49231         Minor optimizations.  Pretty printing.  Remove cruft.
49232         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49233         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49234         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49235         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49236         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49237         * sysdeps/i386/fpu/e_asin.S: Likewise.
49238         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49239         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49240         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49241         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49242         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49243         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49244         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49245         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49246         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49247         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49248         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49249         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49250         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49251         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49252         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49253         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49254         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49255         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49256         * sysdeps/i386/fpu/e_log.S: Likewise.
49257         * sysdeps/i386/fpu/e_log10.S: Likewise.
49258         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49259         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49260         * sysdeps/i386/fpu/e_log2.S: Likewise.
49261         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49262         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49263         * sysdeps/i386/fpu/e_logf.S: Likewise.
49264         * sysdeps/i386/fpu/e_logl.S: Likewise.
49265         * sysdeps/i386/fpu/e_pow.S: Likewise.
49266         * sysdeps/i386/fpu/e_powf.S: Likewise.
49267         * sysdeps/i386/fpu/e_powl.S: Likewise.
49268         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49269         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49270         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49271         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49272         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49273         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49274         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49275         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49276         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49277         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49278         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49279         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49280         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49281         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49282         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49283         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49284         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49285         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49286         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49287         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49288         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49289         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49290         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49291         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49292         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49293         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49294         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49295         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49296         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49297         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49298         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49299         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49300         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49301         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49302         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49303         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49304         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49305         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49306         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49307         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49308         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49309         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49310         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49311         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49312         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49313         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49314         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49315         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49316         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49317         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49318         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49319         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49320         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49321         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49322         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49323         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49324         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49325         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49326         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49327         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49328         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49329         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49330         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49331         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49332         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49333         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49334         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49335         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49336         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49337         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49338         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49339         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49340         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49341         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49342         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49343         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49344         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49345         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49346         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49347         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49348         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49349         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49350         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49351         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49352         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49353         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49354         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49355         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49356         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49357         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49358         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49359         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49360         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49361         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49362         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49363         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49364         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49365         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49366         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49367         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49368         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49369         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49370         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49371         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49372         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49373         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49374         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49375         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49376         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49377         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49378         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49379         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49380         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49381         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49382         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49383         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49384         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49385         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49386         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49387         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49388         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49389         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49390         (__isnanf): Likewise.
49391         (__isinf_ns): Likewise.
49392         (__isinf_nsf): Likewise.
49393         (__finite): Likewise.
49394         (__finitef): Likewise.
49395         (__ieee754_sqrt): Define as macro.
49396         (__ieee754_sqrtf): Define as macro.
49397         (__ieee754_sqrtl): Define as macro.
49398         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49399         inlined copy.
49400         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49401         __FINITE_MATH_ONLY__ consistent.
49402         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49403
49404 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49405
49406         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49407         of rawmemchr.
49408
49409         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49410
49411 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49412
49413         * po/ja.po: Update from translation team.
49414
49415 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49416
49417         * locale/programs/locarchive.c (prepare_address_space): New function.
49418         (create_archive, enlarge_archive, open_archive): Use it.
49419
49420         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49421         inside [SHARED], where it is used.
49422
49423         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49424
49425         * nss/getent.c (netgroup_keys): Remove unused variable.
49426         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49427
49428 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49429
49430         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49431         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49432         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49433         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49434         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49435         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49436         * math/Makefile (libm-calls): Add s_isinf_ns.
49437         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49438         * math/multc3.c: Likewise.
49439         * math/s_casin.c: Likewise.
49440         * math/s_casinf.c: Likewise.
49441         * math/s_casinl.c: Likewise.
49442         * math/s_ccos.c: Likewise.
49443         * math/s_ccosf.c: Likewise.
49444         * math/s_ccosl.c: Likewise.
49445         * math/s_ctan.c: Likewise.
49446         * math/s_ctanf.c: Likewise.
49447         * math/s_ctanh.c: Likewise.
49448         * math/s_ctanhf.c: Likewise.
49449         * math/s_ctanhl.c: Likewise.
49450         * math/s_ctanl.c: Likewise.
49451         * math/w_fmod.c: Likewise.
49452         * math/w_fmodf.c: Likewise.
49453         * math/w_fmodl.c: Likewise.
49454         * math/w_remainder.c: Likewise.
49455         * math/w_remainderf.c: Likewise.
49456         * math/w_remainderl.c: Likewise.
49457         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49458         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49459         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49460         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49461         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49462         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49463         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49464         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49465
49466         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49467         of the number.
49468         * stdio-common/printf_fphex.c: Likewise.
49469         * stdio-common/printf_size.c: Likewise.
49470
49471         * math/e_exp10.c: Include math_private.h using <...> not "...".
49472         * math/e_exp10f.c: Likewise.
49473         * math/e_exp10l.c: Likewise.
49474         * math/e_exp2l.c: Likewise.
49475         * math/e_j0l.c: Likewise.
49476         * math/e_j1l.c: Likewise.
49477         * math/e_jnl.c: Likewise.
49478         * math/e_lgammal_r.c: Likewise.
49479         * math/e_rem_pio2l.c: Likewise.
49480         * math/e_scalb.c: Likewise.
49481         * math/e_scalbf.c: Likewise.
49482         * math/e_scalbl.c: Likewise.
49483         * math/k_cosl.c: Likewise.
49484         * math/k_sinl.c: Likewise.
49485         * math/k_tanl.c: Likewise.
49486         * math/s_cacoshf.c: Likewise.
49487         * math/s_catan.c: Likewise.
49488         * math/s_catanf.c: Likewise.
49489         * math/s_catanh.c: Likewise.
49490         * math/s_catanhf.c: Likewise.
49491         * math/s_catanhl.c: Likewise.
49492         * math/s_catanl.c: Likewise.
49493         * math/s_ccosh.c: Likewise.
49494         * math/s_ccoshf.c: Likewise.
49495         * math/s_ccoshl.c: Likewise.
49496         * math/s_cexp.c: Likewise.
49497         * math/s_cexpf.c: Likewise.
49498         * math/s_cexpl.c: Likewise.
49499         * math/s_clog.c: Likewise.
49500         * math/s_clog10.c: Likewise.
49501         * math/s_clog10f.c: Likewise.
49502         * math/s_clog10l.c: Likewise.
49503         * math/s_clogf.c: Likewise.
49504         * math/s_clogl.c: Likewise.
49505         * math/s_csin.c: Likewise.
49506         * math/s_csinf.c: Likewise.
49507         * math/s_csinh.c: Likewise.
49508         * math/s_csinhf.c: Likewise.
49509         * math/s_csinhl.c: Likewise.
49510         * math/s_csinl.c: Likewise.
49511         * math/s_csqrt.c: Likewise.
49512         * math/s_csqrtf.c: Likewise.
49513         * math/s_csqrtl.c: Likewise.
49514         * math/s_ctan.c: Likewise.
49515         * math/s_ctanf.c: Likewise.
49516         * math/s_ctanh.c: Likewise.
49517         * math/s_ctanhf.c: Likewise.
49518         * math/s_ctanhl.c: Likewise.
49519         * math/s_ctanl.c: Likewise.
49520         * math/s_ldexp.c: Likewise.
49521         * math/s_ldexpf.c: Likewise.
49522         * math/s_ldexpl.c: Likewise.
49523         * math/s_significand.c: Likewise.
49524         * math/s_significandf.c: Likewise.
49525         * math/s_significandl.c: Likewise.
49526         * math/w_acos.c: Likewise.
49527         * math/w_acosf.c: Likewise.
49528         * math/w_acosh.c: Likewise.
49529         * math/w_acoshf.c: Likewise.
49530         * math/w_acoshl.c: Likewise.
49531         * math/w_acosl.c: Likewise.
49532         * math/w_asin.c: Likewise.
49533         * math/w_asinf.c: Likewise.
49534         * math/w_asinl.c: Likewise.
49535         * math/w_atan2.c: Likewise.
49536         * math/w_atan2f.c: Likewise.
49537         * math/w_atan2l.c: Likewise.
49538         * math/w_atanh.c: Likewise.
49539         * math/w_atanhf.c: Likewise.
49540         * math/w_atanhl.c: Likewise.
49541         * math/w_cosh.c: Likewise.
49542         * math/w_coshf.c: Likewise.
49543         * math/w_coshl.c: Likewise.
49544         * math/w_dremf.c: Likewise.
49545         * math/w_exp10.c: Likewise.
49546         * math/w_exp10f.c: Likewise.
49547         * math/w_exp10l.c: Likewise.
49548         * math/w_exp2.c: Likewise.
49549         * math/w_exp2f.c: Likewise.
49550         * math/w_fmod.c: Likewise.
49551         * math/w_fmodf.c: Likewise.
49552         * math/w_fmodl.c: Likewise.
49553         * math/w_hypot.c: Likewise.
49554         * math/w_hypotf.c: Likewise.
49555         * math/w_hypotl.c: Likewise.
49556         * math/w_j0.c: Likewise.
49557         * math/w_j0f.c: Likewise.
49558         * math/w_j0l.c: Likewise.
49559         * math/w_j1.c: Likewise.
49560         * math/w_j1f.c: Likewise.
49561         * math/w_j1l.c: Likewise.
49562         * math/w_jn.c: Likewise.
49563         * math/w_jnf.c: Likewise.
49564         * math/w_jnl.c: Likewise.
49565         * math/w_lgamma.c: Likewise.
49566         * math/w_lgamma_r.c: Likewise.
49567         * math/w_lgammaf.c: Likewise.
49568         * math/w_lgammaf_r.c: Likewise.
49569         * math/w_lgammal.c: Likewise.
49570         * math/w_lgammal_r.c: Likewise.
49571         * math/w_log.c: Likewise.
49572         * math/w_log10.c: Likewise.
49573         * math/w_log10f.c: Likewise.
49574         * math/w_log10l.c: Likewise.
49575         * math/w_log2.c: Likewise.
49576         * math/w_log2f.c: Likewise.
49577         * math/w_log2l.c: Likewise.
49578         * math/w_logf.c: Likewise.
49579         * math/w_logl.c: Likewise.
49580         * math/w_pow.c: Likewise.
49581         * math/w_powf.c: Likewise.
49582         * math/w_powl.c: Likewise.
49583         * math/w_remainder.c: Likewise.
49584         * math/w_remainderf.c: Likewise.
49585         * math/w_remainderl.c: Likewise.
49586         * math/w_scalb.c: Likewise.
49587         * math/w_scalbf.c: Likewise.
49588         * math/w_scalbl.c: Likewise.
49589         * math/w_sinh.c: Likewise.
49590         * math/w_sinhf.c: Likewise.
49591         * math/w_sinhl.c: Likewise.
49592         * math/w_sqrt.c: Likewise.
49593         * math/w_sqrtf.c: Likewise.
49594         * math/w_sqrtl.c: Likewise.
49595         * math/w_tgamma.c: Likewise.
49596         * math/w_tgammaf.c: Likewise.
49597         * math/w_tgammal.c: Likewise.
49598
49599         * po/ja.po: Update from translation team.
49600
49601 2011-09-29  Andreas Jaeger  <aj@suse.de>
49602
49603         [BZ #13179]
49604         * sunrpc/netname.c (netname2host): Fix logic.
49605
49606         [BZ #6779]
49607         [BZ #6783]
49608         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49609         correctly.
49610         * math/w_remainder.c (__remainder): Likewise.
49611         * math/w_remainderf.c (__remainderf): Likewise.
49612         * math/libm-test.inc (remainder_test): Add test cases.
49613
49614 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49615
49616         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49617         sdiv_qrnnd.
49618
49619 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49620
49621         * string/test-memcmp.c: Avoid unncessary #defines.
49622         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49623
49624 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49625
49626         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49627         Use new sse2 version for core i3 - i7 as it's faster
49628         than sse42 version.
49629         (bit_Prefer_PMINUB_for_stringop): New.
49630         * sysdeps/x86_64/rawmemchr.S: Update.
49631         Replace with faster SSE2 version.
49632         * sysdeps/x86_64/memrchr.S: New file.
49633         * sysdeps/x86_64/memchr.S: Update.
49634         Replace with faster SSE2 version.
49635
49636 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49637
49638         * elf/dl-load.c (lose): Add cast to avoid warning.
49639
49640 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49641
49642         * po/ca.po: Update from translation team.
49643
49644         * inet/getnetgrent_r.c: Hook up nscd.
49645         * nscd/Makefile (routines): Add nscd_netgroup.
49646         (nscd-modules): Add netgroupcache.
49647         (CFLAGS-netgroupcache.c): Define.
49648         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49649         (cache_search): Add const to second parameter.
49650         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49651         INNETGR.
49652         (dbs): Add netgrdb entry.
49653         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49654         (verify_persistent_db): Handle netgrdb.
49655         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49656         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49657         GETFDNETGR.
49658         (netgroup_response_header): Define.
49659         (innetgroup_response_header): Define.
49660         (datahead): Add netgroup_response_header and innetgroup_response_header
49661         elements.
49662         * nscd/nscd.conf: Add entries for netgroup cache.
49663         * nscd/nscd.h (dbtype): Add netgrdb.
49664         (_PATH_NSCD_NETGROUP_DB): Define.
49665         (netgroup_iov_disabled): Declare.
49666         (xmalloc, xcalloc, xrealloc): Move declarations here.
49667         (cache_search): Adjust prototype.
49668         Add netgroup-related prototypes.
49669         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49670         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49671         (__nscd_innetgr): Declare.
49672         * nscd/selinux.c (perms): Use access_vector_t as element type and
49673         add netgroup-related initializers.
49674         * nscd/netgroupcache.c: New file.
49675         * nscd/nscd_netgroup.c: New file.
49676         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49677         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49678         For four parameters use innetgr.
49679         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49680         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49681         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49682         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49683
49684         * nscd/connections.c (register_traced_file): Don't register file
49685         for disabled databases.
49686
49687 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49688
49689         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49690
49691         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49692         from tree and freeing node.
49693
49694 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49695
49696         * nss/nsswitch.c (__nss_database_lookup): Handle
49697         nss_parse_service_list out of memory case.
49698
49699 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49700
49701         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49702         out of memory case.
49703
49704 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49705
49706         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49707         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49708         pass it down.
49709         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49710         elf_machine_rela, elf_machine_lazy_rel.
49711         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49712         (ELF_DYNAMIC_DO_REL): Likewise.
49713         (ELF_DYNAMIC_DO_RELA): Likewise.
49714         (ELF_DYNAMIC_RELOCATE): Likewise.
49715         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49716         to ELF_DYNAMIC_DO_REL.
49717         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49718         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49719         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49720         elf_machine_rela.
49721         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49722         skip_ifunc, don't call ifunc function if non-zero.
49723         (elf_machine_rela): Likewise.
49724         (elf_machine_lazy_rel): Likewise.
49725         (elf_machine_lazy_rela): Likewise.
49726         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49727         (elf_machine_lazy_rel): Likewise.
49728         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49729         Likewise.
49730         (elf_machine_lazy_rel): Likewise.
49731         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49732         Likewise.
49733         (elf_machine_lazy_rel): Likewise.
49734         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49735         (elf_machine_lazy_rel): Likewise.
49736         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49737         (elf_machine_lazy_rel): Likewise.
49738         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49739         (elf_machine_lazy_rel): Likewise.
49740         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49741         (elf_machine_lazy_rel): Likewise.
49742         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49743         (elf_machine_lazy_rel): Likewise.
49744         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49745         (elf_machine_lazy_rel): Likewise.
49746
49747 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49748
49749         * nss/nss_files/files-init.c (_nss_files_init): Use static
49750         initialization for all the *_traced_file variables.
49751
49752 2011-09-28  Andreas Schwab  <schwab@redhat.com>
49753
49754         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49755
49756 2011-09-27  Roland McGrath  <roland@hack.frob.com>
49757
49758         [BZ #13226]
49759         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49760
49761 2011-09-27  Andreas Schwab  <schwab@redhat.com>
49762
49763         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49764         Reread the line before reparsing it.
49765
49766 2011-09-26  Andreas Schwab  <schwab@redhat.com>
49767
49768         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49769
49770 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
49771             Maxim Kuvyrkov  <maxim@codesourcery.com>
49772             Joseph Myers  <joseph@codesourcery.com>
49773
49774         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49775         if needed for __stack_chk_guard.
49776
49777 2011-09-19  Roland McGrath  <roland@hack.frob.com>
49778
49779         * sysdeps/posix/spawni.c (script_execute): Always define it.
49780         It will be optimized away if unused.
49781         (maybe_script_execute): New function.
49782         (__spawni): Call it.
49783
49784         * Makerules: Don't include tls.make.
49785         (config-tls): Always set to thread.
49786         * tls.make.c: File removed.
49787
49788 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
49789
49790         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49791         * config.make.in (CPPFLAGS-config): New substituted variable.
49792
49793 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49794
49795         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49796
49797         [BZ #13192]
49798         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49799         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49800
49801 2011-09-15  Roland McGrath  <roland@hack.frob.com>
49802
49803         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49804         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49805         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49806         (CALL_FAIL): Likewise.
49807         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49808         (CALL_FAIL): Macro removed.
49809         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49810
49811 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49812
49813         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49814         for __FINITE_MATH_ONLY__ == 1.
49815
49816 2011-09-15  Andreas Schwab  <schwab@redhat.com>
49817
49818         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49819         __ieee754_sqrt instead of sqrt.
49820         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49821         __ieee754_sqrtf instead of sqrtf.
49822         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49823         __floorf instead of floorf.
49824         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49825         __floorf, __truncf instead of floorf, truncf.
49826
49827 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
49828
49829         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49830
49831         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49832         __extern_always_inline.
49833         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49834         32-bit.
49835
49836 2011-09-14  Andreas Schwab  <schwab@redhat.com>
49837
49838         * elf/rtld.c (dl_main): Also relocate in dependency order when
49839         doing symbol dependency testing.
49840
49841 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
49842
49843         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49844         Always define `refsym'.
49845
49846 2011-09-13  Andreas Schwab  <schwab@redhat.com>
49847
49848         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49849         (__FD_ELT): Renamed from __FDELT.
49850         * misc/bits/select2.h (__FD_ELT): Likewise.
49851         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49852         __FD_MASK instead of __FDELT, __FDMASK.
49853         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49854         Likewise.
49855         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49856         Likewise.
49857
49858         * elf/Makefile (gen-ldd): Fix pattern.
49859
49860         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49861         (init_tls): Likewise.
49862
49863 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
49864
49865         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49866
49867 2011-09-12  Andreas Schwab  <schwab@redhat.com>
49868
49869         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49870         `struct cmsghdr *' instead of `void *'.
49871         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49872         Likewise.
49873
49874 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
49875
49876         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49877         if non-absolute.
49878         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49879         ldd_rewrite_script.
49880
49881 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
49882
49883         * configure.in: Remove --with-tls option.
49884         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49885         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49886         out in case it is missing.
49887         * sysdeps/ia64/elf/configure.in: Likewise.
49888         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49889         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49890         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49891         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49892         * sysdeps/sh/elf/configure.in: Likewise.
49893         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49894         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49895         * sysdeps/x86_64/elf/configure.in: Likewise.
49896         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49897         * sysdeps/mach/hurd/tls.h: Likewise.
49898
49899         [BZ #13067]
49900         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49901
49902         [BZ #13090]
49903         * configure.in: Fix use of AC_INIT.
49904
49905         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49906
49907 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
49908
49909         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49910         __set_errno.
49911         * malloc/hooks.c: Likewise.
49912
49913         [BZ #11929]
49914         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
49915         variables statically.
49916         (narenas): Initialize.
49917         (list_lock): Initialize.
49918         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
49919         initializtion of main_arena and list_lock.  Small cleanups.
49920         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49921         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
49922         Add initializers to main_arena and mp_.
49923         (malloc_state): Remove pagesize member.  Change all users to use
49924         GLRO(dl_pagesize).
49925
49926         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49927         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
49928         is always initialized.
49929
49930         * malloc/malloc.c: Removed unused configurations and dead code.
49931         * malloc/arena.c: Likewise.
49932         * malloc/hooks.c: Likewise.
49933         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49934
49935         * include/tls.h: Removed.  USE___THREAD must always be defined.
49936         * bits/libc-tsd.h: Don't handle !USE___THREAD.
49937         * elf/dl-libc.c: Likewise.
49938         * elf/dl-tsd.c: Likewise.
49939         * include/errno.h: Likewise.
49940         * include/netdb.h: Likewise.
49941         * include/resolv.h: Likewise.
49942         * inet/herrno-loc.c: Likewise.
49943         * inet/herrno.c: Likewise.
49944         * malloc/arena.c: Likewise.
49945         * malloc/hooks.c: Likewise.
49946         * malloc/malloc.c: Likewise.
49947         * resolv/res-state.c: Likewise.
49948         * resolv/res_libc.c: Likewise.
49949         * sysdeps/i386/dl-machine.h: Likewise.
49950         * sysdeps/ia64/dl-machine.h: Likewise.
49951         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49952         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49953         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49954         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49955         * sysdeps/sh/dl-machine.h: Likewise.
49956         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49957         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49958         * sysdeps/unix/i386/sysdep.S: Likewise.
49959         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49960         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49961         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49962         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49963         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49964         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49965         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49966         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49967         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49968         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49969         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49970         * sysdeps/x86_64/dl-machine.h: Likewise.
49971         * tls.make.c: Likewise.
49972
49973         * configure.in: Remove --with-__thread option.  Make tests for
49974         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49975         tls_model attribute fail if no support is available.  Remove
49976         USE_IN_LIBIO.
49977         * Makeconfig: Adjust for dropped configure option.  All features are
49978         now mandatory.
49979         * Makerules: Likewise.
49980         * Versions.def: Likewise.
49981         * argp/argp-fmtstream.c: Likewise.
49982         * argp/argp-fmtstream.h: Likewise.
49983         * argp/argp-help.c: Likewise.
49984         * assert/assert.c: Likewise.
49985         * config.h.in: Likewise.
49986         * config.make.in: Likewise.
49987         * configure: Likewise.
49988         * configure.in: Likewise.
49989         * csu/Versions: Likewise.
49990         * csu/init.c: Likewise.
49991         * elf/tst-audit2.c: Likewise.
49992         * elf/tst-tls10.c: Likewise.
49993         * elf/tst-tls10.h: Likewise.
49994         * elf/tst-tls11.c: Likewise.
49995         * elf/tst-tls12.c: Likewise.
49996         * elf/tst-tls14.c: Likewise.
49997         * elf/tst-tlsmod11.c: Likewise.
49998         * elf/tst-tlsmod12.c: Likewise.
49999         * elf/tst-tlsmod13.c: Likewise.
50000         * elf/tst-tlsmod13a.c: Likewise.
50001         * elf/tst-tlsmod14a.c: Likewise.
50002         * elf/tst-tlsmod15b.c: Likewise.
50003         * elf/tst-tlsmod16a.c: Likewise.
50004         * elf/tst-tlsmod16b.c: Likewise.
50005         * elf/tst-tlsmod7.c: Likewise.
50006         * elf/tst-tlsmod8.c: Likewise.
50007         * elf/tst-tlsmod9.c: Likewise.
50008         * gmon/gmon.c: Likewise.
50009         * grp/fgetgrent_r.c: Likewise.
50010         * grp/putgrent.c: Likewise.
50011         * hurd/fopenport.c: Likewise.
50012         * include/libc-symbols.h: Likewise.
50013         * include/tls.h: Likewise.
50014         * intl/gettextP.h: Likewise.
50015         * intl/loadinfo.h: Likewise.
50016         * locale/global-locale.c: Likewise.
50017         * locale/localeinfo.h: Likewise.
50018         * mach/devstream.c: Likewise.
50019         * malloc/arena.c: Likewise.
50020         * malloc/set-freeres.c: Likewise.
50021         * misc/err.c: Likewise.
50022         * misc/getttyent.c: Likewise.
50023         * misc/mntent_r.c: Likewise.
50024         * posix/getopt.c: Likewise.
50025         * posix/wordexp.c: Likewise.
50026         * pwd/fgetpwent_r.c: Likewise.
50027         * resolv/Versions: Likewise.
50028         * resolv/res_hconf.c: Likewise.
50029         * shadow/fgetspent_r.c: Likewise.
50030         * shadow/putspent.c: Likewise.
50031         * stdio-common/printf_fphex.c: Likewise.
50032         * stdio-common/tmpfile.c: Likewise.
50033         * stdlib/abort.c: Likewise.
50034         * stdlib/fmtmsg.c: Likewise.
50035         * sunrpc/auth_unix.c: Likewise.
50036         * sunrpc/clnt_perr.c: Likewise.
50037         * sunrpc/clnt_tcp.c: Likewise.
50038         * sunrpc/clnt_udp.c: Likewise.
50039         * sunrpc/clnt_unix.c: Likewise.
50040         * sunrpc/openchild.c: Likewise.
50041         * sunrpc/svc_simple.c: Likewise.
50042         * sunrpc/svc_tcp.c: Likewise.
50043         * sunrpc/svc_udp.c: Likewise.
50044         * sunrpc/svc_unix.c: Likewise.
50045         * sunrpc/xdr.c: Likewise.
50046         * sunrpc/xdr_array.c: Likewise.
50047         * sunrpc/xdr_rec.c: Likewise.
50048         * sunrpc/xdr_ref.c: Likewise.
50049         * sunrpc/xdr_stdio.c: Likewise.
50050
50051 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50052
50053         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50054
50055 2011-07-03  Andreas Jaeger  <aj@suse.de>
50056
50057         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50058         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50059         regenerate with gen-libm-tests.pl.
50060
50061 2010-05-12  Petr Baudis  <pasky@suse.cz>
50062
50063         [BZ #11589]
50064         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50065         around j0() zero points by switching to j1().
50066         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50067         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50069         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50070
50071 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50072
50073         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50074         instead of 0.
50075         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50076         instead of 0.
50077         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50078         Patch in part by Pavel Roskin <proski@gnu.org>.
50079
50080         [BZ #13138]
50081         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50082         realloc.
50083         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50084         Free memory block if necessary.
50085
50086         [BZ #12847]
50087         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50088         be NULL.  Don't lock in this case.
50089
50090 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50091
50092         * elf/elf.h (ELFOSABI_GNU): New macro.
50093         (ELFOSABI_LINUX): Define to that.
50094
50095 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50096
50097         * string/strncat.c (strncat): Undef the symbol in case it has been
50098         defined in bits/string.h.
50099
50100 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50101
50102         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50103
50104         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50105         link map.
50106
50107 2011-08-17  Andreas Jaeger  <aj@suse.de>
50108
50109         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50110
50111 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50112             Ian Lance Taylor  <iant@google.com>
50113
50114         * math/libm-test.inc (lround_test): New testcase.
50115         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50116
50117 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50118
50119         * Makefile: Remove support for automatic cvs check-ins.
50120         * Makerules: Likewise.
50121         * config.make.in: Likewise.
50122         * configure.in: Likewise.
50123         * intl/Makefile: Likewise.
50124         * locale/Makefile: Likewise.
50125         * po/Makefile: Likewise.
50126         * posix/Makefile: Likewise.
50127         * sysdeps/gnu/Makefile: Likewise.
50128         * sysdeps/mach/hurd/Makefile: Likewise.
50129         * sysdeps/sparc/sparc32/Makefile: Likewise.
50130
50131         [BZ #13118]
50132         * posix/Makefile (bug-regex32-ENV): Define.
50133         Patch by John Stanley <jpsinthemix@verizon.net>.
50134
50135         * misc/Makefile (headers): Add bits/select2.h.
50136         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50137         * misc/bits/select2.h: New file.
50138         * include/bits/select2.h: New file.
50139         * debug/Makefile (routines): Add fdelt_chk.
50140         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50141         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50142         FD_ISSET.
50143         * debug/fdelt_chk.c: New file.
50144
50145         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50146         * wcsmbs/test-wmemcmp.c: Likewise.
50147         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50148         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50149
50150 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50151
50152         * string/Makefile (strop-tests): Add memcmp.
50153         * string/test-wmemcmp.c: New file.
50154         * string/test-memcmp.c: Add wmemcmp support.
50155
50156 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50157
50158         [BZ #13153]
50159         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50160         2011-07-19 change.
50161
50162         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50163         garbage value in a __mach_port_mod_refs call in the cases of the
50164         task-self and thread-self ports.
50165
50166 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50167
50168         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50169
50170 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50171
50172         * elf/dl-load.c (lose): Check for non-null L.
50173
50174 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50175
50176         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50177
50178         * elf/dl-libc.c (dlerror_run): Pass back error code from
50179         dl_catch_error.
50180
50181         [BZ #13123]
50182         * elf/dl-load.c (lose): Free l_origin if it is valid.
50183
50184         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50185         names.
50186         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50187         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50188         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50189         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50190         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50191         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50192
50193 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50194
50195         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50196         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50197         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50198         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50199         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50200         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50201         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50202         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50203         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50204         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50205
50206 2011-08-15  Alan Modra  <amodra@gmail.com>
50207
50208         [BZ #13092]
50209         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50210         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50211         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50212         ppc_mcount to static-only-routines.
50213         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50214         __mcount_internal.
50215         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50216         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50217
50218 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50219
50220         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50221         for finite and infinity parameters.
50222
50223 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50224
50225         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50226         and add nop instructions for throughput optimization.
50227         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50228
50229 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50230
50231         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50232         aligned copy for power7 with vector-scalar instructions.
50233         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50234
50235 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50236
50237         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50238         AVX check.
50239
50240 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50241
50242         [BZ #13144]
50243         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50244         last change.
50245
50246 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50247
50248         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50249         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50250         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50251         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50252         clock_gettime.
50253
50254 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50255
50256         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50257         Forgot to demangle the pointer.
50258
50259         * sysdeps/i386/sysdep.h: Define atom_text_section.
50260         * sysdeps/x86_64/sysdep.h: Likewise.
50261         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50262         section with atom_text_section.
50263         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50264         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50265         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50266         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50267         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50268
50269         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50270         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50271         already be defined.  Change to take two parameters and don't assign
50272         result to variable.  Adjust all users.
50273         Define INTERNAL_GETTIME if not already defined.
50274         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50275         call.
50276         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50277         HAVE_CLOCK_GETTIME_VSYSCALL.
50278         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50279
50280         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50281         gettimeofday vsyscall, just use time.
50282
50283 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50284
50285         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50286         <errno.h>.
50287
50288 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50289
50290         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50291         syscall on x86-64.
50292         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50293         syscall.
50294         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50295         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50296         syscall if possible.
50297
50298 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50299
50300         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50301         e_ident.  Don't pass to find_mapsXX.
50302         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50303
50304 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50305
50306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50307         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50308         * sysdeps/x86_64/multiarch/strchr.S: Update.
50309         Check bit_slow_BSF bit.
50310         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50311         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50312         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50313
50314 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50315
50316         [BZ #13134]
50317         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50318         before glibc 2.15.
50319         (tryshell): Define.
50320         (__spawni): Change last parameter to be flag.  Test
50321         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50322         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50323         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50324         * posix/spawni.c: Likewise.
50325         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50326         * posix/spawnp.c: Likewise.  Change normal version to use
50327         SPAWN_XFLAGS_USE_PATH.
50328         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50329         SPAWN_XFLAGS_TRY_SHELL.
50330
50331         [BZ #13150]
50332         * posix/glob.h: Remove gcc 1.x support.
50333
50334         [BZ #13068]
50335         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50336
50337 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50338
50339         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50340         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50341         strrchr-sse2-bsf
50342         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50343         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50344         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50345         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50346         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50347         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50348
50349 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50350
50351         * sysdeps/x86_64/wcscmp.S: New file.
50352
50353         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50354         wcscmp-c wcscmp-sse2
50355         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50356         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50357         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50358         * wcsmbs/wcscmp.c: Allow renaming.
50359
50360 2011-09-05  David S. Miller  <davem@davemloft.net>
50361
50362         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50363         stack slot, rather than the struct return pointer slot.
50364         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50365         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50367         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50368
50369 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50370
50371         * po/ja.po: Update from translation team.
50372
50373         [BZ #13144]
50374         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50375         kernel in 64-bit binaries.
50376
50377 2011-09-01  David S. Miller  <davem@davemloft.net>
50378
50379         * elf/elf.h (HWCAP_SPARC_*): Move to..
50380         * sysdeps/sparc/sysdep.h: this new file and add new values.
50381         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50382         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50383         _DL_HWCAP_COUNT to 24.
50384         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50385         entries.
50386         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50387         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50388         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50389         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50390         instead of magic constants.
50391         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50392
50393 2011-08-31  David S. Miller  <davem@davemloft.net>
50394
50395         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50396         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50397         Reimplement to do errno handling inline.
50398         (SYSCALL_ERROR_HANDLER): New macro.
50399         (__SYSCALL_STRING): Do not do errno handling in asm.
50400         (__CLONE_SYSCALL_STRING): Delete.
50401         (__INTERNAL_SYSCALL_STRING): Delete.
50402         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50403         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50404         (PSEUDO): Reimplement to do errno handling inline.
50405         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50406         (SYSCALL_ERROR_HANDLER): New macro.
50407         (__SYSCALL_STRING): Do not do errno handling in asm.
50408         (__CLONE_SYSCALL_STRING): Delete.
50409         (__INTERNAL_SYSCALL_STRING): Delete.
50410         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50411         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50412         i386.
50413         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50414         (inline_syscall*): Add 'err' argument.
50415         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50416         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50417         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50418         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50419
50420         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50421         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50422
50423 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50424
50425         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50426
50427 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50428
50429         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50430         directive.
50431
50432 2011-08-24  David S. Miller  <davem@davemloft.net>
50433
50434         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50435
50436 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50437
50438         * elf/Makefile: Add rules to build and run unload8 test.
50439         * elf/unload8.c: New file.
50440         * elf/unload8mod1.c: New file.
50441         * elf/unload8mod1x.c: New file.
50442         * elf/unload8mod2.c: New file.
50443         * elf/unload8mod3.c: New file.
50444
50445         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50446         it wasn't used.
50447
50448 2011-08-23  David S. Miller  <davem@davemloft.net>
50449
50450         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50451         subtract stack bias.
50452         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50453         %sp not %fp in calculations.
50454         (_JMPBUF_UNWINDS_ADJ): Likewise.
50455
50456         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50457         (aio_suspend): Call it to force an exception region around the
50458         AIO_MISC_WAIT() invocation.
50459
50460 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50461
50462         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50463         backslash.
50464
50465 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50466
50467         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50468         protection macro.
50469         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50470         and <dl-machine.h>.
50471         (Elf64_FuncDesc): Remove.
50472
50473 2011-08-22  David S. Miller  <davem@davemloft.net>
50474
50475         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50476         sigaltstack check, add missing cfi directives.
50477         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50478         missing cfi directives, and sigaltstack handling.
50479
50480 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50481
50482         [BZ #11724]
50483         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50484         object is seen twice.
50485         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50486
50487         * elf/Makefile (distribute): Add tst-initorder2.c.
50488         (tests): Add tst-initorder2.
50489         (modules-names): Add tst-initorder2a tst-initorder2b
50490         tst-initorder2c tst-initorder2d.  Add rules to build them.
50491         ($(objpfx)tst-initorder2.out): New rule.
50492         * elf/tst-initorder2.c: New file.
50493         * elf/tst-initorder2.exp: New file.
50494
50495 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50496
50497         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50498
50499         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50500         dependencies back to end of function.
50501
50502         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50503         $(elfobjdir)/ld.so.
50504
50505 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50506
50507         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50508         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50509         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50510         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50511         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50512         of __vdso_gettimeofday.
50513         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50514         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50515         attribute_hidden.
50516         (_libc_vdso_platform_setup): Remove initialization of
50517         __vdso_gettimeofday and __vdso_time.
50518
50519 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50520
50521         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50522         and fgetc_unlocked.
50523         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50524         getc_unlocked.
50525
50526         * elf/dl-open.c (add_to_global): Report additions to the global scope
50527         for LD_DEBUG=scopes.
50528         (dl_open_worker): Also print scope of newly loaded dependencies.
50529         (_dl_show_scope): Indicate if there is no scope.
50530
50531         [BZ #13114]
50532         * stdio-common/Makefile (tests): Add bug24.
50533         * stdio-common/bug24.c: New file.
50534
50535 2011-08-19  Andreas Jaeger  <aj@suse.de>
50536
50537         [BZ #13114]
50538         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50539         non-existant file when using close-on-exec mode.
50540
50541 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50542
50543         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50544         the very first instruction.
50545
50546         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50547         the CFI state in the end.
50548         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50549         inclusion of dl-trampoline.h.
50550         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50551
50552 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50553
50554         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50555         expectations for long double.
50556
50557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50558         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50559
50560 2011-08-14  David S. Miller  <davem@davemloft.net>
50561
50562         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50563         artificual limit depends upon the system page size.
50564
50565 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50566
50567         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50568         * resolv/Makefile: Define CFLAGS-libresolv.
50569
50570 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50571
50572         * nss/makedb.c (compute_tables): Make variables used in nested
50573         function static.
50574
50575 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50576
50577         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50578         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50579         if buffer was too small.
50580
50581         * elf/pldd.c (main): Attach to all threads in the process.
50582         Rewrite /proc handling to use *at functions.
50583
50584 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50585
50586         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50587         specifies first scope to show.
50588         (dl_open_worker): Update callers.  Move printing scope of new
50589         object to before the relocation.
50590         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50591         * sysdeps/generic/ldsodefs.h: Update declaration.
50592
50593         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50594         string for the scope number.
50595
50596 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50597
50598         * nscd/servicescache.c (cache_addserv): Make sure written is always
50599         initialized.
50600
50601 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50602
50603         * sysdeps/i386/i486/bits/atomic.h
50604         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50605         statement expression, so as to suppress "set but not used" warning.
50606         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50607
50608         * string/strncat.c (STRNCAT): Use prototype definition.
50609
50610         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50611         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50612         -Iprograms here.
50613         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50614         (localedef-modules): Add localedef.
50615         (locale-modules): Add locale.
50616
50617         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50618         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50619         to avoid a warning.
50620
50621 2011-08-14  David S. Miller  <davem@davemloft.net>
50622
50623         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50624         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50625
50626 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50627
50628         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50629         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50630         * elf/rtld.c (dl_main): Set l_name of vDSO.
50631         Call _dl_show_scope when DL_DEBUG_SCOPES.
50632         (process_dl_debug): Recognize scopes flag and also set it for all.
50633         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50634         Declare _dl_show_scope.
50635
50636         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50637         (do_dlopen): Pass caller_dlopen to dl_open.
50638         (__libc_dlopen_mode): Initialize caller_dlopen.
50639
50640         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50641         of libc.  Make tolower call locale-independent.  Optimize a bit by
50642         using isdigit instead of isalnum.
50643         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50644
50645 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50646
50647         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50648         was a dependency or dynamically loaded.
50649
50650 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50651
50652         * intl/l10nflist.c: Allow architecture-specific pop function.
50653         * sysdeps/x86_64/l10nflist.c: New file.
50654
50655         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50656         classification.
50657
50658 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50659
50660         * include/dirent.h: Add libc_hidden_proto for scandirat and
50661         scandirat64.  Don't declare __scandirat64.
50662         * dirent/scandirat.c: Add libc_hidden_def.
50663         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50664         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50665
50666 2011-08-10  David S. Miller  <davem@davemloft.net>
50667
50668         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50669         enum.
50670         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50671         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50672         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50673
50674 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50675
50676         * Versions.def [libc]: Add GLIBC_2.15.
50677         * dirent/Makefile (routines): Add scandirat and scandirat64.
50678         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50679         GLIBC_2.15.
50680         * dirent/dirent.h: Declare scandirat and scandirat64.
50681         * dirent/scandirat.c: New file.
50682         * dirent/scandirat64.c: New file.
50683         * sysdeps/wordsize-64/scandirat.c: New file.
50684         * sysdeps/wordsize-64/scandirat64.c: New file.
50685         * dirent/opendir.c: Define opendirat.
50686         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50687         using scandirat.
50688         * dirent/scandir64.c: Adjust for scandir.c change.
50689         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50690         __scandirat64, and __scandir_cancel_handler.
50691         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50692         additional parameter and use openat instead of open (outside of ld.so).
50693         Add new __opendir as wrapper around __opendirat.
50694         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50695         here without requiring old scandirat implementation.
50696
50697 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50698
50699         * dirent/scandir.c (cancel_handler): Renamed to
50700         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50701         defined.  Adjust users.
50702         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50703         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50704
50705 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50706
50707         * string/test-string.h (IMPL): Use __STRING to expand name and then
50708         stringify it.
50709
50710         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50711         of cleanups.
50712
50713 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50714
50715         * string/Makefile: Update.
50716         (strop-tests): Append strncat.
50717         * string/test-wcscmp.c: New file.
50718         New comprehensive test for wcscmp.
50719         * string/test-strcmp.c: Update.
50720         (WIDE): New define.
50721
50722 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50723
50724         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50725         line.
50726
50727 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50728
50729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50730         encoding to ACE if AI_IDN.
50731
50732 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50733
50734         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50735         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50736
50737 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50738
50739         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50740         Fix overflow bug in strncat.
50741         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50742
50743         * string/test-strncat.c: Update.
50744         Add new tests for checking overflow bugs.
50745
50746 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50747
50748         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50749         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50750         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50751         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50752         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50753         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50754         * sysdeps/i386/i686/multiarch/strncat.S: New file.
50755         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50756         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50757
50758         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50759         (USE_AS_STRCAT): Define.
50760         Add strcat and strncat support.
50761         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50762
50763 2011-07-25  Andreas Schwab  <schwab@redhat.com>
50764
50765         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50766         __n bigger than INT_MAX+1.
50767         (__strncmp_g): Likewise.
50768
50769 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
50770
50771         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50772         * libio/stido.h: Likewise.
50773
50774         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50775         (AF_NFC): Define.
50776         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50777         (AF_NFC): Define.
50778
50779         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50780         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50781         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50782         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50783         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50784
50785         [BZ #13021]
50786         * scripts/test-installation.pl: Don't expect libnss_test1 to be
50787         installed.
50788
50789         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50790         typo.
50791         (_dl_x86_64_save_sse): Likewise.
50792
50793 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
50794
50795         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50796         OSXSAVE.
50797         (_dl_x86_64_save_sse): Likewise.
50798
50799         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50800
50801         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50802
50803 2011-07-21  Andreas Schwab  <schwab@redhat.com>
50804
50805         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50806         change.
50807         (_dl_x86_64_save_sse): Use correct AVX check.
50808
50809 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50810
50811         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50812         bug in strncpy/strncat.
50813         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50814
50815 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
50816
50817         * string/tester.c (test_strcat): Add tests for different alignments
50818         of source and destination.
50819         (test_strncat): Likewise.
50820
50821 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50822
50823         [BZ #12852]
50824         * posix/glob.c (glob): Check passed in values before using them in
50825         expressions to avoid some overflows.
50826         (glob_in_dir): Likewise.
50827
50828         [BZ #13007]
50829         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50830         check for AVX enablement so that we don't crash with old kernels and
50831         new hardware.
50832         * elf/tst-audit4.c: Add same checks here.
50833         * elf/tst-audit6.c: Likewise.
50834
50835         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50836
50837 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
50838
50839         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50840
50841 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50842
50843         * po/cs.po: Update from translation team.
50844         * po/bg.po: Likewise.
50845
50846 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
50847
50848         * misc/sys/cdefs.h: Add support for const attribute.
50849         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50850         to gnu_dev_{major,minor,makedev} functions.
50851
50852 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
50853
50854         * intl/dcigettext.c (get_output_charset): Add missing bracket.
50855
50856 2011-07-20  Andreas Schwab  <schwab@redhat.com>
50857
50858         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50859         strlen results.
50860
50861 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50862
50863         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50864         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50865         register in order to avoid conflicts with the soft frame pointer
50866         being held in r11 when necessary.
50867         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50868         (INTERNAL_VSYSCALL_NCS): Likewise.
50869
50870 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
50871
50872         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50873         * elf/dl-fini.c (_dl_fini): Adjust caller.
50874         * elf/dl-close.c (_dl_close_worker): Likewise.
50875         * sysdeps/generic/ldsodefs.h: Adjust declaration.
50876
50877 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50878
50879         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50880         "aux_cache->nlibs < 0".
50881
50882         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50883         in the reload-count case.
50884
50885 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50886
50887         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50888         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50889         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50890         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50891         * sysdeps/x86_64/multiarch/strcat.S: New file.
50892         * sysdeps/x86_64/multiarch/strncat.S: New file.
50893         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50894         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50895         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50896         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50897         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50898         (USE_AS_STRCAT): Define.
50899         Add strcat and strncat support.
50900         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50901         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50902         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50903         * string/strncat.c: Update.
50904         (USE_AS_STRNCAT): Define.
50905         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50906         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50907         and i7.
50908         * sysdeps/x86_64/multiarch/init-arch.h
50909         (bit_Prefer_PMINUB_for_stringop): New.
50910         (index_Prefer_PMINUB_for_stringop): Likewise.
50911         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50912         bit_Prefer_PMINUB_for_stringop.
50913
50914 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50915
50916         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50917         buffer64.
50918         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50919         of casting of buffer.
50920         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50921         buffer32 and buffer64.
50922         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50923         writes instead of casting of buffer.
50924         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50925         buffer32.
50926         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50927         casting of buffer.
50928
50929 2011-07-19  Andreas Schwab  <schwab@redhat.com>
50930
50931         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50932
50933 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50934
50935         * nscd/nscd.c (termination_handler): Don't do anything for a database
50936         if it has not yet been initialized.
50937
50938 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50939
50940         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50941
50942 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50943
50944         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50945
50946 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50947
50948         * po/nl.po: Update from translation team.
50949         * po/sv.po: Likewise.
50950
50951 2011-07-16  Roland McGrath  <roland@hack.frob.com>
50952
50953         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50954         now disallowed by GCC.
50955
50956         * configure.in (use-default-link): Default to yes if a test -shared
50957         link meets our qualifications.
50958         * configure: Regenerated.
50959
50960         * config.make.in (output-format): New variable.
50961         * configure.in: Check for ld --print-output-format support.
50962         * configure: Regenerated.
50963         * Makerules ($(common-objpfx)format.lds)
50964         [$(output-format) != unknown]: Just use $(output-format),
50965         instead of the linker-script munging.
50966
50967 2011-07-14  Roland McGrath  <roland@hack.frob.com>
50968
50969         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50970         of $(common-objpfx)shlib.lds.
50971         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50972
50973         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50974         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50975
50976         * configure.in (-z relro check): Adjust test code to add a large
50977         writable data section after it.
50978         * configure: Regenerated.
50979
50980 2011-07-11  Roland McGrath  <roland@hack.frob.com>
50981
50982         * configure.in (-z relro check): Fix test code to make the variable
50983         truly const.
50984         * configure: Regenerated.
50985
50986 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
50987
50988         * nscd/nscd.h (struct traced_file): Define.
50989         (struct database_dyn): Remove inotify_descr, reset_res, and filename
50990         elements.  Add traced_files.
50991         (inotify_fd): Declare.
50992         (register_traced_file): Declare.
50993         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50994         (inotify_fd): Export.
50995         (resolv_conf_descr): Remove.
50996         (nscd_init): Move inotify descriptor creation to main.
50997         Don't register files for notification here.
50998         (register_traced_file): New function.
50999         (invalidate_cache): Don't use reset_res to determine whether to call
51000         res_init, go through the list of registered files.
51001         (main_loop_poll): The inotify descriptors are now stored in the
51002         structures for the traced files.
51003         (main_loop_epoll): Likewise
51004         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51005         to __nss_disable_nscd.
51006         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51007         for a database anymore.  Check the records for all the registered
51008         files instead.
51009         * nss/Makefile (libnss_files-routines): Add files-init.
51010         (libnss_db-routines): Add db-init.
51011         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51012         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51013         * nss/nss_db/db-init.c: New file.
51014         * nss/nss_files/files-init.c: New file.
51015         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51016         __nss_lookup_function.
51017         (__nss_lookup_function): Call nss_load_library.
51018         (nss_load_all_libraries): New function.
51019         (__nss_disable_nscd): Take parameter with callback function for files
51020         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51021         used for the cached services.
51022         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51023         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51024         options for features to all the files in nscd.
51025
51026         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51027
51028 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51029
51030         * csu/elf-init.c (__libc_csu_init): Comment typo.
51031
51032 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51033
51034         * po/pl.po: Update from translation team.
51035         * po/ja.po: Likewise.
51036         * po/ru.po: Likewise.
51037         * po/ko.po: Likewise.
51038         * po/fr.po: Likewise.
51039
51040 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51041
51042         * configure.in (.ctors/.dtors header and trailer check):
51043         Use an empirical test on a built program.
51044         * configure: Regenerated.
51045
51046         * configure.in (-z relro check): Use an empirical test on a built DSO.
51047         Detect, but do not require, on ia64.
51048         * configure: Regenerated.
51049
51050         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51051         Update tests that use readelf to use $READELF instead.
51052         * configure: Regenerated.
51053
51054 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51055
51056         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51057         if the result is not used.
51058
51059 2011-07-05  Andreas Jaeger  <aj@suse.de>
51060
51061         [BZ#9696]
51062         * stdlib/tst-strtod.c: Add testcase.
51063
51064 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51065
51066         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51067         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51068         The latter has a higher limit.  Take additional parameter to pass to
51069         the new function.
51070         (__pathconf): Pass file to __statfs_link_max.
51071         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51072         __statfs_link_max.
51073         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51074         __statfs_link_max.
51075
51076         [BZ #12868]
51077         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51078         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51079         Handle Lustre.
51080         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51081         (__statfs_filesize_max): Likewise.
51082         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51083
51084 2011-07-05  Andreas Jaeger  <aj@suse.de>
51085
51086         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51087
51088 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51089
51090         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51091         `status' variable.
51092         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51093         Likewise.
51094
51095 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51096
51097         * Makefile (strop-tests): Add strncat.
51098         * string/test-strncat.c: New file.
51099
51100 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51101
51102         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51103
51104 2011-06-21  Andreas Jaeger  <aj@suse.de>
51105
51106         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51107         Copy rule from iconvdata/Makefile.
51108
51109 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51110
51111         [BZ #12922]
51112         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51113         but no long options are defined, just return 'W'.
51114
51115 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51116
51117         [BZ #9696]
51118         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51119
51120 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51121
51122         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51123         netgroups to read.
51124         (innetgr): Likewise.
51125
51126 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51127
51128         * config.make.in (install_root): Default to $(DESTDIR).
51129
51130 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51131
51132         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51133
51134 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51135
51136         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51137
51138         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51139         containing directory rather than embedding absolute directory names.
51140
51141         * scripts/check-local-headers.sh: Rewritten using awk.
51142         Match by word, not by line.  Print error messages for matches.
51143         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51144
51145         * Makerules [shlib-lds-flags empty]:
51146         ($(common-objpfx)libc_pic.opts): New target.
51147         ($(common-objpfx)libc_pic.os.clean): New target.
51148         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51149
51150         * config.make.in (OBJCOPY): New variable.
51151         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51152         * configure: Regenerated.
51153
51154         * config.make.in (use-default-link): New variable.
51155         * configure.in (use_default_link): Grok --with-default-link to set it.
51156         * configure: Regenerated.
51157         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51158         (shlib-lds, shlib-lds-flags): Define to empty.
51159
51160         * Makerules (shlib-lds): New variable.
51161         (shlib-lds-flags): New variable.
51162         (build-shlib, build-moduile, build-module-asneeded): Use it.
51163         ($(common-objpfx)libc.so): Use $(shlib-lds).
51164         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51165         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51166
51167         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51168         DT_FLAGS/DT_FLAGS_1 with zero flags.
51169
51170         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51171         linker script munging.
51172
51173 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51174
51175         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51176         as 128-bit value.
51177         * crypt/sha512.c (sha512_process_block): Perform total addition using
51178         128-bit if possible.
51179         (__sha512_finish_ctx): Likewise.
51180         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51181         as 64-bit value.
51182         * crypt/sha256.c (SWAP64): Define.
51183         (sha256_process_block): Perform total addition using 64-bit if
51184         possible.
51185         (__sha256_finish_ctx): Likewise.
51186
51187 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51188
51189         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51191         * nscd/hstcache.c (cache_addhst): Likewise.
51192         * nscd/grpcache.c (cache_addgr): Likewise.
51193         * nscd/aicache.c (addhstaiX): Likewise
51194         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51195
51196 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51197
51198         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51199         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51200         * nscd/hstcache.c (cache_addhst): Likewise.
51201         * nscd/grpcache.c (cache_addgr): Likewise.
51202         * nscd/aicache.c (addhstaiX): Likewise
51203
51204 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51205
51206         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51207         domain only when needed.
51208
51209 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51210
51211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51212         is always restored.
51213
51214 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51215
51216         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51217         are re-adding the entry.
51218         * nscd/servicescache.c (cache_addserv): Likewise.
51219
51220 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51221
51222         * sysdeps/generic/dl-irel.h: fix protection against multiple
51223         inclusions.
51224         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51225
51226 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51227
51228         [BZ #12935]
51229         * malloc/memusage.sh: Fix quoting in message.
51230         * debug/xtrace.sh: Likewise.
51231
51232         * configure.in: Remove support for --experimental-malloc option, make
51233         it the default.
51234         * config.make.in: Likewise.
51235         * malloc/Makefile: Likewise.
51236
51237 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51238
51239         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51240         two-byte characters.
51241
51242 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51243
51244         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51245         AC_CACHE_CHECK invocation.
51246         * configure: Regenerated.
51247
51248         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51249
51250 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51251
51252         [BZ #12350]
51253         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51254         bit from old_res_options.
51255
51256         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51257
51258         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51259         value type for setfct.
51260
51261 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51262
51263         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51264         __gettimeofday instead of gettimeofday.
51265
51266 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51267
51268         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51269
51270 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51271
51272         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51273
51274         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51275         info.
51276
51277 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51278
51279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51280         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51281         strcpy-sse2-unaligned strncpy-sse2-unaligned
51282         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51283         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51284         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51285         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51286         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51287         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51288         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51289         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51290         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51291         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51292         (STRCPY): Support SSE2 and SSSE3 versions.
51293
51294 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51295
51296         [BZ #12874]
51297         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51298         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51299         kernels which artificially limit size of requests.
51300
51301 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51302
51303         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51304         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51305         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51306         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51307         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51308         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51309         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51310         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51311         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51312         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51313         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51314         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51315         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51316         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51317         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51318         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51319         Enable unaligned load optimization for Intel Core i3, i5 and i7
51320         processors.
51321         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51322         Define.
51323         (index_Fast_Unaligned_Load): Define.
51324         (HAS_FAST_UNALIGNED_LOAD): Define.
51325
51326 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51327
51328         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51329
51330 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51331
51332         [BZ #12907]
51333         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51334         until it is clear that the information is realy needed.
51335         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51336
51337 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51338
51339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51340
51341 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51342
51343         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51344         /sys/devices/system/cpu/online if it is usable.
51345
51346         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51347         reading the information from the /proc filesystem to once a second.
51348
51349 2011-06-21  Andreas Jaeger  <aj@suse.de>
51350
51351         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51352         NULL after inclusion of kernel headers.
51353
51354 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51355
51356         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51357         calls to internal_setent.
51358
51359         [BZ #12885]
51360         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51361         addresses using gethostbyname4_r ignore IPv4 addresses.
51362
51363         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51364         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51365
51366         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51367
51368 2011-06-20  David S. Miller  <davem@davemloft.net>
51369
51370         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51371         inclusions.
51372         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51373
51374         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51375         (elf_irel): Use it.
51376         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51377         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51378         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51379         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51380         * sysdeps/x86_64/dl-irel.h: Likewise.
51381
51382         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51383         * elf/dl-sym.c: Likewise.
51384
51385 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51386
51387         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51388         need to dereference resplen2.
51389
51390 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51391
51392         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51393
51394 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51395
51396         * Makeconfig: Define vardbdir and inst_vardbdir.
51397         * nss/Makefile: Add rules to install db-Makefile.
51398
51399         * nss/nss_db/db-XXX.c: Cleanup.
51400
51401         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51402         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51403         GLIBC_PRIVATE.
51404         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51405         * nss/makedb.c: Implement -g option to specify that value strings
51406         are generated and should not be added to table iterated over for
51407         get*ent calls.
51408         * nss/nss_db/db-initgroups.c: New file.
51409
51410         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51411         interface.
51412
51413         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51414         (internal_getgrouplist): Adjust to name change.
51415         Update use_initgroups_entry if this is not the first call.
51416         * nss/databases.def: Add initgroups entry.
51417
51418         * nss/makedb.c (compute_tables): Check result of multiple hash table
51419         sizes to minimize maximum chain length.
51420
51421 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51422
51423         * Versions.def: Add entry for libnss_db.
51424         * shlib-versions: Likewise.
51425         * nss/Makefile: Add rules to build libnss_db.
51426         * nss/Versions: Add libnss_db information.  Organize libnss_files
51427         entries better.
51428         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51429         makedb progra.  Some minor improvements to generate smaller files.
51430         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51431         here from...
51432         * nss/makedb.c: ...here.
51433         Improve database format to be smaller and require less memory at
51434         runtime.
51435         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51436         db anymore.
51437         * nss/nss_db/db-netgrp.c: Likewise.
51438         * nss/nss_db/db-open.c: Likewise.
51439         * nss/nss_files/flies-XXX.x: Adjust comments.
51440         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51441         * nss/nss_files/files-grp.c: Likewise.
51442         * nss/nss_files/files-hosts.c: Likewise.
51443         * nss/nss_files/files-network.c: Likewise.
51444         * nss/nss_files/files-proto.c: Likewise.
51445         * nss/nss_files/files-pwd.c: Likewise.
51446         * nss/nss_files/files-rpc.c: Likewise.
51447         * nss/nss_files/files-service.c: Likewise.
51448         * nss/nss_files/files-sgrp.c: Likewise.
51449         * nss/nss_files/files-spwd.c: Likewise.
51450         * nss/nss_db/db-alias.c: Removed.
51451         * nss/nss_db/dummy-db.h: Removed.
51452
51453 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51454
51455         * nss/makedb.c: Rewritten to not use database library.
51456         * nss/Makefile: Update to build new makedb program.
51457
51458 2011-06-14  Andreas Jaeger  <aj@suse.de>
51459
51460         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51461         memset declaration.
51462
51463 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51464
51465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51466         tmpbuf.
51467
51468 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51469
51470         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51471         * elf/Makefile ($(objpfx)ld.so): Likewise.
51472
51473         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51474         Don't list ld.so twice in dependencies.
51475
51476         * posix/bug-regex31.c: Include <stdlib.h>.
51477
51478         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51479
51480         * nis/nss_compat/compat-spwd.c
51481         (getspent_next_nss_netgr): Remove unused variable.
51482         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51483
51484         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51485         nonmembers" output to use the right array.
51486
51487         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51488
51489         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51490
51491         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51492         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51493         * catgets/gencat.c (read_input_file): Likewise.
51494         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51495
51496         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51497         variable definition inside #if's controlling its use.
51498
51499         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51500
51501         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51502
51503         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51504
51505         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51506         unreachable code.
51507
51508         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51509
51510         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51511         * configure: Regenerated.
51512
51513         * Makerules: Revert last change.
51514         * elf/Makefile: Likewise.
51515
51516 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51517
51518         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51519         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51520         (reloc-link): Likewise.
51521
51522 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51523
51524         * elf/Makefile: Add rules to build pldd.
51525         * elf/pldd.c: New file.
51526         * elf/pldd-xx.c: New file.
51527
51528 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51529
51530         * version.h: Update for 2.15 development version.
51531
51532 2011-06-07  David S. Miller  <davem@davemloft.net>
51533
51534         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51535         ifuncs.
51536         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51537         elf_machine_lazy_rel): Likewise.
51538         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51539         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51540         elf_machine_lazy_rel): Likewise.
51541         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51542         dl_hwcap via passed in argument.
51543         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51544         Likewise.
51545
51546 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51547
51548         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51549
51550 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51551
51552         [BZ #12849]
51553         * manual/fdl-1.1.texi: New file, verbatim from:
51554         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51555         * manual/lgpl-2.1.texi: New file, verbatim from:
51556         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51557         * manual/Makefile (licenses): New variable, list those new file names.
51558         (texis): Use it.
51559         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51560
51561         * manual/fdl.texi: File removed.
51562         * manual/lesser.texi: File removed.
51563         * manual/libc.texinfo (Copying, Documentation License):
51564         Use new @include file names, put @appendix directive before @include.
51565
51566 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51567
51568         [BZ #12841]
51569         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51570         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51571         (mq_open): Add __NTH.
51572
51573 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51574
51575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51576         Assume Intel Core i3/i5/i7 processor if AVX is available.
51577
51578 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51579
51580         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51581         typo.
51582
51583 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51584
51585         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51586         memory.  Use alloca_account.  Fix memory leak when retrying.
51587
51588 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51589
51590         * version.h (RELEASE): Bump for 2.14 release.
51591         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51592
51593         * config.make.in (RANLIB): Remove entry.
51594
51595 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51596
51597         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51598         (libc.pot): Work around missing support for .ksh extension in xgettext.
51599
51600         [BZ #12684]
51601         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51602         if both request failed.
51603         (send_dg): In case of server errors clear resplen or *resplen2.
51604
51605         [BZ #12454]
51606         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51607         when there are multiple maps.
51608         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51609         (_dl_fini): Remove test here.
51610
51611         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51612
51613 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51614
51615         [BZ #12350]
51616         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51617         bit from old_res_options.
51618         (gaih_inet): Likewise.
51619
51620         [BZ #11099]
51621         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51622         as signed.
51623
51624         * resolv/res_init.c (res_setoptions): Make the code more compact.
51625
51626         [BZ #11558]
51627         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51628         set RES_USEVC.
51629
51630         [BZ #11634]
51631         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51632
51633         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51634
51635         [BZ #11781]
51636         * malloc/malloc.h: Declare malloc hook variables as volatile.
51637
51638         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51639         in last patch.
51640
51641         [BZ #11799]
51642         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51643         raise in the comment.
51644         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51645         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51646         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51647
51648 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51649
51650         [BZ #12811]
51651         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51652         grow the buffers more if it already has to be sufficient.
51653         (build_wcs_upper_buffer): Likewise.
51654         * posix/regexec.c (check_matching): Likewise.
51655         (clean_state_log_if_needed): Likewise.
51656         (extend_buffers): Don't enlarge buffers beyond size of the input
51657         buffer.
51658         Patches mostly by Emil Wojak <emil@wojak.eu>.
51659         * posix/bug-regex32.c: New file.
51660         * posix/Makefile (tests): Add bug-regex32.
51661
51662         * locale/findlocale.c (_nl_find_locale): Return right away if
51663         _nl_explode_name failed.
51664         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51665
51666         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51667
51668         * debug/xtrace.sh: Unify messages.
51669         * malloc/memusage.sh: Likewise.
51670
51671         [BZ #12813]
51672         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51673         time symbol from vDSO.  Substitute with vsyscall if not available.
51674         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51675         __vdso_time.
51676
51677         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51678         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51679         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51680         Add sendmmsg and internal_sendmmsg.
51681         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51682         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51683         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51684
51685         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51686         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51687         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51688
51689 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51690
51691         [BZ #12813]
51692         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51693         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51694         available.
51695         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51696         __vdso_getcpu.
51697
51698         [BZ #12814]
51699         * iconvdata/Makefile (tests): Add bug-iconv9.
51700         * iconvdata/bug-iconv9.c: New file.
51701
51702 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51703
51704         [BZ #12814]
51705         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51706
51707 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51708
51709         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51710         (struct user_regs_struct): Change intcs field back to cs.
51711
51712 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51713
51714         * po/ja.po: Update from translation team.
51715
51716 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51717
51718         [BZ #12795]
51719         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51720         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51721
51722 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51723
51724         * stdlib/longlong.h: Update from GCC.
51725
51726 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51727
51728         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51729         parameter name.
51730         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51731         Add parameter name.
51732         (__sysconf): Pass it down.
51733
51734 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51735
51736         [BZ #12671]
51737         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51738         some situations.
51739         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51740         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51741         add in in __libc_use_alloca calls.  Adjust callers.
51742         (glob): Use malloc in some situations.
51743
51744         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51745         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51746         pltexit.
51747
51748 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51749
51750         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51751         and CLOCK_BOOTTIME_ALARM.
51752
51753         [BZ #12782]
51754         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51755         is returned.
51756
51757         * string/_strerror.c (__strerror_r): Print negative errors as signed
51758         numbers.
51759
51760         [BZ #12777]
51761         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51762         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51763         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51764
51765         * configure.in: Fix typo in redirection and correct removal of test
51766         files in two cases.
51767
51768         [BZ #12788]
51769         * locale/setlocale.c (new_composite_name): Fix test to check for
51770         identical name of all categories.
51771
51772         [BZ #12792]
51773         * libio/filedoalloc.c (local_isatty): New function.
51774         (_IO_file_doallocate): Use local_isatty.
51775         * stdio-common/perror.c (perror): In case a new stream is used
51776         forward the stream error.
51777         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51778         error flag.
51779
51780 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
51781
51782         [BZ #11869]
51783         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51784         alloca.
51785         * include/alloca.h (extend_alloca_account): Define.
51786
51787         [BZ #11857]
51788         * posix/regex.h: Fix comments with documentation of user-accessible
51789         fields after compilation and describe correct free'ing of pattern
51790         after re_compile_pattern.
51791         Patch by Reuben Thomas <rrt@sc3d.org>.
51792
51793 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
51794
51795         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51796         and -mno-altivec to prevent the compiler from using Altivec and/or
51797         VSX instructions when the corresponding registers are not available.
51798
51799 2011-05-19  Andreas Schwab  <schwab@redhat.com>
51800
51801         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51802
51803 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
51804
51805         * libio/freopen.c (freopen): Use __dup2, not dup2.
51806         * libio/freopen64.c (freopen64): Likewise.
51807
51808 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51809
51810         [BZ #12775]
51811         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51812         * math/Makefile (tests): Add test-powl.
51813         (CFLAGS-test-powl.c): Define.
51814         * math/test-powl.c: New file.
51815
51816 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51817
51818         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51819
51820 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
51821
51822         [BZ #11837]
51823         * iconvdata/gb18030.c: Update to GB18020-2005.
51824
51825 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
51826
51827         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51828         RE_SYNTAX_POSIX_AWK): Update to match recent development.
51829         Patch by Aharon Robbins <arnold@skeeve.com>.
51830
51831         [BZ #11892]
51832         * stdlib/putenv.c (putenv): Don't always create copy of the variable
51833         on the stack.
51834
51835         [BZ #11895]
51836         * misc/pselect.c (__pselect): Handle timeout value errors hidden
51837         through underflows.
51838
51839         [BZ #12766]
51840         * misc/error.c (error_at_line): Ensure file_name and old_file_name
51841         point to strings before performing equality test for error_one_per_line
51842         mode.
51843
51844         [BZ #11697]
51845         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51846
51847         [BZ #11820]
51848         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51849         (struct user_fpregs_struct): Avoid __uint*_t types.
51850
51851         [BZ #6420]
51852         * malloc/mtrace.c (tr_where): Add additional parameter to point to
51853         symbol info.  Use it instead of calling _dl_addr locally.
51854         (lock_and_info): New function.
51855         (tr_freehook): Call lock_and_info and pass symbol info as additional
51856         parameter to tr_where.
51857         (tr_mallochook): Likewise.
51858         (tr_reallochook): Likewise.
51859         (tr_memalignhook): Likewise.
51860
51861         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
51862         used and couldn't be at all thread-safe.
51863
51864 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
51865
51866         * libio/freopen.c (freopen): Don't close old file descriptor
51867         before the new one is opened.  Instead dup the new file descriptor
51868         to the old one after the new stream is created.
51869         * libio/freopen64.c (freopen64): Likewise.
51870         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51871         * libio/fileops.c (_IO_new_file_close_it): Handle new
51872         _IO_FLAGS2_NOCLOSE flag.
51873         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51874         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51875         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51876         _IO_FLAGS2_NOCLOSE flag.
51877         * include/unistd.h: Add hidden_proto for dup3.
51878         Define __have_dup3.
51879         * io/dup3.c: Define hidden symbol.
51880         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51881
51882         [BZ #7101]
51883         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51884         when an incomplete long option is used.
51885         * posix/tst-getopt_long1.c: New file.
51886         * posix/Makefile (tests): Add tst-getopt_long1.
51887
51888         [BZ #10138]
51889         * scripts/config.guess: Update from autoconf-2.68.
51890         * scripts/config.sub: Likewise.
51891
51892         [BZ #10157]
51893         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51894         tests into ...
51895         (has_cpuclock): ...this.  New function.
51896         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51897         macro here based on has_cpuclock code.
51898
51899         [BZ #10149]
51900         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51901         First byte (not low byte) is now always NUL.
51902         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51903
51904         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51905         Use non-cancelable interfaces.
51906
51907         [BZ #9809]
51908         * locale/iso-639.def: Add entry for Sorani.
51909
51910         [BZ #11901]
51911         * include/stdlib.h: Move include protection to the right place.
51912         Define abort_msg_s.  Declare __abort_msg with it.
51913         * stdlib/abort.c (__abort_msg): Adjust type.
51914         * assert/assert.c (__assert_fail_base): New function.  Majority
51915         of code from __assert_fail.  Allocate memory for __abort_msg with
51916         mmap.
51917         (__assert_fail): Now call __assert_fail_base.
51918         * assert/assert-perr.c: Remove bulk of implementation.  Use
51919         __assert_fail_base.
51920         * include/assert.hL Declare __assert_fail_base.
51921         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51922         mmap.
51923         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51924
51925 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
51926
51927         [BZ #11952]
51928         [BZ #12453]
51929         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51930         until all modules are registered in the DTV.
51931         * elf/Makefile: Add rules to build and run tst-tls19.
51932         * elf/tst-tls19.c: New file.
51933         * elf/tst-tls19mod1.c: New file.
51934         * elf/tst-tls19mod2.c: New file.
51935         * elf/tst-tls19mod3.c: New file.
51936         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51937
51938         [BZ #12083]
51939         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51940         correctly.
51941
51942         [BZ #12601]
51943         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51944         two-byte sequence errors.
51945         * iconvdata/Makefile (tests): Add bug-iconv8.
51946         * iconvdata/bug-iconv8.c: New file.
51947
51948         [BZ #12626]
51949         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51950         buf2 definition.
51951
51952         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51953
51954         [BZ #12432]
51955         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51956         (dummy_getcfa): New function.
51957         (init): Get _Unwind_GetCFA address, use dummy if not found.
51958         (backtrace_helper): In recursion check, also check whether CFA changes.
51959         (__backtrace): Completely initialize arg.
51960
51961         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51962         storing incomplete byte sequence in state object.  Avoid testing for
51963         guaranteed too small input if we know there is enough data available.
51964
51965 2011-05-11  Andreas Schwab  <schwab@redhat.com>
51966
51967         * Makeconfig (+link-pie): Indent.
51968         * Rules (binaries-pie): Define if $(have-fpie) and
51969         $(build-shared).
51970         (binaries-shared): Also filter out $(binaries-pie).
51971         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51972         * nscd/Makefile (others-pie): Add nscd.
51973         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51974         ($(objpfx)nscd): Remove command override.
51975         * login/Makefile (others-pie): Add pt_chown.
51976         ($(objpfx)pt_chown): Remove command override.
51977         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51978         remove command overrides.
51979
51980 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
51981
51982         * libio/tst_putwc.c: Fix error messages.
51983
51984         [BZ #12724]
51985         * libio/fileops.c (_IO_new_file_close_it): Always flush when
51986         currently writing and seek to current position when not.
51987         * libio/Makefile (tests): Add bug-fclose1.
51988         * libio/bug-fclose1.c: New file.
51989
51990 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
51991
51992         [BZ #12511]
51993         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51994         don't set DF_1_NODELETE here.
51995         (do_lookup_x): When entering new entry test for copy relocation
51996         and if necessary set DF_1_NODELETE flag.
51997         * elf/tst-unique4.cc: New file.
51998         * elf/tst-unique4.h: New file.
51999         * elf/tst-unique4lib.cc: New file.
52000         * elf/Makefile: Add rules to build and run tst-unique4.
52001         Patch by Piotr Bury <pbury@goahead.com>.
52002
52003 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52004
52005         [BZ #12052]
52006         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52007
52008         [BZ #12625]
52009         * misc/mntent_r.c (addmntent): Flush the stream after the output
52010
52011         [BZ #12393]
52012         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52013         (is_trusted_path_normalize): Skip initial colon.  Append slash
52014         to empty buffer.  Duplicate is_trusted_path code but allow
52015         constructed patch to be prefix.
52016         (is_dst): Allow $ORIGIN followed by /.
52017         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52018         Correct testing of result of is_trusted_path_normalize
52019         (decompose_rpath): Fix warning.
52020
52021 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52022
52023         [BZ #11257]
52024         * grp/initgroups.c (internal_getgrouplist): When we found the service
52025         list through the initgroups entry in nsswitch.conf do not always
52026         continue on a successful lookup.  Don't always use the
52027         __nss_group_database value if it is set.
52028         * nss/nsswitch.conf (initgroups): Change action for successful db
52029         lookup to continue for compatibility.
52030
52031 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52032
52033         [BZ #11532]
52034         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52035         and CP774 modules.
52036         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52037         and CP774 modules.
52038         * iconvdata/tst-tables.sh: Likewise.
52039         * iconvdata/cp770.c: New file.
52040         * iconvdata/cp771.c: New file.
52041         * iconvdata/cp772.c: New file.
52042         * iconvdata/cp773.c: New file.
52043         * iconvdata/cp774.c: New file.
52044         * iconvdata/testdata/CP770: New file.
52045         * iconvdata/testdata/CP770..UTF8: New file.
52046         * iconvdata/testdata/CP771: New file.
52047         * iconvdata/testdata/CP771..UTF8: New file.
52048         * iconvdata/testdata/CP772: New file.
52049         * iconvdata/testdata/CP772..UTF8: New file.
52050         * iconvdata/testdata/CP773: New file.
52051         * iconvdata/testdata/CP773..UTF8: New file.
52052         * iconvdata/testdata/CP774: New file.
52053         * iconvdata/testdata/CP774..UTF8: New file.
52054
52055         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52056         END CHARMAP line.
52057         * iconvdata/gen-8bit-gap.sh: Likewise.
52058         * iconvdata/gen-8bit.sh: Likewise.
52059
52060         * locale/iso-639.def: Add ary entry.
52061
52062         [BZ #11258]
52063         * locale/C-translit.h.in: Add U20A1 transliteration.
52064
52065         [BZ #12178]
52066         * locale/iso-639.def: Add wae entry.
52067         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52068
52069         [BZ #12545]
52070         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52071         for n.
52072
52073         [BZ #12711]
52074         * locale/C-translit.h.in: Add entry for U20B9.
52075         Patch by pravin.d.s@gmail.com.
52076
52077 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52078
52079         [BZ #12713]
52080         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52081         ENAMETOOLONG use generic getcwd.
52082         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52083         in rtld.  Use *stat64.
52084         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52085         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52086         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52087         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52088         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52089         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52090         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52091         __fstatat64 macros.
52092         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52093         * dirent/rewinddir.c: Add libc_hidden_def.
52094         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52095         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52096
52097         * include/dirent.h (__alloc_dir): Add flags parameter.
52098         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52099         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52100         __alloc_dir.
52101         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52102         from fdopendir if O_CLOEXEC is already set.
52103
52104 2011-03-15  Alan Modra  <amodra@gmail.com>
52105
52106         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52107         l_tls_firstbyte_offset non-zero.  Save padding offset in
52108         l_tls_firstbyte_offset for later use.
52109         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52110         freeing static tls block.
52111
52112 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52113
52114         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52115         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52116         being defined by the kernel headers.
52117
52118 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52119
52120         [BZ #12734]
52121         * resolv/resolv.h: Define RES_NOTLDQUERY.
52122         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52123         no-tld-query and set RES_NOTLDQUERY.
52124         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52125         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52126         modern BIND to search name as TLD unless forbidden.
52127
52128 2011-05-07  Petr Baudis  <pasky@suse.cz>
52129             Ulrich Drepper  <drepper@gmail.com>
52130
52131         [BZ #12393]
52132         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52133         (is_trusted_path): ...to here.
52134         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52135         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52136         using is_trusted_path_normalize() in setuid scripts.
52137
52138 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52139
52140         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52141         __BEGIN/__END_DECLS.
52142
52143 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52144
52145         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52146         NSS_STATUS_NOTFOUND if no record was found.
52147
52148 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52149
52150         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52151         (headers-not-in-tirpc): Remove rpc/netdb.h
52152         * resolv/netdb.h: Revert last change.
52153
52154 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52155
52156         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52157         circular dependency between libgcc.a and libc.a.
52158
52159 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52160
52161         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52162         * nis/Makefile: Don't install rpcsvc/*.
52163         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52164         instead of <rpc/types.h>.
52165         (MAXHOSTNAMELEN): Define.
52166
52167 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52168
52169         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52170
52171 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52172
52173         [BZ #12714]
52174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52175         gethostbyname4_r when IPv6 results are possible.
52176
52177 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52178
52179         [BZ #12723]
52180         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52181         _PC_PIPE_BUF handling.
52182
52183 2011-04-30  Bruno Haible  <bruno@clisp.org>
52184
52185         [BZ #12717]
52186         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52187         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52188         to 'int'.
52189         * inet/getnameinfo.c (getnameinfo): Likewise.
52190
52191 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52192
52193         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52194         to groups setting in database lookup.
52195         * nss/nsswitch.conf: Add initgroups entry.
52196
52197 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52198
52199         [BZ #12685]
52200         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52201         mode string.
52202         Patch by Eric Blake <eblake@redhat.com>.
52203
52204 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52205
52206         * sunrpc/Makefile (need-export-routines): Add svc_run.
52207         (routines): Remove svc_run.
52208         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52209         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52210         * sunrpc/svc_run.c (svc_run): Likewise.
52211         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52212
52213 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52214
52215         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52216         problem in reallocation in last patch.
52217
52218 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52219
52220         * sunrpc/Makefile: Move inclusion of Rules.
52221
52222 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52223
52224         * nss/nss_files/files-initgroups.c: New file.
52225         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52226         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52227         _nss_files_initgroups_dyn.
52228
52229 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52230
52231         * elf/elf.h (R_ARM_IRELATIVE): Define.
52232
52233 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52234
52235         * po/ru.po: Update from translation team.
52236
52237 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52238
52239         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52240         dependencies.
52241
52242 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52243
52244         [BZ #12653]
52245         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52246         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52247         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52248         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52249         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52250
52251 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52252
52253         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52254         differing bytes.
52255         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52256         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52257         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52258
52259 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52260
52261         [BZ #12420]
52262         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52263         storing it.
52264         * stdlib/bug-getcontext.c: New file.
52265         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52266
52267 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52268
52269         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52270         instructions into .machine "z9-109".
52271         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52272         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52273
52274 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52275
52276         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52277         between environment variables and auxiliary vector.
52278
52279 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52280
52281         * Makefile: Add rules to build linkobj/libc.so.
52282         * include/libc-symbols.h: Define libc_hidden_nolink.
52283         * include/rpc/auth.h: Mark functions which are to be hidden.
52284         * include/rpc/auth_des.h: Likewise.
52285         * include/rpc/auth_unix.h: Likewise.
52286         * include/rpc/clnt.h: Likewise.
52287         * include/rpc/des_crypt.h: Likewise.
52288         * include/rpc/key_prot.h: Likewise.
52289         * include/rpc/pmap_clnt.h: Likewise.
52290         * include/rpc/pmap_prot.h: Likewise.
52291         * include/rpc/pmap_rmt.h: Likewise.
52292         * include/rpc/rpc_msg.h: Likewise.
52293         * include/rpc/svc.h: Likewise.
52294         * include/rpc/svc_auth.h: Likewise.
52295         * include/rpc/xdr.h: Likewise.
52296         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52297         * nss/Makefile: Likewise.
52298         * sunrpc/Makefile: Don't install headers.  Build library with normal
52299         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52300         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52301         for the compat linking library.  Remove use of INTDEF/INTUSE.
52302         * sunrpc/auth_none.c: Likewise.
52303         * sunrpc/auth_unix.c: Likewise.
52304         * sunrpc/authdes_prot.c: Likewise.
52305         * sunrpc/authuxprot.c: Likewise.
52306         * sunrpc/clnt_gen.c: Likewise.
52307         * sunrpc/clnt_perr.c: Likewise.
52308         * sunrpc/clnt_raw.c: Likewise.
52309         * sunrpc/clnt_simp.c: Likewise.
52310         * sunrpc/clnt_tcp.c: Likewise.
52311         * sunrpc/clnt_udp.c: Likewise.
52312         * sunrpc/clnt_unix.c: Likewise.
52313         * sunrpc/des_crypt.c: Likewise.
52314         * sunrpc/des_soft.c: Likewise.
52315         * sunrpc/get_myaddr.c: Likewise.
52316         * sunrpc/key_call.c: Likewise.
52317         * sunrpc/key_prot.c: Likewise.
52318         * sunrpc/netname.c: Likewise.
52319         * sunrpc/pm_getmaps.c: Likewise.
52320         * sunrpc/pm_getport.c: Likewise.
52321         * sunrpc/pmap_clnt.c: Likewise.
52322         * sunrpc/pmap_prot.c: Likewise.
52323         * sunrpc/pmap_prot2.c: Likewise.
52324         * sunrpc/pmap_rmt.c: Likewise.
52325         * sunrpc/publickey.c: Likewise.
52326         * sunrpc/rpc_cmsg.c: Likewise.
52327         * sunrpc/rpc_common.c: Likewise.
52328         * sunrpc/rpc_dtable.c: Likewise.
52329         * sunrpc/rpc_prot.c: Likewise.
52330         * sunrpc/rpc_thread.c: Likewise.
52331         * sunrpc/rtime.c: Likewise.
52332         * sunrpc/svc.c: Likewise.
52333         * sunrpc/svc_auth.c: Likewise.
52334         * sunrpc/svc_authux.c: Likewise.
52335         * sunrpc/svc_raw.c: Likewise.
52336         * sunrpc/svc_run.c: Likewise.
52337         * sunrpc/svc_simple.c: Likewise.
52338         * sunrpc/svc_tcp.c: Likewise.
52339         * sunrpc/svc_udp.c: Likewise.
52340         * sunrpc/svc_unix.c: Likewise.
52341         * sunrpc/svcauth_des.c: Likewise.
52342         * sunrpc/xcrypt.c: Likewise.
52343         * sunrpc/xdr.c: Likewise.
52344         * sunrpc/xdr_array.c: Likewise.
52345         * sunrpc/xdr_float.c: Likewise.
52346         * sunrpc/xdr_intXX_t.c: Likewise.
52347         * sunrpc/xdr_mem.c: Likewise.
52348         * sunrpc/xdr_rec.c: Likewise.
52349         * sunrpc/xdr_ref.c: Likewise.
52350         * sunrpc/xdr_sizeof.c: Likewise.
52351         * sunrpc/xdr_stdio.c: Likewise.
52352
52353 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52354
52355         [BZ #12650]
52356         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52357         * sysdeps/ia64/dl-tls.h: Likewise.
52358         * sysdeps/powerpc/dl-tls.h: Likewise.
52359         * sysdeps/s390/dl-tls.h: Likewise.
52360         * sysdeps/sh/dl-tls.h: Likewise.
52361         * sysdeps/sparc/dl-tls.h: Likewise.
52362         * sysdeps/x86_64/dl-tls.h: Likewise.
52363         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52364
52365 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52366
52367         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52368         rpath element also skip the following colon.
52369         (expand_dynamic_string_token): Add is_path parameter and pass
52370         down to DL_DST_REQUIRED and _dl_dst_substitute.
52371         (decompose_rpath): Call expand_dynamic_string_token with
52372         non-zero is_path.  Ignore empty rpaths.
52373         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52374         with zero is_path.
52375
52376 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52377
52378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52379         Make cancelable.
52380
52381 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52382
52383         [BZ #12655]
52384         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52385         Patch by Filipe David Manana <fdmanana@apache.org>.
52386
52387 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52388
52389         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52390         Maintain aligned stack.
52391         (CHECK_RSP): Remove unused macro.
52392
52393 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52394
52395         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52396         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52397
52398 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52399
52400         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52401
52402         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52403
52404 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52405
52406         [BZ #12518]
52407         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52408         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52409         * sysdeps/x86_64/memmove.c: New file.
52410         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52411         (memcpy): Renamed to ...
52412         (__new_memcpy): This.
52413         (memcpy): Provide GLIBC_2_14 memcpy.
52414         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52415         (memcpy): Provide GLIBC_2_2_5 memcpy.
52416
52417 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52418
52419         [BZ #12631]
52420         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52421
52422 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52423
52424         * misc/syncfs.c: New file.
52425         * misc/Makefile (routines): Add syncfs.
52426         * posix/unistd.h: Declare syncfs.
52427         * sysdeps/unix/syscalls.list: Add syncfs.
52428
52429 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52430
52431         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52432         open_by_handle_at.
52433         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52434         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52436         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52438         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52439         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52440
52441 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52442
52443         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52444         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52445         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52446         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52447         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52449         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52450
52451         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52452         sync_file_range.c with -fexceptions.
52453         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52454         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52455         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52456         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52457         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52458         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52460         sync_file_range as cancellation point
52461         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52462         now a wrapper around __call_sync_file_range with cancellation handling.
52463         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52464         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52465         function name to __call_sync_file_range.
52466         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52467         Add call_sync_file_range.
52468
52469 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52470
52471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52472         bits/timex.h.
52473
52474 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52475
52476         * iconv/iconv.h: Fix typo in comment.
52477         * io/fcntl.h: Likewise.
52478         * libio/stdio.h: Likewise.
52479         * posix/spawn.h: Likewise.
52480         * posix/unistd.h: Likewise.
52481         * stdlib/stdlib.h: Likewise.
52482         * time/time.h: Likewise.
52483         * wcsmbs/wchar.h: Likewise.
52484
52485         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52486         open_by_handle): Add.
52487         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52488         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52489         Augment a few comments.
52490         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52491         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52492         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52493         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52494         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52495         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52496         open_by_handle.
52497
52498         * io/fcntl.h (AT_EMPTY_PATH): Define.
52499
52500 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52501
52502         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52503         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52504         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52505         to...
52506         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52507         * Versions.def: Add GLIBC_2.14.
52508         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52509         Export.
52510
52511 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52512
52513         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52514         round counter.
52515         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52516
52517 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52518
52519         [BZ #12597]
52520         * string/test-strncmp.c (do_page_test): New function.
52521         (check2): Likewise.
52522         (test_main): Call check2.
52523         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52524
52525 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52526
52527         [BZ #12587]
52528         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52529         Handle cache information in CPU leaf 4.
52530         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52531
52532 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52533
52534         [BZ #12583]
52535         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52536         character representation.
52537         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52538
52539 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52540
52541         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52542         END(__isnan) to END(__isnanf) to match function entry point/label
52543         EALIGN(__isnanf,...).
52544
52545 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52546
52547         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52548
52549 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52550
52551         [BZ #12510]
52552         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52553         copy from the symbol referenced in the relocation to initialize the
52554         used variable.
52555         Patch by Piotr Bury <pbury@goahead.com>.
52556         * elf/Makefile: Add rules to build and tst-unique3.
52557         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52558         * elf/tst-unique3.cc: New file.
52559         * elf/tst-unique3.h: New file.
52560         * elf/tst-unique3lib.cc: New file.
52561         * elf/tst-unique3lib2.cc: New file.
52562
52563         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52564
52565 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52566
52567         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52568         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52569         to _start.
52570
52571 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52572
52573         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52574         to-be-loaded object along a path to loader is ld.so.
52575
52576 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52577             Ulrich Drepper  <drepper@gmail.com>
52578
52579         * sysdeps/x86_64/memset.S: After aligning destination, code
52580         branches to different locations depending on the value of
52581         misalignment, when multiarch is enabled. Fix this.
52582
52583 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52584
52585         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52586         Set _x86_64_preferred_memory_instruction for AMD processsors.
52587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52588         Set bit_Prefer_SSE_for_memop for AMD processors.
52589
52590 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52591
52592         * libio/fmemopen.c (fmemopen): Optimize a bit.
52593
52594 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52595
52596         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52597
52598 2011-03-03  Roland McGrath  <roland@redhat.com>
52599
52600         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52601
52602 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52603
52604         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52605         __bzero_ultra1 instead of __memset_ultra1.
52606
52607 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52608             Ulrich Drepper  <drepper@gmail.com>
52609
52610         [BZ #12509]
52611         * include/link.h (struct link_map): Add l_orig_initfini.
52612         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52613         returning unsuccessfully.
52614         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52615         close of a file loaded at startup, restore the original l_initfini
52616         list.
52617         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52618         list, store the pointer.
52619         * elf/Makefile ($(objpfx)noload-mem): New rule.
52620         (noload-ENV): Define.
52621         (tests): Add $(objpfx)noload-mem.
52622         * elf/noload.c: Include <memcheck.h>.
52623         (main): Call mtrace.  Close all opened handles.
52624
52625 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52626
52627         [BZ #12454]
52628         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52629         dependencies are missing.
52630
52631 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52632
52633         Fix __if_freereq crash: Unlike the generic version which uses free,
52634         Hurd needs munmap.
52635         * sysdeps/mach/hurd/ifreq.h: New file.
52636
52637 2011-01-27  Petr Baudis  <pasky@suse.cz>
52638             Ulrich Drepper  <drepper@gmail.com>
52639
52640         [BZ 12445]#
52641         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52642         to extend_alloca().
52643         * stdio-common/bug23.c: New file.
52644         * stdio-common/Makefile (tests): Add bug23.
52645
52646 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52647             Ulrich Drepper  <drepper@gmail.com>
52648
52649         [BZ #12489]
52650         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52651         before performing relro protection.  At old place add assertion
52652         to make sure nothing changed.
52653
52654 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52655             Glauber de Oliveira Costa  <glommer@gmail.com>
52656
52657         * elf/elf.h: Add new ARM TLS relocs.
52658
52659 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52660
52661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52662         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52663         cast from r3.
52664         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52665         'tests' variable.
52666         * sysdeps/wordsize-64/tst-writev.c: New file.
52667
52668 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52669
52670         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52671         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52672         insns in _dl_start to prevent a TOC reference before relocs are
52673         resolved.
52674
52675 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52676
52677         [BZ #12469]
52678         * Makeconfig: Remove RANLIB definition.
52679         * Makerules: Don't use RANLIB.
52680         * aclocal.m4: Remove ranlib test.
52681         * configure.in: No need to check for ranlib.
52682         * elf/rtld-Rules: Don't use RANLIB.
52683
52684 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52685
52686         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52687         protection macro.
52688         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52689         inclusion protection macro.
52690
52691         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52692         SIGRTMIN and SIGRTMAX and print information in that case only when
52693         SIGRTMIN is defined.
52694
52695 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52696
52697         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52698         arginfo fn returning -1.
52699
52700         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52701         and thousands string is zero terminated.
52702
52703 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52704
52705         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52706         sysdeps/unix/sysv/linux/bits/socket.h.
52707
52708 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52709
52710         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52711         (__CPU_COUNT): Remove old macros.
52712         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52713         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52714         (__CPU_ALLOC, __CPU_FREE): Add macros.
52715         (__sched_cpualloc, __sched_cpufree): Add declarations.
52716
52717 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52718
52719         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52720         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52721         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52722         (readdhstai): Return value of addhstaiX call.
52723         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52724         (addgrbyX): Return value returned by cache_addgr.
52725         (readdgrbyname): Return value returned by addgrbyX.
52726         (readdgrbygid): Likewise.
52727         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52728         (addpwbyX): Return value returned by cache_addpw.
52729         (readdpwbyname): Return value returned by addhstbyX.
52730         (readdpwbyuid): Likewise.
52731         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52732         (addservbyX): Return value returned by cache_addserv.
52733         (readdservbyname): Return value returned by addservbyX:
52734         (readdservbyport): Likewise.
52735         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52736         (addhstbyX): Return value returned by cache_addhst.
52737         (readdhstbyname): Return value returned by addhstbyX.
52738         (readdhstbyaddr): Likewise.
52739         (readdhstbynamev6): Likewise.
52740         (readdhstbyaddrv6): Likewise.
52741         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52742         (readdinitgroups): Return value returned by addinitgroupsX.
52743         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52744         (prune_cache): Keep track of timeout value of re-added entries.
52745         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52746         * nscd/nscd.h: Adjust prototypes of readd* functions.
52747
52748 2011-02-04  Roland McGrath  <roland@redhat.com>
52749
52750         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52751         (nis_stats): Likewise.
52752         * nis/nis_modify.c (nis_modify): Likewise.
52753         * nis/nis_remove.c (nis_remove): Likewise.
52754         * nis/nis_add.c (nis_add): Likewise.
52755
52756         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52757
52758         * posix/fnmatch_loop.c: Add some consts.
52759
52760         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52761
52762 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
52763
52764         [BZ #12460]
52765         * config.make.in (config-cflags-novzeroupper): Define.
52766         * configure.in: Substitute libc_cv_cc_novzeroupper.
52767         * elf/Makefile (AVX-CFLAGS): Define.
52768         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52769         (CFLAGS-tst-auditmod4a.c): Likewise.
52770         (CFLAGS-tst-auditmod4b.c): Likewise.
52771         (CFLAGS-tst-auditmod6b.c): Likewise.
52772         (CFLAGS-tst-auditmod6c.c): Likewise.
52773         (CFLAGS-tst-auditmod7b.c): Likewise.
52774         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52775
52776 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
52777
52778         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52779         function to the callback.
52780         Patch partly by Jiri Olsa <jolsa@redhat.com>.
52781
52782 2011-02-02  Andreas Schwab  <schwab@redhat.com>
52783
52784         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52785         of errno.
52786
52787 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
52788
52789         [BZ #11724]
52790         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52791         of constructors.
52792         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52793         of destructors.
52794         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52795
52796         [BZ #11724]
52797         * elf/Makefile: Add rules to build and run new test.
52798         * elf/tst-initorder.c: New file.
52799         * elf/tst-initorder.exp: New file.
52800         * elf/tst-initordera1.c: New file.
52801         * elf/tst-initordera2.c: New file.
52802         * elf/tst-initordera3.c: New file.
52803         * elf/tst-initordera4.c: New file.
52804         * elf/tst-initorderb1.c: New file.
52805         * elf/tst-initorderb2.c: New file.
52806         * elf/tst-order-a1.c: New file.
52807         * elf/tst-order-a2.c: New file.
52808         * elf/tst-order-a3.c: New file.
52809         * elf/tst-order-a4.c: New file.
52810         * elf/tst-order-b1.c: New file.
52811         * elf/tst-order-b2.c: New file.
52812         * elf/tst-order-main.c: New file.
52813         New test case by George Gensure <werkt0@gmail.com>.
52814
52815 2010-10-01  Andreas Schwab  <schwab@redhat.com>
52816
52817         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52818         decoding ACE if AI_CANONIDN.
52819
52820 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
52821
52822         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52823
52824 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
52825
52826         * version.h (RELEASE): Bump for 2.13 release.
52827         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52828
52829         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52830
52831         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52832         MADV_NOHUGEPAGE.
52833         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52834         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52835         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52836         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52837         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52838         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52839
52840         * posix/getconf.c: Update copyright year.
52841         * catgets/gencat.c: Likewise.
52842         * csu/version.c: Likewise.
52843         * debug/catchsegv.sh: Likewise.
52844         * debug/xtrace.sh: Likewise.
52845         * elf/ldconfig.c: Likewise.
52846         * elf/ldd.bash.in: Likewise.
52847         * elf/sprof.c (print_version): Likewise.
52848         * iconv/iconv_prog.c: Likewise.
52849         * iconv/iconvconfig.c: Likewise.
52850         * locale/programs/locale.c: Likewise.
52851         * locale/programs/localedef.c: Likewise.
52852         * malloc/memusage.sh: Likewise.
52853         * malloc/mtrace.pl: Likewise.
52854         * nscd/nscd.c (print_version): Likewise.
52855         * nss/getent.c: Likewise.
52856
52857         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52858         PF_CAIF, and PF_ALG.
52859         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52860
52861 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
52862
52863         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52864         (modules-names): Use them.
52865         (ifunc-test-modules, ifunc-pie-tests): Define.
52866         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52867         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52868         (test-extras): Likewise.
52869         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52870         $(compile-command.c).
52871         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52872         (all-built-dso): Define.
52873         (check-textrel.out, check-execstack.out): Depend on it.
52874
52875         * configure.in: Don't override --enable-multi-arch.
52876
52877 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
52878
52879         [BZ #6812]
52880         * nscd/hstcache.c (tryagain): Define.
52881         (cache_addhst): Return tryagain not notfound for temporary errors.
52882         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52883         failed.
52884
52885 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
52886
52887         [BZ #10563]
52888         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52889         to make the syscall.
52890         * sysdeps/unix/sysv/linux/setgroups.c: New file.
52891
52892         [BZ #12378]
52893         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52894         and fall back to matching as normal character if the string ends before
52895         the matching ']' is found.  This is what POSIX requires.
52896         * posix/testfnm.c: Adjust test result.
52897         * posix/globtest.sh: Adjust test result.  Add new test.
52898         * posix/tst-fnmatch.input: Likewise.
52899         * posix/tst-fnmatch2.c: Add new test.
52900
52901 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
52902
52903         * elf/Makefile (check-execstack): Revert last change.  Depend on
52904         check-execstack.h.
52905         (check-execstack.h): New target.
52906         (generated): Add check-execstack.h.
52907         * elf/check-execstack.c: Include "check-execstack.h".
52908         (main): Revert last change.
52909         (handle_file): Return zero if GNU_STACK is absent and
52910         DEFAULT_STACK_PERMS doesn't include PF_X.
52911
52912 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
52913
52914         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52915         in child fails because the descriptor is already closed.
52916         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52917         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52918         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52919
52920         [BZ #12397]
52921         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52922         syscall.
52923
52924         [BZ #10484]
52925         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52926         temporary buffer used to handle multi lookups locally.
52927         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52928
52929 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52930
52931         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52932         loader is ld.so.
52933
52934 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
52935
52936         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52937         alignment for SSE2.
52938
52939 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52940
52941         [BZ #12394]
52942         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52943         characters.  When rounding increased number of integer digits recompute
52944         number of groups.
52945         * stdio-common/tst-grouping.c: New file.
52946         * stdio-common/Makefile: Add rules to build and run tst-grouping.
52947
52948 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
52949
52950         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52951         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
52952
52953         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52954         void.
52955         * bits/select.h: Likewise.
52956
52957 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
52958
52959         * po/ja.po: Update from translation team.
52960
52961 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
52962
52963         [BZ #11155]
52964         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52965         implementation just like for lxstat, fxstatat, et al.
52966
52967 2010-12-27  Jim Meyering  <meyering@redhat.com>
52968
52969         [BZ #12348]
52970         * posix/regexec.c (build_trtable): Return failure indication upon
52971         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
52972
52973 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
52974
52975         [BZ #12201]
52976         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52977         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52978         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52979         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52980
52981         [BZ #12207]
52982         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52983
52984         [BZ #12204]
52985         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52986         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52987
52988 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
52989
52990         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52991         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52992         script has SORT_BY_INIT_PRIORITY.
52993         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52994         NO_CTORS_DTORS_SECTIONS is defined.
52995         * elf/soinit.c: Likewise.
52996         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52997         NO_CTORS_DTORS_SECTIONS is defined.
52998         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52999         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53000         * sysdeps/sh/init-first.c: Likewise.
53001         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53002
53003 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53004
53005         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53006         always use the slow path.
53007
53008 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53009
53010         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53011         similar rule which adds the sysdep directories to the header search in
53012         order to pick up the correct platform stackinfo.h.
53013         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53014         perform test if it is, otherwise return successfully without testing.
53015         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53016         DEFAULT_STACK_PERMS define in stackinfo.h.
53017         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53018         defined in stackinfo.h.
53019         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53020         DEFAULT_STACK_PERMS defined in stackinfo.h.
53021         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53022         * sysdeps/ia64/stackinfo.h: Likewise.
53023         * sysdeps/s390/stackinfo.h: Likewise.
53024         * sysdeps/sh/stackinfo.h: Likewise.
53025         * sysdeps/sparc/stackinfo.h: Likewise.
53026         * sysdeps/x86_64/stackinfo.h: Likewise.
53027         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53028         PF_X for powerpc64.  Retain PF_X for powerpc32.
53029
53030 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53031
53032         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53033         accurately.
53034         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53035         GETDENTS_64BIT_ALIGNED.
53036
53037 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53038
53039         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53040
53041 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53042
53043         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53044         _GNU_SOURCE.
53045
53046         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53047         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53048         Remove __restrict.
53049         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53050         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53051
53052 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53053
53054         [BZ #11655]
53055         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53056         are initialized.
53057
53058 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53059
53060         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53061
53062 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53063
53064         * po/it.po: Update from translation team.
53065
53066 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53067
53068         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53069         unused codes.
53070
53071 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53072
53073         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53074
53075 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53076
53077         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53078         specially.
53079         (gaih_getanswer_slice): Likewise.
53080
53081 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53082
53083         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53084
53085 2010-05-31  Petr Baudis  <pasky@suse.cz>
53086
53087         [BZ #11149]
53088         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53089         silently even in the chroot mode.
53090
53091 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53092
53093         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53094         last patch a bit.  Pretty printing
53095
53096 2010-05-31  Petr Baudis <pasky@suse.cz>
53097
53098         [BZ #10085]
53099         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53100         initialization of skip_initgroups_dyn.
53101
53102 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53103
53104         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53105         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53106
53107 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53108
53109         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53110
53111 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53112
53113         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53114         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53115         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53116         ($(objpfx)tst-fnmatch-mem): New rule.
53117         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53118         * posix/tst-fnmatch.c (main): Call mtrace.
53119
53120 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53121
53122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53123         Support Intel processor model 6 and model 0x2c.
53124
53125 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53126
53127         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53128           signed comparison.
53129
53130 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53131
53132         [BZ #12205]
53133         * string/test-strncasecmp.c (check_result): New function.
53134         (do_one_test): Use it.
53135         (check1): New function.
53136         (test_main): Use it.
53137         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53138         Support strcasecmp and strncasecmp.
53139
53140 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53141
53142         [BZ #12194]
53143         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53144         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53145
53146 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53147
53148         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53149         IFUNC support.
53150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53151         memset-x86-64.
53152         * sysdeps/x86_64/multiarch/bzero.S: New file.
53153         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53154         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53155         * sysdeps/x86_64/multiarch/memset.S: New file.
53156         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53158         Set bit_Prefer_SSE_for_memop for Intel processors.
53159         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53160         Define.
53161         (index_Prefer_SSE_for_memop): Define.
53162         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53163
53164 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53165
53166         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53167         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53168
53169 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53170
53171         [BZ #12191]
53172         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53173         (__x86_64_raw_data_cache_size_half): Likewise.
53174         (__x86_64_raw_shared_cache_size): Likewise.
53175         (__x86_64_raw_shared_cache_size_half): Likewise.
53176
53177         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53178         (__x86_64_raw_data_cache_size_half): Likewise.
53179         (__x86_64_raw_shared_cache_size): Likewise.
53180         (__x86_64_raw_shared_cache_size_half): Likewise.
53181         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53182         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53183         and __x86_64_raw_shared_cache_size_half.  Round
53184         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53185         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53186         to multiple of 256 bytes.
53187
53188 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53189
53190         [BZ #12167]
53191         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53192         of inacessible symlinks.  Verify result of symlink before returning it.
53193         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53194         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53195
53196 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53197
53198         * math/math.h (isinf): Fix typo in comment.
53199
53200 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53201
53202         * po/da.po: Update from translation team.
53203
53204 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53205
53206         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53207         is added to the list.
53208
53209 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53210             Ulrich Drepper  <drepper@gmail.com>
53211
53212         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53213         the global list here.  Move code to...
53214         (_dl_add_to_namespace_list): ...here.  New function.
53215         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53216         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53217         * elf/dl-load.c (lose): Don't remove the element from the list.
53218         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53219         (_dl_map_object): Likewise.
53220
53221 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53222
53223         [BZ #12159]
53224         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53225         into all bytes of SSE register.
53226         Patch by Richard Li <richardpku@gmail.com>.
53227
53228 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53229
53230         [BZ #12140]
53231         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53232         perturbing.
53233
53234 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53235
53236         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53237         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53238         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53239         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53241         submachine.
53242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53243
53244 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53245
53246         * include/dlfcn.h (__RTLD_SECURE): Define.
53247         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53248         mode & __RTLD_SECURE instead.
53249         (open_path): Rename preloaded parameter to secure.
53250         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53251         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53252         * elf/dl-deps.c (openaux): Likewise.
53253         * elf/rtld.c (struct map_args): Remove is_preloaded.
53254         (map_doit): Don't use it.
53255         (dl_main): Likewise.
53256         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53257         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53258
53259 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53260
53261         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53262         (sysd-rules-targets): Remove duplicates.
53263         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53264         rtld-%.$o dependency.
53265
53266 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53267
53268         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53269         _dl_map_object do it.
53270
53271 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53272
53273         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53274         fast fma builtins, define the macros in the C99 standard.
53275         (FP_FAST_FMAF): Likewise.
53276         (FP_FAST_FMAL): Likewise.
53277         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53278
53279         * bits/mathdef.h: Update copyright year.
53280         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53281
53282 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53283
53284         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53285         builtins, define the macros in the C99 standard.
53286         (FP_FAST_FMAF): Likewise.
53287         (FP_FAST_FMAL): Likewise.
53288         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53289         multiply/add.
53290         (FP_FAST_FMAF): Likewise.
53291
53292 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53293
53294         [BZ #3268]
53295         * math/libm-test.inc (fma_test): Some new testcases.
53296         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53297         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53298         y and infinite z.  Do multiplication by C already in long double.
53299         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53300         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53301         y and infinite z.  Do bitwise or of inexact bit into u.d.
53302         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53303         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53304         * sysdeps/i386/fpu/s_fma.S: Removed.
53305         * sysdeps/i386/fpu/s_fmal.S: Removed.
53306
53307 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53308
53309         [BZ #3268]
53310         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53311         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53312         computation is not scheduled after fetestexcept.  Fix value
53313         of minimum denormal long double.
53314
53315 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53316
53317         [BZ #3268]
53318         * math/libm-test.inc (fma_test): Add some more tests.
53319         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53320         correctly.
53321
53322 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53323
53324         * scripts/data/localplt-s390-linux-gnu.data: New file.
53325         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53326
53327 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53328
53329         [BZ #3268]
53330         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53331         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53332         instead of dbl-64.
53333         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53334         inlines.
53335         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53337         if one of x and y is very large and the other is subnormal.
53338         * sysdeps/s390/fpu/s_fmaf.c: New file.
53339         * sysdeps/s390/fpu/s_fma.c: New file.
53340         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53341         * sysdeps/powerpc/fpu/s_fma.S: New file.
53342         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53343         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53344         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53345
53346 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53347
53348         [BZ #3268]
53349         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53350         fma tests.
53351         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53352         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53353         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53354         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53355         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53356         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53357         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53358
53359 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53360
53361         [BZ #12078]
53362         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53363         * posix/bug-regex31.input: Add test case.
53364
53365 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53366
53367         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53368         * posix/bug-regex31.input: New file.
53369
53370         [BZ #12078]
53371         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53372         (parse_sub_exp): Fix last change, use postorder.
53373
53374         * posix/bug-regex31.c: New file.
53375         * posix/Makefile: Add rules to build and run bug-regex31.
53376
53377         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53378
53379         [BZ #12078]
53380         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53381
53382         [BZ #12108]
53383         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53384         to have entries in sys_siglist.
53385
53386         [BZ #12093]
53387         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53388         be NULL.
53389
53390 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53391
53392         [BZ #3268]
53393         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53394         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53395         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53396         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53397         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53398         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53399         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53400         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53401         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53402         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53403         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53404         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53405         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53406         * math/ftestexcept.c (fetestexcept): Likewise.
53407         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53408         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53409         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53410         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53411         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53412         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53413         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53414
53415 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53416
53417         [BZ #12107]
53418         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53419         newline.
53420
53421 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53422
53423         * string/bug-strstr1.c: New file.
53424         * string/Makefile: Add rules to build and run bug-strstr1.
53425
53426 2010-10-05  Eric Blake  <eblake@redhat.com>
53427
53428         [BZ #12092]
53429         * string/str-two-way.h (two_way_long_needle): Always clear memory
53430         when skipping input due to the shift table.
53431
53432 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53433
53434         [BZ #12005]
53435         * malloc/mcheck.c: Handle large requests.
53436
53437         [BZ #12077]
53438         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53439         for strncmp and strncasecmp.
53440         * string/stratcliff.c: Add tests for strcmp and strncmp.
53441         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53442
53443 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53444
53445         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53446         __set_fpscr.
53447
53448 2010-09-30  Andreas Jaeger  <aj@suse.de>
53449
53450         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53451         (CGROUP_SUPER_MAGIC): Define.
53452         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53453         Handle btrfs and cgroup file systems.
53454         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53455         Likewise.
53456
53457 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53458
53459         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53460         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53461
53462 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53463
53464         [BZ #12067]
53465         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53466         trying to locate the ELF header.
53467
53468 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53469
53470         [BZ #11611]
53471         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53472         Mask out sign-bit copies when constructing f_fsid.
53473
53474 2010-09-24  Petr Baudis <pasky@suse.cz>
53475
53476         * debug/stack_chk_fail_local.c: Add missing licence exception.
53477         * debug/warning-nop.c: Likewise.
53478
53479 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53480
53481         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53482         implementing getdents64 using getdents syscall, set d_type if
53483         __ASSUME_GETDENTS32_D_TYPE.
53484
53485 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53486
53487         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53488         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53489
53490 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53491
53492         [BZ #12037]
53493         * posix/unistd.h: Undo change of feature selection for ftruncate from
53494         2010-01-11.
53495
53496 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53497
53498         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53499         detection.
53500
53501 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53502
53503         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53504         fanotify_mark.
53505         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53506
53507 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53508
53509         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53510         variables after CHECK_SP call.
53511         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53512
53513 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53514             Ulrich Drepper  <drepper@redhat.com>
53515
53516         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53517         re-relocationg ld.so.
53518         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53519         _dl_init_paths call.
53520         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53521         here anymore.
53522
53523 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53524
53525         * resolv/res_init.c (__res_vinit): Count the default server we added.
53526
53527 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53528             Ulrich Drepper  <drepper@redhat.com>
53529
53530         [BZ #11968]
53531         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53532         (____longjmp_chk): Use %ebx for saving value across system call.
53533         Add unwind info.
53534
53535 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53536
53537         * manual/Makefile: Don't mix pattern rules with normal rules.
53538
53539 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53540
53541         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53542         operation.
53543         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53544         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53545         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53546         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53547         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53548         Likewise.
53549
53550 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53551
53552         [BZ #11979]
53553         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53554         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53555
53556 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53557
53558         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53559         * sysdeps/x86_64/addmul_1.S: Likewise.
53560         * sysdeps/x86_64/lshift.S: Likewise.
53561         * sysdeps/x86_64/mul_1.S: Likewise.
53562         * sysdeps/x86_64/rshift.S: Likewise.
53563         * sysdeps/x86_64/sub_n.S: Likewise.
53564         * sysdeps/x86_64/submul_1.S: Likewise.
53565
53566 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53567
53568         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53569         Define __sched_param instead of SCHED_* and sched_param when
53570         <bits/sched.h> is included with __need_schedparam defined.
53571         * bits/sched.h [__need_schedparam]
53572         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53573         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53574         (__defined_schedparam): Define to 1.
53575         (__sched_param): New structure, identical to sched_param.
53576         (__need_schedparam): Undefine.
53577
53578 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53579
53580         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53581         (epoll_create1): Declare.
53582
53583         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53584
53585 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53586
53587         [BZ #7066]
53588         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53589         shifting retval into place.
53590
53591 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53592
53593         * nis/rpcsvc/nis.h: Update copyright notice.
53594         * nis/rpcsvc/nis.x: Likewise.
53595         * nis/rpcsvc/nis_callback.h: Likewise.
53596         * nis/rpcsvc/nis_callback.x: Likewise.
53597         * nis/rpcsvc/nis_object.x: Likewise.
53598         * nis/rpcsvc/nis_tags.h: Likewise.
53599         * nis/rpcsvc/yp.h: Likewise.
53600         * nis/rpcsvc/yp.x: Likewise.
53601         * nis/rpcsvc/ypupd.h: Likewise.
53602         * nis/yp_xdr.c: Likewise.
53603         * nis/ypupdate_xdr.c: Likewise.
53604
53605         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53606         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53607         (pmap_getport): Use __libc_rpc_getport.
53608         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53609         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53610         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53611
53612 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53613
53614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53615         fanotify_mark.
53616
53617 2010-08-27  Roland McGrath  <roland@redhat.com>
53618
53619         * sysdeps/i386/i686/multiarch/Makefile
53620         (CFLAGS-varshift.c): New variable.
53621
53622 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53623
53624         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53625         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53626
53627         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53628
53629         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53630
53631 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53632
53633         * sysdeps/x86_64/strlen.S: Unroll the loop.
53634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53635         strlen-sse2 strlen-sse2-bsf.
53636         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53637         __strlen_no_bsf if bit_Slow_BSF is set.
53638         (__strlen_sse42): Removed.
53639         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53640         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53641
53642 2010-08-25  Roland McGrath  <roland@redhat.com>
53643
53644         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53645         * sysdeps/x86_64/multiarch/varshift.c: New file.
53646         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53647         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53648         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53649         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53650
53651 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53652
53653         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53654         strlen-sse2 strlen-sse2-bsf.
53655         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53656         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53657         (__strlen_sse2): Removed.
53658         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53659         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53661         bit_Slow_BSF for Atom.
53662         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53663         (index_Slow_BSF): Define.
53664         (HAS_SLOW_BSF): Define.
53665
53666 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53667
53668         [BZ #10851]
53669         * resolv/res_init.c (__res_vinit): When no server address at all
53670         is given default to loopback.
53671
53672 2010-08-24  Roland McGrath  <roland@redhat.com>
53673
53674         * configure.in: Remove config-name.h generation.
53675         * configure: Regenerated.
53676         * config-name.in: File removed.
53677         * scripts/config-uname.sh: New file.
53678         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53679         ($(objdir)config-name.h): New target.
53680
53681         * sunrpc/rpc_parse.h: Avoid nested comment.
53682
53683 2010-08-24  Richard Henderson  <rth@redhat.com>
53684             Ulrich Drepper  <drepper@redhat.com>
53685             H.J. Lu  <hongjiu.lu@intel.com>
53686
53687         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53689         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53690         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53691         _mm_alignr_epi8 with _mm_loadu_si128.
53692         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53693         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53694         (__m128i_shift_right): Removed.
53695         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53696         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53697         * sysdeps/x86_64/multiarch/varshift.h: New file.
53698         * sysdeps/x86_64/multiarch/varshift.S: New file.
53699
53700 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53701
53702         * configure.in: Move assembler checks to before sysdep dir checking.
53703
53704 2010-08-20  Petr Baudis  <pasky@suse.cz>
53705
53706         * LICENSES: Sync the sunrpc license.
53707
53708 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53709
53710         * sunrpc/auth_des.c: Update copyright notice once again.
53711         * sunrpc/auth_none.c: Likewise.
53712         * sunrpc/auth_unix.c: Likewise.
53713         * sunrpc/authdes_prot.c: Likewise.
53714         * sunrpc/authuxprot.c: Likewise.
53715         * sunrpc/bindrsvprt.c: Likewise.
53716         * sunrpc/clnt_gen.c: Likewise.
53717         * sunrpc/clnt_perr.c: Likewise.
53718         * sunrpc/clnt_raw.c: Likewise.
53719         * sunrpc/clnt_simp.c: Likewise.
53720         * sunrpc/clnt_tcp.c: Likewise.
53721         * sunrpc/clnt_udp.c: Likewise.
53722         * sunrpc/clnt_unix.c: Likewise.
53723         * sunrpc/des_crypt.c: Likewise.
53724         * sunrpc/des_soft.c: Likewise.
53725         * sunrpc/get_myaddr.c: Likewise.
53726         * sunrpc/getrpcport.c: Likewise.
53727         * sunrpc/key_call.c: Likewise.
53728         * sunrpc/key_prot.c: Likewise.
53729         * sunrpc/openchild.c: Likewise.
53730         * sunrpc/pm_getmaps.c: Likewise.
53731         * sunrpc/pm_getport.c: Likewise.
53732         * sunrpc/pmap_clnt.c: Likewise.
53733         * sunrpc/pmap_prot.c: Likewise.
53734         * sunrpc/pmap_prot2.c: Likewise.
53735         * sunrpc/pmap_rmt.c: Likewise.
53736         * sunrpc/rpc/auth.h: Likewise.
53737         * sunrpc/rpc/auth_unix.h: Likewise.
53738         * sunrpc/rpc/clnt.h: Likewise.
53739         * sunrpc/rpc/des_crypt.h: Likewise.
53740         * sunrpc/rpc/key_prot.h: Likewise.
53741         * sunrpc/rpc/netdb.h: Likewise.
53742         * sunrpc/rpc/pmap_clnt.h: Likewise.
53743         * sunrpc/rpc/pmap_prot.h: Likewise.
53744         * sunrpc/rpc/pmap_rmt.h: Likewise.
53745         * sunrpc/rpc/rpc.h: Likewise.
53746         * sunrpc/rpc/rpc_des.h: Likewise.
53747         * sunrpc/rpc/rpc_msg.h: Likewise.
53748         * sunrpc/rpc/svc.h: Likewise.
53749         * sunrpc/rpc/svc_auth.h: Likewise.
53750         * sunrpc/rpc/types.h: Likewise.
53751         * sunrpc/rpc/xdr.h: Likewise.
53752         * sunrpc/rpc_clntout.c: Likewise.
53753         * sunrpc/rpc_cmsg.c: Likewise.
53754         * sunrpc/rpc_common.c: Likewise.
53755         * sunrpc/rpc_cout.c: Likewise.
53756         * sunrpc/rpc_dtable.c: Likewise.
53757         * sunrpc/rpc_hout.c: Likewise.
53758         * sunrpc/rpc_main.c: Likewise.
53759         * sunrpc/rpc_parse.c: Likewise.
53760         * sunrpc/rpc_parse.h: Likewise.
53761         * sunrpc/rpc_prot.c: Likewise.
53762         * sunrpc/rpc_sample.c: Likewise.
53763         * sunrpc/rpc_scan.c: Likewise.
53764         * sunrpc/rpc_scan.h: Likewise.
53765         * sunrpc/rpc_svcout.c: Likewise.
53766         * sunrpc/rpc_tblout.c: Likewise.
53767         * sunrpc/rpc_util.c: Likewise.
53768         * sunrpc/rpc_util.h: Likewise.
53769         * sunrpc/rpcinfo.c: Likewise.
53770         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53771         * sunrpc/rpcsvc/key_prot.x: Likewise.
53772         * sunrpc/rpcsvc/klm_prot.x: Likewise.
53773         * sunrpc/rpcsvc/mount.x: Likewise.
53774         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53775         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53776         * sunrpc/rpcsvc/rex.x: Likewise.
53777         * sunrpc/rpcsvc/rstat.x: Likewise.
53778         * sunrpc/rpcsvc/rusers.x: Likewise.
53779         * sunrpc/rpcsvc/sm_inter.x: Likewise.
53780         * sunrpc/rpcsvc/spray.x: Likewise.
53781         * sunrpc/rpcsvc/yppasswd.x: Likewise.
53782         * sunrpc/rtime.c: Likewise.
53783         * sunrpc/svc.c: Likewise.
53784         * sunrpc/svc_auth.c: Likewise.
53785         * sunrpc/svc_authux.c: Likewise.
53786         * sunrpc/svc_raw.c: Likewise.
53787         * sunrpc/svc_run.c: Likewise.
53788         * sunrpc/svc_simple.c: Likewise.
53789         * sunrpc/svc_tcp.c: Likewise.
53790         * sunrpc/svc_udp.c: Likewise.
53791         * sunrpc/svc_unix.c: Likewise.
53792         * sunrpc/svcauth_des.c: Likewise.
53793         * sunrpc/xcrypt.c: Likewise.
53794         * sunrpc/xdr.c: Likewise.
53795         * sunrpc/xdr_array.c: Likewise.
53796         * sunrpc/xdr_float.c: Likewise.
53797         * sunrpc/xdr_mem.c: Likewise.
53798         * sunrpc/xdr_rec.c: Likewise.
53799         * sunrpc/xdr_ref.c: Likewise.
53800         * sunrpc/xdr_sizeof.c: Likewise.
53801         * sunrpc/xdr_stdio.c: Likewise.
53802
53803         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53804         handling.
53805
53806 2010-08-19  Andreas Schwab  <schwab@redhat.com>
53807
53808         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53809
53810 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
53811
53812         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53813         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53814         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53815         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53816         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53817         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53818         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53819         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53820         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53821         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53822         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53823         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53824         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53825         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53826
53827 2010-07-26  Anton Blanchard  <anton@samba.org>
53828
53829         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53830         * malloc/arena.c (heap_trim): Likewise.
53831
53832 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
53833
53834         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53835         here.  Not...
53836         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53837         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53838
53839 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
53840
53841         * sysdeps/i386/elf/Makefile: New file.
53842
53843 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53844
53845         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53846         from fanotify_init.
53847         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53848         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53849
53850 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
53851
53852         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53853         of strncasecmp_l.
53854         * sysdeps/multiarch/strcmp.S: Likewise.
53855
53856 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
53857
53858         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53859         strncase_l-nonascii.
53860         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53861         Add strncase_l-ssse3.
53862         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53863         * sysdeps/x86_64/strcmp.S: Likewise.
53864         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53865         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53866         * sysdeps/x86_64/strncase.S: New file.
53867         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53868         * sysdeps/x86_64/strncase_l.S: New file.
53869         * string/Makefile (strop-tests): Add strncasecmp.
53870         * string/test-strncasecmp.c: New file.
53871
53872         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53873         warning.
53874
53875         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53876         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53877
53878 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53879
53880         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53881
53882 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
53883
53884         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53885         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53886         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53887
53888 2010-05-01  Alan Modra  <amodra@gmail.com>
53889
53890         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53891         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53892         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53893         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53894         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53895         tidying.  Don't tail-call __sigjmp_save for static lib.
53896         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53897         save location.
53898         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53899         (CALL_MCOUNT): Add eh info, and nop after bl.
53900         (TAIL_CALL_SYSCALL_ERROR): New macro.
53901         (PSEUDO_RET): Use it.
53902         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53903         Correct save location of integer regs and cr.
53904         (_dl_profile_resolve): Correct cr save location.  Delete nops
53905         after bl when SHARED.  Reduce cfi size a little by better
53906         placement of cfi directives.
53907         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53908         make a stack frame.  Instead use parm save area as a temp.
53909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53910         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
53911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53912         Don't make a stack frame for parent, use parm save area.
53913         Increase child stack frame to 112 bytes.  Don't save unused reg,
53914         and adjust reg usage.  Set up cfi on error recovery and
53915         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53917         (__makecontext): Add dummy nop after jump to exit.
53918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53919         Use correct parm save area and cr save, reduce stack frame.
53920         Correct cfi for possible PSEUDO_RET frame setup.
53921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53922         Branch to local label emitted by PSEUDO_RET rather than
53923         __syscall_error.
53924
53925 2010-08-12  Andreas Schwab  <schwab@redhat.com>
53926
53927         [BZ #11904]
53928         * locale/programs/locale.c (print_assignment): New function.
53929         (show_locale_vars): Use it.
53930
53931 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
53932
53933         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53934         field.
53935         (struct statfs64): Likewise.
53936         (_STATFS_F_FLAGS): Define.
53937         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53938         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53939         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53940         (ST_VALID): Define locally.
53941         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53942         __statvfs_getflags, use the provided value.
53943         * sysdeps/unix/sysv/linux/kernel-features.h: Define
53944         __ASSUME_STATFS_F_FLAGS.
53945
53946         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53947
53948         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53949         Add sys/fanotify.h.
53950         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53951         fanotify_mask for GLIBC_2.13.
53952         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53953         fanotify_init and fanotify_mark.
53954         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53955         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53956
53957         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53958         Add prlimit.
53959         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53960         prlimit64 for GLIBC_2.13.
53961         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53962         prlimit64.
53963         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53964         syscall.
53965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53966         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53967         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53968         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53969         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
53970         add prlimit alias.
53971         * sysdeps/unix/sysv/linux/prlimit.c: New file.
53972
53973         [BZ #11903]
53974         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53975         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53976
53977         * nss/Makefile: Add rules to build and run tst-nss-test1.
53978         * shlib-versions: Add entry for libnss_test1.
53979         * nss/nss_test1.c: New file.
53980         * nss/tst-nss-test1.c: New file.
53981
53982         * nss/nsswitch.c (__nss_database_custom): Define new variable.
53983         (__nss_configure_lookup): Set appropriate entry in
53984         __nss_configure_lookup to true.
53985         * nss/nsswitch.h: Define enum with indeces of databases in
53986         databases and __nss_database_custom arrays.  Declare
53987         __nss_database_custom.
53988         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53989         to avoid using nscd when custom rules are installed.
53990         * nss/getXXbyYY_r.c: Likewise.
53991         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53992
53993         * nss/nss_files/files-parse.c: Whitespace fixes.
53994
53995 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
53996
53997         [BZ #11883]
53998         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53999         * posix/fnmatch_loop.c: Likewise.
54000
54001 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54002
54003         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54004         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54005         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54006         * Versions.def [GLIBC_2.13]: Add.
54007
54008 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54009
54010         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54011         Also fail if tpwd after pwuid call is NULL.
54012
54013 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54014
54015         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54016         when converting to ms.
54017
54018 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54019
54020         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54021         EOPNOTSUPP errors with ENOTTY.
54022         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54023         EOPNOTSUPP errors with ENOTTY.
54024
54025 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54026
54027         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54028         Add strcasecmp_l-ssse3.
54029         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54030         strcasecmp.
54031         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54032         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54033         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54034
54035 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54036
54037         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54038
54039         * string/Makefile (strop-tests): Add strcasecmp.
54040         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54041         strcasecmp_l-nonascii.
54042         (gen-as-const-headers): Add locale-defines.sym.
54043         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54044         * sysdeps/x86_64/strcasecmp.S: New file.
54045         * sysdeps/x86_64/strcasecmp_l.S: New file.
54046         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54047         * sysdeps/x86_64/locale-defines.sym: New file.
54048         * string/test-strcasecmp.c: New file.
54049
54050         * string/test-strcasestr.c: Test both ends of the range of characters.
54051         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54052
54053 2010-07-29  Roland McGrath  <roland@redhat.com>
54054
54055         [BZ #11856]
54056         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54057
54058 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54059
54060         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54061         for ld.so.
54062
54063 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54064
54065         * manual/memory.texi (Malloc Tunable Parameters): Document
54066         M_PERTURB.
54067
54068 2010-07-26  Roland McGrath  <roland@redhat.com>
54069
54070         [BZ #11840]
54071         * configure.in (-fgnu89-inline check): Set and substitute
54072         gnu89_inline, not libc_cv_gnu89_inline.
54073         * configure: Regenerated.
54074         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54075
54076 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54077
54078         * string/test-strnlen.c: New file.
54079         * string/Makefile (strop-tests): Add strnlen.
54080         * string/tester.c (test_strnlen): Add a few more test cases.
54081         * string/tst-strlen.c: Better error reporting.
54082
54083         * sysdeps/x86_64/strnlen.S: New file.
54084
54085 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54086
54087         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54088         lower-latency instructions.
54089
54090 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54091
54092         * string/test-strcasestr.c: New file.
54093         * string/test-strstr.c: New file.
54094         * string/Makefile (strop-tests): Add strstr and strcasestr.
54095         * string/str-two-way.h: Don't undefine MAX.
54096         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54097
54098 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54099
54100         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54101         strcasestr-nonascii.
54102         (CFLAGS-strcasestr-nonascii.c): Define.
54103         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54104         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54105         Remove unused attribute.
54106
54107 2010-07-20  Roland McGrath  <roland@redhat.com>
54108
54109         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54110         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54111         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54112         like LD_HWCAP_MASK can disable hwcaps.
54113
54114 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54115
54116         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54117
54118 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54119
54120         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54121         call in strcasestr.
54122         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54123         __strcasestr_sse42_nonascii.
54124         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54125         strcasestr-nonascii.c.
54126         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54127
54128 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54129
54130         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54131         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54132         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54133         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54134
54135 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54136
54137         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54138         fcntl.
54139
54140 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54141
54142         [BZ #11577]
54143         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54144         dl_signal_cerror.
54145
54146 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54147
54148         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54149         _PC_PIPE_BUF using F_GETPIPE_SZ.
54150
54151 2010-07-05  Roland McGrath  <roland@redhat.com>
54152
54153         * manual/arith.texi (Rounding Functions): Fix rint description
54154         implicit in round description.
54155
54156 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54157
54158         * elf/Makefile: Fix linking for a few tests to make recent linker
54159         happy.
54160
54161 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54162
54163         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54164         $(common-objpfx)libc_nonshared.a.
54165
54166 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54167
54168         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54169         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54170         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54171         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54172         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54173         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54174         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54175         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54190         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54191         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54192         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54193         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54194         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54195         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54196         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54197         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54198         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54199         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54200         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54201         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54216
54217 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54218
54219         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54220         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54221         * string/memmove.c (memmove): Renamed to ...
54222         (MEMMOVE): ...this.  Default to memmove.
54223         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54224         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54225         (END_CHK): Define.
54226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54227         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54228         mempcpy-ssse3-back memmove-ssse3-back.
54229         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54230         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54231         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54232         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54233         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54234         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54235         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54236         * sysdeps/x86_64/multiarch/memmove.c: New file.
54237         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54238         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54239         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54240         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54241         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54242         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54243         Define.
54244         (index_Fast_Copy_Backward): Define.
54245         (HAS_ARCH_FEATURE): Define.
54246         (HAS_FAST_REP_STRING): Define.
54247         (HAS_FAST_COPY_BACKWARD): Define.
54248
54249 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54250
54251         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54252         Restore proper fallback handling.
54253
54254 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54255
54256         [BZ #11701]
54257         * posix/group_member.c (__group_member): Correct checking loop.
54258
54259         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54260         OOM in getpwuid_r correctly.  Return error number when the caller
54261         should return, otherwise -1.
54262         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54263         call returning > 0 value.
54264         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54265
54266 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54267
54268         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54269         libc_nonshared.a from targets in modules-names.
54270
54271 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54272
54273         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54274         requires it.
54275
54276 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54277
54278         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54279         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54280         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54281         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54282
54283 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54284
54285         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54286
54287 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54288
54289         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54290         and F_GETPIPE_SZ.
54291         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54292         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54293         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54294         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54295         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54296         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54297
54298 2010-06-14  Roland McGrath  <roland@redhat.com>
54299
54300         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54301
54302 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54303
54304         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54305         __REDIRECT followed by __THROW.
54306         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54307         * posix/getopt.h (getopt): Likewise.
54308
54309 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54310
54311         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54312         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54313         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54314         in AT_FLAGS.
54315         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54316         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54317
54318 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54319
54320         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54321
54322 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54323
54324         [BZ #11640]
54325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54326         Properly check family and model.
54327
54328 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54329
54330         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54331
54332 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54333
54334         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54335
54336 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54337
54338         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54339         symbol reference.
54340
54341 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54342
54343         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54344         symbol reference.
54345
54346 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54347
54348         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54349         and internal_recvmmsg.
54350         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54351         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54352         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54353         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54354
54355         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54356         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54357         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54358
54359 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54360
54361         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54362
54363 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54364
54365         POWER7 optimizations.
54366         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54367         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54368
54369 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54370
54371         * version.h: Update for 2.13 development version.
54372
54373 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54374
54375         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54376         exceptions.  Return 0.
54377
54378 2010-05-07  Roland McGrath  <roland@redhat.com>
54379
54380         * elf/ldconfig.c (main): Add a const.
54381
54382 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54383
54384         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54385         (args_options): Add no-idn option.
54386         (ahosts_keys_int): Add idn_flags to ai_flags.
54387         (parse_option): Handle 'i' option to clear idn_flags.
54388
54389         * malloc/malloc.c (_int_free): Possible race in the most recently
54390         added check.  Only act on the data if no current modification
54391         happened.
54392
54393 See ChangeLog.17 for earlier changes.