sh: Remove custom lowlevellock, barrier, condvar, and rwlock implementations.
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2
3         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
13         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
14         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
15         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
20         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22
23 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24
25         * sysdeps/x86_64/x32/Makefile: New file.
26
27 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28
29         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30         1L with (mp_limb_t) 1.
31
32 2014-12-17  Roland McGrath  <roland@hack.frob.com>
33
34         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
35         * nptl/libc_pthread_init.c: ... here.
36         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
37         * nptl/register-atfork.c: ... here.
38
39         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
40         Use pthread_sigmask rather than INTERNAL_SYSCALL.
41         Use assert_perror to check its return value.
42         (__gai_create_helper_thread): Likewise.
43
44         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
45
46         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
47
48 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
49
50         [BZ #17725]
51         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
52         __profil_counter.
53         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
54         Likewise.
55         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
56         Likewise.
57         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
58         Likewise.
59         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
60         (profil_counter): Likewise.
61         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
62         (profil_counter): Likewise.
63         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
64         Likewise.
65         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
66         Likewise.
67         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
68         (profil_counter): Likewise.
69         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
70         Likewise.
71         [!__profil_counter] (profil_counter): Define as weak alias of
72         __profil_counter.
73         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
74         (profil_counter): Rename to __profil_counter.
75         [!__profil_counter] (profil_counter): Define as weak alias of
76         __profil_counter.
77         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
78         (profil_counter): Rename to __profil_counter.
79         [!__profil_counter] (profil_counter): Define as weak alias of
80         __profil_counter.
81         * sysdeps/posix/profil.c: Update comment referring to
82         profil_counter.
83         (__profil): Use __profil_counter instead of profil_counter.
84         * sysdeps/posix/sprofil.c (profil_counter): Rename to
85         __profil_counter.  Use __profil_counter_ushort and
86         __profil_counter_uint in definitions.
87         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
88         instead of profil_counter_uint and profil_counter_ushort.
89
90         [BZ #17722]
91         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
92         define as weak alias of __inet_makeaddr.
93         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
94         as weak alias of __inet_addr.
95         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
96         as weak alias of __inet_pton.  Use libc_hidden_weak.
97         * include/arpa/inet.h (__inet_pton): Declare.  Use
98         libc_hidden_proto.
99         (inet_makeaddr): Don't use libc_hidden_proto.
100         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
101         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
102         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
103         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
104         Remove variable.
105         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
106         (test-xfail-POSIX/time.h/linknamespace): Likewise.
107
108 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
109
110         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
111
112 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
113
114         * stdio-common/bug-vfprintf-nargs.c (do_test):
115         Cast value to intptr_t to avoid format warning
116         for usage with PRIdPTR printing macro.
117
118 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
119
120         * libio/tst-widetext.c (do_test):
121         Use format type %td instead of %Zd for ptrdiff_t
122         in order to avoid format warning.
123
124 2014-12-17  Andreas Schwab  <schwab@suse.de>
125
126         * nscd/mem.c (gc): Add size_t cast to match printf format.
127
128 2014-12-16  Roland McGrath  <roland@hack.frob.com>
129
130         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
131         (init): Apply PTR_MANGLE to pointers before storing them.
132         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
133         before using them.
134
135 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
136
137         [BZ #17719]
138         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
139         define as weak alias of __memrchr.
140         (__memrchr): Do not define as strong alias of memrchr.
141         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
142         Remove variable.
143         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
144         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
145         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
146
147         [BZ #17717]
148         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
149         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
150         (if_indextoname): Rename to __if_indextoname and define as weak
151         alias of __if_indextoname.  Use libc_hidden_weak.
152         (if_freenameindex): Rename to __if_freenameindex and define as
153         weak alias of __if_freenameindex.
154         (if_nameindex): Rename to __if_nameindex and define as weak alias
155         of __if_nameindex.
156         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
157         __if_nametoindex and define as weak alias of __if_nametoindex.
158         Use libc_hidden_weak.
159         (if_freenameindex): Rename to __if_freenameindex and define as
160         weak alias of __if_freenameindex.
161         (if_nameindex): Rename to __if_nameindex and define as weak alias
162         of __if_nameindex.
163         (if_indextoname): Rename to __if_indextoname and define as weak
164         alias of __if_indextoname.  Use libc_hidden_weak.
165         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
166         __if_nametoindex and define as weak alias of __if_nametoindex.
167         Use libc_hidden_weak.
168         (if_freenameindex): Rename to __if_freenameindex and define as
169         weak alias of __if_freenameindex.  Use libc_hidden_weak.
170         (if_nameindex_netlink): Use __if_freenameindex instead of
171         if_freenameindex.
172         (if_nameindex): Rename to __if_nameindex and define as weak alias
173         of __if_nameindex.  Use libc_hidden_weak.
174         (if_indextoname): Rename to __if_indextoname and define as weak
175         alias of __if_indextoname.  Use libc_hidden_weak.
176         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
177         libc_hidden_proto.
178         [!_ISOMAC] (__if_freenameindex): Likewise.
179         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
180         if_nametoindex.
181         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
182         variable.
183         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
184         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
185         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
186         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
187         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
188         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
189         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
190
191         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
192         Remove variable.
193         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
194         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
195
196 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
197
198         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
199         subscript above bounds'
200
201         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
202         bounds.
203
204 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
205
206         * libio/tst-fopenloc.c: Use test-skeleton.c.
207
208         * stdlib/tst-bsearch.c: Use test-skeleton.c.
209         (entry): Rename to ITEM.
210         (do_test, comp): Adjust.
211
212         * stdio-common/tst-fseek.c: Use test-skeleton.c.
213
214 2014-12-16  Torvald Riegel  <triegel@redhat.com>
215
216         * string/tester.c: Include <libc-internal.h>.
217         (test_memset): Ignore -Wmemset-transposed-args.
218
219 2014-12-16  Torvald Riegel  <triegel@redhat.com>
220
221         * misc/tst-mntent2.c (do_test): Fix warning.
222
223 2014-12-16  Torvald Riegel  <triegel@redhat.com>
224
225         * elf/tst-unique4lib.cc(a): Mark as used.
226
227 2014-12-16  Florian Weimer  <fweimer@redhat.com>
228
229         [BZ #17630]
230         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
231         names.
232
233 2014-12-16  Allan McRae  <allan@archlinux.org>
234
235         * stdio-common/Makefile (tests): Re-add bug26.
236
237 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
238
239         [BZ #17657]
240         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
241         static array.
242
243 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
244
245         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
246         (__lll_lock_wait): Likewise.
247         (__lll_timedlock_wait): Likewise.
248         (__lll_timedwait_tid): Likewise.
249         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
250         (__lll_robust_timedlock_wait): Likewise.
251         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
252         (lll_cond_trylock): Likewise.
253         (__lll_lock): Likewise.
254         (__lll_robust_lock): Likewise.
255         (__lll_cond_lock): Likewise.
256         (lll_robust_cond_lock): Likewise.
257         (__lll_timedlock): Likewise.
258         (__lll_robust_timedlock): Likewise.
259         (__lll_unlock): Likewise.
260         (__lll_robust_unlock): Likewise.
261         (lll_wait_tid): Likewise.
262         (lll_timedwait_tid): Likewise.
263
264 2014-12-15  Torvald Riegel  <triegel@redhat.com>
265
266         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
267
268 2014-12-15  Torvald Riegel  <triegel@redhat.com>
269
270         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
271
272 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
273
274         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
275         * stdio-common/tst-sprintf.c: Likewise.
276
277 2014-12-15  Torvald Riegel  <triegel@redhat.com>
278
279         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
280
281 2014-12-15  Jeff Law  <law@redhat.com>
282
283         [BZ #16617]
284         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
285         on the heap.  (CVE-2012-3406)
286         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
287         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
288         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
289
290 2014-12-15  Will Newton  <will.newton@linaro.org>
291
292         * manual/install.texi: Bump required version of texinfo
293         to 4.7 from 4.5.
294         * INSTALL: Regenerated.
295         * configure.ac: Check for makeinfo version 4.7 and above.
296         * configure: Regenerated.
297
298 2014-12-12  Roland McGrath  <roland@hack.frob.com>
299
300         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
301         PREFIX, string constant to insert between directory and name.
302         * sysdeps/posix/shm_open.c: Update caller.
303         * sysdeps/posix/shm_unlink.c: Likewise.
304         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
305         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
306         (SEM_SHM_PREFIX): New macro.
307         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
308         [$(have-thread-library) = no].
309         * nptl/Makefile (libpthread-routines): Add shm-directory.
310         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
311         * sysdeps/nptl/shm-directory.h: New file.
312         * sysdeps/posix/shm-directory.c
313         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
314         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
315         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
316         INTERNAL_SYSCALL.
317         (__where_is_shmfs): Function removed.
318         (mountpoint, defaultmount, defaultdir, __namedsem_once):
319         Variables removed.
320         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
321         Use SHM_GET_NAME.
322         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
323
324         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
325         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
326         unconditional for use inside libpthread.
327         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
328
329 2014-12-12  Roland McGrath  <roland@hack.frob.com>
330
331         * nptl/pthread_getaffinity.c: New file.
332         * nptl/pthread_setaffinity.c: New file.
333         * nptl/pthread_getname.c: New file.
334         * nptl/pthread_setname.c: New file.
335
336         * nptl/pthread_create.c (START_THREAD_DEFN)
337         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
338
339 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
340             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
341
342         * resolv/res_send.c (send_vc): Disable warning resplen may
343         be used uninitialized.
344
345 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
346
347         * nptl/tst-mutex6.c
348         (ATTR_NULL): New define checks ATTR against NULL.
349         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
350         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
351
352 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
353
354         [BZ #17581]
355         * malloc/hooks.c
356         (mem2mem_check): Revert my previous change.
357         (malloc_check_get_size): Revert my previous change.
358         (mem2chunk_check): Revert my previous change.
359
360 2014-12-11  Roland McGrath  <roland@hack.frob.com>
361
362         * sysdeps/posix/shm-directory.c: New file.
363         * sysdeps/posix/shm-directory.h: New file.
364         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
365         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
366         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
367         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
368         Transmute EPERM to EACCES.
369         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
370         from ...
371         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
372         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
373
374 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
375
376         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
377         pointer and cast to uintptr_t.
378         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
379         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
380         Add cast to avoid warning.
381         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
382
383 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
384
385         * nptl/semaphore.h: Move to ...
386         * sysdeps/pthread/semaphore.h: ... here.
387         * Makefile (installed-headers): Change nptl/semaphore.h to
388         sysdeps/pthread/semaphore.h.
389
390 2014-12-11  Roland McGrath  <roland@hack.frob.com>
391
392         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
393         generated error format strings.
394
395         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
396         -Wformat-extra-args warnings for scanf formats.
397         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
398         test of zero-length format (duh).
399         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
400         corner-case scanf format test.
401         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
402         generated fprintf format string.
403         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
404         corner-case sprintf format tests.
405         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
406         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
407         -Wformat-extra-args warnings throughout.
408         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
409         (CFLAGS-scanf4.c): Likewise.
410         (CFLAGS-scanf7.c): Likewise.
411         (CFLAGS-tst-sprintf.c): Likewise.
412         (CFLAGS-tst-printf.c): Likewise.
413         (CFLAGS-tst-printfsz.c): Likewise.
414
415 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
416
417         * include/cpio.h: New file.
418         * include/fmtmsg.h: Likewise.
419
420         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
421         corresponding format argument to size_t.
422         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
423         arguments.
424         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
425         corresponding format argument to size_t.
426         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
427         arguments.
428         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
429         corresponding format argument to size_t.
430         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
431         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
432         (CFLAGS-tst-mbswcs2.c): Likewise.
433         (CFLAGS-tst-mbswcs3.c): Likewise.
434         (CFLAGS-tst-mbswcs4.c): Likewise.
435         (CFLAGS-tst-mbswcs5.c): Likewise.
436         (CFLAGS-tst-trans.c): Likewise
437
438 2014-12-11  Roland McGrath  <roland@hack.frob.com>
439
440         * posix/regexbug1.c (main): Use "%s" format with regerror results,
441         rather than assuming they won't contain any '%'s.
442
443 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
444
445         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
446         inhibit_loop_to_libcall to avoid recursive calls.
447         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
448         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
449
450 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
451
452         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
453         prototype.
454
455 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
456
457         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
458         integer value instead of boolean.
459
460 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
461
462         * malloc/malloc.c: Fix powerof2 check.
463
464 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
465
466         * locale/programs/locfile.h (maybe_swap_uint32):
467         Remove inline and add unused attribute.
468
469 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
470
471         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
472         Truncating assembler expression to a .long expression.
473
474 2014-12-11  Andreas Schwab  <schwab@suse.de>
475
476         * elf/rtld.c (struct map_args): Constify str member.
477         (do_preload): Constify fname argument.
478
479 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
480
481         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
482         constants definition.
483
484 2014-12-11  Andreas Schwab  <schwab@suse.de>
485
486         [BZ #16657]
487         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
488         FORCE_ELISION instead of DO_ELISION.
489         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
490         Remove.
491         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
492         Likewise.
493
494         * iconvdata/gconv-modules: Remove duplicate entry.
495
496 2014-12-11  Will Newton  <will.newton@linaro.org>
497
498         Merge gettext 0.19.3 into intl/.
499
500         This involves a number of cosmetic changes to comments
501         and ANSI function definitions and prototypes throughout
502         all the files. The gettext copyright header is used but
503         with the date ranges taken from the glibc copy.
504
505         * NEWS: Add gettext merge to 2.21.
506         * intl/bindtextdom.c: Switch to gettext copyright.
507         Use ANSI definitions and prototypes.
508         Use gl_* locking primitives rather than __libc_* ones.
509         Use __builtin_expect rather than __glibc_likely/unlikely.
510         * intl/dcgettext.c: Switch to gettext copyright.
511         Use ANSI definitions and prototypes.
512         * intl/dcigettext.c: Switch to gettext copyright.
513         Use ANSI definitions and prototypes.
514         (INTDIV0_RAISES_SIGFPE): New define.
515         Use gl_* locking primitives rather than __libc_* ones.
516         Include eval-plural.h instead of plural-eval.c.
517         Use __builtin_expect rather than __glibc_likely/unlikely.
518         * intl/dcngettext.c: Switch to gettext copyright.
519         Use ANSI definitions and prototypes.
520         * intl/dgettext.c: Likewise.
521         * intl/dngettext.c: Likewise.
522         * intl/plural-eval.c: Renamed to...
523         * intl/eval-plural.h: ...this.
524         * intl/explodename.c: Switch to gettext copyright.
525         Use ANSI definitions and prototypes.
526         (_nl_explode_name): Use strchr instead of __rawmemchr.
527         * intl/finddomain.c: Switch to gettext copyright.
528         Use ANSI definitions and prototypes.
529         Use gl_* locking primitives rather than __libc_* ones.
530         (_nl_find_domain): Use malloc rather than alloca for
531         allocation of temporary locale name.
532         * intl/gettext.c: Switch to gettext copyright.
533         Use ANSI definitions and prototypes.
534         * intl/gettextP.h: Switch to gettext copyright.
535         Use ANSI definitions and prototypes.
536         Use gl_* locking primitives rather than __libc_* ones.
537         * intl/gmo.h: Switch to gettext copyright.
538         (struct sysdep_string): Move struct segment_pair outside of
539         struct definition.
540         * intl/hash-string.c: Use ANSI definitions and prototypes.
541         * intl/hash-string.h: Switch to gettext copyright.
542         Use ANSI definitions and prototypes.
543         * intl/l10nflist.c: Switch to gettext copyright.
544         Use ANSI definitions and prototypes.
545         (_nl_normalize_codeset): Avoid integer overflow.
546         * intl/loadinfo.h: Switch to gettext copyright.
547         Use ANSI definitions and prototypes.
548         (LIBINTL_DLL_EXPORTED): New define.
549         (PATH_SEPARATOR): New define.
550         * intl/loadmsgcat.c: Switch to gettext copyright.
551         * intl/localealias.c: Switch to gettext copyright.
552         Use ANSI definitions and prototypes.
553         (_nl_expand_alias): Use PATH_SEPARATOR.
554         * intl/ngettext.c: Switch to gettext copyright.
555         Use ANSI definitions and prototypes.
556         * intl/plural-exp.c: Likewise.
557         * intl/plural-exp.h: Switch to gettext copyright.
558         Use ANSI definitions and prototypes.
559         (struct expression): Move definition of enum operator outside
560         of struct definition.
561         * intl/plural.c: Regenerate.
562         * intl/plural.y: Switch to gettext copyright.
563         Use ANSI definitions and prototypes.
564         Port to bison 3.0.
565         * intl/textdomain.c: Switch to gettext copyright.
566         Use ANSI definitions and prototypes.
567         Use gl_* locking primitives rather than __libc_* ones.
568
569 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
570
571         * debug/warning-nop.c: Add used atrribute.
572
573 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
574
575         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
576
577         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
578         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
579         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
580
581 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
582             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
583
584         [BZ #17634]
585         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
586         Undefine after defining function.  Define as weak alias of
587         __wcschr.  Use libc_hidden_weak.
588         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
589         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
590         (libc_hidden_def): Also define __GI___wcschr alias.
591         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
592         __wcschr and define as weak alias of __wcschr.
593         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
594         __wcschr.
595         [!WCSCHR] (DEFAULT_WCSCHR): Define.
596         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
597         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
598         libc_hidden_weak.  Do not use libc_hidden_def.
599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
600         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
601         __GI___wcschr alias.
602         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
603         [IS_IN (libc)] (wcschr): Define as macro expanding to
604         __redirect_wcschr.
605         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
606         [IS_IN (libc)] (__wcschr_power6): Likewise.
607         [IS_IN (libc)] (__wcschr_power7): Likewise.
608         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
609         instead of wcschr.
610         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
611         __libc_wcschr.
612         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
613         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
614         __wcschr and define as weak alias of __wcschr.  Use
615         libc_hidden_builtin_def.
616         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
617         as weak alias of __wcschr.  Use libc_hidden_weak.
618         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
619         wcschr.
620         * time/era.c (_nl_init_era_entries): Likewise.
621         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
622         variable.
623         (test-xfail-XPG3/time.h/linknamespace): Likewise.
624         (test-xfail-XPG4/time.h/linknamespace): Likewise.
625
626 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
627
628         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
629         format for long int variable.
630
631 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
632
633         [BZ #10672]
634         * manual/search.texi: (Array Sort Function): Remove claim how to make
635         qsort stable.
636
637 2014-12-10  Andreas Schwab  <schwab@suse.de>
638
639         [BZ #12847]
640         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
641         user-controlled locks.
642
643 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
644
645         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
646         register.
647
648 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
649
650         * configure.ac (--disable-werror): New configure option.
651         (enable_werror): New AC_SUBST.
652         * configure: Regenerated.
653         * config.make.in (enable-werror): New variable.
654         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
655         -Wno-error=undef.
656         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
657         * manual/install.texi (Configuring and compiling): Document
658         --disable-werror.
659         * INSTALL: Regenerated.
660         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
661         (CFLAGS-tst-chk2.c): Likewise.
662         (CFLAGS-tst-chk3.c): Likewise.
663         (CFLAGS-tst-chk4.cc): Likewise.
664         (CFLAGS-tst-chk5.cc): Likewise.
665         (CFLAGS-tst-chk6.cc): Likewise.
666         (CFLAGS-tst-lfschk1.c): Likewise.
667         (CFLAGS-tst-lfschk2.c): Likewise.
668         (CFLAGS-tst-lfschk3.c): Likewise.
669         (CFLAGS-tst-lfschk4.cc): Likewise.
670         (CFLAGS-tst-lfschk5.cc): Likewise.
671         (CFLAGS-tst-lfschk6.cc): Likewise.
672
673         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
674         (main): Disable -Wdeprecated-declarations around calls to
675         register_printf_function.
676
677         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
678         (do_test): Disable -Wdiv-by-zero around some calls to
679         fwrite_unlocked and fread_unlocked.
680
681         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
682         (DIAG_POP_NEEDS_COMMENT): Likewise.
683         (_DIAG_STR1): Likewise.
684         (_DIAG_STR): Likewise.
685         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
686         * stdio-common/bug21.c: Include <libc-internal.h>.
687         (do_test): Disable -Wformat around call to sscanf.
688         * stdio-common/scanf14.c: Include <libc-internal.h>.
689         (main): Disable -Wformat around some calls to scanf functions.
690
691 2014-12-09  Torvald Riegel  <triegel@redhat.com>
692
693         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
694
695 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
696
697         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
698         stack variable alignment.
699
700 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
701
702         [BZ #17682]
703         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
704         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
705         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
706         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
707         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
708         __getrlimit instead of getrlimit.
709         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
710         __gettimeofday instead of gettimeofday.
711         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
712         Likewise.
713         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
714         Likewise.
715         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
716         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
717         Remove variable.
718         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
719         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
720
721 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
722
723         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
724         for wide-character tests.
725
726 2014-12-04  Roland McGrath  <roland@hack.frob.com>
727
728         * io/openat64.c: #include <libc-internal.h>
729         (__openat64): Prototypify.  Use ignore_value on MODE.
730         * io/openat.c: Likewise.
731         * misc/reboot.c: #include <libc-internal.h>
732         (reboot): Prototypify.  Use ignore_value on HOWTO.
733         * misc/ptrace.c: #include <libc-internal.h>
734         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
735
736 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
737
738         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
739         XPG4, UNIX98 and XOPEN2K.
740         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
741         Remove variable.
742         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
743
744 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
745
746         * libio/fileops.c: Use ISO C style for function definitions.
747         * libio/iofopen.c: Likewise.
748         * libio/wfileops.c: Likewise.
749
750         [BZ #17653]
751         * libio/fileops.c (_IO_new_file_underflow): Unset cached
752         offset on EOF.
753         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
754         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
755         (fgets_func): Function pointer to fgets and fgetws.
756         (do_ftell_test): Add test to verify ftell value after read
757         EOF.
758         (do_test): Set fgets_func.
759
760         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
761         O_TRUNC flag for w and w+ modes.
762         (do_rewind_test): Likewise.
763         (do_ftell_test): Likewise.
764         (do_write_test): Likewise.
765
766         [BZ #17647]
767         * libio/fileops.c (do_ftell): Seek only when there are
768         unflushed writes.
769         * libio/wfileops.c (do_ftell_wide): Likewise.
770         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
771         test case.
772         (do_one_test): Call it.
773
774 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
775
776         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
777         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
778         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
779         Remove variable.
780         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
781         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
782         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
783
784 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
785
786         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
787         Remove variable.
788         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
789
790         [BZ #17668]
791         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
792         as weak alias of __getifaddrs.  Use libc_hidden_weak.
793         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
794         __freeifaddrs.  Use libc_hidden_weak.
795         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
796         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
797         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
798         __freeifaddrs.  Use libc_hidden_weak.
799         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
800         __getifaddrs and define as weak alias of __getifaddrs.  Use
801         libc_hidden_weak.
802         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
803         __freeifaddrs.  Use libc_hidden_weak.
804         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
805         Remove variable.
806         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
807         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
808
809 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
810
811         [BZ #17601]
812         * sysdeps/mips/start.S (__start): Use indirect jump to call
813         __libc_start_main.
814
815 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
816
817         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
818
819         * nptl/tst-mutex1.c: Include <stdbool.h>.
820         [!ATTR] (ATTR_NULL): New macro.
821         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
822         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
823         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
824
825         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
826         to char *.
827
828         [BZ #17665]
829         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
830         Change conditional to [__USE_MISC].
831
832         [BZ #17664]
833         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
834         fgets_unlocked.
835         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
836         __fgets_unlocked.
837         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
838         fgets_unlocked.
839         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
840         Remove variable.
841         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
842         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
843         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
844         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
845         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
846         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
847         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
848         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
849         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
850
851         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
852
853 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
854
855         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
856         Remove strpbrk objects.
857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
858         (__libc_ifunc_impl_list): Remove strpbrk implementation.
859         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
860         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
861         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
862         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
863
864         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
865         Remove strcspn objects.
866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
867         (__libc_ifunc_impl_list): Remove strcspn implementation.
868         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
869         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
870         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
871         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
872
873         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
874         Remove strspn objetcs.
875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
876         (__libc_ifunc_impl_list): Remove strspn implementation.
877         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
878         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
879         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
880         * sysdeps/powerpc/powerpc64/strspn.S: New file.
881
882 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
883
884         [BZ #17581]
885         * malloc/hooks.c
886         (mem2mem_check): Add a terminator to the chain of checking blocks.
887         (malloc_check_get_size): Use it here.
888         (mem2chunk_check): Ditto.
889
890 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
891
892         * sysdeps/powerpc/powerpc64/strtok.S: New file.
893         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
894
895 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
896
897         * bits/ioctl-types.h: Indent preprocessor directives correctly.
898
899         * nptl/nptl-init.c: Include libc-internal.h.
900         (__pthread_initialize_minimal_internal): Use ROUND_UP.
901
902         * elf/ldconfig.c (search_dir): Expand comment.
903
904 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
905
906         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
907         variable.
908         (linknamespace-symlist-stdlibs-tests): Likewise.
909         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
910         instead of $(objpfx)symlist-stdlibs.
911         (linknamespace-libs-isoc): New variable.
912         (linknamespace-libs): Use $(linknamespace-libs-isoc).
913         (linknamespace-libs-ISO): New variable.
914         (linknamespace-libs-ISO99): Likewise.
915         (linknamespace-libs-ISO11): Likewise.
916         (linknamespace-libs-XPG3): Likewise.
917         (linknamespace-libs-XPG4): Likewise.
918         (linknamespace-libs-POSIX): Likewise.
919         (linknamespace-libs-UNIX98): Likewise.
920         (linknamespace-libs-XOPEN2K): Likewise.
921         (linknamespace-libs-POSIX2008): Likewise.
922         (linknamespace-libs-XOPEN2K8): Likewise.
923         ($(objpfx)symlist-stdlibs): Replace by
924         $(linknamespace-symlist-stdlibs-tests).  Use
925         $(linknamespace-libs-$*) as set of libraries.
926         ($(linknamespace-header-tests)): Update dependencies.  Use
927         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
928         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
929         * conform/linknamespace.pl: Remove comment about considering
930         definitions of symbols from irrelevant libraries.
931
932 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
933
934         [BZ #13862]
935         * elf/dl-tls.c: Include <atomic.h>.
936         (oom): Remove #ifdef SHARED/#endif.
937         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
938         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
939         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
940         big enough.
941         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
942         * nptl/Makefile (tests): Add tst-stack4.
943         (modules-names): Add tst-stack4mod.
944         ($(objpfx)tst-stack4): New.
945         (tst-stack4mod.sos): Likewise.
946         ($(objpfx)tst-stack4.out): Likewise.
947         ($(tst-stack4mod.sos)): Likewise.
948         (clean): Likewise.
949         * nptl/tst-stack4.c: New file.
950         * nptl/tst-stack4mod.c: Likewise.
951
952 2014-11-27  J. Brown  <jb999@gmx.de>
953
954         * sysdeps/x86/bits/string.h: Add recent CPUs.
955
956 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
957
958         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
959         sigblock.
960
961         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
962         feof.
963
964         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
965         variable.
966
967 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
968
969         * nscd/connections.c: Include libc-internal.h because of macro
970         usage ignore_value.
971
972 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
973
974         * string/bits/string3.h (__warn_memset_zero_len): Don't
975         declare for gcc newer than 5.0.
976         (memset): Don't test for zero-length __LEN for gcc newer than
977         5.0.
978
979 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
980
981         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
982         size_t for %zu format.
983
984         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
985         difference, not %ju.
986
987 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
988
989         * include/libc-internal.h (ignore_value): New macro.
990         * nscd/connections.c (restart): Wrap calls to setuid and setgid
991         with ignore_value.
992
993         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
994         definition.
995
996         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
997         pthread_cleanup_push to void *.
998
999         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1000         Undefine.
1001
1002         [BZ #16619]
1003         [BZ #16740]
1004         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1005         instead of 1L << 52.
1006
1007         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1008         * libio/bug-rewind2.c (do_test): Likewise.
1009
1010         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1011         * debug/test-strcpy_chk-ifunc.c: Likewise.
1012         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1013         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1014         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1015         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1016         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1017         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1018         * Rules [$(multi-arch) = no] (tests): Do not filter out
1019         $(tests-ifunc).
1020         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1021         * debug/Makefile (tests-ifunc): Remove variable.
1022         (tests): Do not add $(tests-ifunc).
1023         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1024         (tests): Do not add $(tests-ifunc).
1025         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1026         [TEST_IFUNC]: Remove conditionals.
1027         * string/test-string.h (TEST_IFUNC): Remove macro.
1028         [TEST_IFUNC]: Remove conditionals.
1029
1030         * string/test-strchr.c [!WIDE] (L): New macro.
1031         [WIDE] (L): Likewise.
1032         (check1): Use CHAR instead of char.  Use L on string and character
1033         constants.
1034
1035 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1036
1037         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1038         tests.
1039         * sysdeps/powerpc/bits/atomic.h
1040         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1041         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1042         (atomic_exchange_and_add_acq): Likewise.
1043         (atomic_exchange_and_add_rel): Likewise.
1044         * sysdeps/powerpc/powerpc32/bits/atomic.h
1045         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1046         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1047         * sysdeps/powerpc/powerpc64/bits/atomic.h
1048         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1049         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1050
1051 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1052
1053         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1054         Change synchronization of __sched_fifo_min_prio and
1055         __sched_fifo_max_prio.
1056         * nptl/pthread_mutexattr_getprioceiling.c
1057         (pthread_mutexattr_getprioceiling): Likewise.
1058         * nptl/pthread_mutexattr_setprioceiling.c
1059         (pthread_mutexattr_setprioceiling): Likewise.
1060         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1061         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1062         Likewise.
1063
1064 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1065
1066         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1067         void.
1068
1069 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1070
1071         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1072         third argument const.
1073
1074 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1075
1076         fnmatch: work around GCC compiler warning bug with uninit var
1077         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1078         This works around a bug with x86-64 GCC 4.9.2 and earlier
1079         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1080         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1081         used uninitialized in this function [-Wmaybe-uninitialized]".
1082
1083 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1084
1085         * posix/bug-regex31.c (main): Return RES not 0.
1086
1087 2014-11-25  Anton Blanchard <anton@samba.org>
1088
1089         * sysdeps/powerpc/bits/atomic.h
1090         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1091
1092 2014-11-24  Sterling Augustine  <saugustine@google.com>
1093
1094         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1095
1096 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1097
1098         [BZ #17608]
1099         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1100
1101 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1102
1103         [BZ #17633]
1104         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1105         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1106         variable.
1107         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1108         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1109
1110 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1111
1112         * string/strncpy.c (strncpy): Improve performance by using memset.
1113
1114 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1115
1116         * string/strcpy.c (strcpy):
1117         Improve performance by using strlen and memcpy.
1118
1119 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1120
1121         * string/strcoll_l.c (get_next_seq): __always_inline.
1122         * string/strcoll_l.c (do_compare): __always_inline.
1123
1124 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1125
1126         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1127         defined.
1128         * include/mqueue.h: Likewise.
1129         * include/stdlib.h: Likewise.
1130
1131         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1132         (get_null_defines): Adjust.
1133         * sunrpc/Makefile: Adjust comment.
1134         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1135         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1136         (CFLAGS-interp.c): Likewise.
1137         (CFLAGS-ldconfig.c): Likewise.
1138         (CPPFLAGS-.os): Likewise.
1139         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1140         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1141         * extra-modules.mk (extra-modules.mk): Likewise.
1142         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1143         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1144         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1145         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1146         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1147         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1148         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1149         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1150         * iconvdata/Makefile (CPPFLAGS): Likewise.
1151         (cpp-srcs-left): Add libof for all iconvdata routines.
1152         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1153         * include/assert.h: Likewise.
1154         * include/ctype.h: Likewise.
1155         * include/errno.h: Likewise.
1156         * include/libc-symbols.h: Likewise.
1157         * include/math.h: Likewise.
1158         * include/netdb.h: Likewise.
1159         * include/resolv.h: Likewise.
1160         * include/stdio.h: Likewise.
1161         * include/stdlib.h: Likewise.
1162         * include/string.h: Likewise.
1163         * include/sys/stat.h: Likewise.
1164         * include/wctype.h: Likewise.
1165         * intl/l10nflist.c: Likewise.
1166         * libidn/idn-stub.c: Likewise.
1167         * libio/libioP.h: Likewise.
1168         * nptl/libc_multiple_threads.c: Likewise.
1169         * nptl/pthreadP.h: Likewise.
1170         * posix/regex_internal.h: Likewise.
1171         * resolv/res_hconf.c: Likewise.
1172         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1173         * sysdeps/arm/memmove.S: Likewise.
1174         * sysdeps/arm/sysdep.h: Likewise.
1175         * sysdeps/generic/_itoa.h: Likewise.
1176         * sysdeps/generic/symbol-hacks.h: Likewise.
1177         * sysdeps/gnu/errlist.awk: Likewise.
1178         * sysdeps/gnu/errlist.c: Likewise.
1179         * sysdeps/i386/i586/memcpy.S: Likewise.
1180         * sysdeps/i386/i586/memset.S: Likewise.
1181         * sysdeps/i386/i686/memcpy.S: Likewise.
1182         * sysdeps/i386/i686/memmove.S: Likewise.
1183         * sysdeps/i386/i686/mempcpy.S: Likewise.
1184         * sysdeps/i386/i686/memset.S: Likewise.
1185         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1186         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1187         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1188         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1189         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1190         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1191         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1192         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1193         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1194         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1195         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1196         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1197         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1198         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1199         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1200         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1201         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1202         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1203         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1204         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1205         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1206         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1207         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1208         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1209         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1210         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1211         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1212         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1213         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1214         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1215         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1216         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1217         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1218         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1219         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1220         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1221         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1222         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1223         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1224         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1225         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1226         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1227         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1228         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1229         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1230         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1231         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1232         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1233         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1234         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1235         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1236         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1237         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1238         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1239         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1240         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1241         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1242         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1243         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1244         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1245         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1246         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1247         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1248         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1249         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1250         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1251         * sysdeps/posix/closedir.c: Likewise.
1252         * sysdeps/posix/opendir.c: Likewise.
1253         * sysdeps/posix/readdir.c: Likewise.
1254         * sysdeps/posix/rewinddir.c: Likewise.
1255         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1256         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1257         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1258         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1259         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1260         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1261         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1262         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1263         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1264         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1265         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1266         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1267         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1268         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1269         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1270         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1271         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1272         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1273         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1274         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1275         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1276         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1277         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1278         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1279         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1280         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1281         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1282         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1283         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1284         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1285         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1286         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1287         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1288         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1289         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1290         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1291         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1292         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1293         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1294         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1295         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1296         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1297         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1298         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1299         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1300         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1301         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1302         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1303         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1304         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1305         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1306         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1307         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1308         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1309         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1310         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1311         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1312         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1313         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1314         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1315         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1316         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1317         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1318         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1319         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1320         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1321         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1322         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1323         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1324         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1325         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1326         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1327         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1328         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1329         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1330         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1331         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1332         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1333         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1334         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1335         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1336         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1337         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1338         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1339         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1340         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1341         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1342         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1343         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1344         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1345         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1346         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1347         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1348         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1349         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1350         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1351         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1352         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1353         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1354         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1355         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1356         * sysdeps/unix/alpha/sysdep.S: Likewise.
1357         * sysdeps/unix/alpha/sysdep.h: Likewise.
1358         * sysdeps/unix/make-syscalls.sh: Likewise.
1359         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1360         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1361         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1362         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1363         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1364         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1365         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1366         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1367         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1368         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1369         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1370         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1371         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1372         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1373         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1374         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1375         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1376         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1377         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1378         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1379         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1380         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1381         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1382         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1383         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1384         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1385         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1388         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1389         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1390         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1391         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1392         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1393         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1394         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1395         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1396         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1397         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1398         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1399         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1400         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1401         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1402         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1403         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1404         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1405         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1406         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1407         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1408         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1409         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1410         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1411         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1412         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1413         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1414         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1415         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1417         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1418         * sysdeps/x86_64/memcpy.S: Likewise.
1419         * sysdeps/x86_64/memmove.c: Likewise.
1420         * sysdeps/x86_64/memset.S: Likewise.
1421         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1422         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1423         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1424         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1425         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1426         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1427         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1428         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1429         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1430         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1431         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1432         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1433         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1434         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1435         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1436         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1437         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1438         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1439         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1440         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1441         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1442         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1443         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1444         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1445         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1446         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1447         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1448         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1449         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1450         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1451         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1452         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1453         * sysdeps/x86_64/strcmp.S: Likewise.
1454
1455         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1456
1457         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1458         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1459         * elf/rtld-Rules: Likewise.
1460         * elf/setup-vdso.h: Likewise.
1461         * include/assert.h: Likewise.
1462         * include/bits/stdlib-float.h: Likewise.
1463         * include/errno.h: Likewise.
1464         * include/sys/stat.h: Likewise.
1465         * include/unistd.h: Likewise.
1466         * sysdeps/aarch64/setjmp.S: Likewise.
1467         * sysdeps/alpha/setjmp.S: Likewise.
1468         * sysdeps/arm/__longjmp.S: Likewise.
1469         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1470         * sysdeps/arm/setjmp.S: Likewise.
1471         * sysdeps/arm/sysdep.h: Likewise.
1472         * sysdeps/generic/_itoa.h: Likewise.
1473         * sysdeps/generic/dl-sysdep.h: Likewise.
1474         * sysdeps/generic/ldsodefs.h: Likewise.
1475         * sysdeps/i386/dl-tls.h: Likewise.
1476         * sysdeps/i386/setjmp.S: Likewise.
1477         * sysdeps/m68k/setjmp.c: Likewise.
1478         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1479         * sysdeps/mach/hurd/opendir.c: Likewise.
1480         * sysdeps/posix/getcwd.c: Likewise.
1481         * sysdeps/posix/opendir.c: Likewise.
1482         * sysdeps/posix/profil.c: Likewise.
1483         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1484         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1485         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1486         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1487         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1488         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1489         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1490         * sysdeps/s390/dl-tls.h: Likewise.
1491         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1492         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1493         * sysdeps/sh/sh3/setjmp.S: Likewise.
1494         * sysdeps/sh/sh4/setjmp.S: Likewise.
1495         * sysdeps/unix/alpha/sysdep.h: Likewise.
1496         * sysdeps/unix/arm/sysdep.S: Likewise.
1497         * sysdeps/unix/i386/sysdep.S: Likewise.
1498         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1499         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1500         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1501         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1502         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1503         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1504         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1505         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1506         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1507         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1508         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1509         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1510         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1513         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1514         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1515         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1516         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1517         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1518         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1519         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1520         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1521         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1522         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1523         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1524         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1525         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1526         * sysdeps/x86_64/setjmp.S: Likewise.
1527
1528         * include/math.h: Use IS_IN instead of IS_IN_libm.
1529         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1530         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1531         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1532         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1533         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1534         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1535         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1536         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1537         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1538         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1539         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1540         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1541         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1542         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1543         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1544         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1545         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1546         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1547         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1548         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1549         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1550         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1551         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1552         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1553         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1554         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1555         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1556         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1557         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1558         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1559         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1560         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1561         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1563         Likewise.
1564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1565         Likewise.
1566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1567         Likewise.
1568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1569         Likewise.
1570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1571         Likewise.
1572         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1573         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1574         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1575         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1576         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1577         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1583         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1584         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1585         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1586         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1587         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1588         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1589         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1590         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1591         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1592         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1593         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1594         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1595         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1596         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1598         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1599
1600         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1601         * nptl/pthreadP.h: Likewise.
1602         * nptl_db/structs.def: Likewise.
1603         * sysdeps/arm/sysdep.h: Likewise.
1604         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1605         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1606         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1607         * sysdeps/unix/alpha/sysdep.h: Likewise.
1608         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1610         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1611         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1612         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1613         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1614         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1615         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1616         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1617         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1618         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1619         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1620         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1621         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1624         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1625         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1626         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1627         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1628         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1629         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1630         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1631         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1632         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1633         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1634
1635         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1636         * nptl/pthreadP.h: Likewise.
1637         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1638         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1639         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1640         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1641         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1642         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1643         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1644         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1645         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1646         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1647         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1648         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1650         Likewise.
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1652         Likewise.
1653         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1654         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1655         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1657         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1658         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1659         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1660         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1661
1662         * dlfcn/dladdr.c: Use IS_IN.
1663         * dlfcn/dladdr1.c: Likewise.
1664         * dlfcn/dlclose.c: Likewise.
1665         * dlfcn/dlerror.c: Likewise.
1666         * dlfcn/dlinfo.c: Likewise.
1667         * dlfcn/dlmopen.c: Likewise.
1668         * dlfcn/dlopen.c: Likewise.
1669         * dlfcn/dlsym.c: Likewise.
1670         * dlfcn/dlvsym.c: Likewise.
1671
1672         * include/ifaddrs.h: Use IS_IN.
1673         * inet/check_pf.c: Likewise.
1674         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1675         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1676
1677         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1678         IS_IN_ldconfig.
1679         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1680         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1681
1682         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1683         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1684         IS_IN (libc).
1685
1686         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1687
1688         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1689         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1690         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1691         * include/libc-symbols.h (IS_IN_LIB): New macro.
1692         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1693         * include/netdb.h: Likewise.
1694         * include/stap-probe.h: Remove all uses of IN_LIB.
1695
1696         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1697         instead of IN_MODULE.
1698         * include/libc-symbols.h (IN_MODULE): Define using
1699         MODULE_NAME.
1700         (PASTE_NAME, PASTE_NAME1): New macros.
1701         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1702         of IN_LIB.
1703         (STAP_PROBE_ASM): Likewise.
1704
1705 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1706
1707         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1708         __mach_init in dlopened libc.
1709
1710 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1711
1712         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1713         * sysdeps/arm/preconfigure: Regenerate.
1714
1715 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1716
1717         * nptl/pthread_create.c (__pthread_create_2_1): Set
1718         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1719         when copying values from IATTR into PD.
1720
1721 2014-11-21  Will Newton  <will.newton@linaro.org>
1722             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1723
1724         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1725         Refactor inline-asm.  Also add comment.
1726
1727         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1728         ElfW macro instead of hardcoded Elf64 types.
1729         (la_aarch64_gnu_pltenter): Likewise.
1730         * sysdeps/aarch64/dl-machine.h
1731         (elf_machine_runtime_setup): Use ElfW(Addr).
1732
1733         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1734         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1735         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1736         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1737         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1738         (R_AARCH64_TLS_DTPMOD64): Rename to ..
1739         (R_AARCH64_TLS_DTPMOD): This.
1740         (R_AARCH64_TLS_DTPREL64): Rename to ...
1741         (R_AARCH64_TLS_DTPREL): This.
1742         (R_AARCH64_TLS_TPREL64): Rename to ...
1743         (R_AARCH64_TLS_TPREL): This.
1744         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1745         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1746         R_AARCH64_TLS_TPREL64.
1747         (elf_machine_rela): Likewise.
1748
1749 2014-11-21  Torvald Riegel  <triegel@redhat.com>
1750
1751         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1752         by setting it to 0.  64b atomics are not supported currently.
1753
1754 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1755
1756         [BZ #16469]
1757         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1758         search domain names.
1759
1760 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1761
1762         [BZ #16469]
1763         * NEWS: Update.
1764         * resolv/res_query.c (__libc_res_nquerydomain): Retain
1765         trailing dot.
1766         * posix/tst-getaddrinfo5.c: New.
1767         * posix/Makefile (tests): Add it.
1768
1769 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1770
1771         [BZ #14498]
1772         * NEWS: Fixed.
1773         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1774         after parsing line but before break_if_match.
1775         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1776         if there is a protocol mismatch.
1777
1778 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1779
1780         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1781         because the potential race is on the user-supplied stream.
1782
1783 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1784
1785         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1786         string literal if not passed a buffer.
1787         * manual/job.texi (ctermid): Update reasoning, note deviation
1788         from posix, suggest mtasurace when not passed a buffer, for
1789         future non-preliminary safety notes.
1790
1791 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1792
1793         * manual/users.texi (cuserid): Fix MT-Safety note for the case
1794         of not passing it a buffer.
1795         Reported by Peng Haitao.
1796
1797 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1798
1799         * manual/Makefile ($(objpfx)stamp-summary): Require
1800         check-safety.sh to pass.
1801         * manual/check-safety.sh: Wish for verification that every
1802         @deftypefn and @deftypefun is followed by a @safety remark.
1803
1804 2014-11-20  Roland McGrath  <roland@hack.frob.com>
1805
1806         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1807
1808         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1809         PTHREAD_CANCEL_ASYNCHRONOUS.
1810         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1811         send SIGCANCEL.
1812
1813         * nptl/default-sched.h: New file.
1814         * sysdeps/unix/sysv/linux/default-sched.h: New file.
1815         * nptl/pthread_create.c: Include it.
1816         (__pthread_create_2_1): Use collect_default_sched instead of making
1817         Linux syscalls here directly.
1818
1819 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1820
1821         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1822         __pthread_once): Use C11 atomics.
1823
1824 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1825
1826         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1827
1828 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1829
1830         * include/atomic.h (__atomic_link_error, __atomic_check_size,
1831         atomic_thread_fence_acquire, atomic_thread_fence_release,
1832         atomic_thread_fence_seq_cst, atomic_load_relaxed,
1833         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1834         atomic_compare_exchange_weak_relaxed,
1835         atomic_compare_exchange_weak_acquire,
1836         atomic_compare_exchange_weak_release,
1837         atomic_exchange_acquire, atomic_exchange_release,
1838         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1839         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1840         atomic_fetch_and_acquire,
1841         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1842
1843 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1844
1845         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1846         USE_ATOMIC_COMPILER_BUILTINS): Define.
1847         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1848         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1849         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1850         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1851         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1852         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1853         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1854         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1855         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1856         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1857         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1858         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1859         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1860         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1861         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1862         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1863         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1864         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1865         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1866         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1867         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1868         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1869         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1870         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1871         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1872         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1873         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1874         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1875         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1876         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1877         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1878         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1879         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1880         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1881         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1882         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1883         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1884         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1885         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1886         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1887
1888 2014-11-19  Roland McGrath  <roland@hack.frob.com>
1889
1890         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1891         the sched_priority value here.  It was already checked when the user
1892         called pthread_attr_setschedparam.
1893
1894         * nptl/tst-bad-schedattr.c: New file.
1895         * nptl/Makefile (tests): Add it.
1896
1897 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
1898             Florian Weimer  <fweimer@redhat.com>
1899             Joseph Myers  <joseph@codesourcery.com>
1900             Adam Conrad  <adconrad@0c3.net>
1901             Andreas Schwab  <schwab@suse.de>
1902             Brooks  <bmoses@google.com>
1903
1904         [BZ #17625]
1905         * wordexp-test.c (__dso_handle): Add prototype.
1906         (__register_atfork): Likewise.
1907         (__app_register_atfork): New function.
1908         (registered_forks): New global.
1909         (register_fork): New function.
1910         (test_case): Add 3 new tests for WRDE_CMDSUB.
1911         (main): Call __app_register_atfork.
1912         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1913         fork count is non-zero fail the test.
1914         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1915         is set.
1916         (parse_dollars): Remove check for WRDE_NOCMD.
1917         (parse_dquote): Likewise.
1918
1919 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1920
1921         * Makeconfig (built-modules): List non-library modules to be
1922         built.
1923         (module-cppflags): Include libc-modules.h for
1924         everything except shlib-versions.v.i.
1925         (CPPFLAGS): Use it.
1926         (before-compile): Add libc-modules.h.
1927         ($(common-objpfx)libc-modules.h,
1928         $(common-objpfx)libc-modules.stmp): New targets.
1929         (common-generated): Add libc-modules.h and libc-modules.stmp.
1930         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1931         * include/libc-symbols.h: Don't include libc-modules.h.
1932         * include/libc-modules.h: Remove file.
1933         * scripts/gen-libc-modules.awk: New script to generate
1934         libc-modules.h.
1935         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1936         Depend on libc-modules.stmp.
1937
1938         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1939
1940         * Makeconfig (in-module): Get value of libof set for the
1941         translation unit.
1942         (CPPFLAGS): Use $(in-module).
1943         * Makerules: Don't suffix routine names for nonlib.
1944         * include/libc-modules.h: New file.
1945         * include/libc-symbols.h: Include libc-modules.h
1946         (IS_IN): New macro to replace IS_IN_* macros.
1947         * elf/Makefile: Set libof-* for each routine.
1948         * elf/rtld-Rules: Likewise.
1949         * extra-modules.mk: Likewise.
1950         * iconv/Makefile: Likewise.
1951         * iconvdata/Makefile: Likewise.
1952         * locale/Makefile: Likewise.
1953         * malloc/Makefile: Likewise.
1954         * nss/Makefile: Likewise.
1955         * sysdeps/gnu/Makefile: Likewise.
1956         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1957         * sysdeps/unix/sysv/linux/Makefile: Likewise.
1958         * sysdeps/s390/s390-64/Makefile: Likewise.
1959         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
1960         CPPFLAGS for nscd instead of nonlib.
1961
1962 2014-11-18  Roland McGrath  <roland@hack.frob.com>
1963
1964         * nptl/createthread.c: New file.
1965
1966         * nptl/createthread.c: Moved ...
1967         * sysdeps/unix/sysv/linux/createthread.c: ... here.
1968
1969         * nptl/createthread.c: Add proper top-line comment.
1970         (do_clone): Folded into ...
1971         (create_thread): ... here.  Take new arguments STOPPED_START and
1972         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
1973         increment __nptl_threads, do event-reporting logic, do
1974         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1975         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
1976         resource cleanup if sched_setaffinity or sched_setscheduler fails,
1977         just send SIGCANCEL.
1978         * nptl/pthread_create.c: Forward-declare create_thread before
1979         including createthread.c.
1980         (start_thread): Use new macro START_THREAD_DEFN to replace defining
1981         declaration, and new macro START_THREAD_SELF to replace argument.
1982         Remove return statement.
1983         (report_thread_creation): New function.
1984         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
1985         synchronization logic, and __nptl_nthreads increment here, around
1986         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
1987         PD->parent_cancelhandling here, before create_thread.  When
1988         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1989         __deallocate_stack, and ENOMEM translation here.
1990
1991 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
1992
1993         [BZ #17616]
1994         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1995         (mptwo): Rename to __mptwo.
1996         (__inv): Use __mptwo instead of mptwo.
1997         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1998         (mptwo): Rename to __mptwo.
1999         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2000         of mpone and __mptwo instead of mptwo.
2001         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2002         instead of mpone.
2003         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2004         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2005         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2006         of mpone and __mptwo instead of mptwo.
2007         (__mpranred): Use __mpone instead of mpone.
2008         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2009         variable.
2010         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2011         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2012         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2013         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2014         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2015         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2016         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2017         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2018         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2019         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2020         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2021         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2022         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2023         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2024         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2025         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2026         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2027         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2028         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2029
2030 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2031
2032         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2033         replace BSD Handler xref with BSD Signal Handling.
2034
2035 2014-11-17  Richard Henderson  <rth@redhat.com>
2036
2037         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2038         (_FP_PACK_RAW_2): Remove.
2039         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2040         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2041         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2042         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2043         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2044         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2045         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2046         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2047         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2048         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2049         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2050         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2051         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2052         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2053         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2054         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2055
2056 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2057
2058         * signal/signal.h [__USE_MISC]
2059         (struct sigvec): Remove type.
2060         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2061         (sigvec): Remove declaration.
2062         * sysdeps/posix/sigvec.c: Moved ...
2063         * signal/sigvec.c: ... here, replacing old file.
2064         (struct sigvec): New type, copied from old signal.h definition.
2065         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2066         (__sigvec): Convert definition to prototype.
2067         (sigvec): Replace weak_alias with compat_symbol.
2068         * signal/Versions (libc: GLIBC_2.21): New version set.
2069         * include/signal.h: Remove __sigvec declaration.
2070         * sysdeps/unix/bsd/sigvec.c: Remove file.
2071         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2072         * manual/signal.texi (BSD Handler): Remove subsection.
2073         Move siginterrupt up to ...
2074         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2075         (Blocking in BSD): Fold subsection into its parent.
2076         * NEWS: Mention sigvec removal.
2077
2078 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2079
2080         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2081         (DLA_FMS): Make definition conditional only on [__FMA4__].
2082         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2083         definition.
2084
2085         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2086         Make definition conditional only on [PROF].
2087         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2088         definition.
2089         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2090         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2091
2092         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2093         !__GNUC__].
2094         * include/signal.h (__sigpause): Move declaration above call to
2095         libc_hidden_proto.
2096         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2097         variable.
2098         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2099         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2100
2101 2014-11-14  David S. Miller  <davem@davemloft.net>
2102
2103         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2104         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2105
2106 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2107
2108         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2109         * configure: Regenerated.
2110         * manual/install.texi (Tools for Compilation): Document a
2111         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2112         compiler verified to work.
2113         * INSTALL: Regenerated.
2114
2115         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2116         redeclare with asm name.
2117         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2118         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2119         including <string.h>.
2120         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2121         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2122         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2123         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2124         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2125         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2126         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2127
2128 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2129
2130         * stdlib/strtol.c (__strtol): Use prototype definition.
2131
2132         [BZ #17594]
2133         * stdlib/strtol.c (SYM__): New macro.
2134         (SYM__1): Likewise.
2135         (__strtol): Likewise.
2136         (strtol): Rename to __strtol and define as weak alias of
2137         __strtol.  Use libc_hidden_weak.
2138
2139 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2140
2141         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2142         Use numbered labels in inline assembly.
2143
2144 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2145
2146         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2147         Add setjmp LIBC_PROBE.
2148         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2149         Likewise.
2150         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2151         Add longjmp, longjmp_target LIBC_PROBE.
2152         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2153         Likewise.
2154
2155 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2156
2157         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2158         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2159         to get rid of unused variable warning.
2160
2161 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2162
2163         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2164         Check for unwind_backtrace ==  NULL only in SHARED case.
2165         (__backchain_backtrace): Compile only in SHARED case.
2166         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2167         Likewise.
2168         (__backchain_backtrace): Declare as static.
2169
2170 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2171
2172         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2173         (__libc_multiple_threads_ptr): Variable moved ...
2174         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2175
2176 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2177
2178         * conform/GlibcConform.pm: New file.
2179         * conform/conformtest.pl: Use GlibcConform module.
2180         * conform/linknamespace.pl: New file.
2181         * conform/list-header-symbols.pl: Likewise.
2182         * conform/Makefile (linknamespace-symlists-base): New variable.
2183         (linknamespace-symlists-tests): Likewise.
2184         (linknamespace-header-base): Likewise.
2185         (linknamespace-header-tests): Likewise.
2186         (tests-special): Add new tests.
2187         ($(linknamespace-symlists-tests)): New rule.
2188         (linknamespace-libs): New variable.
2189         ($(objpfx)symlist-stdlibs): New rule.
2190         ($(linknamespace-header-tests)): Likewise.
2191         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2192         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2193         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2194         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2195         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2196         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2197         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2198         (test-xfail-ISO/math.h/linknamespace): Likewise.
2199         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2200         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2201         (test-xfail-ISO/time.h/linknamespace): Likewise.
2202         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2203         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2204         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2205         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2206         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2207         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2208         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2209         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2210         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2211         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2212         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2213         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2214         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2215         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2216         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2217         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2218         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2219         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2220         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2221         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2222         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2223         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2224         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2225         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2226         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2227         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2228         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2229         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2230         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2231         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2232         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2233         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2234         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2235         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2236         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2237         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2238         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2239         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2240         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2241         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2242         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2243         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2244         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2245         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2246         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2247         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2248         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2249         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2250         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2251         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2252         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2253         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2254         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2255         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2256         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2257         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2258         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2259         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2260         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2261         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2262         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2263         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2264         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2265         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2266         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2267         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2268         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2269         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2270         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2271         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2272         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2273         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2274         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2275         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2276         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2277         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2278         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2279         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2280         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2281         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2282         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2283         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2284         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2285         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2286         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2287         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2288         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2289         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2290         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2291         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2292         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2293         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2294         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2295         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2296         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2297         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2298         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2299         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2300         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2301         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2302         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2303         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2304         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2305         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2306         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2307         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2308         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2309         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2310         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2311         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2312         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2313         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2314         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2315         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2316         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2317         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2318         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2319         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2320         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2321         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2322         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2323         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2324         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2325         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2326         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2327         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2328         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2329         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2330         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2331         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2332         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2333         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2334         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2335         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2336         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2337         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2338         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2339         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2340         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2341         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2342         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2343         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2344         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2345         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2346         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2347         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2348         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2349         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2350         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2351         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2352
2353         [BZ #17589]
2354         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2355         of fgets_unlocked.
2356
2357         [BZ #17585]
2358         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2359         (memmem): Rename to __memmem and define as weak alias of
2360         __memmem.  Use libc_hidden_weak.
2361         (__memmem): Use libc_hidden_def.
2362         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2363         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2364         memmem.
2365
2366         [BZ #17582]
2367         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2368         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2369         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2370         and define as weak alias of __fgets_unlocked.  Use
2371         libc_hidden_weak.
2372         (__fgets_unlocked): Use libc_hidden_def.
2373         * include/stdio.h (__fgets_unlocked): Declare.  Use
2374         libc_hidden_proto.
2375         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2376         __fgets_unlocked instead of fgets_unlocked.
2377         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2378         (GET_NPROCS_CONF_PARSER): Likewise.
2379         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2380         (GET_NPROCS_CONF_PARSER): Likewise.
2381
2382         [BZ #17574]
2383         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2384         weak alias of __wmemset.  Use libc_hidden_weak.
2385         (__wmemset): Use libc_hidden_def.
2386         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2387         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2388         of wmemset.
2389
2390         [BZ #17573]
2391         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2392         with asm name __mempcpy.
2393         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2394
2395         [BZ #17572]
2396         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2397         and define as weak alias of __rawmemchr.
2398         (__rawmemchr): Do not define as strong alias of rawmemchr.
2399
2400         [BZ #17571]
2401         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2402         alias of __qsort_r.
2403         (qsort): Call __qsort_r instead of qsort_r.
2404         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2405         (__qsort_r): Declare.  Call libc_hidden_proto.
2406         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2407         instead of qsort_r.
2408         * nscd/gai.c (__qsort_r): Define to qsort_r.
2409         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2410         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2411         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2412
2413         [BZ #17570]
2414         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2415         define as weak alias of __malloc_info.
2416
2417         [BZ #17584]
2418         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2419         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2420         (__rewinddir): Use libc_hidden_def.
2421         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2422         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2423         (__rewinddir): Use libc_hidden_def.
2424         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2425         weak alias of __rewinddir.  Don't use libc_hidden_def.
2426         (__rewinddir): Use libc_hidden_def.
2427         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2428         (__rewinddir): Use libc_hidden_proto.
2429         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2430         rewinddir.
2431         (__getcwd): Use __rewinddir instead of rewinddir.
2432
2433         [BZ #17583]
2434         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2435         alias of __fileno.  Use libc_hidden_weak.
2436         (__fileno): Use libc_hidden_def.
2437         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2438         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2439         alias of __ftello.
2440         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2441         __ftello.
2442         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2443         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2444         libc_hidden_def.
2445         (fread_unlocked): Don't use libc_hidden_ver.
2446         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2447         and define as weak alias of __fread_unlocked.  Don't use
2448         libc_hidden_def.
2449         (__fread_unlocked): Use libc_hidden_def.
2450         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2451         (ftello): Don't use libc_hidden_proto.
2452         (__ftello): Declare.  Use libc_hidden_proto.
2453         (fread_unlocked): Don't use libc_hidden_proto.
2454         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2455         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2456         and __ftello instead of fileno, fread_unlocked and ftello.
2457
2458 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2459
2460         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2461         GOT12.
2462         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2463         Likewise.
2464         (_dl_start_user): Likewise.
2465         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2466
2467 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2468             Siddhesh Poyarekar  <siddhesh@redhat.com>
2469
2470         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2471         Move argv and envp down instead of moving argc up.
2472         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2473
2474 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2475
2476         [BZ #17506]
2477         * test-skeleton.c (main): Return successful if one of
2478         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2479         * string/tst-strcoll-overflow.c: Define expected status.
2480
2481 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2482
2483         [BZ #17475]
2484         * locale/iso-639.def: Define Bhili and Tulu language codes.
2485
2486 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2487
2488         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2489
2490 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2491
2492         [BZ #17555]
2493         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2494
2495 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2496
2497         * configure.ac: Updated check of minimal required version to
2498         2.22.
2499         * manual/install.texi (Tools for Compilation): Updated version
2500         number.
2501         * configure: Regenerated.
2502         * INSTALL: Likewise.
2503
2504 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2505
2506         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2507         __tls_get_addr.
2508
2509 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2510
2511         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2512         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2513         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2514         libc_hidden_weak.
2515         (waitpid): Define as alias of __waitpid.
2516         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2517         __waitpid.
2518         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2519         libc_hidden_weak.
2520         (waitpid): Define as alias of __waitpid.
2521         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2522         __libc_waitpid alias.
2523         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2524         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2525         Likewise.
2526         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2527         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2528         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2529         alias.
2530         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2531         __waitpid.
2532         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2533         libc_hidden_weak.
2534         (waitpid): Define as alias of __waitpid.
2535
2536 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2537
2538         * manual/llio.texi: Add comment that write safety has been
2539         fixed in Linux.
2540
2541         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2542         (localplt-build-dso): Add elf/ld.so.
2543         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2544         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2545         and free for ld.so.
2546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2547         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2549         Likewise.
2550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2551         Likewise.
2552         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2553         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2554         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2555         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2556         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2557         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2558         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2559         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2560         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2561         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2562         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2563
2564 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2565
2566         [BZ #14132]
2567         * include/libc-symbols.h (INTUSE): Remove macro.
2568         (INTDEF): Likewise.
2569         (INTVARDEF): Likewise.
2570         (_INTVARDEF): Likewise.
2571         (INTDEF2): Likewise.
2572         (INTVARDEF2): Likewise.
2573         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2574         rtld_hidden_def instead of INTVARDEF.
2575         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2576         (_dl_starting_up_internal): Remove declaration.
2577         (_dl_starting_up): Use rtld_hidden_proto.
2578         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2579         declaration.
2580         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2581         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2582         _dl_starting_up.
2583         * elf/dl-writev.h (_dl_writev): Likewise.
2584         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2585         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2586         _dl_starting_up_internal.
2587
2588 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2589
2590         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2591         test-skeleton.c.
2592
2593 2014-11-05  Will Newton  <will.newton@linaro.org>
2594
2595         * benchtests/Makefile: (bench-malloc): Add malloc thread
2596         scalability benchmark.
2597         * benchtests/bench-malloc-threads.c: New file.
2598
2599 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2600
2601         * sysdeps/aarch64/strchrnul.S: New file.
2602
2603 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2604
2605         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2606         definition.
2607         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2608         Likwise.
2609         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2610         Likewise.
2611         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2612         Likewise.
2613         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2614         Likewise.
2615         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2616         Likewise.
2617
2618 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2619
2620         * catgets/test-gencat.c: Use test-skeleton.c.
2621         * catgets/tst-catgets.c: Likewise.
2622         * csu/tst-empty.c: Likewise.
2623         * elf/tst-audit2.c: Likewise.
2624         * elf/tst-global1.c: Likewise.
2625         * elf/tst-pathopt.c: Likewise.
2626         * elf/tst-piemod1.c: Likewise.
2627         * elf/tst-tls10.c: Likewise.
2628         * elf/tst-tls11.c: Likewise.
2629         * elf/tst-tls12.c: Likewise.
2630         * gnulib/tst-gcc.c: Likewise.
2631         * iconvdata/tst-e2big.c: Likewise.
2632         * iconvdata/tst-loading.c: Likewise.
2633         * iconv/tst-iconv1.c: Likewise.
2634         * iconv/tst-iconv2.c: Likewise.
2635         * inet/test-inet6_opt.c: Likewise.
2636         * inet/tst-gethnm.c: Likewise.
2637         * inet/tst-network.c: Likewise.
2638         * inet/tst-ntoa.c: Likewise.
2639         * intl/tst-codeset.c: Likewise.
2640         * intl/tst-gettext2.c: Likewise.
2641         * intl/tst-gettext3.c: Likewise.
2642         * intl/tst-ngettext.c: Likewise.
2643         * intl/tst-translit.c: Likewise.
2644         * io/test-stat.c: Likewise.
2645         * libio/test-fmemopen.c: Likewise.
2646         * libio/tst-freopen.c: Likewise.
2647         * libio/tst-sscanf.c: Likewise.
2648         * libio/tst-ungetwc1.c: Likewise.
2649         * libio/tst-ungetwc2.c: Likewise.
2650         * libio/tst-widetext.c: Likewise.
2651         * localedata/tst-ctype.c: Likewise.
2652         * localedata/tst-digits.c: Likewise.
2653         * localedata/tst-leaks.c: Likewise.
2654         * localedata/tst-mbswcs1.c: Likewise.
2655         * localedata/tst-mbswcs2.c: Likewise.
2656         * localedata/tst-mbswcs3.c: Likewise.
2657         * localedata/tst-mbswcs4.c: Likewise.
2658         * localedata/tst-mbswcs5.c: Likewise.
2659         * localedata/tst-setlocale.c: Likewise.
2660         * localedata/tst-trans.c: Likewise.
2661         * localedata/tst-wctype.c: Likewise.
2662         * localedata/tst-xlocale1.c: Likewise.
2663         * login/tst-grantpt.c: Likewise.
2664         * malloc/tst-calloc.c: Likewise.
2665         * malloc/tst-malloc.c: Likewise.
2666         * malloc/tst-mallocstate.c: Likewise.
2667         * malloc/tst-mcheck.c: Likewise.
2668         * malloc/tst-mtrace.c: Likewise.
2669         * malloc/tst-obstack.c: Likewise.
2670         * math/atest-exp2.c: Likewise.
2671         * math/atest-exp.c: Likewise.
2672         * math/atest-sincos.c: Likewise.
2673         * math/test-matherr.c: Likewise.
2674         * math/test-misc.c: Likewise.
2675         * math/test-powl.c: Likewise.
2676         * math/tst-definitions.c: Likewise.
2677         * misc/tst-dirname.c: Likewise.
2678         * misc/tst-efgcvt.c: Likewise.
2679         * misc/tst-fdset.c: Likewise.
2680         * misc/tst-hsearch.c: Likewise.
2681         * misc/tst-mntent2.c: Likewise.
2682         * nptl/tst-sem7.c: Likewise.
2683         * nptl/tst-sem8.c: Likewise.
2684         * nptl/tst-sem9.c: Likewise.
2685         * nss/test-netdb.c: Likewise.
2686         * posix/tst-fnmatch.c: Likewise.
2687         * posix/tst-getlogin.c: Likewise.
2688         * posix/tst-gnuglob.c: Likewise.
2689         * posix/tst-mmap.c: Likewise.
2690         * pwd/tst-getpw.c: Likewise.
2691         * resolv/tst-inet_ntop.c: Likewise.
2692         * rt/tst-timer.c: Likewise.
2693         * stdio-common/test-fseek.c: Likewise.
2694         * stdio-common/test-popen.c: Likewise.
2695         * stdio-common/test-vfprintf.c: Likewise.
2696         * stdio-common/tst-cookie.c: Likewise.
2697         * stdio-common/tst-fileno.c: Likewise.
2698         * stdio-common/tst-gets.c: Likewise.
2699         * stdio-common/tst-obprintf.c: Likewise.
2700         * stdio-common/tst-perror.c: Likewise.
2701         * stdio-common/tst-sprintf2.c: Likewise.
2702         * stdio-common/tst-sprintf3.c: Likewise.
2703         * stdio-common/tst-sprintf.c: Likewise.
2704         * stdio-common/tst-swprintf.c: Likewise.
2705         * stdio-common/tst-tmpnam.c: Likewise.
2706         * stdio-common/tst-unbputc.c: Likewise.
2707         * stdio-common/tst-wc-printf.c: Likewise.
2708         * stdlib/tst-environ.c: Likewise.
2709         * stdlib/tst-fmtmsg.c: Likewise.
2710         * stdlib/tst-limits.c: Likewise.
2711         * stdlib/tst-rand48-2.c: Likewise.
2712         * stdlib/tst-rand48.c: Likewise.
2713         * stdlib/tst-random2.c: Likewise.
2714         * stdlib/tst-random.c: Likewise.
2715         * stdlib/tst-strtol.c: Likewise.
2716         * stdlib/tst-strtoll.c: Likewise.
2717         * stdlib/tst-tls-atexit.c: Likewise.
2718         * stdlib/tst-xpg-basename.c: Likewise.
2719         * string/test-ffs.c: Likewise.
2720         * string/tst-bswap.c: Likewise.
2721         * string/tst-inlcall.c: Likewise.
2722         * string/tst-strtok.c: Likewise.
2723         * string/tst-strxfrm.c: Likewise.
2724         * sysdeps/x86_64/tst-audit10.c: Likewise.
2725         * sysdeps/x86_64/tst-audit3.c: Likewise.
2726         * sysdeps/x86_64/tst-audit4.c: Likewise.
2727         * sysdeps/x86_64/tst-audit5.c: Likewise.
2728         * time/tst-ftime_l.c: Likewise.
2729         * time/tst-getdate.c: Likewise.
2730         * time/tst-mktime3.c: Likewise.
2731         * time/tst-mktime.c: Likewise.
2732         * time/tst-posixtz.c: Likewise.
2733         * time/tst-strptime2.c: Likewise.
2734         * time/tst-strptime3.c: Likewise.
2735         * wcsmbs/tst-btowc.c: Likewise.
2736         * wcsmbs/tst-mbrtowc.c: Likewise.
2737         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2738         * wcsmbs/tst-wchar-h.c: Likewise.
2739         * wcsmbs/tst-wcpncpy.c: Likewise.
2740         * wcsmbs/tst-wcrtomb.c: Likewise.
2741         * wcsmbs/tst-wcsnlen.c: Likewise.
2742         * wcsmbs/tst-wcstof.c: Likewise.
2743
2744 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
2745
2746         [BZ #14132]
2747         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2748         INTDEF.
2749         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2750         declaration.
2751         (_dl_mcount): Use rtld_hidden_proto.
2752         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2753         _dl_mcount.
2754         * elf/rtld.c (_rtld_global_ro): Likewise.
2755
2756         [BZ #14132]
2757         * elf/dl-init.c (_dl_init): Don't use INTDEF.
2758         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2759         of _dl_init_internal.
2760         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2761         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2762         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2763         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2764         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2765         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2766         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2767         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2768         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2769         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2770         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2771         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2772         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2773         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2774         * sysdeps/tile/dl-start.S (_start): Likewise.
2775         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2776         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2777
2778         [BZ #14132]
2779         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2780         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2781         (rtld_progname): Make macro definition unconditional.
2782         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2783         INTDEF.
2784         (dlmopen_doit): Do not use INTUSE with _dl_argv.
2785         (dl_main): Likewise.
2786         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2787         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2788         instead of _dl_argv_internal.
2789         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2790         __GI__dl_argv instead of INTUSE(_dl_argv).
2791         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2792         __GI__dl_argv instead of _dl_argv_internal.
2793
2794         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2795         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2796         macro.
2797         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2798         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2799         New macro.
2800         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2801         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2802         macro.
2803         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2804         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2805
2806 2014-11-04  Andreas Schwab  <schwab@suse.de>
2807
2808         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2809
2810 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2811
2812         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2813         mtvsrd instruction in binary form.
2814
2815 2014-11-03  Andreas Schwab  <schwab@suse.de>
2816
2817         [BZ #17522]
2818         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2819         for less than MB_LEN_MAX use a local buffer of that size.
2820         * libio/tst-fputws.c: New file.
2821         * libio/Makefile (tests): Add tst-fputws.
2822
2823 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
2824
2825         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2826         the size of the fpu_fr.fpu_dregs[] array.
2827
2828 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
2829
2830         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2831         (__nanosleep): Do not define as alias.
2832         (nanosleep): Define as alias of __nanosleep.
2833         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2834         __libc_nanosleep name.
2835
2836 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2837
2838         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2839         install.texi in comment.
2840
2841 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2842
2843         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2844         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2845         ... add here and use lwsync or sync ...
2846         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2847         ... and add here using lwsync.
2848
2849 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2850
2851         * elf/dl-machine-reject-phdr.h: New file.
2852         * elf/dl-load.c: #include that.
2853         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2854         if that returned true.
2855
2856 2014-10-31  Roland McGrath  <roland@hack.frob.com>
2857
2858         [BZ #17496]
2859         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2860         gen-as-const-headers chunk.  Add a big scare comment after the last
2861         safe place to touch before-compile.
2862
2863 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2864
2865         * manual/install.texi (Tools for Compilation): Update autoconf
2866         version requirements.
2867         * INSTALL: Regenerated.
2868
2869         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2870         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2871         (__libc_pselect): Likewise.
2872
2873         [BZ #14138]
2874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2878
2879 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2880
2881         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2882         correct barrier instruction.
2883         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2884         Likewise.
2885         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2886         Likewise.
2887
2888 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2889
2890         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2891         after defining inlines.  Instead, just use parens to defeat macro
2892         expansion of __isctype in its declaration.
2893
2894 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2895
2896         * include/sys/uio.h (__libc_readv): Remove declaration.
2897         (__libc_writev): Likewise.
2898         * misc/readv.c (__libc_readv): Rename to __readv.
2899         (__readv): Do not define as alias.
2900         (readv): Define as alias of __readv.
2901         * misc/writev.c (__libc_writev): Rename to __writev.
2902         (__writev): Do not define as alias.
2903         (writev): Define as alias of __writev.
2904         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2905         (__readv): Do not define as alias.
2906         (readv): Define unconditionally as alias of __readv.
2907         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2908         (__writev): Do not define as alias.
2909         (writev): Define unconditionally as alias of __writev.
2910         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2911         name.
2912         (writev): Do not define __libc_writev name.
2913
2914 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2915
2916         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2917         (convert_charseq): New function, broken out of ...
2918         (use_from_charmap): ... here.  Call it.
2919         (use_to_charmap): Use convert_charseq and free instead of duplicating
2920         its code with a variable-length stack struct.
2921
2922 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2923
2924         * include/fcntl.h (__libc_creat): Remove declaration.
2925         * io/creat.c (__libc_creat): Rename to creat.
2926         (creat): Do not define as alias.
2927         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2928         of creat instead of __libc_creat.
2929         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2930         to creat.
2931         (creat): Do not define as alias.
2932         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2933         __libc_creat.
2934         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2935         __libc_creat name.
2936         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2937         Likewise.
2938
2939 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
2940
2941         * manual/llio.texi: Add comments discussing why write() may be
2942         considered MT-unsafe on Linux.
2943
2944 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
2945
2946         * dl-load.c (local_strdup): Remove.
2947         (expand_dynamic_string_token): Use __strdup.
2948         (decompose_rpath): Likewise.
2949         (_dl_map_object): Likewise.
2950
2951 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
2952
2953         [BZ #14132]
2954         * sysdeps/generic/unwind-dw2-fde.c
2955         (__register_frame_info_bases_internal): Do not declare.
2956         (__register_frame_info_table_bases_internal): Likewise.
2957         (__deregister_frame_info_bases_internal): Likewise.
2958         (__register_frame_info_bases): Declare and use hidden_proto before
2959         definition.  Use hidden_def instead of INTDEF.
2960         (__register_frame_info_table_bases): Likewise.
2961         (__deregister_frame_info_bases): Likewise.
2962         (__register_frame_info): Do not use INTUSE.
2963         (__register_frame): Likewise.
2964         (__register_frame_info_table): Likewise.
2965         (__register_frame_table): Likewise.
2966         (__deregister_frame_info): Likewise.
2967         (__deregister_frame): Likewise.
2968
2969 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
2970
2971         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2972         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2973         not undefine.
2974         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2975         Likewise.
2976         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2977         Likewise.
2978
2979 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
2980
2981         [BZ #14138]
2982         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2983         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2984         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2985         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2986         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2987         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2988         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2989         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2990         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2991         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2992         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2993         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2994         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2995         syscall.
2996         (setfsuid): Likewise.
2997         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2998         (setfsuid): Likewise.
2999         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3000         (setfsuid): Likewise.
3001         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3002         Likewise.
3003         (setfsuid): Likewise.
3004         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3005         (setfsuid): Likewise.
3006         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3007         Likewise.
3008         (setfsuid): Likewise.
3009
3010 2014-10-27  Andreas Schwab  <schwab@suse.de>
3011
3012         [BZ #17501]
3013         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3014         check for Slow_SSE4_2 feature bit.
3015         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3016         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3017         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3018         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3019
3020 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3021
3022         * configure.ac: Validate compiler version with a empirical test of
3023         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3024         $CC -v output.
3025         * configure: Regenerated.
3026
3027         * inet/htons.c (htons): Prototypify.
3028         * inet/htonl.c (htonl): Likewise.
3029
3030 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3031
3032         * string/strncat.c (strncat): Improve performance by using strlen.
3033
3034 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3035
3036         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3037
3038 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3039
3040         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3041         Call libc_fetestexcept_aarch64.
3042
3043 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3044
3045         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3046         Call libc_feholdexcept_aarch64.
3047
3048 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3049
3050         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3051         Call get_rounding_mode.
3052
3053 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3054
3055         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3056         Simplify logic.
3057
3058 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3059
3060         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3061         Simplify logic.
3062
3063 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3064
3065         [BZ #14138]
3066         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3067         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3068         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3069         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3070         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3071         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3072         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3073         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3074         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3075         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3076         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3077         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3078         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3079         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3080         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3081         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3082         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3083         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3084         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3085         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3086         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3087         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3088         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3089         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3090         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3091         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3092         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3093         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3094         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3095         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3096         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3097         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3098         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3099         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3100         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3101         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3102         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3103         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3104         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3105         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3106         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3107         syscall.
3108         (geteuid): Likewise.
3109         (getgid): Likewise.
3110         (getuid): Likewise.
3111         (getresgid): Likewise.
3112         (getresuid): Likewise.
3113         (getgroups): Likewise.
3114         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3115         (geteuid): Likewise.
3116         (getgid): Likewise.
3117         (getuid): Likewise.
3118         (getresgid): Likewise.
3119         (getresuid): Likewise.
3120         (getgroups): Likewise.
3121         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3122         (geteuid): Likewise.
3123         (getgid): Likewise.
3124         (getuid): Likewise.
3125         (getresgid): Likewise.
3126         (getresuid): Likewise.
3127         (getgroups): Likewise.
3128         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3129         Likewise.
3130         (geteuid): Likewise.
3131         (getgid): Likewise.
3132         (getuid): Likewise.
3133         (getresgid): Likewise.
3134         (getresuid): Likewise.
3135         (getgroups): Likewise.
3136         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3137         (geteuid): Likewise.
3138         (getgid): Likewise.
3139         (getuid): Likewise.
3140         (getresgid): Likewise.
3141         (getresuid): Likewise.
3142         (getgroups): Likewise.
3143         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3144         Likewise.
3145         (geteuid): Likewise.
3146         (getgid): Likewise.
3147         (getuid): Likewise.
3148         (getgroups): Likewise.
3149
3150         [BZ #14138]
3151         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3152         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3153         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3154         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3155         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3156         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3157         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3158         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3159         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3160         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3161         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3162         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3163         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3164         __chown.
3165         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3166         (lchown): Likewise.
3167         (fchown): Likewise.
3168         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3169         Likewise.
3170         (lchown): Likewise.
3171         (fchown): Likewise.
3172         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3173         (lchown): Likewise.
3174         (fchown): Likewise.
3175         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3176         Likewise.
3177         (lchown): Likewise.
3178         (fchown): Likewise.
3179
3180 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3181
3182         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3183         Simplify logic.
3184
3185 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3186
3187         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3188         Cleanup logic.
3189
3190 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3191
3192         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3193         Remove unused include.
3194
3195 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3196
3197         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3198         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3199         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3200         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3201
3202 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3203             Helge Deller <deller@gmx.de>
3204
3205         [BZ #17508]
3206         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3207         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3208         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3209
3210 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3211
3212         [BZ #14132]
3213         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3214         Remove macro definition.
3215         (__ashrdi3_v_glibc20): Likewise.
3216         (__lshrdi3_v_glibc20): Likewise.
3217         (__cmpdi2_v_glibc20): Likewise.
3218         (__ucmpdi2_v_glibc20): Likewise.
3219         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3220         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3221         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3222         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3223         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3224         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3225
3226 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3227
3228         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3229         old GNU extension [0] syntax.
3230         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3231         alloca rather than an array member with variable length.
3232         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3233         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3234         (parse_opt): ... here.  Likewise use alloca there.
3235         Validate the -i argument before checking for rootness.
3236         (send_shutdown): New function, broken out of ...
3237         (parse_opt): ... here.
3238
3239 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3240
3241         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3242         macro to get at the _rt_local_ro field.
3243         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3244         ([PIC] case) or _dl_hwcap ([!PIC] case).
3245         * sysdeps/arm/setjmp.S: Likewise.
3246
3247         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3248         * sysdeps/arm/configure.ac: New check to define it.
3249         * sysdeps/arm/configure: Regenerated.
3250         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3251         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3252         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3253         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3254         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3255         Use move/movt pair instead of a load.
3256         (LDST_GLOBAL): Macro removed.
3257         (LDR_GLOBAL): New macro replaces it.
3258         (LDR_HIDDEN): New macro.
3259         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3260         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3261
3262         * setjmp/tst-setjmp-static.c: New file.
3263         * setjmp/Makefile (tests): Add it.
3264         (tests-static): New variable.
3265
3266 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3267
3268         [BZ #17485]
3269         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3270
3271 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3272
3273         [BZ #14132]
3274         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3275
3276 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3277
3278         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3279
3280 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3281
3282         * io/fts.c (dirent_not_directory): New function.
3283         (fts_build): Call it.
3284
3285 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3286
3287         * nptl/version.c (__nptl_main): Use normal __write rather than
3288         INTERNAL_SYSCALL.
3289         (banner): Update copyright years.
3290
3291         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3292         gettimeofday.
3293         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3294         * nptl/pthread_cond_timedwait.c: Likewise.
3295         * nptl/pthread_mutex_timedlock.c: Likewise.
3296         * nptl/sem_timedwait.c: Likewise.
3297
3298         * sysdeps/nptl/bits/libc-lock.h
3299         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3300         (__libc_lock_init_recursive): Return void, not 0.
3301         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3302         (__libc_rwlock_init): Likewise.
3303         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3304
3305 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3306
3307         [BZ #15215]
3308         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3309         (__pthread_once_slow): ... here.
3310         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3311         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3312
3313 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3314
3315         [BZ #15215]
3316         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3317         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3318         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3319         * nptl/pthread_once.c (__pthread_once): Likewise.
3320         Update comments.
3321
3322 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3323
3324         [BZ #14138]
3325         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3326         name.
3327         (writev): Use __libc_writev as strong name.
3328         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3329         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3330
3331 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3332
3333         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3334
3335         * sysdeps/i386/nptl/tls.h
3336         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3337         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3338         New macros.
3339         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3340         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3341         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3342         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3343         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3344         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3345
3346         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3347         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3348         on [__NR_futex].
3349         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3350         broken out of ...
3351         (__pthread_mutex_init): ... here.  Call it.
3352         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3353         Conditionalize PI cases on [__NR_futex].
3354         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3355         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3356         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3357
3358         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3359         conditional on [SIGSETXID].
3360         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3361         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3362         is defined.  Likewise for SIGSETXID.
3363         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3364         Conditionalize definitions on [SIGSETXID].
3365         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3366         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3367         unblocking on [SIGCANCEL].
3368
3369         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3370         [__NR_set_robust_list].
3371
3372 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3373
3374         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3375         (do_compare): Likewise.
3376
3377 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3378
3379         [BZ #15884]
3380         * string/strcoll_l.c: Don't include stdio.h.
3381         (coll_seq): Remove members idxarr and rulearr.
3382         (get_next_seq_cached): Remove function.
3383         (get_next_seq): Likewise.
3384         (get_next_seq_nocache): Rename to get_next_seq.
3385         (do_compare): Remove function.
3386         (do_compare_nocache): Rename to do_compare.
3387         (STRCOLL): Remove weight and rules cache.
3388
3389 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3390
3391         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3392         * sysdeps/arm/sfp-machine.h: ... to here.
3393         * sysdeps/arm/Implies: Remove arm/soft-fp.
3394
3395 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3396
3397         * conform/data/sys/utsname.h-data (*_t): Allow.
3398         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3399         [POSIX] (WEXITED): Do not expect constant.
3400         [POSIX] (WSTOPPED): Likewise.
3401         [POSIX] (WNOHANG): Likewise.
3402         [POSIX] (WNOWAIT): Likewise.
3403         [POSIX] (siginfo_t): Do not expect type or elements.
3404         [POSIX] (pid_t): Do not expect type.
3405         [POSIX] (signal.h): Do not allow header.
3406         [POSIX] (sys/resource.h): Likewise.
3407         [POSIX] (si_*): Do not allow pattern.
3408         [POSIX] (W*): Likewise.
3409         [POSIX] (P_*): Likewise.
3410         [POSIX] (BUS_*): Likewise.
3411         [POSIX] (CLD_*): Likewise.
3412         [POSIX] (FPE_*): Likewise.
3413         [POSIX] (ILL_*): Likewise.
3414         [POSIX] (POLL_*): Likewise.
3415         [POSIX] (SEGV_*): Likewise.
3416         [POSIX] (SI_*): Likewise.
3417         [POSIX] (TRAP_*): Likewise.
3418         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3419         variable.
3420
3421 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3422
3423         [BZ #12926]
3424         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3425         infinite loop when __recvmsg returns 0.
3426
3427 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3428
3429         * CANCEL-FCT-WAIVE: Remove file.
3430         * CANCEL-FILE-WAIVE: Likewise.
3431
3432         [BZ #14132]
3433         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3434         instead of INTVARDEF.
3435         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3436         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3437         rtld_hidden_data_def instead of INTVARDEF.
3438         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3439         * elf/dl-deps.c (expand_dst): Likewise.
3440         * elf/dl-load.c (_dl_dst_count): Likewise.
3441         (_dl_dst_substitute): Likewise.
3442         (decompose_rpath): Likewise.
3443         (_dl_init_paths): Likewise.
3444         (open_path): Likewise.
3445         (_dl_map_object): Likewise.
3446         * elf/rtld.c (dl_main): Likewise.
3447         (process_dl_audit): Likewise.
3448         (process_envvars): Likewise.
3449         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3450         Remove declaration.
3451         (__libc_enable_secure): Use rtld_hidden_proto.
3452
3453 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3454
3455         * elf/dl-load.c
3456         (add_path): New function broken out of _dl_rtld_di_serinfo.
3457         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3458
3459 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3460
3461         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3462         parentheses around macro arguments.
3463         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3464         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3465         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3466         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3467         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3468         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3469         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3470         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3471         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3472         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3473         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3474         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3475         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3476         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3477         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3478         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3479         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3480         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3481         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3482         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3483         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3484         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3485         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3486         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3487         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3488         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3489         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3490         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3491         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3492         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3493         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3494         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3495         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3496         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3497         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3498         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3499         Likewise.
3500         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3501         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3502         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3503         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3504         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3505         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3506         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3507         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3508         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3509         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3510         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3511         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3512         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3513         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3514         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3515         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3516         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3517         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3518         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3519         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3521         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3522         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3523         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3524         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3525         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3526         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3527         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3528         (_FP_FRAC_SRS_1): Likewise.
3529         (_FP_FRAC_CLZ_1): Likewise.
3530         (_FP_MUL_MEAT_1_imm): Likewise.
3531         (_FP_MUL_MEAT_1_wide): Likewise.
3532         (_FP_MUL_MEAT_1_hard): Likewise.
3533         (_FP_SQRT_MEAT_1): Likewise.
3534         (_FP_FRAC_ASSEMBLE_1): Likewise.
3535         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3536         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3537         (__FP_CLZ_2): Likewise.
3538         (_FP_MUL_MEAT_2_wide): Likewise.
3539         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3540         (_FP_MUL_MEAT_2_gmp): Likewise.
3541         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3542         (_FP_SQRT_MEAT_2): Likewise.
3543         (_FP_FRAC_ASSEMBLE_2): Likewise.
3544         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3545         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3546         (_FP_FRAC_CLZ_4): Likewise.
3547         (_FP_MUL_MEAT_4_wide): Likewise.
3548         (_FP_MUL_MEAT_4_gmp): Likewise.
3549         (_FP_SQRT_MEAT_4): Likewise.
3550         (_FP_FRAC_ASSEMBLE_4): Likewise.
3551         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3552         * soft-fp/op-common.h (_FP_CMP): Likewise.
3553         (_FP_CMP_EQ): Likewise.
3554         (_FP_CMP_UNORD): Likewise.
3555         (_FP_TO_INT): Likewise.
3556         (_FP_FROM_INT): Likewise.
3557         [!__FP_CLZ] (__FP_CLZ): Likewise.
3558         (_FP_DIV_HELP_imm): Likewise.
3559         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3560         Likewise.
3561         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3562         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3563         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3564         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3565         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3566         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3567         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3568         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3569         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3570         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3571         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3572         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3573         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3574         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3575         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3576         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3577         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3578         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3579         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3580         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3581         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3583         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3584         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3585         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3586         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3587         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3588         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3589         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3590         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3591         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3592         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3593         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3594         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3595         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3596         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3597         (FP_UNPACK_RAW_SP): Likewise.
3598         (FP_PACK_RAW_S): Likewise.
3599         (FP_PACK_RAW_SP): Likewise.
3600         (FP_UNPACK_S): Likewise.
3601         (FP_UNPACK_SP): Likewise.
3602         (FP_UNPACK_SEMIRAW_S): Likewise.
3603         (FP_UNPACK_SEMIRAW_SP): Likewise.
3604         (FP_PACK_S): Likewise.
3605         (FP_PACK_SP): Likewise.
3606         (FP_PACK_SEMIRAW_S): Likewise.
3607         (FP_PACK_SEMIRAW_SP): Likewise.
3608         (_FP_SQRT_MEAT_S): Likewise.
3609         (FP_CMP_S): Likewise.
3610         (FP_CMP_EQ_S): Likewise.
3611         (FP_CMP_UNORD_S): Likewise.
3612         (FP_TO_INT_S): Likewise.
3613         (FP_FROM_INT_S): Likewise.
3614
3615         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3616
3617         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3618         (FP_EX_INVALID_IMZ): Likewise.
3619         (FP_EX_INVALID_IMZ_FMA): Likewise.
3620         (FP_EX_INVALID_ISI): Likewise.
3621         (FP_EX_INVALID_ZDZ): Likewise.
3622         (FP_EX_INVALID_IDI): Likewise.
3623         (FP_EX_INVALID_SQRT): Likewise.
3624         (FP_EX_INVALID_CVI): Likewise.
3625         (FP_EX_INVALID_VC): Likewise.
3626         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3627         "invalid" exceptions.
3628         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3629         (_FP_ADD_INTERNAL): Likewise.
3630         (_FP_MUL): Likewise.
3631         (_FP_FMA): Likewise.
3632         (_FP_DIV): Likewise.
3633         (_FP_CMP_CHECK_NAN): Likewise.
3634         (_FP_SQRT): Likewise.
3635         (_FP_TO_INT): Likewise.
3636         (FP_EXTEND): Likewise.
3637
3638 2014-10-09  Allan McRae  <allan@archlinux.org>
3639
3640         * po/fr.po: Update French translation from translation project.
3641
3642 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3643
3644         [BZ #14132]
3645         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3646         of INTDEF.
3647         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3648         (__cxa_atexit): Use libc_hidden_proto.
3649         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3650
3651         [BZ #14132]
3652         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3653         declaration.
3654         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3655         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3656         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3657         [!_ISOMAC] (__iswctype_internal): Likewise.
3658         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3659         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3660         alias.
3661         (fcntl): Remove __fcntl_internal alias.
3662         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3663         __connect_internal alias.
3664         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3665         Likewise.
3666
3667         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3668         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3669         FP_DENORM_ZERO.
3670         (_FP_CHECK_FLUSH_ZERO): New macro.
3671         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3672         (_FP_CMP): Likewise.
3673         (_FP_CMP_EQ): Likewise.
3674         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3675         FP_DENORM_ZERO.
3676         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3677         (FP_TRUNC): Likewise.
3678
3679         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3680         treated as invalid conversion, not as normal exponent.
3681
3682         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3683         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3684         (_FP_CMP_EQ): Likewise.
3685         (_FP_CMP_UNORD): Likewise.
3686         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3687         (FP_CMP_EQ_D): Likewise.
3688         (FP_CMP_UNORD_D): Likewise.
3689         * soft-fp/extended.h (FP_CMP_E): Likewise.
3690         (FP_CMP_EQ_E): Likewise.
3691         (FP_CMP_UNORD_E): Likewise.
3692         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3693         (FP_CMP_EQ_Q): Likewise.
3694         (FP_CMP_UNORD_Q): Likewise.
3695         * soft-fp/single.h (FP_CMP_S): Likewise.
3696         (FP_CMP_EQ_S): Likewise.
3697         (FP_CMP_UNORD_S): Likewise.
3698         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3699         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3700         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3701         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3702         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3703         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3704         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3705         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3706         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3707         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3708         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3709         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3710         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3711         to FP_CMP_Q.
3712         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3713         FP_CMP_Q.
3714         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3715         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3716         FP_CMP_EQ_Q.
3717         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3718         FP_CMP_Q.
3719         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3720         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3721         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3722         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3723         FP_CMP_EQ_Q.
3724         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3725         FP_CMP_Q.
3726         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3727         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3728         FP_CMP_EQ_Q.
3729         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3730         FP_CMP_Q.
3731         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3732         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3733         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3734         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3735         FP_CMP_EQ_Q.
3736
3737         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3738         a subnormal result, set the underflow exception if trapping on
3739         underflow is enabled.
3740         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3741         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3742         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3743         redefine to 0.
3744         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3745         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3746         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3747         * soft-fp/extendxftf2.c (__extendxftf2): Use
3748         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3749
3750         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3751         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3752         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3753         FP_HANDLE_EXCEPTIONS.
3754         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3755         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3756         FP_HANDLE_EXCEPTIONS.
3757         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3758         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3759         FP_HANDLE_EXCEPTIONS.
3760         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3761         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3762         FP_HANDLE_EXCEPTIONS.
3763
3764 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
3765
3766         [BZ #14132]
3767         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3768         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3769         use INTUSE.
3770         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3771         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3772         Remove alias.
3773         (__adjtimex): Define using libc_hidden_ver.
3774         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3775         Remove declaration.
3776         (ntp_gettime): Call __adjtimex directly.
3777         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3778         Remove declaration.
3779         (ntp_gettimex): Call __adjtimex directly.
3780         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3781         __adjtimex_internal alias.
3782
3783 2014-10-08  Roland McGrath  <roland@hack.frob.com>
3784
3785         [BZ #17460]
3786         * nscd/nscd.c (more_help): Rewrite list of tables collection
3787         using xstrdup and asprintf.
3788
3789         * nscd/nscd_conf.c: Remove local xstrdup declaration.
3790
3791 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3792             Roland McGrath  <roland@hack.frob.com>
3793
3794         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3795         (do_lookup_unique): ... local function 'enter' here; update callers.
3796
3797 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
3798
3799         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3800         compat_symbol calls on [SHARED].
3801         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3802         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3803         Remove.
3804         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3805         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3806         (oldsetrlimit): Remove.
3807         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3809         (lchown): New syscall entry.
3810         (oldsetrlimit): Remove.
3811         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3812         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3813         (oldsetrlimit): Remove.
3814         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3815
3816         [BZ #14138]
3817         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3818         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3819         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3820         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3821         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3822         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3823         (fchown): Likewise.
3824         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3825         (fchown): Likewise.
3826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3827         Likewise.
3828
3829 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3830
3831         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3832         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3833         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3834         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3835         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3836         Likewise.
3837         (__old_sem_post): Likewise.
3838
3839 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
3840
3841         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3842         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3843         HAVE_CLOCK_GETTIME_VSYSCALL macros.
3844         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3845         Use INLINE_VSYSCALL macro.
3846         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3847         __vdso_clock_gettime.
3848         * sysdeps/unix/sysv/linux/tile/init-first.c
3849         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3850         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3851         __vdso_clock_gettime.
3852
3853         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3854         to set up frame more cleanly.
3855
3856         * sysdeps/tile/memcmp.c: New file.
3857
3858         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3859
3860         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3861         * sysdeps/tile/tilegx/strcasestr.c: New file.
3862         * sysdeps/tile/tilegx/strnlen.c: New file.
3863         * sysdeps/tile/tilegx/strstr.c: New file.
3864
3865         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3866
3867 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
3868
3869         * nptl/tst-setuid3.c: Write errors to stdout.
3870
3871 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3872
3873         * elf/dl-deps.c
3874         (preload): New functions broken out of _dl_map_object_deps.
3875         (_dl_map_object_deps):  Remove a nested function. Update call sites.
3876
3877 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
3878
3879         [BZ #14138]
3880         * sysdeps/unix/sysv/linux/execve.c: Remove file.
3881         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3882
3883 2014-10-01  Steve Ellcey  <sellcey@mips.com>
3884
3885         * sysdeps/mips/strcmp.S: New.
3886
3887 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
3888
3889         [BZ #14138]
3890         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3891         (linkat): Likewise.
3892         (mkdirat): Likewise.
3893         (readlinkat): Likewise.
3894         (renameat): Likewise.
3895         (symlinkat): Likewise.
3896         (unlinkat): Likewise.
3897         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3898         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3899         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3900         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3901         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3902         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3903         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3904
3905 2014-09-30  Will Newton  <will.newton@linaro.org>
3906
3907         * math/math.h: Define long double math functions if
3908         _LIBC_TEST is defined.
3909         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3910
3911         * localedata/Makefile: Move assignment to tests-special
3912         into an ifdef testing run-built-tests.
3913         * timezone/Makefile: Likewise.
3914
3915 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
3916
3917         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3918         with $(BASH) not $(SHELL).
3919
3920 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
3921             Matthew LeGendre  <legendre1@llnl.gov>
3922
3923         [BZ #17411]
3924         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3925         l_reloc_result.
3926
3927 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3928
3929         * stdio-common/printf_fp.c
3930         (hack_digit): New function, broken out of ...
3931         (__printf_fp): ... local function here.  Update call sites.
3932         hack_digit now takes an additional parameter that is a pointer
3933         to a struct of the referenced locals.  Those locals moved inside
3934         the struct and references updated.
3935
3936 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
3937
3938         * aclocal.m4: Require autoconf 2.69.
3939         * configure: Regenerated.
3940         * sysdeps/aarch64/configure: Likewise.
3941         * sysdeps/alpha/configure: Likewise.
3942         * sysdeps/arm/armv7/configure: Likewise.
3943         * sysdeps/arm/configure: Likewise.
3944         * sysdeps/ia64/configure: Likewise.
3945         * sysdeps/mach/configure: Likewise.
3946         * sysdeps/mips/configure: Likewise.
3947         * sysdeps/s390/configure: Likewise.
3948         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3950
3951         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3952         file.
3953         * sysdeps/ia64/configure.ac: Likewise.
3954
3955 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
3956
3957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3958         specify symbol version for ld.so.  Do not include entry for
3959         libpthread.
3960         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3961         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3962         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3963
3964         [BZ #14171]
3965         * Makeconfig [$(build-shared) = yes]
3966         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3967         makefiles.
3968         [$(build-shared) = yes && $(soversions.mk-done) = t]
3969         ($(common-objpfx)gnu/lib-names.h): Remove rule.
3970         [$(build-shared) = yes && $(soversions.mk-done) = t]
3971         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
3972         to Makerules.
3973         [$(build-shared) = yes && $(soversions.mk-done) = t]
3974         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3975         here.
3976         [$(build-shared) = yes && $(soversions.mk-done) = t]
3977         (common-generated): Don't append gnu/lib-names.h and
3978         gnu/lib-names.stmp here.
3979         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3980         (lib-names-h-abi): New variable.
3981         [$(build-shared) = yes && $(soversions.mk-done) = t]
3982         (lib-names-stmp-abi): Likewise.
3983         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3984         abi-variants] (before-compile): Append
3985         $(common-objpfx)$(lib-names-h-abi).
3986         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3987         abi-variants] (common-generated): Append gnu/lib-names.h.
3988         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3989         abi-variants] (install-others-nosubdir): Depend on
3990         $(inst_includedir)/$(lib-names-h-abi).
3991         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3992         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3993         [$(build-shared) = yes && $(soversions.mk-done) = t]
3994         ($(common-objpfx)$(lib-names-h-abi)): New rule.
3995         [$(build-shared) = yes && $(soversions.mk-done) = t]
3996         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3997         [$(build-shared) = yes && $(soversions.mk-done) = t]
3998         (common-generated): Append $(lib-names-h-abi) and
3999         $(lib-names-stmp-abi).
4000         * scripts/lib-names.awk: Do not handle multi being set.
4001         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4002         Remove variable.
4003         (abi-lp64_be-ld-soname): Likewise.
4004         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4005         Likewise.
4006         (abi-hard-ld-soname): Likewise.
4007         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4008         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4009         Remove variable.
4010         (abi-o32_hard-ld-soname): Likewise.
4011         (abi-o32_soft_2008-ld-soname): Likewise.
4012         (abi-o32_hard_2008-ld-soname): Likewise.
4013         (abi-n32_soft-ld-soname): Likewise.
4014         (abi-n32_hard-ld-soname): Likewise.
4015         (abi-n32_soft_2008-ld-soname): Likewise.
4016         (abi-n32_hard_2008-ld-soname): Likewise.
4017         (abi-n64_soft-ld-soname): Likewise.
4018         (abi-n64_hard-ld-soname): Likewise.
4019         (abi-n64_soft_2008-ld-soname): Likewise.
4020         (abi-n64_hard_2008-ld-soname): Likewise.
4021         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4022         Likewise.
4023         (abi-64-v2-ld-soname): Likewise.
4024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4025         ld.so entries.
4026         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4027         variable.
4028         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4029         entry.
4030         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4031         variable.
4032         (abi-64-ld-soname): Likewise.
4033         (abi-x32-ld-soname): Likewise.
4034         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4035         entry.
4036         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4037
4038 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4039
4040         [BZ #14138]
4041         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4042         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4043         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4044         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4045         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4046         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4047         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4048         syscall entry for GLIBC_2.2 symbol version.
4049         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4050         Likewise.
4051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4052         (setrlimit): Likewise.
4053         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4054         Likewise.
4055
4056 2014-09-23  Will Newton  <will.newton@linaro.org>
4057
4058         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4059         _LINUX_ARM_SYSDEP_H include guard too.
4060         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4061         define.
4062
4063 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4064
4065         * sysdeps/unix/sysv/linux/eventfd.c:
4066         Make first argument unsigned.
4067         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4068         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4069
4070 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4071
4072         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4073         * socket/sys/socket.h: Likewise
4074         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4075
4076 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4077
4078         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4079
4080 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4081
4082         * time/tst-ftime.c: New test.
4083         * time/Makefile (tests): Add tst-ftime.
4084
4085 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4086
4087         * soft-fp/extended.h: Fix comment formatting.
4088         * soft-fp/op-1.h: Likewise.
4089         * soft-fp/op-2.h: Likewise.
4090         * soft-fp/op-4.h: Likewise.
4091         * soft-fp/op-8.h: Likewise.
4092         * soft-fp/op-common.h: Likewise.
4093         * soft-fp/soft-fp.h: Likewise.
4094
4095         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4096
4097 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4098
4099         [BZ #6652]
4100         * Makeconfig (soversions-default-setname): Remove variable.
4101         ($(common-objpfx)soversions.i): Don't pass default_setname to
4102         soversions.awk.
4103         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4104         oldest_abi to abi-versions.awk.
4105         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4106         * config.make.in (oldest-abi): Remove variable.
4107         * configure.ac (--enable-oldest-abi): Remove configure option.
4108         * configure: Regenerated.
4109         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4110         text.
4111         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4112         * scripts/soversions.awk: Do not handle default_setname variable.
4113         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4114         variable.
4115         * sysdeps/mach/hurd/configure: Regenerated.
4116         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4117         variable.
4118         * sysdeps/unix/sysv/linux/configure: Regenerated.
4119
4120 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4121
4122         * elf/Makefile (CFLAGS-interp.c): Remove.
4123         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4124         path string.
4125         * elf/interp.c: Include generated runtime-linker.h
4126
4127         * Makerules (lib%.so): Don't include $(+interp) in
4128         prerequisites.
4129         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4130         * dlfcn/eval.c: Remove file.
4131
4132         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4133         macros.
4134
4135         [BZ #17266]
4136         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4137         4.2 and newer.
4138
4139         [BZ #17370]
4140         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4141
4142 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4143             Jakub Jelinek  <jakub@redhat.com>
4144
4145         [BZ #17266]
4146         * libio/stdio.h: Check definition of __fortify_function
4147         instead of __extern_always_inline to include bits/stdio2.h.
4148         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4149         check if __extern_always_inline is defined.
4150         [__USE_MISC || __USE_XOPEN]: Likewise.
4151         [__USE_ISOC99] Likewise.
4152         * misc/sys/cdefs.h (__fortify_function): Define only if
4153         __extern_always_inline is defined.
4154         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4155         __extern_always_inline and __extern_inline only for g++-4.3
4156         and newer or a compatible gcc.
4157
4158 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4159
4160         [BZ #17371]
4161         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4162         last change to handle zero prefix length.
4163
4164 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4165
4166         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4167         _SC_REGEX_VERSION.
4168
4169         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4170         _POSIX_RAW_SOCKETS.
4171
4172 2014-09-13  Allan McRae  <allan@archlinux.org>
4173
4174         * po/ru.po: Update Russian translation from translation project.
4175
4176 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4177
4178         * locale/programs/locale.c (show_locale_vars): Inline local function
4179         into its sole call site.  Clean up some style nits.
4180         (print_item): New function, broken out of ...
4181         (show_info): ... local function here.  Clean up style nits.
4182
4183         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4184         out of ...
4185         (set_class_defaults): ... local function set_default here.
4186         Define set_default as a macro locally to pass constant parameters.
4187         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4188         rather than a shared local.
4189
4190         * stdlib/rpmatch.c (try): New function, broken out of ...
4191         (rpmatch): ... local function here.  Also, prototypify definition.
4192
4193 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4194
4195         * scripts/soversions.awk: Do not handle configuration names.
4196         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4197         vendor and os variables to soversions.awk.
4198         * configure.ac: Do not modify gnu-* host_os.
4199         * configure: Regenerated
4200         * shlib-versions: Remove first column with configuration names.
4201         * nptl/shlib-versions: Likewise.
4202         * nptl_db/shlib-versions: Likewise.
4203         * sysdeps/hppa/shlib-versions: Likewise.
4204         * sysdeps/m68k/shlib-versions: Likewise.
4205         * sysdeps/mach/hurd/shlib-versions: Likewise.
4206         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4207         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4208         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4209         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4210         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4211         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4212         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4213         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4215         Likewise.
4216         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4217         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4218         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4219         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4220         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4221         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4222         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4223         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4224
4225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4226         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4228         Regenerated.
4229         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4231         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4232
4233         * shlib-versions: Remove OS-specific entries.  Moved to files in
4234         sysdeps.
4235         * sysdeps/mach/hurd/shlib-versions: New file.
4236         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4237
4238         * nptl/shlib-versions: Remove architecture-specific entries.
4239         Moved to files in sysdeps.
4240         * shlib-versions: Likewise.
4241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4242         file.
4243         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4244         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4245         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4246         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4247
4248         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4249         (UDP_NO_CHECK6_RX): Likewise.
4250
4251 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4252
4253         * sysdeps/posix/sysconf.c (__sysconf): Spell
4254         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4255
4256 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4257
4258         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4259         loading.
4260         * iconv/Versions (__gconv_transliterate): Export for use from
4261         gconv modules.
4262         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4263         (struct __gconv_trans_data, __gconv_trans_fct,
4264         __gconv_trans_context_fct, __gconv_trans_query_fct,
4265         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4266         definitions.
4267         (struct __gconv_step_data): Remove __trans member.
4268         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4269         longer hidden.  Remove unused trans_data argument.
4270         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4271         (__gconv_translit_find): Remove declaration.
4272         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4273         prototype.
4274         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4275         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4276         trans_data argument.  Add hidden definition.
4277         (__gconv_translit_find): Remove.
4278         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4279         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4280         * iconv/skeleton.c: Remove transliteration initialization.
4281         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4282         __gconv_step_data initialization.
4283         * libio/iofwide.c (__libio_translit_): Remove.
4284         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4285         * wcsmbs/btowc.c (__btowc): Likewise.
4286         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4287         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4288         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4289         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4290         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4291         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4292         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4293         * wcsmbs/wctob.c (wctob): Likewise.
4294
4295 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4296
4297         [BZ #16194]
4298         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4299         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4300         register usage.
4301         * sysdeps/x86/Makefile: Adjust.
4302
4303 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4304             Roland McGrath  <roland@hack.frob.com>
4305
4306         * locale/weight.h: Add include guard.
4307         (findidx): Make static rather than auto; take new parameters
4308         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4309         * locale/weightwc.h: Likewise.
4310         * posix/fnmatch_loop.c
4311         (FCT): Change type of EXTRA from int32_t to wint_t.
4312         Don't include either header inside the function.
4313         Call FINDIDX rather than findidx, and pass new arguments.
4314         #undef FINDIDX at the end of the file.
4315         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4316         FINDIDX before including fnmatch_loop.c for the non-wide version.
4317         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4318         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4319         for the wide version.
4320         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4321         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4322         Pass new arguments to findidx.
4323         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4324         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4325         Don't #include it inside the function.  Pass new arguments to findidx.
4326         * posix/regex_internal.h
4327         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4328         (re_string_elem_size_at): Don't #include it inside the function.
4329         Pass new arguments to findidx.
4330         * string/strcoll_l.c: #include WEIGHT_H at top level.
4331         (get_next_seq): Don't #include it inside the function.
4332         Pass new arguments to findidx.
4333         (get_next_seq_nocache): Likewise.
4334         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4335         (STRXFRM): Don't #include it inside the function.
4336         Pass new arguments to findidx.
4337
4338 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4339
4340         [BZ #17344]
4341         * malloc/malloc.c (unlink): Turn asserts into a call to
4342         malloc_printerr.
4343
4344 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4345
4346         [BZ #17370]
4347         * libio/wfileops (do_ftell_wide): Free OUT.
4348
4349 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4350
4351         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4352
4353 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4354
4355         [BZ #17363]
4356         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4357         group if the current group is empty.
4358
4359 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4360
4361         * benchtests/bench-memset.c (test_main): Add more test from size
4362         from 32 to 512 bytes.
4363         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4364         Add POWER8 memset object.
4365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4366         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4367         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4368         implementation.
4369         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4370         Likewise.
4371         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4372         multiarch POWER8 memset optimization.
4373         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4374         POWER8 memset optimization.
4375
4376         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4377         Remove bzero multiarch objects.
4378         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4379         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4380         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4381         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4382         Remove define.
4383         [__bzero]: Redefine to specific name.
4384         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4385         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4386         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4387         define.
4388         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4389         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4390
4391 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4392
4393         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4394         warnings into errors.
4395
4396         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4397         __cxa_thread_atexit_impl prototype.
4398
4399 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4400
4401         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4402         Fix capitalization of error message.
4403
4404 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4405
4406         * sysdeps/mips/preconfigure: Modify ABI tests.
4407
4408 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4409
4410         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4411
4412 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4413             Carlos O'Donell  <carlos@systemhalted.org>
4414
4415         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4416         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4417         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4418         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4419         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4420         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4421         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4422         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4423         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4424         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4425         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4426         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4427         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4428         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4429         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4430         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4431         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4432         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4433         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4434         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4435         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4436         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4437         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4438         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4439         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4440         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4441         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4442         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4443         Deconditionalize the code that was previously under [RESET_PID].
4444         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4445         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4446         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4447         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4448         include sysdep.h.
4449
4450 2014-09-08  Allan McRae  <allan@archlinux.org>
4451
4452         * version.h (RELEASE): Set to "development".
4453         (VERSION): Set to "2.20.90"
4454
4455 2014-09-07  Allan McRae  <allan@archlinux.org
4456
4457         * version.h (RELEASE): Set to "stable".
4458         (VERSION): Set to "2.20"
4459         * include/features.h (__GLIBC_MINOR__): Set to 20.
4460
4461         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4462         Liebler.
4463
4464         * po/ko.po: Update Korean translation from translation project.
4465
4466 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4467
4468         [BZ #17354]
4469         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4470         macro for handling signed relocations.
4471
4472 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4473
4474         [BZ #17325]
4475         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4476         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4477         assert.
4478         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4479         * iconvdata/ibm935.c (BODY): Likewise.
4480         * iconvdata/ibm937.c (BODY): Likewise.
4481         * iconvdata/ibm939.c (BODY): Likewise.
4482         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4483         assert.
4484         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4485         script.
4486         * iconvdata/run-iconv-test.sh: New test loop for checking for
4487         decoder crashers.
4488
4489 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4490
4491         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4492         libm_hidden_ver.
4493
4494 2014-09-01  Allan McRae  <allan@archlinux.org>
4495
4496         * po/eo.po: Update Esperanto translation from translation project.
4497
4498         * po/ca.po: Update Catalan translation from translation project.
4499
4500 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4501
4502         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4503         __proc_dostop call.
4504
4505 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4506
4507         [BZ #17319]
4508         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4509         to call set_thread_area instead of hand written asm.
4510         (__NR_set_thread_area): Removed define.
4511         (TLS_FLAG_WRITABLE): Likewise.
4512         (__ASSUME_SET_THREAD_AREA): Remove check.
4513         (TLS_EBX_ARG): Remove define.
4514         (TLS_LOAD_EBX): Likewise.
4515
4516 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4517
4518         Simplify atomicity of socket creation in bind.
4519
4520         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4521         looking up the name after linking the file.
4522
4523 2014-08-27  Allan McRae  <allan@archlinux.org>
4524
4525         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4526
4527 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4528
4529         [BZ #17187]
4530         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4531         trans_compare, open_translit, __gconv_translit_find):
4532         Remove module loading code.
4533
4534 2014-08-26  Allan McRae  <allan@archlinux.org>
4535
4536         * po/vi.po: Update Vietnamese translation from translation project.
4537
4538         * po/uk.po: Update Ukrainian translation from translation project.
4539
4540         * po/fr.po: Update French translation from translation project.
4541
4542         * po/ru.po: Update Russian translation from translation project.
4543
4544         * po/pl.po: Update Polish translation from translation project.
4545
4546         * po/cs.po: Update Czech translation from translation project.
4547
4548         * po/de.po: Update German translation from translation project.
4549
4550         * po/bg.po: Update Bulgarian translation from translation project.
4551
4552         * po/sv.po: Update Sweedish translation from translation project.
4553
4554         * po/nl.po: Update Dutch translation from translation project.
4555
4556         * po/es.po: Update Spanish translation from translation project.
4557
4558 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4559
4560         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4561
4562         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4563         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4564         (CPPFLAGS-iconvconfig): Likewise.
4565         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4566
4567         * include/libc-symbols.h: Remove unnecessary check for
4568         NOT_IN_libc.
4569         * nptl/pthreadP.h: Likewise.
4570         * sysdeps/aarch64/setjmp.S: Likewise.
4571         * sysdeps/alpha/setjmp.S: Likewise.
4572         * sysdeps/arm/sysdep.h: Likewise.
4573         * sysdeps/i386/setjmp.S: Likewise.
4574         * sysdeps/m68k/setjmp.c: Likewise.
4575         * sysdeps/posix/getcwd.c: Likewise.
4576         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4577         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4578         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4579         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4580         * sysdeps/sh/sh3/setjmp.S: Likewise.
4581         * sysdeps/sh/sh4/setjmp.S: Likewise.
4582         * sysdeps/unix/alpha/sysdep.h: Likewise.
4583         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4584         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4585         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4586         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4589         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4591         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4592         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4593         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4594         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4595         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4596         * sysdeps/x86_64/setjmp.S: Likewise.
4597
4598 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4599
4600         [BZ #17263]
4601         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4602         <stdint.h>.
4603         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4604         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4605
4606 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4607
4608         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4609
4610         [BZ #17262]
4611         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4612         and __x86_64__ when disabling x87 inline functions.
4613
4614 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4615
4616         [BZ #17259]
4617         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4618         asm statement with __cpuid_count.
4619
4620 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4621
4622         * configure.ac: Change __ehdr_start code to dereference the struct.
4623         Run readelf on the output to look for relocations.
4624         * configure: Regenerated.
4625
4626 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4627
4628         [BZ #17261]
4629         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4630         value to 0.
4631         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4632
4633 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4634
4635         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4636
4637 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4638
4639         [BZ #16892]
4640         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4641         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4642
4643 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4644
4645         * malloc/malloc.c: Fix typo in comment.
4646
4647 2014-08-09  Allan McRae  <allan@archlinux.org>
4648
4649         * Regenerate libc.po.
4650
4651 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4652
4653         * intl/tst-gettext2.sh: Check every lang file for creation.
4654
4655 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4656
4657         * sysdeps/aarch64/fpu/math_private.h
4658         (libc_feholdsetround_noex_aarch64_ctx): New function.
4659
4660 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4661
4662         * sysdeps/arm/armv6/strcpy.S (strcpy):
4663         Fix performance issue in misaligned cases.
4664
4665 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4666
4667         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4668         Move definition from termios.h.
4669         (struct termio): Likewise.
4670         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4671         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4672         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4673         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4674         Likewise.
4675         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4676         Move definition to ioctl-types.h
4677         (struct termio): Likewise.
4678         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4679         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4680         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4681         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4682         Likewise.
4683
4684 2014-08-05  Richard Henderson  <rth@redhat.com>
4685
4686         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4687         exceptions.
4688         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4689         Add fraiseexcpt.
4690         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4691         Use __feraiseexcept.
4692         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4693         Protect libm symbols with IS_IN_libm.
4694
4695         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4696
4697 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4698
4699         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4700
4701 2014-08-04  Will Newton  <will.newton@linaro.org>
4702
4703         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4704         file.
4705
4706 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4707
4708         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4709         variants for each function.
4710
4711 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4712
4713         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4714         appended ...
4715         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4716         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4717         appended ...
4718         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4719         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4720         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4721         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4722         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4723         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4724         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4725         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4726         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4727         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4728         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4729         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4730         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4731         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4732         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4733         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4734         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4735         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4736         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4737         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4738         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4739         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4740         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4741         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4742         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4743         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4744         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4745         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4746         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4747         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4748         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4749         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4750         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4751         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4752         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4753         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4754         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4755         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4756         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4757         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4758         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4759         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4760         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4761         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4762         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4763         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4764         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4765         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4766         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4767         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4768         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4769         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4770         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4771         Update #include.
4772         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4773         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4774
4775 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4776
4777         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4778         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4779         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4780         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4781         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4782         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4783
4784 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4785
4786         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4787         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4788         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4789         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4790
4791 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4792
4793         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4794         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4795         (__libc_vfork): Define function under this name.
4796         (__vfork): Define as an alias.
4797         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4798         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4799
4800 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4801
4802         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4803         that was previously under [RESET_PID].
4804         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4805
4806 2014-08-04  Andreas Schwab  <schwab@suse.de>
4807
4808         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4809
4810 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
4811
4812         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4813         (main): Likewise.
4814
4815 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4816
4817         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4818
4819 2014-08-01  Richard Henderon  <rth@redhat.com>
4820
4821         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4822         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4823         typo in exact zero test.
4824         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4825         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4826         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4827
4828 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4829
4830         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4831         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4832         * sysdeps/arm/sysdep.h: ... here.
4833         [!__ASSEMBLER__]: Include <stdint.h>.
4834
4835 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4836
4837         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4838         (HAVE_WCTYPE_H): Likewise.
4839         (HAVE_ISWCTYPE): Likewise.
4840         (ENABLE_NLS): Likewise.
4841         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4842         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4843
4844         * posix/regex_internal.c: Check if DEBUG is defined and is
4845         set.
4846
4847         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4848         (HAVE_MBSRTOWCS): Likewise.
4849         * posix/fnmatch.c: Include string.h unconditionally.
4850
4851 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4852
4853         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4854         reversal.
4855
4856 2014-07-31  Roland McGrath  <roland@hack.frob.com>
4857
4858         * sysdeps/generic/safe-fatal.h: New file.
4859         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4860         * nptl/forward.c: Include it.
4861         (__pthread_unwind): Use __safe_fatal as default action, rather
4862         than a bogus use of INTERNAL_SYSCALL that could never work.
4863
4864         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4865         * configure.ac (libc_cv_builtin_trap): New test.
4866         * configure: Regenerated.
4867         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4868         (ABORT_INSTRUCTION): Define using __builtin_trap.
4869
4870         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4871         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4872         * sysdeps/nptl/nptl-signals.h: New file.
4873         * nptl/pthreadP.h: Include <nptl-signals.h>.
4874
4875 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4876
4877         * sysdeps/s390/s390-64/utf16-utf32-z9.c
4878         (ONE_DIRECTION): Define.
4879         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4880         (ONE_DIRECTION): Define.
4881         * sysdeps/s390/s390-64/utf8-utf32-z9.c
4882         (ONE_DIRECTION): Define.
4883
4884 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4885
4886         * sysdeps/s390/Makefile: Delete file.
4887         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4888         * sysdeps/s390/__longjmp.c: Delete file.
4889         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4890         Remove fields __flags and __reserved.
4891         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4892         and add versioning.
4893         * sysdeps/s390/rtld-__longjmp.c: Delete file.
4894         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4895         * sysdeps/s390/rtld-setjmp.S: Likewise.
4896         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4897         * sysdeps/s390/s390-32/__longjmp.c: ... here.
4898         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4899         * sysdeps/s390/s390-32/setjmp.S: ... here.
4900         Add versioning.
4901         (__sigsetjmp): Remove setting __flags field.
4902         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4903         * sysdeps/s390/s390-64/__longjmp.c: ... here.
4904         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4905         * sysdeps/s390/s390-64/setjmp.S: ... here.
4906         Add versioning.
4907         (__sigsetjmp): Remove setting __flags field.
4908         * sysdeps/s390/setjmp.S: Delete file.
4909         * sysdeps/s390/sigjmp.c: Likewise.
4910         * sysdeps/s390/v1-longjmp.c: Likewise.
4911         * sysdeps/s390/v1-setjmp.h: Likewise.
4912         * sysdeps/s390/v1-sigjmp.c: Likewise.
4913         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4914         Remove v1-longjmp_chk.
4915         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4916         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4917         Include debug/longjmp_chk.c and add versioning.
4918         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4919         Include nptl/pt-longjmp.c and add versioning.
4920         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4921         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4922         Include __longjmp.c.
4923         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4924         Move to ...
4925         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4926         (__getcontext): Remove setting __flags field.
4927         Add versioning.
4928         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4929         Don't restore upper high grps.
4930         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4931         Likewise.
4932         (__swapcontext): Remove setting uc_flags field.
4933         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4934         Delete file.
4935         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4936         Include __longjmp.c.
4937         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4938         Move to ...
4939         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4940         (__getcontext): Remove setting __flags field.
4941         Add versioning.
4942         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4943         (__swapcontext): Remove setting uc_flags field.
4944         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4945         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4946         Remove fields uc_high_gprs and __reserved.
4947         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4948         New file with reverted content.
4949         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4950         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4951         Regenerated.
4952         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4953         Regenerated.
4954
4955 2014-07-31  Andreas Schwab  <schwab@suse.de>
4956
4957         * config.h.in (HAVE_IFUNC): Define to 0.
4958         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4959         definedness.
4960
4961 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
4962
4963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4964         memmove-avx-unaligned, memcpy-avx-unaligned and
4965         mempcpy-avx-unaligned.
4966         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4967         Add tests for AVX memcpy functions.
4968         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4969         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4970         memcpy_chk.
4971         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4972         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4973         memmove_chk.
4974         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4975         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4976         mempcpy_chk.
4977         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4978         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4979         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4980
4981 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4982
4983         [BZ #17213]
4984         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4985         powerpc64le.
4986
4987 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
4988
4989         [BZ #16839]
4990         * manual/llio.texi: Add section about open file description locks.
4991         * manual/examples/ofdlocks.c: Example of open file description
4992         lock usage.
4993         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4994         F_OFD_SETLK, and F_OFD_SETLKW.
4995
4996 2014-07-23  Allan McRae  <allan@archlinux.org>
4997
4998         * po/es.po: Update Spanish translation from translation project.
4999
5000 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5001
5002         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5003
5004 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5005
5006         [BZ #17078]
5007         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5008         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5009         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5010
5011 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5012
5013         [BZ #17088]
5014         * math/fesetenv.c (__fesetenv)
5015         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5016         * math/feupdateenv.c (__feupdateenv)
5017         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5018
5019         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5020         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5021         (__ASSUME_SOCKETCALL): Do not define.
5022
5023         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5024         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5025         (__ASSUME_SOCKETCALL): Do not define.
5026         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5027         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5028         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5029         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5030         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5031         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5032         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5033         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5034
5035         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5036         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5037         (__ASSUME_SOCKETCALL): Do not define.
5038         (__ASSUME_IPC64): Define unconditionally.
5039         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5040         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5041         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5042         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5043         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5044         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5045         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5046         Likewise.
5047
5048         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5049         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5050         (__ASSUME_SOCKETCALL): Do not define.
5051         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5052         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5053         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5054         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5055         (__ASSUME_REQUEUE_PI): Define unconditionally.
5056         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5057         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5058         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5059         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5060         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5061         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5062
5063         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5064         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5065         (__ASSUME_SOCKETCALL): Do not define.
5066         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5067         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5068         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5069         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5070         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5071         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5072
5073         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5074         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5075         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5076         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5077         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5078         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5079         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5080         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5081         (__ASSUME_GETCPU_SYSCALL): Likewise.
5082
5083         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5084         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5085         cases for individual architectures.
5086         * sysdeps/gnu/configure: Regenerated.
5087         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5088         LIBC_SLIBDIR_RTLDDIR.
5089         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5090         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5091         LIBC_SLIBDIR_RTLDDIR.
5092         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5094         LIBC_SLIBDIR_RTLDDIR.
5095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5096         Regenerated.
5097         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5098         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5099         file.
5100         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5101         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5102         file.
5103         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5104         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5105         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5106         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5107
5108         * sysdeps/aarch64/shlib-versions: Move to ...
5109         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5110         * sysdeps/alpha/shlib-versions: Move to ...
5111         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5112         * sysdeps/arm/shlib-versions: Move to ...
5113         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5114         * sysdeps/hppa/shlib-versions: Move all contents except for
5115         libgcc_s entry to ...
5116         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5117         entry from ...
5118         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5119         * sysdeps/ia64/shlib-versions: Move to ...
5120         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5121         entry from ...
5122         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5123         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5124         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5125         * sysdeps/microblaze/shlib-versions: Move to ...
5126         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5127         * sysdeps/mips/shlib-versions: Move to ...
5128         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5129         entry from ...
5130         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5131         * sysdeps/tile/shlib-versions: Move to ...
5132         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5133         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5134         from ...
5135         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5136         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5137         entry from ...
5138         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5139
5140 2014-07-17  Will Newton  <will.newton@linaro.org>
5141
5142         * sysdeps/arm/bits/atomic.h
5143         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5144         (__arch_compare_and_exchange_bool_16_int): Likewise.
5145         (__arch_compare_and_exchange_bool_64_int): Likewise.
5146
5147         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5148         into an #else block.
5149
5150 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5151
5152         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5153         just Linux configurations.  Test empirically that the compiler sets
5154         __ARM_EABI__, rather than using the tuple to decide.
5155         * sysdeps/arm/preconfigure: Regenerated.
5156         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5157         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5158         contents appended ...
5159         * sysdeps/arm/configure.ac: ... here.
5160         * sysdeps/arm/configure: Regenerated.
5161
5162 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5163
5164         * nptl/pthread_kill.c: New file.
5165         * nptl/pthread_sigmask.c: New file.
5166         * nptl/pthread_sigqueue.c: New file.
5167
5168         * sysdeps/nptl/lowlevellock.h: New file.
5169         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5170         * sysdeps/nptl/lowlevellock-futex.h: New file.
5171
5172         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5173         Remove dead declarations.
5174
5175 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5176
5177         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5178         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5179         config-cflags-avx2.
5180         * sysdeps/x86_64/configure.ac: Likewise.
5181         * sysdeps/i386/configure: Regenerated.
5182         * sysdeps/x86_64/configure: Likewise.
5183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5184         memset-avx2 only if config-cflags-avx2 is yes.
5185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5186         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5187         defined.
5188         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5189         only if HAVE_AVX2_SUPPORT is defined.
5190         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5191
5192 2014-07-14  Alan Modra  <amodra@gmail.com>
5193
5194         [BZ #17153]
5195         * elf/elf.h (DT_PPC64_NUM): Correct value.
5196         * NEWS: Add to fixed bug list.
5197
5198 2014-07-13  Jim Meyering  <meyering@fb.com>
5199
5200         [BZ 17150]
5201         regex: don't deref NULL upon heap allocation failure
5202         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5203         failure in one more place.
5204         To trigger the segfault, configure grep -with-included-regex,
5205         build it, and run these commands:
5206         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5207
5208 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5209
5210         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5211
5212 2014-07-11  Richard Henderson  <rth@redhat.com>
5213
5214         * sysdeps/aarch64/libm-test-ulps: Update.
5215
5216 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5217
5218         [BZ #17135]
5219         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5220         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5221         (__nptl_setxid): Initialize error member.  Call
5222         __nptl_setxid_error.
5223         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5224         * nptl/descr.h (struct xid_command): Add error member.
5225         * nptl/tst-setuid3.c: New file.
5226         * nptl/Makefile (tests): Add it.
5227
5228 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5229
5230         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5231         New define.
5232         (__lll_trylock): Use __lll_base_trylock.
5233         (__lll_cond_trylock): Likewise.
5234
5235 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5236
5237         * nptl/pthread_create.c (start_thread): Use atomic_or and
5238         lll_futex_wake directly rather than lll_robust_dead.
5239         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5240         (lll_robust_dead): Macro removed.
5241         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5242         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5243         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5244         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5245         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5246         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5247         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5248         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5249         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5250         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5251         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5252         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5253         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5254         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5255         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5256
5257         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5258         Use atomic_compare_and_exchange_val_acq directly rather than
5259         lll_robust_trylock.
5260         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5261         (__lll_robust_trylock, lll_robust_trylock): Removed.
5262         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5263         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5264         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5265         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5266         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5267         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5268         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5269         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5270         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5271         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5272         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5273         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5274         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5275         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5276
5277 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5278
5279         * manual/locale.texi (Locale Names): New section documenting
5280         locale name syntax.  Adjust menu and node chaining accordingly.
5281         (Choosing Locale): Reference Locale Names, Locale Categories.
5282         Mention setting LC_ALL=C.  Reflect that name syntax is now
5283         documented.
5284         (Locale Categories): New section title.  Reference Locale Names.
5285         LC_ALL is an environment variable, but not a category.
5286         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5287         description, now in Locale Name.  Reference that section.  Locale
5288         name syntax is now documented.
5289
5290 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5291
5292         [BZ #17137]
5293         * locale/findlocale.c (name_present, valid_locale_name): New
5294         functions.
5295         (_nl_find_locale): Use the loc_name variable to store name
5296         candidates.  Call name_present and valid_locale_name to check and
5297         validate locale names.  Return an error if the locale is invalid.
5298
5299 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5300
5301         * locale/setlocale.c (setlocale): Use strdup for allocating
5302         composite name copy.
5303
5304 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5305
5306         Sync up with gnulib.
5307         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5308         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5309         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5310         and _GL_ARG_NONNULL.
5311         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5312         [!_LIBC]: Include code for Windows and Cygwin.
5313         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5314         Include prototype for int strerror_r.
5315         [!_LIBC] (is_open): New function.
5316         (flush_stdout): New function.
5317         (print_errno_message): Use it.
5318         (error): Likewise.
5319         (error_at_line): Likewise.
5320         (error_tail) Add function attribute macros.  Use
5321         __builtin_expect.
5322
5323         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5324
5325         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5326
5327         * io/ftw.c: Include sys/param.h unconditionally.
5328
5329         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5330
5331         [BZ #17125]
5332         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5333         libc_freeres_ptr.
5334         (freecache): New function to free CACHE on exit.
5335
5336         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5337         initialization.
5338
5339 2014-07-09  David S. Miller  <davem@davemloft.net>
5340
5341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5342
5343         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5344         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5345         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5346         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5347         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5348         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5349         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5350         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5351         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5352         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5353         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5354         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5355         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5356
5357 2014-07-09  Andreas Schwab  <schwab@suse.de>
5358
5359         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5360         output.
5361         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5362         (do_test): Likewise.
5363
5364         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5365
5366 2014-07-09  Will Newton  <will.newton@linaro.org>
5367
5368         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5369         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5370         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5371         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5372         * sysdeps/hppa/start.S (_start): Likewise.
5373
5374 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5375
5376         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5377
5378         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5379         defined.
5380
5381 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5382
5383         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5384         after checking that it is non-NULL.
5385
5386         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5387
5388 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5389
5390         * sysdeps/powerpc/memmove.c: Remove file.
5391         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5392         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5393         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5394         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5395         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5396         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5397         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5398         string memmove instead of removed powerpc one.
5399
5400         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5401         [weak_alias]: Fix compiler warning due trailing data.
5402         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5403         [weak_alias]: Likewise.
5404         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5405         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5406
5407         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5408         (__libc_ifunc_impl_list): Add memmove functions.
5409
5410 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5411
5412         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5413         Remove code.
5414         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5415         Likewise
5416         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5417         Likewise
5418         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5419         Likewise
5420         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5421         Likewise
5422         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5423         Likewise
5424         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5425         Likewise
5426         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5427         Likewise
5428         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5429         Likewise
5430         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5431         Likewise
5432         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5433         Likewise
5434         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5435         Likewise
5436         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5437         Likewise
5438         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5439         Likewise
5440         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5441         Likewise
5442         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5443         Likewise
5444         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5445         Likewise
5446
5447 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5448
5449         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5450         to avoid alignment traps in non-cacheable memory.
5451         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5452
5453         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5454         multiarch objects.
5455         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5456         file: multiarch power7 memmove.
5457         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5458         multiarch default memmove.
5459         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5460         multiarch memove for powerpc32/power4.
5461
5462         * string/bcopy.c: Use full path to include memmove.c.
5463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5464         multiarch objects.
5465         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5466         bcopy for powerpc64.
5467         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5468         bcopy for powerpc64.
5469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5470         and memmove implementations.
5471         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5472         optimized multiarch memmove for POWER7/powerpc64.
5473         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5474         default multiarch memmove for powerpc64.
5475         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5476         multiarch for powerpc64.
5477         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5478         for POWER7/powerpc64.
5479         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5480         memmove for POWER7/powerpc64.
5481
5482         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5483         glibc default one.
5484
5485         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5486         __ELF_NATIVE_CLASS equal to 64.
5487
5488 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5489
5490         * sysdeps/nptl/lowlevellock.h: File removed.
5491
5492         * NEWS: NPTL is no longer an add-on!
5493         * nptl/internaltypes.h: Moved ...
5494         * sysdeps/nptl/internaltypes.h: ... here.
5495         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5496         * sysdeps/nptl/fork.c: Likewise.
5497         * sysdeps/nptl/gai_misc.h: Likewise.
5498         * sysdeps/nptl/librt-cancellation.c: Likewise.
5499         * sysdeps/nptl/jmp-unwind.c: Likewise.
5500         * sysdeps/nptl/setxid.h: Likewise.
5501         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5502         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5503         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5504         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5505         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5506         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5507         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5508         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5509         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5510         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5511         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5512         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5513         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5514         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5515         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5516         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5517         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5518         * nptl/Makeconfig: Moved ...
5519         * sysdeps/nptl/Makeconfig: ... here.
5520         * nptl/configure: File removed.
5521         * nptl/ANNOUNCE: File removed.
5522         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5523         * sysdeps/unix/sysv/linux/configure: Regenerated.
5524
5525         * nptl/Makefile (routines): Add libc_pthread_init,
5526         libc_multiple_threads, register-atfork and unregister-atfork.
5527         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5528         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5529         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5530         pthread-pi-defines.sym, structsem.sym.
5531         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5532         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5533         [$(subdir) = nptl] (tests): Add tst-setgetname.
5534         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5535         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5536         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5537         [!LIBC_SIGACTION]: Remove aliases.
5538         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5539         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5540         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5541         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5542         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5543         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5544         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5545         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5546         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5547         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5548         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5549         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5550         __libc_allocate_rtsig_private.
5551         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5552         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5553         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5554         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5555         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5556         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5557         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5558         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5559         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5560         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5561         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5562         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5563         * nptl/internaltypes.h: ... here.
5564         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5565         * sysdeps/nptl/jmp-unwind.c: ... here.
5566         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5567         * nptl/libc-lowlevellock.c: ... here.
5568         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5569         * nptl/libc_multiple_threads.c: ... here.
5570         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5571         * nptl/libc_pthread_init.c: ... here.
5572         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5573         * nptl/lowlevelbarrier.sym: ... here.
5574         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5575         * nptl/lowlevelcond.sym: ... here.
5576         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5577         * nptl/lowlevellock.c: ... here.
5578         * nptl/lowlevellock.h: Moved ...
5579         * sysdeps/nptl/lowlevellock.h: ... here.
5580         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5581         * nptl/lowlevelrobustlock.c: ... here.
5582         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5583         * nptl/lowlevelrobustlock.sym: ... here.
5584         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5585         * nptl/lowlevelrwlock.sym: ... here.
5586         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5587         * nptl/pt-fork.c: ... here.
5588         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5589         * nptl/pthread-pi-defines.sym: ... here.
5590         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5591         * nptl/pthread_attr_getaffinity.c: ... here.
5592         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5593         * nptl/pthread_attr_setaffinity.c: ... here.
5594         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5595         * nptl/pthread_mutex_cond_lock.c: ... here.
5596         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5597         Update #include.
5598         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5599         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5600         * nptl/pthread_once.c: ... here, replacing old file.
5601         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5602         * nptl/pthread_yield.c: ... here.
5603         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5604         * nptl/register-atfork.c: ... here.
5605         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5606         * nptl/sem_post.c: ... here.
5607         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5608         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5609         * nptl/sem_timedwait.c: ... here.
5610         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5611         * nptl/sem_trywait.c: ... here.
5612         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5613         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5614         * nptl/sem_wait.c: ... here.
5615         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5616         * nptl/structsem.sym: ... here.
5617         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5618         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5619         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5620         * nptl/unregister-atfork.c: ... here.
5621         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5622         * nptl/unwindbuf.sym: ... here.
5623         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5624         * sysdeps/nptl/fork.c: ... here.
5625         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5626         * sysdeps/nptl/fork.h: ... here.
5627         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5628         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5629         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5630         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5631         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5632         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5633         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5634         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5635         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5636         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5637         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5638         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5639         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5640         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5641         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5642         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5643         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5644         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5645         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5646         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5647         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5648         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5649         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5650         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5651         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5652         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5653         * sysdeps/unix/sysv/linux/raise.c: ... here.
5654         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5655         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5656         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5657         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5658         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5659         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5660         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5661         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5662         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5663         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5664         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5665         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5666         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5667         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5668         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5669
5670 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5671
5672         * sysdeps/generic/memcopy.h: Add comment for
5673         MEMCPY_OK_FOR_FWD_MEMMOVE.
5674
5675 2014-07-04  Will Newton  <will.newton@linaro.org>
5676
5677         * string/memchr.c: Merge from gnulib.
5678         [_LIBC]: Remove conditionals.
5679         (__ptr_t): Remove define.
5680         (LONG_MAX_32_BITS): Likewise.
5681         (LONG_MAX): Likewise.
5682         (MEMCHR): Use ANSI prototype and optimize algorithm.
5683
5684         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5685
5686 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5687
5688         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5689         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5690
5691         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5692         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5693         in a bare environment with no <stdlib.h> installed.
5694         * sysdeps/nptl/configure: Regenerated.
5695
5696         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5697
5698         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5699         AC_EGREP_CPP for kernel header checks, so they only succeed if
5700         including <linux/version.h> actually works right.
5701         * sysdeps/unix/sysv/linux/configure: Regenerated.
5702
5703         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5704         value so it's not diagnosed as unused.
5705
5706         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5707         thing) with "ifeq ($(subdir),rt)".
5708
5709 2014-07-03  Richard Henderson  <rth@redhat.com>
5710
5711         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5712         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5713         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5714
5715         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5716         (math_force_eval): New.
5717
5718         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5719         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5720
5721         * sysdeps/alpha/fpu/s_round.c: Remove file.
5722         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5723
5724         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5725         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5726         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5727         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5728         (_dl_start, print_statistics): Likewise.
5729         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5730         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5731
5732         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5733         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5734         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5735         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5736         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5737         (HP_SMALL_TIMING_AVAIL): Define.
5738         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5739         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5740         (HP_SMALL_TIMING_AVAIL): Define.
5741         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5742         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5743
5744         * sysdeps/aarch64/hp-timing.h: New file.
5745
5746         * sysdeps/generic/hp-timing.h: Remove dead comment.
5747         * sysdeps/generic/hp-timing-common.h: New file.
5748         * sysdeps/alpha/hp-timing.h: Include it.
5749         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5750         * sysdeps/i386/i686/hp-timing.h: Likewise.
5751         * sysdeps/ia64/hp-timing.h: Likewise.
5752         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5753         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5754         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5755         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5756         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5757         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5758         (hp_timing_t): New.
5759
5760         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5761         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5762         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5763         * elf/rtld.c (_dl_start_final): Likewise.
5764         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5765         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5766         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5767         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5768         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5769         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5770         (HP_TIMING_DIFF_INIT): Remove.
5771         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5772         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5773         (HP_TIMING_DIFF_INIT): Remove.
5774         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5775         * sysdeps/i386/i686/hp-timing.c: Remove file.
5776         * sysdeps/x86_64/hp-timing.c: Remove file.
5777         * sysdeps/ia64/hp-timing.c: Remove file.
5778         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5779         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5780         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5781         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5782
5783         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5784         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5785         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5786         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5787         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5788         (HP_TIMING_ACCUM): Remove.
5789         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5790         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5791         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5792
5793         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5794         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5795         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5796         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5797         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5798         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5799         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5800         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5801
5802         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5803
5804 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
5805
5806         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5807
5808 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5809
5810         Sync up with gettext.
5811         * intl/loadmsgcat.c: Define O_BINARY if not defined.
5812         [_MSC_VER]: Include malloc.h
5813         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5814         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5815         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
5816         TEMP_FAILURE_RETRY.  Cast return of alloca.
5817         [!_LIBC] Call gl_rwlock_init.
5818         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5819
5820 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5821
5822         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5823         before checking its value.
5824
5825 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5826
5827         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5828
5829         * debug/memcpy_chk.c: Don't include pagecopy.h.
5830         * debug/mempcpy_chk.c: Likewise.
5831         * string/memcpy.c: Likewise.
5832         * string/memmove.c: Likewise.
5833         * sysdeps/powerpc/memmove.c: Likewise.
5834         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
5835         definition of PAGE_COPY_FWD_MAYBE here...
5836         * sysdeps/generic/pagecopy.h: ... from here.
5837         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5838
5839 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5840             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5841
5842         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5844         optimizations.
5845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5846         (__libc_ifunc_impl_list): Likewise.
5847         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5848         multiarch strcat for PPC64.
5849         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5850         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5851
5852 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5853
5854         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5855
5856 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5857
5858         * intl/loadmsgcat.c: Remove declaration of
5859         get_sysdep_segment_value.
5860         (get_sysdep_segment_value): Use ISO C style.
5861         (_nl_load_domain): Use ISO C style.  Get rid of redundant
5862         semicolon.  Fix typo and formatting in comment.
5863         (_nl_unload_domain): Use ISO C style.
5864
5865         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5866
5867 2014-07-02  Will Newton  <will.newton@linaro.org>
5868
5869         * malloc/obstack.c: Merge from gnulib master.
5870         [HAVE_CONFIG_H]: Remove conditional code.
5871         [!_LIBC]: Include config.h.
5872         [!ELIDE_CODE]: Don't include inttypes.h, include
5873         stdint.h unconditionally.
5874         (print_and_abort): Mark as _Noreturn.
5875         (_obstack_allocated_p): Mark as __attribute_pure__.
5876         (obstack_free): Rename to __obstack_free.
5877         [!__attribute__]: Remove conditional code.
5878         * malloc/obstack.h: Merge from gnulib master.
5879         [__cplusplus]: Move conditional down.
5880         [!__attribute_pure__]: Define __attribute_pure__ here
5881         if it is not already defined.
5882         (_obstack_memory_used): Mark as __attribute_pure__.
5883         [!__obstack_free]: Define as obstack_free.
5884         [__GNUC__]: Remove check for ancient NeXT gcc.
5885
5886 2014-07-02  Will Newton  <will.newton@linaro.org>
5887             Paul Eggert  <eggert@cs.ucla.edu>
5888
5889         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5890
5891 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5892
5893         * resolv/gethnamaddr.c: Add comment warning that the file is
5894         not maintained.
5895
5896 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
5897
5898         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5899         entries.
5900
5901         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5902         entry for aio_cancel and aio_cancel64.
5903         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5904         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5905         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5906         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5907         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5908         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5909         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5910         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5911         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5912         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5913         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5914         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5915         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5916
5917 2014-07-01  Roland McGrath  <roland@hack.frob.com>
5918
5919         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5920         * nptl/pthread_mutex_lock.c: Likewise.
5921         * nptl/pthread_mutex_timedlock.c: Likewise.
5922         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5923
5924 2014-07-01  Richard henderson  <rth@redhat.com>
5925
5926         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5927         (__isnan, __isnanl): Remove.
5928         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5929
5930         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5931
5932 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5933
5934         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5935
5936 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5937
5938         * resolv/nss_dns/dns-host.c (getanswer_r)
5939         [MULTI_PTRS_ARE_ALIASES]: Remove code.
5940
5941 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
5942
5943         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5944         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5945         undefine.
5946         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5947         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5948
5949 2014-07-01  Roland McGrath <roland@hack.frob.com>
5950
5951         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5952         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5953
5954         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5955         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5956
5957         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5958         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5959         ... here.
5960         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5961         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5962
5963         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5964         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5965         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5966         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5967
5968         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5969         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5970         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5971         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5972         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5973         Moved ...
5974         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5975         ... here.
5976         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5977         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5978         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5979         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5980         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5981         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5982         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5983         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5984         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5985         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5986         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5987         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5988         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5989         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5990         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5991         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5992         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5993         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5994         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5995         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5996         ... here.
5997         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5998         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5999         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6000         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6001         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6002         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6003         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6004         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6005
6006 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6007
6008         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6009         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6010         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6011         Add sysdep.
6012
6013 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6014
6015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6016
6017 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6018
6019         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6020         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6021
6022         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6023
6024         * sysdeps/arm/libm-test-ulps: Regenerated.
6025
6026 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6027             Roland McGrath <roland@hack.frob.com>
6028
6029         * test-skeleton.c (signal_handler): Kill the whole process group
6030         before killing the child individually.
6031         (main): Report any failure on `setpgid'.
6032
6033 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6034
6035         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6036         from _TLS_H to _ARM_NPTL_TLS_H.
6037         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6038         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6039
6040 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6041
6042         [BZ #16539]
6043         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6044         (__expm1l): Return argument unchanged when small but not
6045         subnormal.
6046
6047         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6048         include macro name.
6049         (_FP_UNPACK_RAW_1_P): Likewise.
6050         (_FP_PACK_RAW_1): Likewise.
6051         (_FP_PACK_RAW_1_P): Likewise.
6052         (_FP_MUL_MEAT_1_wide): Likewise.
6053         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6054         (_FP_MUL_MEAT_1_hard): Likewise.
6055         (_FP_DIV_MEAT_1_imm): Likewise.
6056         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6057         (_FP_DIV_MEAT_1_udiv): Likewise.
6058         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6059         (_FP_UNPACK_RAW_2): Likewise.
6060         (_FP_UNPACK_RAW_2_P): Likewise.
6061         (_FP_PACK_RAW_2): Likewise.
6062         (_FP_PACK_RAW_2_P): Likewise.
6063         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6064         (_FP_MUL_MEAT_2_wide): Likewise.
6065         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6066         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6067         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6068         (_FP_MUL_MEAT_2_gmp): Likewise.
6069         (_FP_DIV_MEAT_2_udiv): Likewise.
6070         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6071         (_FP_FRAC_SRL_4): Likewise.
6072         (_FP_FRAC_SRST_4): Likewise.
6073         (_FP_FRAC_SRS_4): Likewise.
6074         (_FP_UNPACK_RAW_4): Likewise.
6075         (_FP_UNPACK_RAW_4_P): Likewise.
6076         (_FP_PACK_RAW_4): Likewise.
6077         (_FP_PACK_RAW_4_P): Likewise.
6078         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6079         (_FP_MUL_MEAT_4_wide): Likewise.
6080         (_FP_MUL_MEAT_4_gmp): Likewise.
6081         (umul_ppppmnnn): Likewise.
6082         (_FP_DIV_MEAT_4_udiv): Likewise.
6083         (__FP_FRAC_ADD_4): Likewise.
6084         (__FP_FRAC_SUB_3): Likewise.
6085         (__FP_FRAC_SUB_4): Likewise.
6086         (__FP_FRAC_DEC_3): Likewise.
6087         (__FP_FRAC_DEC_4): Likewise.
6088         (__FP_FRAC_ADDI_4): Likewise.
6089         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6090         (_FP_FRAC_SRL_8): Likewise.
6091         (_FP_FRAC_SRS_8): Likewise.
6092
6093         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6094         include macro name.
6095         (FP_UNPACK_RAW_EP): Likewise.
6096         (FP_PACK_RAW_E): Likewise.
6097         (FP_PACK_RAW_EP): Likewise.
6098         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6099         (_FP_ISSIGNAN): Likewise.
6100         (_FP_ADD_INTERNAL): Likewise.
6101         (_FP_FMA): Likewise.
6102         (_FP_CMP): Likewise.
6103         (_FP_SQRT): Likewise.
6104         (_FP_TO_INT): Likewise.
6105         (_FP_FROM_INT): Likewise.
6106         (FP_EXTEND): Likewise.
6107         (_FP_DIV_MEAT_N_loop): Likewise.
6108
6109 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6110
6111         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6112         throughout.
6113
6114 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6115
6116         [BZ #17097]
6117         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6118         result with correct sign in case of exponents that produce
6119         overflow except for X very close to 1.
6120
6121 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6122
6123         mktime: merge #if/#ifdef usage from glibc
6124         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6125         as that works with both Glibc's and Gnulib's style.
6126         See thread starting at Siddhesh Poyarekar's bug report at:
6127         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6128
6129 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6130
6131         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6132         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6133         * sysdeps/tile/tilegx/memmove.c: Remove file.
6134
6135 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6136
6137         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6138         abi-name definition.
6139         * scripts/soversions.awk: Do not handle or generate ABI lines.
6140         * shlib-versions: Remove ABI entries.
6141         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6142         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6143
6144 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6145
6146         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6147         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6148         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6149         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6150         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6151         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6152         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6153         Moved ...
6154         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6155         ... here.
6156         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6157         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6158         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6159         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6160         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6161         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6162         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6163         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6164         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6165         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6167         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6169         Moved ...
6170         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6171         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6172         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6173         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6174         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6175         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6176         Moved ...
6177         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6179         Moved ...
6180         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6181         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6182         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6184         Moved ...
6185         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6186         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6187         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6189         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6190         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6191         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6193         Moved ...
6194         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6195         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6196         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6197         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6198         Moved ...
6199         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6200         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6201         Moved ...
6202         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6203         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6204         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6205         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6206         Moved ...
6207         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6208         ... here.
6209         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6210         Identical file removed.
6211         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6212         Moved ...
6213         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6214         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6215         Identical file removed.
6216         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6217         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6218         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6219         Moved ...
6220         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6221         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6222         Identical file removed.
6223         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6224         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6225         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6226         Identical file removed.
6227         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6228         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6229         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6230         Identical file removed.
6231         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6232         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6233         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6234         Identical file removed.
6235         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6236         Moved ...
6237         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6238         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6239         Identical file removed.
6240         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6241         Moved ...
6242         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6243         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6244         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6245         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6246         Identical file removed.
6247         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6248         Moved ...
6249         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6250         ... here.
6251         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6252         Identical file removed.
6253         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6254         Moved ...
6255         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6256         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6257         Identical file removed.
6258         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6259         Moved ...
6260         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6261         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6262         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6264         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6265         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6266         Moved ...
6267         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6268         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6269         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6270
6271         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6272         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6273         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6274         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6275         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6276
6277 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6278
6279         [BZ #17092]
6280         * nscd/nscd.c (monitor_child): Return exit status of child
6281         instead of return value from wait syscall.
6282
6283 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6284
6285         * configure.ac (libc_commonpagesize): Remove variable.
6286         (libc_relro_required): Likewise.
6287         (libc_cv_z_relro): Remove configure test.
6288         * configure: Regenerated.
6289         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6290         variable.
6291         (libc_relro_required): Likewise.
6292         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6293         (libc_relro_required): Likewise.
6294         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6295         (libc_relro_required): Likewise.
6296         * sysdeps/arm/preconfigure: Regenerated.
6297         * sysdeps/ia64/preconfigure: Remove file.
6298         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6299         variable.
6300         (libc_relro_required): Likewise.
6301
6302         [BZ #16561]
6303         [BZ #16562]
6304         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6305         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6306         recompute overflowing results in original rounding mode.
6307         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6308         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6309         recompute overflowing results in original rounding mode.
6310         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6311         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6312         recompute overflowing results in original rounding mode.
6313         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6314         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6315         recompute overflowing results in original rounding mode.
6316         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6317         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6318         recompute overflowing results in original rounding mode.
6319         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6320         (libc_feholdsetround_ctx): New macro.
6321         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6322         * sysdeps/i386/fpu/libm-test-ulps: Update.
6323         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6324
6325 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6326
6327         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6328         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6329         corresponding .cpsetup call.
6330
6331 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6332
6333         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6334         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6335         * sysdeps/arm/Makefile [$(subdir) = csu]
6336         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6337         (static-only-routines): Add aeabi_read_tp here.
6338         (shared-only-routines): Add libc-aeabi_read_tp here.
6339         (CFLAGS-libc-start.c): Add -fexceptions here.
6340         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6341         (sysdep_routines, static-only-routines, shared-only-routines):
6342         Don't add to these here.
6343         (CFLAGS-libc-start.c): Likewise.
6344
6345         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6346         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6347         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6348         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6349         * sysdeps/arm/Makefile [$(subdir) = rt]
6350         (librt-sysdep_routines, librt-shared-only-routines):
6351         Append rt-aeabi_unwind_cpp_pr1 here.
6352         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6353         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6354         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6355         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6356         Append nptl-aeabi_unwind_cpp_pr1 here.
6357         (tests): Filter out tst-cleanupx4 here.
6358         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6359         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6360         Don't do those here.
6361
6362 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6363
6364         * scripts/list-sources.sh: Do not handle ports specially.
6365
6366 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6367
6368         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6369         * sysdeps/arm/feupdateenv.c: Likewise.
6370
6371         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6372
6373 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6374
6375         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6376         trailing whitespace removed.
6377         * scripts/config.guess: Update to version 2014-03-23.
6378         * scripts/config.sub: Update to version 2014-05-01
6379         * scripts/install-sh: Update to version 2013-12-25.23.
6380         * scripts/move-if-change: Update from gnulib.
6381
6382 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6383
6384         * debug/memmove_chk.c: Remove pagecopy.h include.
6385
6386 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6387
6388         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6389         identical to gnulib mktime.
6390
6391 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6392
6393         * configure.ac: Do not test for machine being rs6000.  Do not test
6394         for powerpc*-*soft.
6395         * configure: Regenerated.
6396
6397         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6398         test.
6399         * configure: Regenerated.
6400         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6401         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6402         Remove configure test.
6403         * sysdeps/arm/configure: Regenerated.
6404         * sysdeps/nptl/configure.ac: Do not check
6405         libc_cv_asm_cfi_directives.
6406         * sysdeps/nptl/configure: Regenerated.
6407         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6408         * sysdeps/x86_64/nptl/configure: Remove generated file.
6409         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6410         unconditional.
6411         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6412
6413 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6414
6415         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6416         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6417         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6418         it is defined.
6419
6420         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6421         instead of whether it is defined.
6422         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6423         * sysdeps/hppa/dl-machine.h: Likewise.
6424         * sysdeps/ia64/dl-machine.h: Likewise.
6425         * sysdeps/m68k/dl-machine.h: Likewise.
6426         * sysdeps/microblaze/dl-machine.h: Likewise.
6427         * sysdeps/mips/dl-machine.: Likewise.
6428         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6429         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6430         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6431         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6432         * sysdeps/sh/dl-machine.h: Likewise.
6433         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6434         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6435         * sysdeps/tile/dl-machine.h: Likewise.
6436         * sysdeps/x86_64/dl-machine.h: Likewise.
6437
6438         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6439         code.
6440         (verify_persistent_db): Likewise.
6441
6442 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6443
6444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6445         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6447         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6449         Moved ...
6450         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6451         ... here.
6452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6453         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6455         Identical file removed.
6456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6457         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6459         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6461         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6463         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6465         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6467         Moved ...
6468         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6470         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6472         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6474         Moved ...
6475         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6477         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6479         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6481         Identical file removed.
6482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6483         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6485         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6487         Moved ...
6488         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6489         ... here.
6490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6491         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6493         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6495         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6497         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6499         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6501         Moved ...
6502         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6504         Moved ...
6505         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6507         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6509         Moved ...
6510         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6512         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6513
6514         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6515         folded into ...
6516         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6517         * sysdeps/unix/sysv/linux/s390/Versions
6518         (libpthread: GLIBC_2.19): New version set.
6519         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6520         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6521         (librt: GLIBC_2.3.3): New version set.
6522         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6523         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6524         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6525         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6526         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6527         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6528         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6529         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6530         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6531         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6532         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6533         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6534         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6535         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6536         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6537         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6538         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6539         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6540         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6541         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6542         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6543         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6544         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6545         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6546         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6547         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6548         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6549         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6550         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6551         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6552         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6553         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6554         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6555         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6556         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6557         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6558         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6559         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6560         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6561         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6562         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6563         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6564         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6565         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6566         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6567
6568         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6569         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6570         (__libc_vfork): Define the function under this name.
6571         [!NOT_IN_libc] (__vfork): Make this an alias.
6572         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6573         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6574         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6575         (__libc_vfork): Define the function under this name.
6576         [!NOT_IN_libc] (__vfork): Make this an alias.
6577         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6578         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6579         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6580         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6581         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6582         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6583
6584         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6585         code that was previously under [RESET_PID].
6586         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6587         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6588         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6589
6590         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6591         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6592         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6593         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6594         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6595         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6596         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6597         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6598         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6599         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6600         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6601         Moved ...
6602         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6603         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6604         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6605         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6606         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6607         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6608         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6609         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6610         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6611         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6612         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6613         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6614         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6615         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6616         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6617         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6618         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6619         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6620         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6621         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6622         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6623         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6624         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6625         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6626         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6627         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6628         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6629         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6630         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6631
6632 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6633
6634         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6635         that was previously under [RESET_PID].
6636         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6637
6638 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6639
6640         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6641         not undefine and redefine.
6642         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6643         [O_CLOEXEC]: Make code unconditional.
6644         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6645         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6646         <kernel-features.h>.
6647         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6648         conditional variable definition.
6649         (shm_open) [O_CLOEXEC]: Make code unconditional.
6650         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6651         code.
6652
6653         * configure.ac (USE_REGPARMS): Don't define here.
6654         * configure: Regenerated.
6655         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6656         * sysdeps/i386/configure: Regenerated.
6657
6658         * nptl/createthread.c: Don't include kernel-features.h.
6659         * nptl/pthread_cancel.c: Likewise.
6660         * nptl/pthread_condattr_setclock.c: Likewise.
6661         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6662         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6663         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6664         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6665         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6666         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6667         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6668         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6669         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6670         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6671         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6672         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6673         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6674         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6675         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6676         * nscd/gai.c: Likewise.
6677         * nss/nss_db/db-open.c: Likewise.
6678         * sysdeps/generic/ldsodefs.h: Likewise.
6679         * sysdeps/sh/nptl/tls.h: Likewise.
6680         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6681         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6682         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6683         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6684         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6685         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6686         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6687         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6688         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6689         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6690         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6691         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6692         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6693         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6694         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6695         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6696         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6697         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6698         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6699         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6700         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6701         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6702         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6703         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6704         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6705         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6706         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6707         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6708         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6709         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6710         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6711         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6712         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6713         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6714         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6715         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6716         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6717         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6718         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6719         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6720         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6721         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6722         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6723         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6724         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6725         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6726         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6727         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6728         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6729         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6730         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6731         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6732         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6733         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6734         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6735         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6736         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6737         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6760         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6761         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6762         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6763         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6764         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6765         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6766         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6767         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6768         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6769         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6770         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6771         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6772         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6773         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6774         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6775         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6776         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6777         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6778         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6779         * sysdeps/unix/sysv/linux/system.c: Likewise.
6780         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6781         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6782         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6783         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6784         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6785         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6786         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6787
6788         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6789         * configure: Regenerated.
6790         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6791
6792         * configure.ac (base_machine): Do not set specially for particular
6793         machines here.
6794         * configure: Regenerated.
6795         * sysdeps/powerpc/preconfigure: Move machine and base_machine
6796         settings from configure.ac.
6797         * sysdeps/i386/preconfigure: New file.
6798         * sysdeps/s390/preconfigure: Likewise.
6799         * sysdeps/sh/preconfigure: Likewise.
6800         * sysdeps/sparc/preconfigure: Likewise.
6801
6802 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6803
6804         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6805         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6806         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6807         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6808         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6809         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6810         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6811         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6812         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6813         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6814         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6815         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6816         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6817         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6818         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6819         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6820         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6821         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6822         * sysdeps/sparc/sparc64/Makefile: ... appended here.
6823
6824         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6825         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6826         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6827         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6828         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6829         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6830         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6831         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6832         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6833         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6834         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6835         * sysdeps/sparc/sparc32/sem_post.c: ... here.
6836         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6837         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6838         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6839         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6840         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6841         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6842         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6843         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6844         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6845         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6846         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6847         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6848         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6849         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6850         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6851         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6852         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6853         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6854         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6855         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6856         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6857         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6858         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6859         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6860         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6861         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6862
6863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6864         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6866         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6868         Moved ...
6869         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6870         ... here.
6871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6872         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6874         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6876         Moved ...
6877         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6879         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6881         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6883         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6885         Moved ...
6886         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6888         Moved ...
6889         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6891         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6893         Moved ...
6894         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6896         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6898         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6900         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6902         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6904         Moved ...
6905         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6906         ... here.
6907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6908         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6910         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6912         Moved ...
6913         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6915         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6917         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6919         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6921         Moved ...
6922         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6924         Moved ...
6925         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6927         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6929         Moved ...
6930         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6932         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6934         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6935
6936 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6937
6938         * timezone/checktab.awk: Update from tzcode 2014e.
6939         * timezone/private.h: Likewise.
6940         * timezone/tzfile.h: Likewise.
6941         * timezone/zdump.c: Likewise.
6942         * timezone/zic.c: Likewise.
6943
6944         * sysdeps/unix/sysv/linux/kernel-features.h
6945         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6946         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6947         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6948         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6949         Remove conditional code.
6950
6951 2014-06-25  Will Newton  <will.newton@linaro.org>
6952
6953         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6954         (_dl_arm_cap_flags): Add HWCAP2 values.
6955         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6956         (_DL_HWCAP_COUNT): Increase to 37.
6957         (_DL_HWCAP_LAST): New define.
6958         (_DL_HWCAP2_LAST): New define.
6959         (_dl_procinfo): Add support for printing
6960         AT_HWCAP2 entries.
6961         (_dl_string_hwcap): Use _dl_hwcap_string.
6962
6963 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6964
6965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6966
6967 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6968
6969         * README: Do not mention ports directory.
6970
6971         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6972         Remove macro.
6973         * sysdeps/unix/sysv/linux/futimes.c: Do not include
6974         <kernel-features.h>.
6975         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6976         conditional variable definition.
6977         (__futimes): Update comment.
6978         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6979         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6980
6981         [BZ #16560]
6982         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6983         arguments close to 0.
6984         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6985         Likewise.
6986         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6987         Likewise.
6988         * math/auto-libm-test-in: Add more tests of exp10.
6989         * math/auto-libm-test-out: Regenerated.
6990         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6991
6992         * sysdeps/unix/sysv/linux/kernel-features.h
6993         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6994         * sysdeps/unix/sysv/linux/readv.c: Do not include
6995         <kernel-features.h>.
6996         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6997         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6998         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6999         unconditional.
7000         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7001         conditional code.
7002         * sysdeps/unix/sysv/linux/writev.c: Do not include
7003         <kernel-features.h>.
7004         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7005         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7006         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7007         unconditional.
7008         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7009         conditional code.
7010
7011 2014-06-25  Will Newton  <will.newton@linaro.org>
7012
7013         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7014         comment changes throughout the file.  Remove checks
7015         for HAVE_*_H definitions that are not required.
7016         (__gen_tempname): Call abort if an unknown kind value is
7017         passed.
7018
7019 2014-06-25  Andreas Schwab  <schwab@suse.de>
7020
7021         [BZ #17086]
7022         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7023         scalbln, scalblnf, scalblnl in libc.
7024
7025 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7026
7027         [BZ #17086]
7028         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7029         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7030         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7031
7032 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7033
7034         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7035         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7036         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7037         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7038         Update #include.
7039         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7040         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7041         Update #include.
7042         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7043         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7044         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7045         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7046         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7047         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7048         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7049         * sysdeps/x86/bits/semaphore.h: ... here.
7050         * sysdeps/x86/nptl/elide.h: Moved ...
7051         * sysdeps/x86/elide.h: ... here.
7052         * sysdeps/x86_64/nptl/Implies: File removed.
7053         * sysdeps/i386/nptl/Implies: File removed.
7054
7055 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7056
7057         [BZ #16539]
7058         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7059         return the argument for normal arguments with exponent below -64.
7060         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7061         Likewise.
7062         * math/auto-libm-test-in: Add another test of expm1.
7063         * math/auto-libm-test-out: Regenerated.
7064
7065         [BZ #16287]
7066         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7067         calling __erfcl for arguments at least 16.
7068         * math/auto-libm-test-in: Add more tests of erf.
7069         * math/auto-libm-test-out: Regenerated.
7070
7071         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7072         individual architectures.
7073         * sysdeps/unix/sysv/linux/configure: Regenerated.
7074         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7075         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7076         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7077         (ldd_rewrite_script): Define variable.
7078         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7080         file.
7081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7082         generated file.
7083         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7084         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7085         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7086         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7087         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7088         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7089         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7090         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7091
7092 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7093
7094         [BZ #17084]
7095         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7096         Rename member __data.d to __data.__elision_data.
7097
7098 2014-06-24  Wilco  <wdijkstr@arm.com>
7099
7100         * NEWS: Add 16918 to fixed bug list.
7101
7102 2014-06-24  Wilco  <wdijkstr@arm.com>
7103
7104         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7105
7106 2014-06-24  Wilco  <wdijkstr@arm.com>
7107
7108         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7109         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7110         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7111         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7112         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7113         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7114         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7115         Use _FPU_MASK_RM.
7116
7117 2014-06-24  Wilco  <wdijkstr@arm.com>
7118
7119         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7120
7121 2014-06-24  Wilco  <wdijkstr@arm.com>
7122
7123         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7124         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7125         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7126         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7127
7128 2014-06-24  Wilco  <wdijkstr@arm.com>
7129
7130         [BZ #16918]
7131         * sysdeps/arm/feupdateenv.c (feupdateenv):
7132         Rewrite to reduce FPSCR accesses and fix return value.
7133
7134 2014-06-24  Wilco  <wdijkstr@arm.com>
7135
7136         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7137         Optimize to avoid unnecessary FPSCR writes.
7138         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7139         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7140         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7141         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7142
7143 2014-06-24  Wilco  <wdijkstr@arm.com>
7144
7145         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7146         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7147         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7148         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7149         Call libc_fetestexcept_vfp.
7150         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7151         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7152         __SOFTFP__ ifdef so that they can be built for softfp.
7153
7154 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7155
7156         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7157         argument type signed char.
7158
7159         * Makerules (check-abi): Dump diff of symlist if the test
7160         fails.
7161
7162 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7163
7164         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7165         using abort.
7166
7167         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7168         Remove unused variable ST.
7169
7170 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7171
7172         [BZ #16354]
7173         [BZ #17061]
7174         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7175         small arguments before calling __expm1.
7176         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7177         small arguments before calling __expm1f.
7178         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7179         small arguments before calling __expm1l.
7180         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7181         Likewise.
7182         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7183         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7184         spurious underflow for some cosh tests.
7185         * math/auto-libm-test-out: Regenerated.
7186         * sysdeps/i386/fpu/libm-test-ulps: Update.
7187
7188         [BZ #17050]
7189         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7190         (__ieee754_y1): Set errno if return value overflows.
7191         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7192         (__ieee754_y1f): Set errno if return value overflows.
7193         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7194         (__ieee754_y1l): Set errno if return value overflows.
7195         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7196         (__ieee754_y1l): Set errno if return value overflows.
7197         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7198         * math/auto-libm-test-out: Regenerated.
7199
7200         * math/gen-auto-libm-tests.c: Document use of
7201         ignore-zero-inf-sign.
7202         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7203         (input_flags): Add ignore-zero-inf-sign.
7204         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7205         * math/gen-libm-test.pl (generate_testfile): Handle
7206         ignore-zero-inf-sign.
7207         * math/auto-libm-test-in: Mark some cpow tests with
7208         ignore-zero-inf-sign and some with xfail-rounding.
7209         * math/auto-libm-test-out: Regenerated.
7210         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7211         * sysdeps/i386/fpu/libm-test-ulps: Update.
7212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7213
7214         [BZ #16315]
7215         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7216         overflowing or underflowing operations take place with sign of
7217         result.
7218         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7219         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7220         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7221         (__ieee754_pow): Recompute overflowing and underflowing results in
7222         original rounding mode.
7223         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7224         (__powl_helper): Allow negative argument X and scale negated value
7225         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7226         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7227         overflowing or underflowing operations take place with sign of
7228         result.
7229         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7230         Include <math.h>.
7231         * math/auto-libm-test-in: Add more tests of pow.
7232         * math/auto-libm-test-out: Regenerated.
7233         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7234         (pow_tonearest_test_data): Remove.
7235         (pow_test_tonearest): Likewise.
7236         (pow_towardzero_test_data): Likewise.
7237         (pow_test_towardzero): Likewise.
7238         (pow_downward_test_data): Likewise.
7239         (pow_test_downward): Likewise.
7240         (pow_upward_test_data): Likewise.
7241         (pow_test_upward): Likewise.
7242         (main): Don't call removed functions.
7243         * sysdeps/i386/fpu/libm-test-ulps: Update.
7244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7245
7246 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7247
7248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7249         Moved ...
7250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7252         Moved ...
7253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7255         Moved ...
7256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7258         Moved ...
7259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7261         File removed.
7262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7263         File removed.
7264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7265         File removed.
7266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7267         File removed.
7268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7269         File removed.
7270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7271         File removed.
7272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7273         File removed.
7274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7275         File removed.
7276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7277         File removed.
7278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7279         File removed.
7280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7281         File removed.
7282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7283         File removed.
7284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7285         Moved ...
7286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7288         Moved ...
7289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7290         ... here.
7291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7292         Moved ...
7293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7295         Moved ...
7296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7298         Moved ...
7299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7301         Moved ...
7302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7304         Moved ...
7305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7307         Moved ...
7308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7310         Moved ...
7311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7314         ... here.
7315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7316         Moved ...
7317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7319         Moved ...
7320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7321         ... here.
7322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7323         Moved ...
7324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7325         ... here.
7326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7327         Moved ...
7328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7329         ... here.
7330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7331         Moved ...
7332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7334         Moved ...
7335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7339         Moved ...
7340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7341         ... here.
7342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7343         Moved ...
7344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7345         ... here.
7346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7347         Moved ...
7348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7350         Moved ...
7351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7353         Moved ...
7354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7356         Moved ...
7357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7359         Moved ...
7360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7361         ... here.
7362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7363         Moved ...
7364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7366         Moved ...
7367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7369         Moved ...
7370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7372         Moved ...
7373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7377         Moved ...
7378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7380         Moved ...
7381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7383         Moved ...
7384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7385         ... here.
7386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7387         Moved ...
7388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7389         ... here.
7390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7391         Moved ...
7392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7393         ... here.
7394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7395         Moved ...
7396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7398         Moved ...
7399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7401         Moved ...
7402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7404         Moved ...
7405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7406         ... here.
7407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7408         Moved ...
7409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7410         ... here.
7411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7412         Moved ...
7413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7414         ... here.
7415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7416         Moved ...
7417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7419         Moved ...
7420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7421
7422 2014-06-23  Will Newton  <will.newton@linaro.org>
7423             Wilco  <wdijkstr@arm.com>
7424
7425         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7426         implementation.  Include get-rounding-mode.h.
7427         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7428         [!libc_feholdsetround_noex_ctx]: Define
7429         libc_feholdsetround_noex_ctx.
7430         [!libc_feholdsetround_noexf_ctx]: Define
7431         libc_feholdsetround_noexf_ctx.
7432         [!libc_feholdsetround_noexl_ctx]: Define
7433         libc_feholdsetround_noexl_ctx.
7434         (libc_feholdsetround_ctx): New function.
7435         (libc_feresetround_ctx): New function.
7436         (libc_feholdsetround_noex_ctx): New function.
7437         (libc_feresetround_noex_ctx): New function.
7438
7439 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7440
7441         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7442         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7443         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7444         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7445         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7446         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7447
7448         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7449         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7450         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7451         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7452         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7453         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7454         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7455         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7456         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7457         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7458         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7459         Moved ...
7460         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7461         ... here.
7462         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7463         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7464         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7465         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7466         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7467         Moved ...
7468         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7469         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7470         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7471         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7472         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7473         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7474         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7475         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7476         Moved ...
7477         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7478         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7479         Moved ...
7480         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7481         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7482         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7483         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7484         Moved ...
7485         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7486         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7487         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7488         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7489         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7490         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7491         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7492         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7493         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7494         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7495         Moved ...
7496         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7497         ... here.
7498         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7499         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7500         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7501         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7502         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7503         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7504         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7505         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7506         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7507         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7508         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7509         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7510         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7511         Moved ...
7512         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7514         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7515         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7516         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7517         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7518         Moved ...
7519         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7520         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7521         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7522         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7523         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7524
7525         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7526         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7527         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7528         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7529         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7530         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7531         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7532         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7533         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7534         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7535         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7536         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7537         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7538         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7539         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7540         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7541         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7542         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7543         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7544         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7545         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7546         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7547         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7548         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7549         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7550         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7551         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7552         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7553
7554 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7555
7556         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7557         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7558         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7559         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7560         (IPV6_PMTUDISC_INTERFACE): Likewise.
7561         (IPV6_PMTUDISC_OMIT): Likewise.
7562
7563 2014-06-23  Andreas Schwab  <schwab@suse.de>
7564
7565         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7566         Remove unused errout label.
7567
7568 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7569
7570         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7571         macro: hardware supports Vector Crypto instructions.
7572
7573 2014-06-23  Will Newton  <will.newton@linaro.org>
7574
7575         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7576         rather than __builtin_expect.
7577
7578         * elf/dl-lookup.c (undefined_msg): Remove variable.
7579         (_dl_lookup_symbol_x): Replace undefined_msg with string
7580         literal.
7581
7582         * elf/dl-lookup.c (do_lookup_unique): New function.
7583         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7584         to a separate function.
7585
7586 2014-06-23  Andreas Schwab  <schwab@suse.de>
7587
7588         [BZ #17079]
7589         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7590         before reading the next line.
7591
7592 2014-06-23  Will Newton  <will.newton@linaro.org>
7593
7594         * test-skeleton.c (signal_handler): Use printf and %m
7595         rather than perror.  Use printf rather than fprintf to
7596         stderr.  Use puts rather than fputs to stderr.
7597         (main): Likewise.
7598
7599 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7600
7601         * nscd/nscd.c (thread_info_t): Remove typedef.
7602         (thread_info): Remove variable.
7603
7604 2014-06-21  Allan McRae  <allan@archlinux.org>
7605
7606         * NEWS: Mention CVE-2014-4043.
7607
7608 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7609
7610         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7611         * nptl/smp.h: ... here.
7612
7613         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7614
7615         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7616         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7617         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7618         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7619
7620         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7621         * nptl/stack-aliasing.h: New file.
7622         * sysdeps/i386/i686/stack-aliasing.h: New file.
7623         * sysdeps/i386/i686/nptl/Makefile: File removed.
7624         * sysdeps/x86_64/stack-aliasing.h: New file.
7625         * sysdeps/x86_64/nptl/Makefile
7626         (CFLAGS-pthread_create.c): Variable removed.
7627
7628         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7629         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7630         old file.
7631         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7632         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7633         old file.
7634
7635 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7636
7637         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7638         (__ASSUME_SIGFRAME_V2): Remove macro.
7639         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7640         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7641         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7642         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7643         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7644         Declare as function.  Remove conditional macro definitions.
7645         (__default_rt_sa_restorer): Likewise.
7646         (__default_sa_restorer_v1): Remove declaration.
7647         (__default_sa_restorer_v2): Likewise.
7648         (__default_rt_sa_restorer_v1): Likewise.
7649         (__default_rt_sa_restorer_v2): Likewise.
7650         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7651         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7652         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7653
7654 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7655
7656         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7657         (libpthread-routines): Add sysdep.
7658         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7659         * sysdeps/unix/sysv/linux/sparc/Versions
7660         (libpthread: GLIBC_2.3.3): New version set.
7661         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7662         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7663         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7664         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7665         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7666         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7667         Moved ...
7668         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7669         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7670         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7671         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7672         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7673         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7674         * sysdeps/sparc/nptl/sem_init.c: ... here.
7675         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7676         * sysdeps/sparc/nptl/sem_post.c: ... here.
7677         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7678         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7679         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7680         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7681         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7682         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7683         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7684         (libpthread-routines): Add cpu_relax.
7685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7686         File removed.
7687         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7688         (librt: GLIBC_2.3.3): New version set.
7689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7690         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7691         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7692         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7695         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7697         Moved ...
7698         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7700         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7702         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7703         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7704         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7706         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7707         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7708         Moved ...
7709         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7710         Update #include.
7711         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7712         Moved ...
7713         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7714         Update #include.
7715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7716         Moved ...
7717         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7718         Update #include.
7719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7720         Moved ...
7721         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7722         Update #include.
7723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7724         Moved ...
7725         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7726         Update #include.
7727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7728         Moved ...
7729         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7730         Update #include.
7731         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7732         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7733         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7734         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7736         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7738         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7740         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7742         Moved ...
7743         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7745         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7747         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7748
7749 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7750
7751         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7752         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7753         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7754         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7755         * nscd/nscd.c: Likewise.
7756         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7757         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7758         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7759         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7760
7761         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7762         <kernel-features.h>.
7763         (init_mq_netlink): Remove conditional have_sock_cloexec
7764         definitions.  Remove code conditional on have_sock_cloexec < 0.
7765         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7766         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7767         * sysdeps/unix/sysv/linux/opensock.c: Do not include
7768         <kernel-features.h>.
7769         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7770         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7771
7772 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7773
7774         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7775         Add tests for memset_chk and memset.
7776
7777         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7778         with AVX2_Usable.
7779
7780 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7781
7782         [BZ #16046]
7783         * elf/tst-dl-iter-static.c: New file.
7784         * elf/Makefile (tests-static): Add tst-dl-iter-static.
7785
7786         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7787         error.
7788
7789 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7790
7791         * sysdeps/unix/sysv/linux/kernel-features.h
7792         (__ASSUME_F_GETOWN_EX): Remove macro.
7793         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7794         <kernel-features.h>.
7795         (miss_F_GETOWN_EX): Remove variable or macro.
7796         (do_fcntl): Do not check miss_F_GETOWN_EX.
7797         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7798
7799         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7800         Remove macro.
7801         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7802         [!__ASSUME_AT_RANDOM]: Remove conditional code.
7803         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7804
7805         * sysdeps/unix/sysv/linux/kernel-features.h
7806         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7807         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7808         [ADJ_OFFSET_SS_READ]: Make code unconditional.
7809         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7810
7811 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7812
7813         [BZ #17075]
7814         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7815         Fix calculation of the symbol's value.
7816         * sysdeps/arm/tst-armtlsdescloc.c: New file.
7817         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7818         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7819         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7820         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7821         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7822         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7823         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7824         (modules-names): Add `tst-armtlsdescmod',
7825         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7826         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7827         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7828         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7829         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7830         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7831         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7832         ($(objpfx)tst-armtlsdescloc): New dependency.
7833         ($(objpfx)tst-armtlsdescextnow): Likewise.
7834         ($(objpfx)tst-armtlsdescextlazy): Likewise.
7835         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7836         TLS scheme support.
7837         * sysdeps/arm/configure: Regenerate.
7838
7839 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7840
7841         * include/fcntl.h (__atfct_seterrno): Remove prototype.
7842         (__atfct_seterrno_2): Likewise.
7843         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7844         <kernel-features.h>.
7845         (__ASSUME_ATFCTS): Do not undefine and redefine.
7846         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7847         (__have_atfcts): Remove conditional definition.
7848         (__fxstatat([__NR_fstatat64]: Make code unconditional.
7849         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7850         unreachable if [__ASSUME_ATFCTS].
7851         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7852         not undefine and redefine.
7853         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7854         <kernel-features.h>.
7855         (faccessat) [__NR_faccessat]: Make code unconditional.
7856         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7857         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7858         <kernel-features.h>.
7859         (fchmodat) [__NR_fchmodat]: Make code unconditional.
7860         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7861         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7862         <kernel-features.h>.
7863         (fchownat) [__NR_fchownat]: Make code unconditional.
7864         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7865         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7866         <kernel-features.h>.
7867         (futimesat) [__NR_futimesat]: Make code unconditional.
7868         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7869         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7870         <kernel-features.h>.
7871         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7872         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7873         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7874         <kernel-features.h>.
7875         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7876         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7877         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7878         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7879         <kernel-features.h>.
7880         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7881         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7882         * sysdeps/unix/sysv/linux/linkat.c: Do not include
7883         <kernel-features.h>.
7884         (linkat) [__NR_linkat]: Make code unconditional.
7885         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7886         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7887         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7888         <kernel-features.h>.
7889         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7890         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7891         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7892         <kernel-features.h>.
7893         (mkdirat) [__NR_mkdirat]: Make code unconditional.
7894         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7895         * sysdeps/unix/sysv/linux/openat.c: Do not include
7896         <kernel-features.h>.
7897         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7898         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7899         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7900         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7901         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7902         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7903         <kernel-features.h>.
7904         (readlinkat) [__NR_readlinkat]: Make code unconditional.
7905         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
7906         result of INLINE_SYSCALL directly, not via int variable.
7907         * sysdeps/unix/sysv/linux/renameat.c: Do not include
7908         <kernel-features.h>.
7909         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7910         (renameat) [__NR_renameat]: Make code unconditional.
7911         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7912         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7913         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7914         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7915         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7916         (__ASSUME_ATFCTS): Do not undefine and redefine.
7917         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7918         <kernel-features.h>.
7919         (symlinkat) [__NR_symlinkat]: Make code unconditional.
7920         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7921         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7922         <kernel-features.h>.
7923         (unlinkat) [__NR_unlinkat]: Make code unconditional.
7924         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7925         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7926         (__ASSUME_ATFCTS): Do not undefine and redefine.
7927         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7928         <kernel-features.h>.
7929         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7930         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7931         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7932         <kernel-features.h>.
7933         (__xmknodat) [__NR_mknodat]: Make code unconditional.
7934         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7935
7936 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7937
7938         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7939
7940 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
7941
7942         [BZ #17069]
7943         * posix/regcomp.c (parse_reg_exp): Deallocate partially
7944         constructed tree before returning error.
7945         * posix/bug-regexp36.c: Expand test case.
7946
7947 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7948
7949         [BZ #6803]
7950         * math/libm-test.inc (scalbln_test_date):
7951         Add errno expectations.
7952         * math/w_scalblnf.c: New File.
7953         Add wrapper which checks for setting errno to ERANGE.
7954         Add weak_alias for corresponding scalbln function.
7955         * math/w_scalbln.c: Likewise.
7956         * math/w_scalblnl.c: Likewise.
7957         * math/Makefile (libm-calls): Add w_scalbln.
7958         * sysdeps/ieee754/flt-32/s_scalblnf.c:
7959         Remove weak_alias for corresponding scalbln function.
7960         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7961         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7962         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7963         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7964         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7965         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7966         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7967         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7968         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7969         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7970         Remove long_double_symbol for scalblnl function in libm, libc.
7971         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7972         Add wrapper which checks for setting errno to ERANGE.
7973         Add long_double_symbol for scalblnl function in libm, libc.
7974         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7975         Remove long_double_symbol for scalblnl in libm.
7976         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7977         Add wrapper which checks for setting errno to ERANGE.
7978         Add long_double_symbol for scalblnl function in libm.
7979         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7980         Do not use wrapper because of own implementation.
7981
7982 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
7983
7984         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7985         3 bytes for __pad1 for x32.
7986         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7987
7988 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
7989             H.J. Lu  <hongjiu.lu@intel.com>
7990
7991         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7992         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7993         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7994         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7995         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7996
7997 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
7998
7999         [BZ #17069]
8000         * posix/regcomp.c (parse_expression): Deallocate partially
8001         constructed tree before returning error.
8002         * posix/Makefile.c (tests): Add bug-regex36.
8003         (generated): Add bug-regex36.mtrace.
8004         (tests-special): Add $(objpfx)bug-regex36-mem.out
8005         (bug-regex36-ENV): New variable.
8006         ($(objpfx)bug-regex36-mem.out): New rule.
8007         * posix/bug-regex36.c: New file.
8008
8009 2014-06-19  Will Newton  <will.newton@linaro.org>
8010
8011         * malloc/malloc.c (systrim): If extra is zero then return
8012         early.
8013
8014 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8015
8016         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8017
8018 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8019
8020         * sysdeps/aarch64/strchr.S: New file.
8021
8022 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8023
8024         [BZ #17022]
8025         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8026         from arguments -2 or below.
8027         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8028         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8029
8030 2014-06-18  Andreas Schwab  <schwab@suse.de>
8031
8032         [BZ #17062]
8033         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8034         of a bracket expr not to run off the end of the string.
8035         * posix/Makefile (tests): Add tst-fnmatch3.
8036         * posix/tst-fnmatch3.c: New file.
8037
8038 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8039
8040         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8041         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8042         [$(cross-compiling) = no]: Likewise.
8043         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8044         [$(cross-compiling) = no]: Likewise.
8045
8046 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8047
8048         [BZ #17031]
8049         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8050         double, adjusted for any remainder from the high double.
8051         * math/libm-test.inc (nearbyint): Add tests.
8052         (rint): Likewise.
8053
8054 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8055
8056         * nptl/sysdeps/powerpc/Makefile: Moved ...
8057         * sysdeps/powerpc/nptl/Makefile: ... here.
8058         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8059         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8060         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8061         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8062         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8063         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8064         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8065         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8066         * nptl/sysdeps/powerpc/tls.h: Moved ...
8067         * sysdeps/powerpc/nptl/tls.h: ... here.
8068
8069 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8070
8071         [BZ #16681]
8072         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8073         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8074         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8075         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8076         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8077         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8078         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8079         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8080         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8081
8082 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8083
8084         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8085
8086 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8087
8088         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8089         defined operator.
8090
8091         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8092         $TIMEOUTFACTOR.
8093
8094 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8095
8096         [BZ #17058]
8097         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8098         non-executed part of the test.
8099
8100 2014-06-16  Andreas Schwab  <schwab@suse.de>
8101
8102         * string/bits/string2.h (strdup, strndup): Update feature guard.
8103
8104 2014-06-14  David S. Miller  <davem@davemloft.net>
8105
8106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8107
8108 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8109
8110         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8111         that was previously under [RESET_PID].
8112         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8113
8114         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8115         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8116         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8117         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8118         (__libc_vfork): New strong alias.
8119         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8120
8121 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8122
8123         * sysdeps/generic/elide.h: New file.
8124
8125 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8126
8127         * Makefile (installed-headers): Adjust path of pthread.h header.
8128
8129 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8130
8131         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8132         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8133         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8134         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8135
8136         * nptl/sysdeps/s390/Makefile: Moved ...
8137         * sysdeps/s390/nptl/Makefile: ... here.
8138         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8139         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8140         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8141         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8142         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8143         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8144         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8145         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8146         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8147         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8148         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8149         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8150         * nptl/sysdeps/s390/tls.h: Moved ...
8151         * sysdeps/s390/nptl/tls.h: ... here.
8152
8153         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8154         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8155
8156 2014-06-13  David S. Miller  <davem@davemloft.net>
8157
8158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8160         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8161         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8164         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8165         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8166         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8167         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8168         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8169         Remove RESET_PID cpp guards.
8170         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8171         Remove RESET_PID cpp guards.
8172         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8173
8174 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8175
8176         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8177         __sp to uintptr_t.
8178
8179 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8180
8181         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8182         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8183         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8184         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8185         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8186         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8187         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8188         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8189         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8190         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8191         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8192         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8193         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8194         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8195         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8196         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8197         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8198         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8199         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8200         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8201
8202         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8203         (pthread_rwlock_rdlock): Add elision.
8204         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8205         (pthread_rwlock_wrlock): Add elision.
8206         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8207         (pthread_rwlock_trywrlock): Add elision.
8208         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8209         (pthread_rwlock_tryrdlock): Add elision.
8210         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8211         (pthread_rwlock_tryrdlock): Add elision unlock.
8212         * nptl/sysdeps/pthread/pthread.h:
8213         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8214         (PTHREAD_RWLOCK_INITIALIZER,
8215         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8216         Handle new elision field.
8217         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8218         * sysdeps/arm/nptl/bits/pthreadtypes.h
8219         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8220         * sysdeps/sh/nptl/bits/pthreadtypes.h
8221         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8222         * sysdeps/tile/nptl/bits/pthreadtypes.h
8223         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8224         * sysdeps/a/nptl/bits/pthreadtypes.h
8225         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8226         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8227         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8228         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8229         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8230         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8231         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8232         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8233         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8234         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8235         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8236         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8237         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8238         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8239         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8240         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8241         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8242         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8243         (elision_init): Set try_xbegin to zero when no RTM.
8244         * sysdeps/x86/nptl/bits/pthreadtypes.h
8245         (pthread_rwlock_t): Change __pad1 to __rwelision.
8246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8247
8248 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8249
8250         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8251         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8252         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8253         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8254
8255 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8256
8257         [BZ #16996]
8258         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8259         that the cached result has been set before returning it.
8260
8261 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8262
8263         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8264         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8265         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8266         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8267         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8268         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8269
8270         * nptl/sysdeps/sparc/Makefile: Moved ...
8271         * sysdeps/sparc/nptl/Makefile: ... here.
8272         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8273         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8274         * nptl/sysdeps/sparc/tls.h: Moved ...
8275         * sysdeps/sparc/nptl/tls.h: ... here.
8276         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8277         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8278         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8279         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8280         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8281         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8282         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8283         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8284         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8285         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8286         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8287         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8288         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8289         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8290         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8291         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8292         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8293         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8294         Update #include.
8295         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8296         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8297         Update #include.
8298         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8299         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8300         Update #include.
8301         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8302         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8303         Update #include.
8304
8305         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8306
8307         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8308         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8309
8310         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8311         (struct list_links): Type removed.
8312         (struct thread_node, struct timer_node): Replace struct list_links
8313         with struct list_head.
8314         (list_unlink_ip): Likewise.
8315         * sysdeps/pthread/timer_routines.c
8316         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8317         (list_append, list_insbefore): Likewise.
8318         (list_init): Function removed.
8319         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8320         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8321         * sysdeps/pthread/Makefile: ... here, new file.
8322
8323         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8324         * sysdeps/nptl/Implies: ... here.
8325         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8326         * nptl/sysdeps/pthread/list.h: Moved ...
8327         * include/list.h: ... here.
8328         * nptl/sysdeps/pthread/createthread.c: Moved ...
8329         * nptl/createthread.c: ... here.
8330         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8331         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8332         * nptl/pt-longjmp.c: ... here.
8333         * nptl/sysdeps/pthread/Makefile: Moved ...
8334         * sysdeps/nptl/Makefile: ... here.
8335         * nptl/sysdeps/pthread/Subdirs: Moved ...
8336         * sysdeps/nptl/Subdirs: ... here.
8337         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8338         * sysdeps/nptl/aio_misc.h: ... here.
8339         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8340         * sysdeps/nptl/bits/libc-lock.h: ... here.
8341         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8342         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8343         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8344         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8345         * nptl/sysdeps/pthread/configure: Moved ...
8346         * sysdeps/nptl/configure: ... here.
8347         * nptl/sysdeps/pthread/configure.ac: Moved ...
8348         * sysdeps/nptl/configure.ac: ... here.
8349         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8350         * sysdeps/nptl/gai_misc.h: ... here.
8351         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8352         * sysdeps/nptl/librt-cancellation.c: ... here.
8353         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8354         * sysdeps/nptl/malloc-machine.h: ... here.
8355         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8356         * sysdeps/nptl/pthread-functions.h: ... here.
8357         * nptl/sysdeps/pthread/pthread.h: Moved ...
8358         * sysdeps/nptl/pthread.h: ... here.
8359         * nptl/sysdeps/pthread/setxid.h: Moved ...
8360         * sysdeps/nptl/setxid.h: ... here.
8361         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8362         * sysdeps/nptl/sigfillset.c: ... here.
8363         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8364         * sysdeps/nptl/tcb-offsets.h: ... here.
8365         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8366         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8367         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8368         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8369         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8370         * sysdeps/pthread/allocalim.h: ... here.
8371         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8372         * sysdeps/pthread/bits/sigthread.h: ... here.
8373         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8374         * sysdeps/pthread/flockfile.c: ... here.
8375         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8376         * sysdeps/pthread/ftrylockfile.c: ... here.
8377         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8378         * sysdeps/pthread/funlockfile.c: ... here.
8379         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8380         * sysdeps/pthread/posix-timer.h: ... here.
8381         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8382         * sysdeps/pthread/timer_create.c: ... here.
8383         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8384         * sysdeps/pthread/timer_delete.c: ... here.
8385         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8386         * sysdeps/pthread/timer_getoverr.c: ... here.
8387         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8388         * sysdeps/pthread/timer_gettime.c: ... here.
8389         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8390         * sysdeps/pthread/timer_routines.c: ... here.
8391         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8392         * sysdeps/pthread/timer_settime.c: ... here.
8393         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8394         * sysdeps/pthread/tst-timer.c: ... here.
8395         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8396         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8397
8398         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8399         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8400
8401         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8402         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8403         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8404         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8405         Update #include target.
8406         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8407         * sysdeps/i386/i686/nptl/Makefile: ... here.
8408         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8409         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8410         Update #include target.
8411         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8412         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8413         * nptl/sysdeps/i386/Makefile: Moved ...
8414         * sysdeps/i386/nptl/Makefile: ... here.
8415         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8416         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8417         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8418         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8419         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8420         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8421         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8422         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8423         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8424         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8425         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8426         * nptl/sysdeps/i386/tls.h: Moved ...
8427         * sysdeps/i386/nptl/tls.h: ... here.
8428
8429         * sysdeps/sh/Makefile [$(subdir) = csu]
8430         (gen-as-const-headers): Add tcb-offsets.sym.
8431         * nptl/sysdeps/sh/Makefile: File removed.
8432         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8433         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8434         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8435         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8436         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8437         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8438         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8439         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8440         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8441         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8442         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8443         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8444         * nptl/sysdeps/sh/tls.h: Moved ...
8445         * sysdeps/sh/nptl/tls.h: ... here.
8446         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8447         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8448         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8449         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8450         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8451         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8452         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8453         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8454         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8455         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8456         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8457         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8458         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8459         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8460         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8461         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8462         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8463         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8464         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8465         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8466         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8467         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8468         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8469         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8470         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8471         Moved ...
8472         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8473         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8474         Moved ...
8475         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8476         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8477         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8478         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8479         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8480         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8481         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8482         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8483         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8484         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8485         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8486         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8487         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8488         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8489         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8490         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8491         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8492         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8493         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8494
8495 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8496
8497         * posix/spawn_faction_addopen.c: Include string.h.
8498
8499 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8500
8501         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8502         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8503         * nptl/sysdeps/x86_64/Makefile: Moved ...
8504         * sysdeps/x86_64/nptl/Makefile: ... here.
8505         * nptl/sysdeps/x86_64/configure: Moved ...
8506         * sysdeps/x86_64/nptl/configure: ... here.
8507         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8508         * sysdeps/x86_64/nptl/configure.ac: ... here.
8509         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8510         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8511         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8512         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8513         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8514         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8515         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8516         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8517         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8518         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8519         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8520         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8521         * nptl/sysdeps/x86_64/tls.h: Moved ...
8522         * sysdeps/x86_64/nptl/tls.h: ... here.
8523         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8524         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8525         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8526         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8527
8528         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8529
8530 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8531
8532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8533
8534 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8535
8536         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8537         type.
8538         [POSIX] (off_t): Likewise.
8539         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8540         [POSIX] (S_ISBLK): Require macro.
8541         [POSIX] (S_ISCHR): Likewise.
8542         [POSIX] (S_ISDIR): Likewise.
8543         [POSIX] (S_ISFIFO): Likewise.
8544         [POSIX] (S_ISREG): Likewise.
8545         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8546         optional-macro.
8547         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8548         type.
8549         [POSIX] (time_t): Likewise.
8550         [POSIX] (timer_t): Likewise.
8551
8552 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8553
8554         [BZ #17048]
8555         * posix/spawn_int.h (struct __spawn_action): Make the path string
8556         non-const to support deallocation.
8557         * posix/spawn_faction_addopen.c
8558         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8559         * posix/spawn_faction_destroy.c
8560         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8561         path in all spawn_do_open actions.
8562         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8563         posix_spawn_file_actions_addopen.
8564
8565 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8566
8567         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8568         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8569         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8570         conditional code always true.
8571         (__libc_vfork): New alias.
8572
8573 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8574
8575         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8576         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8577
8578         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8579
8580         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8581         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8582
8583         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8584         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8585
8586         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8587         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8588
8589 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8590
8591         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8592         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8593         multiarch strcmp for PPC64.
8594         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8595         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8597         multiarch optimizations.
8598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8599         (__libc_ifunc_impl_list): Likewise.
8600
8601 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8602
8603         * benchtests/scripts/validate_benchout.py: New script.
8604         * benchtests/Makefile (bench-func): Call it.
8605         * benchtests/scripts/benchout.schema.json: New file.
8606
8607 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8608
8609         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8610         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8611         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8612         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8613         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8614         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8615         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8616         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8617         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8618         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8619         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8620         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8621         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8622         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8623         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8624         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8626         Moved ...
8627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8628         ... here.
8629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8630         Moved ...
8631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8633         Moved ...
8634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8635         ... here.
8636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8637         Moved ...
8638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8639         ... here.
8640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8641         Moved ...
8642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8644         Moved ...
8645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8646         ... here.
8647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8648         Moved ...
8649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8650         ... here.
8651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8652         Moved ...
8653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8655         Moved ...
8656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8657         ... here.
8658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8659         Moved ...
8660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8661         ... here.
8662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8663         Moved ...
8664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8665         ... here.
8666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8667         Moved ...
8668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8670         Moved ...
8671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8672         ... here.
8673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8674         Moved ...
8675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8676         ... here.
8677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8678         Moved ...
8679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8680         ... here.
8681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8682         Moved ...
8683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8685         Moved ...
8686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8687         ... here.
8688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8689         Moved ...
8690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8691         ... here.
8692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8693         Moved ...
8694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8696         Moved ...
8697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8698         ... here.
8699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8700         Moved ...
8701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8703         Moved ...
8704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8706         Moved ...
8707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8708         ... here.
8709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8710         Moved ...
8711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8712         ... here.
8713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8714         Moved ...
8715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8716         ... here.
8717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8718         Moved ...
8719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8721         Moved ...
8722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8723         ... here.
8724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8725         Moved ...
8726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8727         ... here.
8728         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8729         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8730         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8731         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8732         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8733         Moved ...
8734         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8735         ... here.
8736         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8737         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8738         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8739         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8740         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8741         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8742         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8743         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8744         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8745         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8746         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8747         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8748         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8749         Moved ...
8750         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8752         Moved ...
8753         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8754         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8755         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8756         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8757         Moved ...
8758         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8759         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8760         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8761         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8762         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8763         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8764         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8765
8766 2014-06-10  Wilco  <wdijkstr@arm.com>
8767
8768         * math/test-fenv-return.c: New file.
8769         * math/Makefile: Add new test test-fenv-return.
8770
8771 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
8772
8773         [BZ #17042]
8774         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8775         when x - 1 is zero.
8776         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8777         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8778         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8779         0.0L for an argument of 1.0L.
8780         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8781         Likewise.
8782         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8783         value when x - 1 is zero.
8784         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8785         * sysdeps/i386/fpu/libm-test-ulps: Update.
8786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8787
8788 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
8789
8790         [BZ #15119]
8791         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8792
8793 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8794
8795         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8796         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8797
8798 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8799
8800         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8801         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8802
8803         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8804         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8805
8806         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8807         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8808
8809         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8810         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8811
8812         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8813         if not already defined.
8814         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8815         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8816         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8817         (TLS_INIT_TP): Use it.
8818         (TLS_DEFINE_INIT_TP): New macro.
8819         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8820
8821 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
8822
8823         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8824         constant.
8825         [POSIX] (IXANY): Likewise.
8826         [POSIX] (OLCUC): Likewise.
8827         [POSIX || POSIX2008] (CBAUD): Do not allow.
8828         [POSIX || POSIX2008] (DEFECHO): Likewise.
8829         [POSIX || POSIX2008] (ECHOCTL): Likewise.
8830         [POSIX || POSIX2008] (ECHOKE): Likewise.
8831         [POSIX || POSIX2008] (ECHOPRT): Likewise.
8832         [POSIX || POSIX2008] (EXTA): Likewise.
8833         [POSIX || POSIX2008] (EXTB): Likewise.
8834         [POSIX || POSIX2008] (FLUSHO): Likewise.
8835         [POSIX || POSIX2008] (LOBLK): Likewise.
8836         [POSIX || POSIX2008] (PENDIN): Likewise.
8837         [POSIX || POSIX2008] (SWTCH): Likewise.
8838         [POSIX || POSIX2008] (VDISCARD): Likewise.
8839         [POSIX || POSIX2008] (VDSUSP): Likewise.
8840         [POSIX || POSIX2008] (VLNEXT): Likewise.
8841         [POSIX || POSIX2008] (VREPRINT): Likewise.
8842         [POSIX || POSIX2008] (VSTATUS): Likewise.
8843         [POSIX || POSIX2008] (VWERASE): Likewise.
8844         (B*): Change to B[0123456789]*.
8845         * conform/data/time.h-data [POSIX || UNIX98]
8846         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8847         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8848         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8849         [POSIX] (tm_*): Do not allow.
8850
8851 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
8852
8853         * Makefile (install): Don't set LANGUAGE.
8854         * Makefile.in (install): Likewise.
8855         * assert/Makefile (test-assert-ENV): Remove variable.
8856         (test-assert-perr-ENV): Likewise.
8857         * elf/Makefile (neededtest4-ENV): Likewise.
8858         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8859         [$(cross-compiling) = no]: Don't set LANGUAGE.
8860         * io/ftwtest-sh (LANG): Remove variable.
8861         * libio/Makefile (tst-widetext-ENV): Likewise.
8862         * manual/install.texi (Running make install): Don't refer to
8863         environment settings for make install.
8864         * INSTALL: Regenerated.
8865         * nptl/tst-tls6.sh: Don't set LANG.
8866         * posix/globtest.sh (LANG): Remove variable.
8867         * string/Makefile (tester-ENV): Likewise.
8868         (inl-tester-ENV): Likewise.
8869         (noinl-tester-ENV): Likewise.
8870         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8871         [$(cross-compiling) = no]: Don't set LANGUAGE.
8872         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8873         without explicit environment settings.
8874
8875 2014-06-06  Roland McGrath  <roland@hack.frob.com>
8876
8877         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8878         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8879         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8880         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8881
8882 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
8883
8884         * crypt/crypt-private.h [DOS]: Add some includes taken from the
8885         other files in the crypt directory.
8886         * crypt/crypt.c: Remove duplicate includes.
8887         * crypt/crypt-entry.c: Likewise.
8888         * crypt/crypt_util.c: Likewise.
8889
8890 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
8891
8892         * Makeconfig (run-program-env): New variable.
8893         (run-program-prefix-before-env): Likewise.
8894         (run-program-prefix-after-env): Likewise.
8895         (run-program-prefix): Define in terms of new variables.
8896         (built-program-cmd-before-env): New variable.
8897         (built-program-cmd-after-env): Likewise.
8898         (built-program-cmd): Define in terms of new variables.
8899         (test-program-prefix-before-env): New variable.
8900         (test-program-prefix-after-env): Likewise.
8901         (test-program-prefix): Define in terms of new variables.
8902         (test-program-cmd-before-env): New variable.
8903         (test-program-cmd-after-env): Likewise.
8904         (test-program-cmd): Define in terms of new variables.
8905         * Rules (make-test-out): Use $(run-program-env).
8906         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8907         (help): Do not mention environment variables.  Mention
8908         --timeoutfactor option.
8909         (timeoutfactor): New variable.
8910         (blacklist_exports): Remove function.
8911         (exports): Remove variable.
8912         (command): Do not include ${exports}.
8913         * manual/install.texi (Configuring and compiling): Do not mention
8914         test wrappers preserving environment variables.  Mention that last
8915         assignment to a variable must take precedence.
8916         * INSTALL: Regenerated.
8917         * benchtests/Makefile (run-bench): Use $(run-program-env).
8918         * catgets/Makefile ($(objpfx)test1.cat): Use
8919         $(built-program-cmd-before-env), $(run-program-env) and
8920         $(built-program-cmd-after-env).
8921         ($(objpfx)test2.cat): Do not specify environment variables
8922         explicitly.
8923         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8924         $(run-program-env) and $(built-program-cmd-after-env).
8925         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8926         $(run-program-env) and $(test-program-cmd-after-env).
8927         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8928         explicitly.
8929         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8930         run_program_env and test_program_cmd_after_env arguments.
8931         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8932         * elf/tst-pathopt.sh: Use run_program_env argument.
8933         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8934         $(test-wrapper-env) and $(run-program-env).
8935         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8936         run_program_env arguments.
8937         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8938         * intl/Makefile ($(objpfx)tst-gettext.out): Use
8939         $(test-program-prefix-before-env), $(run-program-env) and
8940         $(test-program-prefix-after-env).
8941         ($(objpfx)tst-gettext2.out): Likewise.
8942         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8943         run_program_env and test_program_prefix_after_env arguments.
8944         * intl/tst-gettext2.sh: Likewise.
8945         * intl/tst-gettext4.sh: Do not set environment variables
8946         explicitly.
8947         * intl/tst-gettext6.sh: Likewise.
8948         * intl/tst-translit.sh: Likewise.
8949         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8950         $(test-program-prefix-before-env), $(run-program-env) and
8951         $(test-program-prefix-after-env).
8952         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8953         run_program_env and test_program_prefix_after_env arguments.
8954         * math/Makefile (run-regen-ulps): Use $(run-program-env).
8955         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8956         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
8957         explicitly with each use of ${test_wrapper_env}.
8958         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8959         $(test-program-prefix-before-env), $(run-program-env) and
8960         $(test-program-prefix-after-env).
8961         * posix/tst-getconf.sh: Do not set environment variables
8962         explicitly.
8963         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8964         run_program_env and test_program_prefix_after_env arguments.
8965         * stdio-common/tst-printf.sh: Do not set environment variables
8966         explicitly.
8967         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8968         $(test-program-prefix-before-env), $(run-program-env) and
8969         $(test-program-prefix-after-env).
8970         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8971         run_program_env and test_program_prefix_after_env arguments.
8972         Split $test calls into $test_pre and $test.
8973         * timezone/Makefile (build-testdata): Use
8974         $(built-program-cmd-before-env), $(run-program-env) and
8975         $(built-program-cmd-after-env).
8976
8977 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8978
8979         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8980         strlen for non SHARED builds.
8981
8982 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8983
8984         * nptl/allocatestack.c (check_list): Inlined function...
8985         (__reclaim_stacks): ... here.
8986
8987 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8988
8989         [BZ #15698]
8990         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8991         memory overrun.
8992
8993 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
8994
8995         * Rules (make-test-out): Include
8996         LOCPATH=$(common-objpfx)localedata in default environment.
8997         * debug/Makefile (tst-chk1-ENV): Remove variable.
8998         (tst-chk2-ENV): Likewise.
8999         (tst-chk3-ENV): Likewise.
9000         (tst-chk4-ENV): Likewise.
9001         (tst-chk5-ENV): Likewise.
9002         (tst-chk6-ENV): Likewise.
9003         (tst-lfschk1-ENV): Likewise.
9004         (tst-lfschk2-ENV): Likewise.
9005         (tst-lfschk3-ENV): Likewise.
9006         (tst-lfschk4-ENV): Likewise.
9007         (tst-lfschk5-ENV): Likewise.
9008         (tst-lfschk6-ENV): Likewise.
9009         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9010         (tst-iconv7-ENV): Likewise.
9011         * intl/Makefile (LOCPATH-ENV): Likewise.
9012         (tst-codeset-ENV): Likewise.
9013         (tst-gettext3-ENV): Likewise.
9014         (tst-gettext5-ENV): Likewise.
9015         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9016         (tst-fopenloc-ENV): Likewise.
9017         (tst-fgetws-ENV): Remove variable.
9018         (tst-ungetwc1-ENV): Likewise.
9019         (tst-ungetwc2-ENV): Likewise.
9020         (bug-ungetwc2-ENV): Likewise.
9021         (tst-swscanf-ENV): Likewise.
9022         (bug-ftell-ENV): Likewise.
9023         (tst-fgetwc-ENV): Likewise.
9024         (tst-fseek-ENV): Likewise.
9025         (tst-ftell-partial-wide-ENV): Likewise.
9026         (tst-ftell-active-handler-ENV): Likewise.
9027         (tst-ftell-append-ENV): Likewise.
9028         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9029         (tst-regexloc-ENV): Likewise.
9030         (bug-regex1-ENV): Likewise.
9031         (tst-regex-ENV): Likewise.
9032         (tst-regex2-ENV): Likewise.
9033         (bug-regex5-ENV): Likewise.
9034         (bug-regex6-ENV): Likewise.
9035         (bug-regex17-ENV): Likewise.
9036         (bug-regex18-ENV): Likewise.
9037         (bug-regex19-ENV): Likewise.
9038         (bug-regex20-ENV): Likewise.
9039         (bug-regex22-ENV): Likewise.
9040         (bug-regex23-ENV): Likewise.
9041         (bug-regex25-ENV): Likewise.
9042         (bug-regex26-ENV): Likewise.
9043         (bug-regex30-ENV): Likewise.
9044         (bug-regex32-ENV): Likewise.
9045         (bug-regex33-ENV): Likewise.
9046         (bug-regex34-ENV): Likewise.
9047         (bug-regex35-ENV): Likewise.
9048         (tst-rxspencer-ENV): Likewise.
9049         (tst-rxspencer-no-utf8-ENV): Likewise.
9050         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9051         (tst-sscanf-ENV): Likewise.
9052         (tst-swprintf-ENV): Likewise.
9053         (tst-swscanf-ENV): Likewise.
9054         (test-vfprintf-ENV): Likewise.
9055         (scanf13-ENV): Likewise.
9056         (bug14-ENV): Likewise.
9057         (tst-grouping-ENV): Likewise.
9058         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9059         (tst-strtod3-ENV): Likewise.
9060         (tst-strtod4-ENV): Likewise.
9061         (tst-strtod5-ENV): Likewise.
9062         (testmb2-ENV): Likewise./
9063         * string/Makefile (tst-strxfrm-ENV): Likewise.
9064         (tst-strxfrm2-ENV): Likewise.
9065         (bug-strcoll1-ENV): Likewise.
9066         (test-strcasecmp-ENV): Likewise.
9067         (test-strncasecmp-ENV): Likewise.
9068         * time/Makefile (tst-strptime-ENV): Likewise.
9069         (tst-ftime_l-ENV): Likewise.
9070         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9071         (tst-mbrtowc-ENV): Likewise.
9072         (tst-wcrtomb-ENV): Likewise.
9073         (tst-mbrtowc2-ENV): Likewise.
9074         (tst-c16c32-1-ENV): Likewise.
9075         (tst-mbsnrtowcs-ENV): Likewise.
9076
9077 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9078
9079         * manual/resource.texi (How to get information about the memory
9080         subsystem?): Fix typo.
9081         Reported by Peon de la Parra Ivan <peon@keba.com>
9082
9083 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9084
9085         [BZ #16882]
9086         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9087         (pthread_spin_lock): Branch out of spin loop to proper location.
9088         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9089         (pthread_spin_lock): Likewise.
9090
9091         * nptl/tst-spin4.c: New test.
9092         * nptl/Makefile (tests): Add tst-spin4.
9093
9094 2014-06-03  Andreas Schwab  <schwab@suse.de>
9095
9096         [BZ #15946]
9097         * resolv/res_send.c (send_dg): Reload file descriptor after
9098         calling reopen.
9099
9100 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9101
9102         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9103
9104 2014-06-03  Richard Henderson  <rth@redhat.com>
9105
9106         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9107         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9108         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9109         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9110         in the SAVE_PID block.
9111         (__libc_vfork): New alias.
9112         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9113
9114         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9115         child in registers, not on the stack.  Remove RESET_PID conditionals.
9116         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9117
9118 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9119
9120         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9121
9122 2014-06-03  Wilco  <wdijkstr@arm.com>
9123
9124         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9125         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9126         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9127         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9128         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9129         Likewise.
9130
9131 2014-06-03  Wilco  <wdijkstr@arm.com>
9132
9133         * sysdeps/aarch64/fpu/math_private.h
9134         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9135         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9136         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9137         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9138         Fix declarations.
9139
9140 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9141
9142         * crypt/crypt-private.h: Include ufc-crypt.h.
9143         (__b64_from_24bit): Declare extern.
9144         * crypt/crypt_util.c(__b64_from_24bit): New function.
9145         (b64t): New static const variable.
9146         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9147         (b64t): Remove variable.
9148         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9149         * crypt/sha256-crypt.c: Include crypt-private.h.
9150         (b64t): Remove variable.
9151         (__sha256_crypt_r): Remove b64_from_24bit and replace
9152         with __b64_from_24bit.
9153         * crypt/sha512-crypt.c: Likewise.
9154
9155 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9156
9157         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9158         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9159         Label the code __libc_vfork rather than __vfork.
9160         [!NOT_IN_libc] (vfork): Define as weak alias.
9161         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9162         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9163         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9164
9165 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9166
9167         * malloc/malloc.c (malloc_info): Fix format specifier for
9168         n_mmaps.
9169
9170 2014-06-02  Wilco  <wdijkstr@arm.com>
9171
9172         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9173         FPCR write.
9174
9175 2014-06-02  Wilco  <wdijkstr@arm.com>
9176
9177         [BZ #17009]
9178         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9179         Rewrite to reduce FPCR/FPSR accesses.
9180
9181 2014-06-01  David S. Miller  <davem@davemloft.net>
9182
9183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9184
9185 2014-05-31  David S. Miller  <davem@davemloft.net>
9186
9187         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9188         to occur in round to nearest mode when |x| >= 2.0
9189
9190 2014-05-30  Richard Henderson  <rth@twiddle.net>
9191
9192         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9193         (PSEUDO_RET_NOERRNO): Remove.
9194         (ret): Don't redefine.
9195         (ret_NOERRNO): Define in terms of ret.
9196         (ret_ERRVAL): Likewise.
9197
9198         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9199         use of PSEUDO_RET; perform the error check directly.
9200
9201 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9202
9203         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9204         with __int128_t.
9205
9206 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9207
9208         * malloc/malloc (malloc_info): Fix formatting.
9209
9210 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9211             Roland McGrath  <roland@hack.frob.com>
9212
9213         * malloc/malloc (malloc_info): Also print mmapped statistics.
9214
9215 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9216
9217         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9218         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9219
9220 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9221
9222         * malloc/malloc.c (malloc_info): Inline mi_arena.
9223
9224 2014-05-29  Richard Henderson  <rth@twiddle.net>
9225
9226         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9227         Remove comma before expanding ASM_ARGS_##nr.
9228         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9229         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9230         of ASM_ARGS_##nr.
9231         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9232         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9233         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9234         (ASM_ARGS_1): Add leading comma.
9235
9236         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9237         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9238         to __errno_location.
9239         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9240         Remove the expected plt for __errno_location.
9241
9242         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9243         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9244         call to __read_tp.
9245
9246         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9247         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9248         it and break it down.
9249         (DOCARGS_0, DOCARGS_1): Do nothing.
9250         (DOCARGS_2): Update to store into the new stack frame.
9251         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9252         (UNDOCARGS_1): Update to restore from the new stack frame.
9253         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9254         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9255
9256         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9257         (SINGLE_THREAD_P): New parameter for result regno.
9258         (PSEUDO): Update to match; use cbz instead of beq.
9259
9260         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9261         Use ENTRY to define the _nocancel entry point.  Share the syscall
9262         and syscall error check paths with the cancel path.
9263         (PSEUDO_END): New.
9264
9265         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9266         whitespace; tabs before and after asm mnemonics.
9267
9268 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9269
9270         [BZ #15132]
9271         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9272         Call fstat64 or stat64 internally, depending on arguments passed.
9273         Replace stat buffer argument with file descriptor argument.
9274         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9275         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9276         Pass fd to __internal_statvfs instead of calling fstat64.
9277         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9278         Pass fd to __internal_statvfs64 instead of calling fstat64.
9279         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9280         Pass -1 to __internal_statvfs instead of calling stat64.
9281         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9282         Pass -1 to __internal_statvfs64 instead of calling stat64.
9283
9284 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9285
9286         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9287         that was previously under [RESET_PID].
9288         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9289
9290         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9291         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9292
9293 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9294
9295         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9296
9297         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9298         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9299
9300 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9301
9302         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9303
9304 2014-05-27  Andreas Schwab  <schwab@suse.de>
9305
9306         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9307         TLS_INIT_TP macro.
9308         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9309         * elf/rtld.c (init_tls, dl_main): Likewise.
9310         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9311         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9312         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9313         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9314         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9315         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9316         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9317         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9318         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9319         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9320         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9321         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9322         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9323         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9324         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9325         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9326         * sysdeps/generic/tls.h: Update description.
9327
9328 2014-05-27  Will Newton  <will.newton@linaro.org>
9329
9330         [BZ #16990]
9331         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9332         and restore r2 rather than just restoring.
9333
9334 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9335
9336         [BZ #16724]
9337         * libio/tst-ftell-append.c: New test case.
9338         * libio/Makefile (tests): Add test case.
9339         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9340         append mode.
9341         * libio/wfileops.c (do_ftell_wide): Likewise.
9342
9343 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9344
9345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9346
9347         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9348         ...
9349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9351         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9352         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9353         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9354         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9355         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9356         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9357         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9358         Moved ...
9359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9360         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9361         Moved ...
9362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9363         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9364         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9365         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9366         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9367         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9368         ...
9369         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9370         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9371         Moved ...
9372         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9373         here.
9374         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9375         ...
9376         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9377         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9378         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9379
9380         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9381         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9382         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9383         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9384
9385         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9386         merge into ...
9387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9389         ...
9390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9391         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9392         ...
9393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9394         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9395         Moved ...
9396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9397         here.
9398         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9399         Moved ...
9400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9402         Moved ...
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9404
9405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9406         conditional [RESET_PID].
9407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9409         removed.
9410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9411         removed.
9412
9413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9414         <tcb-offsets.h>.
9415         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9416         (__libc_vfork): New strong alias.
9417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9418         removed.
9419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9420         Removed.
9421
9422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9423         <tcb-offsets.h>.
9424         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9425         (__libc_vfork): New strong alias.
9426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9427         removed.
9428         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9429         removed.
9430
9431 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9432
9433         * malloc/malloc.c (mi_arena): New function.
9434         (malloc_info): Remove nested function mi_arena. Call non-nosted
9435         function mi_arena.
9436
9437 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9438
9439         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9440         by insrwi.
9441         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9442         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9443         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9444         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9445         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9446         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9447         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9448
9449 2014-05-26  Andreas Schwab  <schwab@suse.de>
9450
9451         [BZ #16984]
9452         * locale/programs/repertoire.c (repertoire_read): Add slash
9453         between I18NPATH element and file name.
9454         * locale/programs/locfile.c (locfile_read): Likewise.
9455
9456 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9457
9458         * nptl/pthread_mutexattr_settype.c
9459         (__pthread_mutexattr_settype):
9460         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9461
9462 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9463
9464         * nptl/tst-mutex5 (do_test):
9465         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9466
9467 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9468
9469         * benchtests/README: Document 'init' directive.
9470         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9471         BENCH_INIT.
9472         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9473         (parse_file): Recognize 'init' directive.
9474
9475 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9476
9477         [BZ #16796]
9478         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9479         alignment of struct pthread.
9480
9481 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9482
9483         [BZ #16878]
9484         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9485         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9486         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9487         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9488
9489 2014-05-25  Richard Henderson  <rth@twiddle.net>
9490
9491         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9492         (SINGLE_THREAD_P_PIC): Remove.
9493         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9494         (SINGLE_THREAD_P_PIC): Remove.
9495
9496         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9497         branch to syscall error ...
9498         (PSEUDO): ... here.
9499         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9500         from __local_syscall_error to .Lsyscall_error.
9501         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9502         (SYSCALL_ERROR): Update label name.
9503
9504         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9505         Do not use DOARGS/UNDOARGS.
9506         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9507         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9508         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9509         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9510         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9511
9512         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9513         block comment.
9514
9515         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9516         define if !NOT_IN_libc.
9517         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9518         define with non-default symbol versions.
9519
9520 2014-05-23  Richard Henderson  <rth@twiddle.net>
9521
9522         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9523         (vfork, __vfork): Define via compat_symbol.
9524
9525         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9526         [!HAVE_IFUNC] (vfork_compat): Remove.
9527         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9528
9529 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9530
9531         [BZ #16978]
9532         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9533         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9534         variable.
9535
9536 2014-05-23  Richard Henderson  <rth@twiddle.net>
9537
9538         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9539         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9540         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9541         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9542
9543         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9544         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9545         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9546         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9547         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9548         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9549         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9550         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9551         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9552         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9553         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9554         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9555         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9556         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9557         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9558         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9559         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9560         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9561         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9562         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9563         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9564         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9565         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9566         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9567         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9568         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9569         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9570         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9571         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9572         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9573         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9574         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9575         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9576         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9577         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9578         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9579         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9580         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9581         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9582         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9583         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9584         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9585         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9586         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9587         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9588         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9589         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9590         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9591         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9592         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9593         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9594         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9595         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9596         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9597         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9598         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9599
9600         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9601         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9602         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9603         before exiting on error.
9604         (__libc_vfork): New strong alias.
9605         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9606         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9607
9608         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9609         that was previously under [RESET_PID].
9610         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9611
9612         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9613
9614 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9615
9616         [BZ #16977]
9617         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9618         value when x - 1 is zero.
9619         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9620         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9621         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9622         0.0L for an argument of 1.0L.
9623         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9624         Likewise.
9625         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9626         value when x - 1 is zero.
9627         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9628         * sysdeps/i386/fpu/libm-test-ulps: Update.
9629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9630
9631 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9632
9633         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9634         alphasort and versionsort.
9635
9636 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9637
9638         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9639         macro.
9640         [copysignf]: Likewise.
9641
9642 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9643
9644         * crypt/md5-crypt.c: Fix formatting.
9645
9646 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9647
9648         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9649         (b64_from_24bit): New function.
9650
9651 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9652
9653         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9654         libc_hidden_builtin_def to ifunc.
9655         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9656         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9657
9658 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9659
9660         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9661         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9662
9663 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9664
9665         * nscd/Depend (linuxthreads): Remove.
9666         (nptl): Add.
9667         * resolv/Depend (linuxthreads): Remove.
9668         * rt/Depend (linuxthreads): Remove.
9669
9670         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9671         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9672         $(common-objpfx)elf/.
9673         (link-libc-before-gnulib): Likewise.
9674         (elfobjdir): Remove variable.
9675         * Makefile (install): Use $(elf-objpfx) instead of
9676         $(common-objpfx)elf/.
9677         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9678         $(elfobjdir)/.
9679         (link-libc-deps): Likewise.
9680         ($(common-objpfx)libc.so): Likewise.
9681         ($(common-objpfx)linkobj/libc.so): Likewise.
9682         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9683         instead of $(common-objpfx)elf/.
9684         (symbolic-link-list): Likewise.
9685         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9686         [$(cross-compiling) = no]: Likewise.
9687         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9688         $(elfobjdir)/.
9689         (static-gnulib-arch): Likewise.
9690         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9691         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9692         $(common-objpfx)elf/.
9693
9694 2014-05-21  Richard Henderson  <rth@redhat.com>
9695
9696         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9697         (SINGLE_THREAD_P): Use the correct width load.  Fold
9698         into the ldr offset.
9699
9700         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9701         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9702
9703 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9704
9705         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9706         (libgcc_s_resume): Use __attribute_used__.
9707         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9708         Likewise.
9709
9710 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9711
9712         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9713         optimization when used with float constants.
9714
9715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9716
9717 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9718
9719         [BZ #16915]
9720         * locale/nl_langinfo_l.c: Make direct reference to every
9721         _nl_current_CATEGORY symbol.
9722         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9723         (tests-static): Add tst-langinfo-static.
9724         (tests-special): Add tst-langinfo-static.out.
9725         ($(objpfx)tst-langinfo.out): Redirect output.
9726         ($(objpfx)tst-langinfo-static.out): New.
9727         * localedata/tst-langinfo.sh: Send output to stdout.
9728         * localedata/tst-langinfo-static.c: New file.
9729
9730         [BZ #16965]
9731         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9732         when the shift amount is modulo the limb size.
9733
9734 2014-05-20  Richard Henderson  <rth@redhat.com>
9735
9736         [BZ #16967]
9737         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9738         Change type of sa_flags from unsigned int to int.
9739
9740         [BZ #16966]
9741         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9742
9743         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9744
9745 2014-05-20  Will Newton  <will.newton@linaro.org>
9746
9747         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9748         Test the return value of the system call in the nocancel case.
9749
9750 2014-05-20  Will Newton  <will.newton@linaro.org>
9751             Yvan Roux  <yvan.roux@linaro.org>
9752
9753         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9754         #include of asm/ptrace.h.
9755         (PTRACE_GET_THREAD_AREA): Remove #undef.
9756         (PTRACE_GETHBPREGS): Likewise.
9757         (PTRACE_SETHBPREGS): Likewise.
9758         (struct user_regs_struct): New structure.
9759         (struct user_fpsimd_struct): New structure.
9760         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9761         #include of asm/ptrace.h and second #include of sys/user.h.
9762         (PTRACE_GET_THREAD_AREA): Remove #undef.
9763         (PTRACE_GETHBPREGS): Likewise.
9764         (PTRACE_SETHBPREGS): Likewise.
9765         (ELF_NGREG): Use new struct user_regs_struct.
9766         (elf_fpregset_t): Use new struct user_fpsimd_struct.
9767
9768 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9769
9770         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9771         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9772
9773 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9774
9775         [BZ #16958]
9776         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9777         membar to avoid block loads/stores to overlap previous stores.
9778
9779 2014-05-17  Richard Henderson  <rth@redhat.com>
9780
9781         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9782         Create the __##syscall_name##_nocancel entry point.
9783         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9784         Remove; let the sysdep-cancel.h code create it.
9785
9786 2014-05-17  David S. Miller  <davem@davemloft.net>
9787
9788         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9789         Protect with __USE_GNU.
9790         (TIOCSET_TEMPT): Likewise.
9791         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9792         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9793         these are already provided in bits/ioctl-types.h
9794
9795 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9796
9797         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9798         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9799
9800         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9801         Use wait4 regardless of [__NR_waitpid].
9802
9803 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9804
9805         PR libgcc/60166
9806         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9807         (_FP_NANSIGN_Q): Set the quiet bit.
9808
9809 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
9810
9811         * benchtests/Makefile
9812         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9813         not $(common-objpfx)math/libm.so.
9814         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9815         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9816         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9817         $(common-objpfx)dlfcn/libdl.so.
9818         ($(objpfx)tst-audit8): Depend on $(libm), not
9819         $(common-objpfx)math/libm.so.
9820         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9821         not $(common-objpfx)dlfcn/libdl.so.
9822         * math/Makefile
9823         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9824         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
9825         [$(build-shared) = yes].
9826         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9827         $(common-objpfx)nptl/libpthread.so.
9828         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9829         $(common-objpfx)math/libm.so$(libm.so-version) or
9830         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9831         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9832         $(common-objpfx)dlfcn/libdl.so.
9833         * setjmp/Makefile (link-libm): Remove variable.
9834         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9835         * stdio-common/Makefile (link-libm): Remove variable.
9836         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9837         * stdlib/Makefile (link-libm): Remove variable.
9838         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9839         ($(objpfx)tst-strtod-round): Likewise.
9840         ($(objpfx)tst-tininess): Likewise.
9841         ($(objpfx)tst-strtod-underflow): Likewise.
9842         ($(objpfx)tst-strtod6): Likewise.
9843         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9844         $(libdl), not $(common-objpfx)nptl/libpthread.so and
9845         $(common-objpfx)dlfcn/libdl.so.
9846
9847 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9848
9849         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9850         BSD terminal modes definitions.
9851
9852 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9853
9854         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9855         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9856
9857         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9858         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9859         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9860         Don't do #include_next.
9861         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9862         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9863         Don't do #include_next.
9864         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9865         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9866         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9867         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9868
9869 2014-05-16  Allan McRae  <allan@archlinux.org>
9870
9871         * po/sv.po: Update Swedish translation from translation project.
9872
9873         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9874         in sed expression.
9875
9876 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
9877
9878         [BZ #16917]
9879         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9880         errno if the TIOCGPTN ioctl fails with an error different than
9881         EINVAL.
9882         * login/tst-ptsname.c: New file.
9883         * login/Makefile (tests): Add tst-ptsname.
9884
9885         [BZ #16943]
9886         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9887         and prlimit64.
9888
9889 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9890
9891         [BZ #16849]
9892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9893         herrno to return EAI_AGAIN.
9894
9895 2014-05-14  Roland McGrath  <roland@hack.frob.com>
9896
9897         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9898         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9899         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9900         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9901         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9902         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9903         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9904         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9905         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9906         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9907         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9908         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9909         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9910         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9911         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9912         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9913         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9914         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9915         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9916         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9917         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9918         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9919         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9920         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9921         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9922         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9923         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9924         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9925         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9926         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9928         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9930         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9932         Moved ...
9933         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9935         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9937         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9939         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9941         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9943         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9945         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9947         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9949         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9951         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9953         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9955         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9957         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9959         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9961         Moved ...
9962         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9964         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9966         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9968         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9970         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9972         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9974         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9976         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9978         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9980         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9982         Moved ...
9983         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9985         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9986
9987         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9988         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9989         (libpthread-sysdep_routines): Add elision-related stuff here instead.
9990         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9991         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9992         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9993         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9994         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9995         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9996         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9997         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9998         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9999         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10000         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10001         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10002         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10003         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10004         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10005         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10006         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10007         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10008         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10009         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10010         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10011         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10012         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10013         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10014         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10015         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10016         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10017         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10018
10019         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10020         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10021
10022         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10023         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10024         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10025         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10026         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10027         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10028         Moved ...
10029         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10030         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10031         Moved ...
10032         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10033         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10034         Moved ...
10035         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10036         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10037         Moved ...
10038         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10039         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10040         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10041         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10042         Moved ...
10043         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10044         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10045         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10046         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10047         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10048         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10049         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10050         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10051         Moved ...
10052         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10053         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10054         Moved ...
10055         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10056         ... here.
10057         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10058         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10059         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10060         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10061         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10062         Moved ...
10063         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10064         ... here.
10065         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10066         Moved ...
10067         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10068         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10069         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10070         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10071         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10072         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10073         Moved ...
10074         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10075         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10076         Moved ...
10077         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10078         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10079         Moved ...
10080         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10081         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10082         Moved ...
10083         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10084         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10085         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10086         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10087         Moved ...
10088         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10089         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10090         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10091         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10092         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10093         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10094         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10095         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10096         Moved ...
10097         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10098         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10099         Moved ...
10100         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10101         ... here.
10102         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10103         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10104         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10105         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10106         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10107         Moved ...
10108         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10109         ... here.
10110         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10111         Moved ...
10112         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10113         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10114         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10115         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10116         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10117         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10118         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10119         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10120         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10121         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10122         Moved ...
10123         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10124         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10125         Moved ...
10126         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10127         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10128         Moved ...
10129         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10130         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10131         Moved ...
10132         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10133         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10134         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10135         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10136         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10137         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10138         Moved ...
10139         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10140         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10141         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10142         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10143         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10144         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10145         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10146         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10147         Moved ...
10148         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10149         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10150         Moved ...
10151         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10152         ... here.
10153         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10154         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10155         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10156         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10157         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10158         Moved ...
10159         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10160         ... here.
10161         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10162         Moved ...
10163         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10164         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10165         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10166         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10167         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10168         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10169         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10170         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10171         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10172         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10173         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10174
10175         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10176         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10177
10178         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10179         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10180
10181         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10182         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10183         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10184         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10185         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10186         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10187         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10188         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10189         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10190         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10191         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10192         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10193         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10194         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10195         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10196         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10197         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10198         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10199         Moved ...
10200         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10201         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10202         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10203         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10204         Moved ...
10205         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10206         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10207         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10208         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10209         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10210         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10211         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10212         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10213         Moved ...
10214         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10215         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10216         Moved ...
10217         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10218         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10219         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10220         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10221         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10222         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10223         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10224         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10225         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10226         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10227         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10228         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10229         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10230         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10231         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10232         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10233         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10234
10235         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10236         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10237         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10238         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10239         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10240
10241         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10242         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10243         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10244         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10245         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10246         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10247         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10248         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10249         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10250         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10251
10252         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10253         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10254
10255         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10256         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10257         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10258         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10259         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10260         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10261         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10262         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10263         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10264         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10265         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10266         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10267         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10268         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10270         Update #include.
10271         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10272         Likewise.
10273         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10274         Likewise.
10275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10276         Likewise.
10277         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10278         Likewise.
10279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10280         Likewise.
10281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10282         Likewise.
10283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10284         Likewise.
10285         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10286         Likewise.
10287         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10288         Likewise.
10289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10290         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10291         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10292         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10293         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10294         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10295         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10296         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10297         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10298         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10299         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10300         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10301         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10302         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10303         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10304
10305         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10306         that was previously under [RESET_PID].
10307         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10308         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10309         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10310
10311         * sysdeps/i386/nptl/Implies: New file.
10312         * sysdeps/x86_64/nptl/Implies: New file.
10313         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10314         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10315         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10316         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10317
10318         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10319         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10320         (__libc_vfork): New strong alias.
10321         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10322         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10323
10324         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10325         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10326         (__libc_vfork): New strong alias.
10327         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10328         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10329
10330         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10331         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10332         (__libc_vfork): New strong alias.
10333         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10334         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10335         * nptl/pt-vfork.c: New file.
10336         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10337         (libpthread: GLIBC_2.20): New version set (empty).
10338
10339 2014-05-14  Will Newton  <will.newton@linaro.org>
10340
10341         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10342         rather than #if.
10343
10344 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10345
10346         [BZ #16564]
10347         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10348         arguments with exponent 65 or above.
10349         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10350         arguments 0x1p113L or above.
10351         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10352         to arguments 0x1p107L or above.
10353         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10354         positive arguments with exponent 65 or above.
10355         * math/auto-libm-test-in: Add more tests of log1p.
10356         * math/auto-libm-test-out: Regenerated.
10357
10358         [BZ #16928]
10359         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10360         non-finite arguments is +0.
10361         * math/s_cacosf.c (__cacosf): Likewise.
10362         * math/s_cacosl.c (__cacosl): Likewise.
10363         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10364         * sysdeps/i386/fpu/libm-test-ulps: Update.
10365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10366
10367         [BZ #16927]
10368         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10369         value.
10370         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10371         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10372         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10373         for explicit high bit of mantissa when testing for argument equal
10374         to 1.
10375         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10376         * sysdeps/i386/fpu/libm-test-ulps: Update.
10377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10378
10379         [BZ #16516]
10380         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10381         (__erf): Scale by 16 instead of 8 in potentially underflowing
10382         case.  Ensure exception if result actually underflows.
10383         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10384         (__erff): Scale by 16 instead of 8 in potentially underflowing
10385         case.  Ensure exception if result actually underflows.
10386         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10387         (efx8): Remove variable.
10388         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10389         case.  Ensure exception if result actually underflows.
10390         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10391         (efx8): Remove variable.
10392         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10393         case.  Ensure exception if result actually underflows.
10394         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10395         (efx8): Remove variable.
10396         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10397         case.  Ensure exception if result actually underflows.
10398         * math/auto-libm-test-in: Add more tests of erf.
10399         * math/auto-libm-test-out: Regenerated.
10400
10401 2014-05-14  Andreas Schwab  <schwab@suse.de>
10402
10403         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10404         Remove code conditionalized on USE___THREAD.
10405
10406         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10407         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10408         not definedness.
10409
10410 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10411
10412         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10413         Define unconditionally.
10414         (__ASSUME_O_CLOEXEC): Likewise.
10415         (__ASSUME_SOCK_CLOEXEC): Likewise.
10416         (__ASSUME_IN_NONBLOCK): Likewise.
10417         (__ASSUME_PIPE2): Likewise.
10418         (__ASSUME_EVENTFD2): Likewise.
10419         (__ASSUME_SIGNALFD4): Likewise.
10420         (__ASSUME_DUP3): Likewise.
10421         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10422         (__ASSUME_DUP3): Do not define.
10423         (__ASSUME_EVENTFD2): Likewise.
10424         (__ASSUME_IN_NONBLOCK): Likewise.
10425         (__ASSUME_O_CLOEXEC): Likewise.
10426         (__ASSUME_PIPE2): Likewise.
10427         (__ASSUME_SIGNALFD4): Likewise.
10428         (__ASSUME_SOCK_CLOEXEC): Likewise.
10429         (__ASSUME_UTIMES): Undefine.
10430         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10431         (__ASSUME_UTIMES): Do not define.
10432         (__ASSUME_O_CLOEXEC): Likewise.
10433         (__ASSUME_SOCK_CLOEXEC): Likewise.
10434         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10435         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10436         0x020621].
10437         (__ASSUME_PIPE2): Likewise.
10438         (__ASSUME_EVENTFD2): Likewise.
10439         (__ASSUME_SIGNALFD4): Likewise.
10440         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10441         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10442         Do not define.
10443         (__ASSUME_EVENTFD2): Likewise.
10444         (__ASSUME_SIGNALFD4): Likewise.
10445         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10446         (__ASSUME_32BITUIDS): Likewise.
10447         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10448         (__ASSUME_IPC64): Likewise.
10449         (__ASSUME_ST_INO_64_BIT): Likewise.
10450         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10451         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10452         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10453         (__ASSUME_UTIMES): Do not define.
10454         (__ASSUME_PSELECT): Likewise.
10455         (__ASSUME_PPOLL): Likewise.
10456         (__ASSUME_O_CLOEXEC): Likewise.
10457         (__ASSUME_SOCK_CLOEXEC): Likewise.
10458         (__ASSUME_IN_NONBLOCK): Likewise.
10459         (__ASSUME_PIPE2): Likewise.
10460         (__ASSUME_EVENTFD2): Likewise.
10461         (__ASSUME_SIGNALFD4): Likewise.
10462         (__ASSUME_DUP3): Likewise.
10463         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10464         (__ASSUME_UTIMES): Likewise.
10465         (__ASSUME_O_CLOEXEC): Likewise.
10466         (__ASSUME_SOCK_CLOEXEC): Likewise.
10467         (__ASSUME_IN_NONBLOCK): Likewise.
10468         (__ASSUME_PIPE2): Likewise.
10469         (__ASSUME_EVENTFD2): Likewise.
10470         (__ASSUME_SIGNALFD4): Likewise.
10471         (__ASSUME_DUP3): Likewise.
10472         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10473         (__ASSUME_UTIMES): Likewise.
10474         (__ASSUME_O_CLOEXEC): Likewise.
10475         (__ASSUME_SOCK_CLOEXEC): Likewise.
10476         (__ASSUME_IN_NONBLOCK): Likewise.
10477         (__ASSUME_PIPE2): Likewise.
10478         (__ASSUME_EVENTFD2): Likewise.
10479         (__ASSUME_SIGNALFD4): Likewise.
10480         (__ASSUME_DUP3): Likewise.
10481         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10482         Likewise.
10483         (__ASSUME_UTIMES): Likewise.
10484         (__ASSUME_EVENTFD2): Likewise.
10485         (__ASSUME_SIGNALFD4): Likewise.
10486         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10487         (__ASSUME_O_CLOEXEC): Likewise.
10488         (__ASSUME_SOCK_CLOEXEC): Likewise.
10489         (__ASSUME_IN_NONBLOCK): Likewise.
10490         (__ASSUME_PIPE2): Likewise.
10491         (__ASSUME_EVENTFD2): Likewise.
10492         (__ASSUME_SIGNALFD4): Likewise.
10493         (__ASSUME_DUP3): Likewise.
10494         (__ASSUME_UTIMES): Undefine.
10495
10496         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10497         feclearexcept.  Remove symbol versioning code.
10498         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10499         symbol versioning code.
10500         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10501         symbol versioning code.
10502         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10503         feupdateenv.  Remove symbol versioning code.
10504         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10505         fegetexceptflag.  Remove symbol versioning code.
10506         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10507         fesetexceptflag.  Remove symbol versioning code.
10508         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10509         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10510         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10511         (__posix_fadvise64_l32): Remove prototype.
10512         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10513         code.
10514
10515 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10516
10517         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10518         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10519         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10520         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10521
10522 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10523
10524         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10525         current working directory
10526
10527 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10528
10529         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10530         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10531         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10532         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10533         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10534         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10535         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10536         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10537         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10538         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10539         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10540         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10541         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10542         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10543         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10544         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10545         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10546         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10547         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10548         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10549         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10550         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10551         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10552         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10553         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10554         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10555         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10556         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10557         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10558         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10559         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10560         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10561         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10562         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10563         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10564         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10565         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10566         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10567         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10568         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10569         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10570         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10571
10572         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10573         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10574
10575         * sysdeps/unix/sysv/linux/arm/Makefile
10576         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10577         Add rt-aeabi_unwind_cpp_pr1.
10578         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10579         Add nptl-aeabi_unwind_cpp_pr1.
10580         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10581         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10582         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10583         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10584         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10585         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10586
10587         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10588         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10589         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10590         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10591
10592         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10593         Deconditionalize the code that was previously under [RESET_PID].
10594         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10595
10596         * sysdeps/generic/exit-thread.h: New file.
10597         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10598         * include/unistd.h (__exit_thread): Remove declaration.
10599         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10600         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10601         * csu/libc-start.c: Include <exit-thread.h>.
10602         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10603         * nptl/pthread_create.c: Include <exit-thread.h>.
10604         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10605         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10606         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10607         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10608         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10609         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10610         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10611         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10612         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10613         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10614         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10615         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10616         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10617         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10618         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10619         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10620         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10621
10622 2014-05-13  Andreas Schwab  <schwab@suse.de>
10623
10624         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10625
10626 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10627
10628         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10629         (__ASSUME_UTIMES): Do not condition on kernel version.
10630         (__ASSUME_PSELECT): Define unconditionally.
10631         (__ASSUME_PPOLL): Likewise.
10632         (__ASSUME_ATFCTS): Likewise.
10633         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10634         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10635         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10636         (__ASSUME_UTIMENSAT): Define unconditionally.
10637         (__ASSUME_PRIVATE_FUTEX): Likewise.
10638         (__ASSUME_FALLOCATE): Likewise.
10639         (__ASSUME_O_CLOEXEC): Likewise.
10640         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10641         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10642         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10643         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10644         (__ASSUME_IN_NONBLOCK): Likewise.
10645         (__ASSUME_PIPE2): Likewise.
10646         (__ASSUME_EVENTFD2): Likewise.
10647         (__ASSUME_SIGNALFD4): Likewise.
10648         (__ASSUME_DUP3): Likewise.
10649         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10650         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10651         (__ASSUME_AT_RANDOM): Likewise.
10652         (__ASSUME_PREADV): Likewise.
10653         (__ASSUME_PWRITEV): Likewise.
10654         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10655         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10656         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10657         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10658         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10659         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10660         (__ASSUME_O_CLOEXEC): Define unconditionally.
10661         (__ASSUME_PSELECT): Do not undefine conditionally.
10662         (__ASSUME_PPOLL): Likewise.
10663         (__ASSUME_ATFCTS): Likewise.
10664         (__ASSUME_SET_ROBUST_LIST): Likewise.
10665         (__ASSUME_UTIMENSAT): Likewise.
10666         (__ASSUME_FDATASYNC): Define unconditionally.
10667         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10668         (__ASSUME_SIGFRAME_V2): Likewise.
10669         )__ASSUME_EVENTFD2): Likewise.
10670         (__ASSUME_SIGNALFD4): Likewise.
10671         (__ASSUME_PSELECT): Do not undefine conditionally.
10672         (__ASSUME_PPOLL): Likewise.
10673         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10674         (__ASSUME_PSELECT): Define unconditionally.
10675         (__ASSUME_PPOLL): Likewise.
10676         (__ASSUME_O_CLOEXEC): Likewise.
10677         (__ASSUME_SOCK_CLOEXEC): Likewise.
10678         (__ASSUME_IN_NONBLOCK): Likewise.
10679         (__ASSUME_PIPE2): Likewise.
10680         (__ASSUME_EVENTFD2): Likewise.
10681         (__ASSUME_SIGNALFD4): Likewise.
10682         (__ASSUME_DUP3): Likewise.
10683         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10684         (__ASSUME_O_CLOEXEC): Likewise.
10685         (__ASSUME_SOCK_CLOEXEC): Likewise.
10686         (__ASSUME_IN_NONBLOCK): Likewise.
10687         (__ASSUME_PIPE2): Likewise.
10688         (__ASSUME_EVENTFD2): Likewise.
10689         (__ASSUME_SIGNALFD4): Likewise.
10690         (__ASSUME_DUP3): Likewise.
10691         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10692         (__ASSUME_EVENTFD2): Likewise.
10693         (__ASSUME_SIGNALFD4): Likewise.
10694         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10695
10696 2014-05-12  Andreas Schwab  <schwab@suse.de>
10697
10698         [BZ #16932]
10699         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10700         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10701         than maximum RPC packet size.
10702         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10703         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10704         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10705         (_nss_nis_getservbyport_r): Likewise.
10706
10707 2014-05-12  Will Newton  <will.newton@linaro.org>
10708
10709         * malloc/Makefile (tests): Add tst-mallopt.
10710         * malloc/tst-mallopt.c: New file.
10711
10712 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10713
10714         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10715         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10716
10717 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10718
10719         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10720         (tst-tlsmod6.so): Likewise.
10721
10722 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10723
10724         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10725
10726 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10727
10728         [BZ #16064]
10729         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10730         and <dl-procinfo.h>.
10731         (__fegetenv): Save SSE state in envp->__eip if supported.
10732         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10733         envp->__eip if supported.
10734         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10735         and <dl-procinfo.h>.
10736         (__fesetenv): Always set __eip, __cs_selector, __opcode,
10737         __data_offset and __data_selector in environment to 0.  Set SSE
10738         state if supported.
10739         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10740         test-fenv-sse.
10741         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10742         -mfpmath=sse.
10743         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10744
10745 2014-05-09  Will Newton  <will.newton@linaro.org>
10746
10747         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10748         and libc_relro_required for ARM.
10749         * sysdeps/arm/preconfigure: Regenerate.
10750
10751 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
10752             Stefan Liebler  <stli@linux.vnet.ibm.com>
10753
10754         * config.make.in (enable-lock-elision): New Makefile variable.
10755         * configure.ac: Likewise.
10756         * configure: Regenerate.
10757         * sysdeps/s390/configure.ac:
10758         Add check for gcc transactions support.
10759         * sysdeps/s390/configure: Regenerate.
10760         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10761         Build elision files if enabled.
10762         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10763         Add lock elision support for s390.
10764         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10765         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10766         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10767         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10768         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10769         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10770         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10771         Likewise.
10772         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10773         Likewise.
10774         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10775         Likewise.
10776         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10777         Likewise.
10778         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10779         (__lll_timedlock_elision, __lll_lock_elision)
10780         (__lll_unlock_elision, __lll_trylock_elision)
10781         (lll_timedlock_elision, lll_lock_elision)
10782         (lll_unlock_elision, lll_trylock_elision): Add.
10783         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10784         (pthread_mutex_t): Add lock elision support for s390.
10785
10786 2014-05-14  Wilco  <wdijkstr@arm.com>
10787
10788         * sysdeps/arm/fclrexcpt.c: Cleanup.
10789         * sysdeps/arm/fedisblxcpt.c: Cleanup.
10790         * sysdeps/arm/feenablxcpt.c: Cleanup.
10791         * sysdeps/arm/fegetenv.c: Cleanup.
10792         * sysdeps/arm/fegetexcept.c: Cleanup.
10793         * sysdeps/arm/fegetround.c: Cleanup.
10794         * sysdeps/arm/feholdexcpt.c: Cleanup.
10795         * sysdeps/arm/fesetenv.c: Cleanup.
10796         * sysdeps/arm/fesetround.c: Cleanup.
10797         * sysdeps/arm/feupdateenv.c: Cleanup.
10798         * sysdeps/arm/fgetexcptflg.c: Cleanup.
10799         * sysdeps/arm/fraiseexcpt.c: Cleanup.
10800         * sysdeps/arm/fsetexcptflg.c: Cleanup.
10801         * sysdeps/arm/ftestexcept.c: Cleanup.
10802         * sysdeps/arm/get-rounding-mode.h: Cleanup.
10803         * sysdeps/arm/setfpucw.c: Cleanup.
10804
10805 2014-05-09  Will Newton  <will.newton@linaro.org>
10806
10807         * sysdeps/arm/armv7/strcmp.S: New file.
10808         * NEWS: Mention addition of ARMv7 optimized strcmp.
10809
10810 2014-05-08  Roland McGrath  <roland@hack.frob.com>
10811
10812         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10813         look for %.ac rather than %.in.
10814
10815         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10816         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10817         * sysdeps/mach/hurd/configure: Regenerated.
10818         * sysdeps/unix/sysv/linux/configure: Regenerated.
10819
10820         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10821
10822 2014-05-07  Steve Ellcey  <sellcey@mips.com>
10823
10824         [BZ# 16922]
10825         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10826         (LONG_SUB): Ditto.
10827         (PTR_SUB): Ditto.
10828
10829 2014-05-07  Andreas Schwab  <schwab@suse.de>
10830
10831         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10832         when skipping over non-matching result from nscd.
10833
10834 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
10835
10836         [BZ #16876]
10837         * nptl/sockperf.c (client): Check socket return value.
10838
10839         [BZ #16877]
10840         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10841         nscd security class.
10842
10843 2014-05-06  Roland McGrath  <roland@hack.frob.com>
10844
10845         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10846         * sysdeps/arm/unwind.h: ... here.
10847
10848 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
10849
10850         [BZ# 16916]
10851         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10852         Define.
10853
10854 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10855
10856         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10857         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10858         multiarch strncpy for PPC64.
10859         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10860         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10862         multiarch optimizations.
10863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10864         (__libc_ifunc_impl_list): Likewise.
10865         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10866         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10867         multiarch stpncpy for PPC64.
10868         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10869         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10870
10871 2014-05-06  Andreas Schwab  <schwab@suse.de>
10872
10873         [BZ #16912]
10874         * gmon/mcount.c (_MCOUNT_DECL): Use
10875         atomic_compare_and_exchange_bool_acq instead of
10876         catomic_compare_and_exchange_bool_acq.
10877
10878 2014-05-05  Roland McGrath  <roland@hack.frob.com>
10879
10880         * elf/Makefile (others, install-bin): Remove pldd.
10881         (pldd-modules): Variable removed.
10882         ($(objpfx)pldd): Target removed.
10883         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10884         (others, install-bin): Append pldd here.
10885         ($(objpfx)pldd): New target.
10886
10887         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10888         to 0, so the first #if test emitted later doesn't see it undefined.
10889         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10890         * sysdeps/gnu/errlist.c: Regenerated.
10891
10892 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10893
10894         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10895         [libc_hidden_builtin_def]: Define to empty value.
10896         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10897         [libc_hidden_builtin_def]: Likewise.
10898         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10899         [libc_hidden_builtin_def]: Likewise.
10900         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10901         [libc_hidden_builtin_def]: Likewise.
10902         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10903         __redirect_memcpy and define ifunc as default hidden symbol.
10904         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10905         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10906
10907 2014-05-04  Adam Conrad  <adconrad@0c3.net>
10908
10909         * locale/iso-4217.def: Reintroduce XDR currency.
10910
10911 2014-05-04  Allan McRae  <allan@archlinux.org>
10912
10913         * po/eo.po: Update Esperanto translation from translation project.
10914
10915 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
10916
10917         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10918         and FEATURE_INDEX_MAX to 1.
10919         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10920
10921 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10922
10923         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10924         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10925         * iconvdata/big5.c (ONE_DIRECTION): Define.
10926         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10927         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10928         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10929         * iconvdata/cp932.c (ONE_DIRECTION): Define.
10930         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10931         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10932         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10933         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10934         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10935         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10936         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10937         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10938         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10939         * iconvdata/gbk.c (ONE_DIRECTION): Define.
10940         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10941         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10942         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10943         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10944         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10945         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10946         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10947         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10948         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10949         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10950         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10951         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10952         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10953         * iconvdata/iso646.c (ONE_DIRECTION): Define.
10954         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10955         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10956         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10957         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10958         * iconvdata/johab.c (ONE_DIRECTION): Define.
10959         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10960         * iconvdata/sjis.c (ONE_DIRECTION): Define.
10961         * iconvdata/t.61.c (ONE_DIRECTION): Define.
10962         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10963         * iconvdata/tscii.c (ONE_DIRECTION): Define.
10964         * iconvdata/uhc.c (ONE_DIRECTION): Define.
10965         * iconvdata/unicode.c (ONE_DIRECTION): Define.
10966         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10967         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10968         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10969
10970 2014-05-01  Roland McGrath  <roland@hack.frob.com>
10971
10972         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10973         (_IO_JUMPS_OFFSET): Define to 0.
10974
10975         * nptl/sysdeps/pthread/bits/libc-lock.h
10976         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10977         (__libc_lock_define_initialized_recursive): Always define using
10978         initializer.  Modern compilers treat uninitialized (implicit zero) and
10979         explicit zero initializers the same (i.e. put the datum in bss).
10980
10981 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10982
10983         * nscd/nscd-client.h: Include <string.h>.
10984
10985 2014-05-01  David S. Miller  <davem@davemloft.net>
10986
10987         [BZ #16885]
10988         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10989         multiple zero bytes exist at the end of a string.
10990         Reported by Aurelien Jarno <aurelien@aurel32.net>
10991
10992         * string/test-strcmp.c (check): Add explicit test for situations where
10993         there are multiple zero bytes after the first.
10994
10995 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10996
10997         [BZ #16890]
10998         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10999         when compiling wprintf.
11000         * stdio-common/tstdiomisc.c (t3): New function.
11001         (main): Call it.
11002
11003 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11004
11005         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11006         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11007         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11008         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11009
11010 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11011
11012         * stdlib/longlong.h: Updated from GCC.
11013
11014 2014-05-01  Will Newton  <will.newton@linaro.org>
11015             Bernard Ogden  <bernie.ogden@linaro.org>
11016
11017         * NEWS: Update fixed bug list.
11018
11019         [BZ #15119]
11020         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11021
11022 2014-04-30  David S. Miller  <davem@davemloft.net>
11023
11024         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11025         (libc_feholdexcept_setround_sparc_ctx): New function.
11026         (libc_fesetenv_sparc_ctx): Likewise.
11027         (libc_feupdateenv_sparc_ctx): Likewise.
11028         (libc_feholdsetround_sparc_ctx): Likewise.
11029         (libc_feholdexcept_setround_ctx): Define.
11030         (libc_feholdexcept_setroundf_ctx): Likewise.
11031         (libc_feholdexcept_setroundl_ctx): Likewise.
11032         (libc_fesetenv_ctx): Likewise.
11033         (libc_fesetenvf_ctx): Likewise.
11034         (libc_fesetenvl_ctx): Likewise.
11035         (libc_feupdateenv_ctx): Likewise.
11036         (libc_feupdateenvf_ctx): Likewise.
11037         (libc_feupdateenvl_ctx): Likewise.
11038         (libc_feresetround_ctx): Likewise.
11039         (libc_feresetroundf_ctx): Likewise.
11040         (libc_feresetroundl_ctx): Likewise.
11041         (libc_feholdsetround_ctx): Likewise.
11042         (libc_feholdsetroundf_ctx): Likewise.
11043         (libc_feholdsetroundl_ctx): Likewise.
11044
11045         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11046         with __USE_GNU instead of XOPEN cpp guards.
11047
11048         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11049         0.
11050
11051         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11052         with XOPEN cpp guards.
11053
11054 2014-04-30  Julian Brown  <julian@codesourcery.com>
11055
11056         [BZ #16888]
11057         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11058         handling.
11059
11060 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11061
11062         [BZ #9894]
11063         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11064         Change to 2.6.32.
11065         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11066         * sysdeps/unix/sysv/linux/configure: Regenerated.
11067         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11068         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11069         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11070         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11071         * README: Update reference to required Linux kernel version.
11072         * manual/install.texi (Linux): Update reference to required Linux
11073         kernel headers version.
11074         * INSTALL: Regenerated.
11075
11076         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11077         header inclusion.
11078         [POSIX] (limits.h): Likewise.
11079         [POSIX] (math.h): Likewise.
11080         [POSIX] (sys/wait.h): Likewise.
11081         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11082         function.
11083         [POSIX] (stddef.h): Do not allow header inclusion.
11084
11085 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11086
11087         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11088
11089 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11090
11091         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11092         Return immediately after lll_futex_wake.
11093
11094 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11095
11096         [BZ #16791]
11097         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11098         structure.
11099         (datahead_init_pos): Call datahead_init_common early.
11100         (datahead_init_neg): Likewise.
11101
11102         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11103         datahead_init_neg): New functions.
11104         * nscd/aicache.c (addhstaiX): Use them.
11105         * nscd/grpcache.c (cache_addgr): Likewise.
11106         * nscd/hstcache.c (cache_addhst): Likewise.
11107         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11108         * nscd/netgroupcache.c (do_notfound): Likewise.
11109         (addgetnetgrentX): Likewise.
11110         (addinnetgrX): Likewise.
11111         * nscd/pwdcache.c (cache_addpw): Likewise.
11112         * nscd/servicescache.c (cache_addserv): Likewise.
11113
11114 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11115             Atsushi Onoe  <atsushi@onoe.org>
11116
11117         [BZ #14308]
11118         [BZ #12994]
11119         [BZ #13651]
11120         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11121         one response is valid.
11122         * resolv/res_send.c (send_dg): Check for validity of other
11123         response if the current response is a referral.
11124
11125 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11126
11127         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11128
11129 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11130
11131         [BZ #16823]
11132         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11133         Always divide by positive zero when computing -Inf result.
11134         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11135         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11136
11137 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11138
11139         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11140         FPSCR if value do not change.
11141         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11142         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11143         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11144         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11145         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11146         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11147         function.
11148
11149 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11150
11151         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11152         * sysdeps/unix/sysv/linux/hppa: Move directory from
11153         ports/systeps/unix/sysv/linux/hppa.
11154         * README: Update listing for hppa-*-linux-gnu.
11155
11156 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11157
11158         [BZ #16754]
11159         * manual/stdio.texi (Hook functions): Fix types of stream hook
11160         functions.
11161         [BZ #16854]
11162         * socket/sys/socket.h: Fix typo in comment.
11163
11164 2014-04-28  Wilco  <wdijkstr@arm.com>
11165
11166         * sysdeps/arm/fenv_private.h: New file.
11167         * sysdeps/arm/math_private.h: New file.
11168         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11169
11170 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11171
11172         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11173         with __int128_t.
11174         (La_x86_64_retval): Likewise.
11175
11176 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11177
11178         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11179         fpsr if value didn't change.
11180         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11181         to fpcr if value didn't change.
11182         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11183         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11184         fpsr or fpcr if value didn't change.
11185         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11186         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11187         fpcr if value didn't change.
11188         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11189         to fpsr if value didn't change.
11190
11191 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11192
11193         * nptl/tst-sem3.c: Use test-skeleton.c
11194         (main): Rename to do_test.  Use return instead of
11195         exit.
11196         * nptl/tst-sem4.c: Use test-skeleton.c
11197         (main): Rename to do_test.
11198
11199 2014-04-22  David S. Miller  <davem@davemloft.net>
11200
11201         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11202         (struct sigaction): New struct member __glibc_reserved0, change
11203         type of sa_flags to int.
11204
11205 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11206
11207         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11208         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11209
11210 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11211
11212         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11213         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11214
11215 2014-04-22  Will Newton  <will.newton@linaro.org>
11216             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11217
11218         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11219         (__longjmp): Add longjmp and longjmp_target SystemTap
11220         probes.
11221         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11222         (__sigsetjmp): Add setjmp SystemTap probe.
11223
11224 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11225
11226         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11227         match manual order.
11228
11229 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11230
11231         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11232
11233         * sysdeps/powerpc/fpu/fenv_private.h
11234         (libc_feholdexcept_setroundl_ctx): Define to
11235         libc_feholdexcept_setround_ppc_ctx.
11236         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11237         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11238         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11239         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11240
11241 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11242
11243         * sysdeps/aarch64/math-tests.h: New file.
11244
11245 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11246
11247         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11248         New.
11249         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11250         Check and set bit_AVX2_Usable.
11251         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11252         macro.
11253         (bit_AVX2): Likewise.
11254         (index_AVX2_Usable): Likewise.
11255         (CPUID_AVX2): Likewise.
11256         (HAS_AVX2): Likewise.
11257
11258 2014-04-17  Will Newton  <will.newton@linaro.org>
11259
11260         * manual/setjmp.texi (System V contexts): Add note that
11261         calling setcontext on a context created by a call to a
11262         signal handler is undefined.  Update text to note that
11263         setcontext from a signal handler is possible but not
11264         recommended.
11265
11266         [BZ #16629]
11267         * stdlib/tst-setcontext.c: Include signal.h.
11268         (main): Check that the signal stack before and
11269         after swapcontext is the same.
11270
11271         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11272         Re-implement to restore registers in user code and avoid
11273         rt_sigreturn system call.
11274
11275 2014-04-17  Wilco  <wdijkstr@arm.com>
11276
11277         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11278         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11279         * math/test-fenv.c: Skip exception trap tests on targets which only
11280         support non-stop mode.
11281
11282 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11283             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11284
11285         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11286         (libc_feholdsetround_aarch64_ctx)
11287         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11288         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11289         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11290         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11291         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11292         (libc_feresetround_noexl_ctx): Define.
11293
11294 2014-04-16  Richard Henderson  <rth@redhat.com>
11295
11296         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11297
11298         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11299         unwind tables.
11300
11301         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11302         const from the non-libc, non-ldso copy.
11303
11304         * sysdeps/alpha/libm-test-ulps: Regenerate.
11305
11306 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11307             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11308
11309         * sysdeps/aarch64/fpu/math_private.h: New file.
11310
11311 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11312
11313         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11314
11315 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11316
11317         [BZ #16275]
11318         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11319         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11320         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11321         Intel MPX bound registers before _dl_profile_fixup.
11322         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11323         registers after _dl_profile_fixup.  Save and restore bound
11324         registers bnd0/bnd1 when calling _dl_call_pltexit.
11325         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11326         (LR_BND_OFFSET): Likewise.
11327         (LRV_BND0_OFFSET): Likewise.
11328         (LRV_BND1_OFFSET): Likewise.
11329
11330 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11331
11332         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11333         to...
11334         * sysdeps/mach/hurd/i386/tls.h: ... here.
11335         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11336         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11337         fields.
11338
11339 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11340
11341         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11342
11343 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11344
11345         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11346
11347 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11348
11349         [BZ #14770]
11350         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11351         * sysdeps/s390/configure: Regenerate.
11352
11353         [BZ #16824]
11354         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11355         Set round-to-nearest internally to reduce error accumulation.
11356
11357 2014-04-16  Alan Modra  <amodra@gmail.com>
11358
11359         [BZ #16740]
11360         [BZ #16619]
11361         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11362         * math/libm-test.inc (frexp_test_data): Add tests.
11363         * NEWS: Update fixed bug list.
11364
11365 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11366
11367         * benchtests/Makefile: Depend on libraries in build directory.
11368         (bench-math): Separate out math tests.
11369         (bench-pthread): Separate out pthread tests.
11370         (bench): Include math and pthread tests.
11371
11372 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11373
11374         [BZ #16831]
11375         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11376         _dl_debug_initialize.
11377
11378         * configure.ac: Remove SELinux header check.
11379         * configure: Regenerate.
11380         * nscd/selinux.c (perms): Array of const char* to permission names.
11381         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11382         default policy. Call string_to_security_class and string_to_av_perm to
11383         translate strings. Enforce default policy and call avs_has_perm with
11384         results of translated strings.
11385
11386 2014-04-13  David S. Miller  <davem@davemloft.net>
11387
11388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11389
11390 2014-04-12  Allan McRae  <allan@archlinux.org>
11391
11392         [BZ #16838]
11393         * manual/string.texi (Collation Functions): Fix qsort argument
11394         order in example.
11395         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11396
11397 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11398
11399         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11400         Make the test a no-op if there are no exceptions defined.
11401
11402 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11403
11404         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11405         enable-hardcoded-path-in-tests
11406
11407 2014-04-11  Will Newton  <will.newton@linaro.org>
11408
11409         * benchtests/Makefile (extra-objs): Add json-lib.o.
11410         (bench-func): Tidy up JSON output.
11411         * benchtests/bench-skeleton.c: Include json-lib.h.
11412         (main): Use JSON library functions to do output of
11413         benchmark results.
11414         * benchtests/bench-timing-type.c (main): Output the
11415         timing type simply, leaving formatting to the user.
11416         * benchtests/json-lib.c: New file.
11417         * benchtests/json-lib.h: Likewise.
11418
11419 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11420
11421         [BZ #15215]
11422         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11423         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11424         memory barriers.  Add comments.
11425         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11426         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11427         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11428         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11429         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11430         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11431
11432 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11433
11434         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11435         * sysdeps/s390/s390-64/configure.ac: ... this ...
11436         * sysdeps/s390/configure.ac: ... to here.
11437         * sysdeps/s390/s390-32/configure: Delete file.
11438         * sysdeps/s390/s390-64/configure: Delete file.
11439         * sysdeps/s390/configure: Regenerate.
11440
11441 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11442
11443         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11444
11445 2014-04-11  Will Newton  <will.newton@linaro.org>
11446
11447         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11448         to zero if it is not defined elsewhere.  (mtrim): Test
11449         the value of MALLOC_DEBUG with #if rather than #ifdef.
11450
11451 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11452
11453         * benchtests/pthread_once-inputs: New file.
11454         * benchtests/pthread_once-source.c: New file.
11455         * benchtests/README: Update documentation.
11456
11457 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11458             H.J. Lu  <hongjiu.lu@intel.com>
11459
11460         [BZ #16275]
11461         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11462         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11463         * sysdeps/x86_64/configure: Regenerated.
11464         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11465         macro.
11466         (REGISTER_SAVE_RAX): Likewise.
11467         (REGISTER_SAVE_RCX): Likewise.
11468         (REGISTER_SAVE_RDX): Likewise.
11469         (REGISTER_SAVE_RSI): Likewise.
11470         (REGISTER_SAVE_RDI): Likewise.
11471         (REGISTER_SAVE_R8): Likewise.
11472         (REGISTER_SAVE_R9): Likewise.
11473         (REGISTER_SAVE_BND0): Likewise.
11474         (REGISTER_SAVE_BND1): Likewise.
11475         (REGISTER_SAVE_BND2): Likewise.
11476         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11477         bound registers when calling _dl_fixup.
11478
11479 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11480
11481         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11482         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11483         of its definition.
11484         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11485         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11486         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11487         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11488         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11489         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11490         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11491
11492 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11493
11494         [BZ #15514]
11495         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11496         pathconf(_PC_NAME_MAX).
11497
11498 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11499
11500         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11501         Remove macro usage.
11502         (__PTHREAD_SPINS): Move definition to ...
11503         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11504         (__PTHREAD_SPINS): ... here.
11505         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11506         (__PTHREAD_SPIN): Likewise.
11507         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11508         (__PTHREAD_SPIN): Likewise.
11509         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11510         (__PTHREAD_SPIN): Likewise.
11511         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11512         (__PTHREAD_SPIN): Likewise.
11513         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11514         (__PTHREAD_SPIN): Likewise.
11515         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11516         (__PTHREAD_SPIN): Likewise.
11517         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11518         (__PTHREAD_SPIN): Likewise.
11519         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11520         (__PTHREAD_SPIN): Likewise.
11521         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11522         (__PTHREAD_SPIN): Likewise.
11523         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11524         (__PTHREAD_SPIN): Likewise.
11525         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11526         (__PTHREAD_SPIN): Likewise.
11527         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11528         (__PTHREAD_SPIN): Likewise.
11529
11530         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11531         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11532         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11533         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11534         imply folder.
11535         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11536         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11537         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11538         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11539         correct imply path.
11540         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11541         strlen symbol for non multi-arch builds.
11542         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11543         missing hidden_def and weak_alias.
11544
11545 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11546
11547         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11548
11549 2014-04-07  Will Newton  <will.newton@linaro.org>
11550
11551         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11552         and contents.  [!_LIBC] Remove #ifndef and contents.
11553         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11554         * string/memccpy.c (__memccpy): Use ANSI prototype.
11555         * string/memfrob.c (memfrob): Likewise.
11556         * string/strcoll.c (STRCOLL): Likewise.
11557         * string/strlen.c (strlen): Likewise.
11558         * string/strtok.c (STRTOK): Likewise.
11559         * string/strcat.c: Remove unused #include of memcopy.h.
11560         (strcat): Use ANSI prototype.
11561         * string/strchr.c: Remove unused #include of memcopy.h.
11562         (strchr): Use ANSI prototype.
11563         * string/strcmp.c: Remove unused #include of memcopy.h.
11564         (strcmp): Use ANSI prototype.
11565         * string/strcpy.c: Remove unused #include of memcopy.h.
11566         (strcpy): Use ANSI prototype.
11567
11568 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11569
11570         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11571         * config.make.in (config-extra-cppflags): Set it from
11572         libc_extra_cppflags.
11573         * configure.ac (libc_extra_cflags): Make it accumulate over
11574         configure fragments.
11575         (libc_extra_cppflags): New flag.
11576         * configure. Regenerate.
11577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11578         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11579         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11581
11582         [BZ #16815]
11583         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11584         result for FE_DOWNWARD rounding mode.
11585         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11586         Likewise.
11587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11588
11589 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11590
11591         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11592         in function argument name.
11593
11594 2014-04-03  David Svoboda  <svoboda@cert.org>
11595
11596         [BZ #5666]
11597         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11598         explicitly.
11599
11600 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11601
11602         * elf/dl-unmap-segments.h: New file.
11603         * sysdeps/generic/ldsodefs.h
11604         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11605         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11606         * elf/dl-fptr.c: Likewise.
11607         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11608         * sysdeps/aarch64/tlsdesc.c: Likewise.
11609         * sysdeps/arm/tlsdesc.c: Likewise.
11610         * sysdeps/i386/tlsdesc.c: Likewise.
11611         * sysdeps/tile/dl-runtime.c: Likewise.
11612         * sysdeps/x86_64/tlsdesc.c: Likewise.
11613         * elf/dl-load.h: New file.
11614         * elf/dl-load.c: Include it.
11615         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11616         Macros moved to dl-load.h.
11617         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11618         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11619         Use _dl_unmap_segments in place of __munmap.
11620         Break out segment-mapping loop into ...
11621         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11622
11623 2014-04-03  Will Newton  <will.newton@linaro.org>
11624
11625         * elf/dl-lookup.c (do_lookup_x): Remove comment
11626         referring to nested function and move variable
11627         declarations down to before first use.
11628
11629 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11630
11631         [BZ #16799]
11632         [BZ #16800]
11633         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11634         with 0 numerator.
11635         * math/s_catanf.c (__catanf): Likewise.
11636         * math/s_catanh.c (__catanh): Likewise.
11637         * math/s_catanhf.c (__catanhf): Likewise.
11638         * math/s_catanhl.c (__catanhl): Likewise.
11639         * math/s_catanl.c (__catanl): Likewise.
11640         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11641         by positive zero when computing -Inf result.
11642         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11643         (catanh_test): Likewise.
11644         * sysdeps/i386/fpu/libm-test-ulps: Update.
11645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11646
11647         [BZ #16789]
11648         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11649         instead of using underflowing value in computing result.
11650         * math/s_clog10.c (__clog10): Likewise.
11651         * math/s_clog10f.c (__clog10f): Likewise.
11652         * math/s_clog10l.c (__clog10l): Likewise.
11653         * math/s_clogf.c (__clogf): Likewise.
11654         * math/s_clogl.c (__clogl): Likewise.
11655         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11656         (clog10_test): Likewise.
11657         * sysdeps/i386/fpu/libm-test-ulps: Update.
11658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11659
11660 2014-04-02  Alan Modra  <amodra@gmail.com>
11661
11662         [BZ #16739]
11663         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11664         output when value is near a power of two.  Use int64_t for lx and
11665         remove casts.  Use decimal rather than hex exponent constants.
11666         Don't use long double multiplication when double will suffice.
11667         * math/libm-test.inc (nextafter_test_data): Add tests.
11668         * NEWS: Add 16739 and 16786 to bug list.
11669
11670         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11671
11672         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11673
11674 2014-04-01  Will Newton  <will.newton@linaro.org>
11675
11676         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11677         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11678
11679 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11680
11681         [BZ #13347]
11682         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11683         * nptl/tst-setuid2.c: New file.
11684         * nptl/Makefile (xtests): Add tst-setuid2.
11685
11686 2014-04-01  Alan Modra  <amodra@gmail.com>
11687
11688         [BZ #16786]
11689         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11690
11691 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11692
11693         [BZ #6803]
11694         [BZ #6804]
11695         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11696         set errno as appropriate.
11697         * math/w_scalbf.c (__scalbf): Likewise.
11698         * math/w_scalbl.c (__scalbl): Likewise.
11699         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11700         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11701         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11702         Add more NaN tests.
11703
11704         [BZ #16349]
11705         * math/w_atan2.c: Include <errno.h>.
11706         (__atan2): Set errno for result underflowing to zero.
11707         * math/w_atan2f.c: Include <errno.h>.
11708         (__atan2f): Set errno for result underflowing to zero.
11709         * math/w_atan2l.c: Include <errno.h>.
11710         (__atan2l): Set errno for result underflowing to zero.
11711         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11712         tests.
11713         * math/auto-libm-test-out: Regenerated.
11714
11715 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11716
11717         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11718         Encode instruction correctly in little endian.
11719         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11720         Likewise.
11721         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11722         Likewise.
11723         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11724         Likewise.
11725         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11726         Likewise.
11727
11728 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11729
11730         [BZ #9894]
11731         * sysdeps/unix/sysv/linux/kernel-features.h
11732         [__sparc__ && !__arch64__ && !__sparc_v9__]
11733         (__ASSUME_SET_ROBUST_LIST): Do not define.
11734         [__sparc__ && !__arch64__ && !__sparc_v9__]
11735         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11736         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11737         Likewise.
11738         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11739         (__ASSUME_FUTEX_LOCK_PI): Undefine.
11740         (__ASSUME_REQUEUE_PI): Likewise.
11741         (__ASSUME_SET_ROBUST_LIST): Likewise.
11742         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11743         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11744         Undefine.
11745         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11746         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11747         Likewise.
11748         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11749         Likewise.
11750         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11751         Likewise.
11752         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11753         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11754         Undefine.
11755         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11756         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11757         Likewise.
11758
11759         [BZ #16648]
11760         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11761         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11762         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11763
11764 2014-03-31  Will Newton  <will.newton@linaro.org>
11765
11766         * benchtests/Makefile (bench): Add ffs and ffsll to list
11767         of tests.
11768         * benchtests/ffs-inputs: New file.
11769         * benchtests/ffsll-inputs: Likewise.
11770
11771 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
11772
11773         [BZ #16770]
11774         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11775         too large before casting to int.
11776         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11777         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11778         * math/libm-test.inc (scalb_test_data): Add more tests.
11779
11780 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11781
11782         * benchtests/Makefile (DETAILED_OPT): New make option.
11783         (bench-func): Run benchmark program with -d if DETAILED_OPT is
11784         set.
11785         * benchtests/bench-skeleton.c: Include stdbool.h.
11786         (main): Store and print timings per input.
11787         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11788         member to each argument value.
11789         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11790         (_print_arg_data): Initialize per-input timing to 0.
11791
11792         * benchtests/Makefile (timing-type): New binary.
11793         (bench-clean): Also remove bench-timing-type.
11794         (bench): New target for timing-type.
11795         (bench-func): Print output in JSON format.
11796         * benchtests/bench-skeleton.c (main): Print output in JSON
11797         format.
11798         * benchtests/bench-timing-type.c: New file.
11799         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11800         (TIMING_PRINT_STATS): Remove.
11801         * benchtests/scripts/bench.py (_print_arg_data): Store variant
11802         name separately.
11803
11804         * benchtests/bench-modf.c: Remove.
11805         * benchtests/modf-inputs: New inputs file.
11806
11807 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
11808
11809         [BZ #16362]
11810         * math/s_clog10.c (M_PI_LOG10E): New macro.
11811         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11812         imaginary parts are 0.
11813         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11814         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11815         imaginary parts are 0.
11816         * math/s_clog10l.c (M_PI_LOG10El): New macro.
11817         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11818         imaginary parts are 0.
11819         * math/libm-test.inc (clog10_test_data): Update expected results
11820         for when real and imaginary parts are 0.
11821
11822 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
11823
11824         * elf/dl-load.c: Finish conversion of __builtin_expect into
11825         __glibc_{un}likely.
11826
11827 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
11828
11829         [BZ #16348]
11830         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11831         1+x for argument with exponent below -67.
11832         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11833         Likewise.
11834         * math/auto-libm-test-in: Add more tests of exp.
11835         * math/auto-libm-test-out: Regenerated.
11836
11837 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11838
11839         [BZ #16759]
11840         * inet/getnetgrent_r.c (get_nonempty_val): New function.
11841         (nscd_getnetgrent): Use it.
11842
11843         [BZ #16760]
11844         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11845         of stpcpy.
11846
11847 2014-03-27  Andi Kleen  <ak@linux.intel.com>
11848
11849         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11850         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11851         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11852         (lll_robust_unlock): Remove out of line section. Use cfi
11853         intrinsics.
11854         (LLL_STUB_UNWIND_INFO*): Remove.
11855         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11856         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11857         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11858         (lll_robust_unlock): Remove out of line section. Use cfi
11859         intrinsics.
11860         (LLL_STUB_UNWIND_INFO*): Remove.
11861
11862 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11863
11864         [BZ #16758]
11865         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11866         blank values.
11867
11868 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11869
11870         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11871
11872 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
11873
11874         [BZ #16198]
11875         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11876         fnstenv.
11877         * math/test-fenv-preserve.c: New file.
11878         * math/Makefile (tests): Add test-fenv-preserve.
11879
11880 2014-03-26  Will Newton <will.newton@linaro.org>
11881
11882         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11883
11884 2014-03-25  Roland McGrath  <roland@hack.frob.com>
11885
11886         * scripts/versionlist.awk: Partition the version sets and emit all
11887         GLIBC_* (sorted) before all others (sorted).
11888
11889 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11890
11891         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11892         GLIBC_2.2.5 version.
11893
11894 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11895
11896         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11897         calls.
11898
11899         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11900         previous change.
11901
11902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11903
11904 2014-03-25  Andreas Schwab  <schwab@suse.de>
11905
11906         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11907         label to be used after in6ailist is initialized.
11908
11909 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11910
11911         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11912         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11913
11914 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11915
11916         [BZ #16357]
11917         [BZ #16599]
11918         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11919         min_plus_half.
11920         (fp_formats): Update initializers.
11921         (init_fp_formats): Initialize new field.
11922         (output_for_one_input_case): Allow underflow for results up to
11923         min_plus_half.
11924         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11925         * math/auto-libm-test-in: Don't mark some underflows from asin and
11926         atanh as spurious.
11927         * math/auto-libm-test-out: Regenerated.
11928         * sysdeps/i386/fpu/libm-test-ulps: Update.
11929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11930
11931 2014-03-25  Andreas Schwab  <schwab@suse.de>
11932
11933         * libio/Makefile (tst-ftell-partial-wide-ENV)
11934         (tst-ftell-active-handler-ENV): Define.
11935
11936 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
11937
11938         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11939
11940 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11941
11942         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11943
11944 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11945
11946         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11947         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11948         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11949
11950 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11951
11952         [BZ #16634]
11953         * elf/dl-load.c (open_verify): Add mode parameter.
11954         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11955         (open_path): Change from boolean 'secure' to complete flag 'mode'
11956         (_dl_map_object): Adjust.
11957         * elf/Makefile (tests): Add tst-dlopen-aout.
11958         * elf/tst-dlopen-aout.c: New test.
11959
11960 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
11961
11962         [BZ #16714]
11963         * sysdeps/unix/sysv/linux/s390/bits/stat.h
11964         (struct stat): Rename member pad0 to __glibc_reserved0.
11965
11966         [BZ #16712]
11967         * sysdeps/s390/s390-32/bits/wordsize.h
11968         (__WORDSIZE32_SIZE_ULONG): New define.
11969         * sysdeps/s390/s390-64/bits/wordsize.h
11970         (__WORDSIZE32_SIZE_ULONG): Likewise.
11971         * sysdeps/generic/stdint.h (SIZE_MAX):
11972         Define as UL if __WORDSIZE32_SIZE_ULONG.
11973
11974         [BZ #16713]
11975         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11976         (__glibc_reserved0): New variable.
11977         (sa_flags): Change type to int.
11978
11979         * posix/Makefile (before-compile): Use += before-compile instead
11980         of a :=.
11981
11982         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11983         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11984
11985 2014-03-20  Andreas Schwab  <schwab@suse.de>
11986
11987         [BZ #16743]
11988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11989         non-matching result from nscd.
11990
11991 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11992
11993         * scripts/bench.py: Moved to ...
11994         * benchtests/scripts/bench.py: ... here.
11995         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11996
11997 2014-03-24  Andreas Schwab  <schwab@suse.de>
11998
11999         [BZ #16002]
12000         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12001         alloca_account and account alloca use for struct in6ailist.
12002
12003 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12004
12005         [BZ #16284]
12006         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12007         rounding mode to recompute results that overflow to infinity or
12008         underflow to zero.
12009         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12010         bug 16284.
12011         * math/auto-libm-test-out: Regenerated.
12012         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12013         (ccosh_test): Likewise.
12014         (csin_test_data): Use plus_oflow.
12015         (csin_test): Use ALL_RM_TEST.
12016         (csinh_test_data): Use plus_oflow.
12017         (csinh_test): Use ALL_RM_TEST.
12018         * sysdeps/i386/fpu/libm-test-ulps: Update.
12019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12020
12021 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12022
12023         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12024         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12025         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12026
12027         [BZ #16731]
12028         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12029         when x - 1 is zero.
12030         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12031         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12032         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12033         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12034         argument is 1.
12035         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12036         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12037         zero.
12038         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12039         * sysdeps/i386/fpu/libm-test-ulps: Update.
12040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12041
12042 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12043
12044         * scripts/bench.pl: Remove file.
12045         * scripts/bench.py: New benchmark script.
12046         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12047         * benchtests/README: Mention python dependency.
12048         * scripts/pylintrc: New file.
12049         * scripts/pylint: New file.
12050
12051         * bits/mathdef.h: Use #ifdef instead of #if.
12052         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12053         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12054         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12055         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12056         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12057         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12058
12059 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12060             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12061
12062         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12064         and strpbrk-ppc64 objects.
12065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12066         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12067         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12068         multiarch strpbrk for POWER7.
12069         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12070         multiarch strpbrk for PPC64.
12071         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12072         ifunc selector.
12073         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12074         strpbrk for POWER7.
12075
12076 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12077
12078         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12079         (atan_test): Likewise.
12080         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12081         (atanh_test): Use ALL_RM_TEST.
12082         (atan2_test_data): Likewise.
12083         (cabs_test): Likewise.
12084         (cacosh_test): Likewise.
12085         (carg_test): Likewise.
12086         (casin_test): Likewise.
12087         (casinh_test): Likewise.
12088         (cbrt_test): Likewise.
12089         (csqrt_test): Likewise.
12090         (erf_test): Likewise.
12091         (erfc_test): Likewise.
12092         (pow10_test): Likewise.
12093         (exp2_test): Likewise.
12094         (hypot_test): Likewise.
12095         (j0_test): Likewise.
12096         (j1_test): Likewise.
12097         (lgamma_test): Likewise.
12098         (gamma_test): Likewise.
12099         (sincos_test): Likewise.
12100         (tanh_test): Likewise.
12101         (y0_test): Likewise.
12102         (y1_test): Likewise.
12103         * sysdeps/i386/fpu/libm-test-ulps: Update.
12104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12105
12106 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12107
12108         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12110         and strcspn-ppc64 objects.
12111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12112         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12113         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12114         multiarch strcspn for POWER7.
12115         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12116         multiarch strcspn for PPC64.
12117         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12118         ifunc selector.
12119         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12120         strcspn for POWER7.
12121
12122 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12123
12124         * math/gen-libm-test.pl (generate_testfile): Expect only function
12125         name as argument to AUTO_TESTS_* and pass results for all rounding
12126         modes to parse_args.
12127         (parse_auto_input): Separate inputs of automatic tests from
12128         outputs before storing in %auto_tests.
12129         * math/libm-test.inc (acos_test_data): Update call to
12130         AUTO_TESTS_f_f.
12131         (acos_test): Use ALL_RM_TEST.
12132         (acos_tonearest_test_data): Remove.
12133         (acos_test_tonearest): Likewise.
12134         (acos_towardzero_test_data): Likewise.
12135         (acos_test_towardzero): Likewise.
12136         (acos_downward_test_data): Likewise.
12137         (acos_test_downward): Likewise.
12138         (acos_upward_test_data): Likewise.
12139         (acos_test_upward): Likewise.
12140         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12141         (asin_test_data): Likewise.
12142         (asin_test): Use ALL_RM_TEST.
12143         (asin_tonearest_test_data): Remove.
12144         (asin_test_tonearest): Likewise.
12145         (asin_towardzero_test_data): Likewise.
12146         (asin_test_towardzero): Likewise.
12147         (asin_downward_test_data): Likewise.
12148         (asin_test_downward): Likewise.
12149         (asin_upward_test_data): Likewise.
12150         (asin_test_upward): Likewise.
12151         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12152         (atan_test_data): Likewise.
12153         (atanh_test_data): Likewise.
12154         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12155         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12156         (carg_test_data): Likewise.
12157         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12158         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12159         (ccosh_test_data): Likewise.
12160         (cexp_test_data): Likewise.
12161         (clog_test_data): Likewise.
12162         (clog10_test_data): Likewise.
12163         (cos_test_data): Update call to AUTO_TESTS_f_f.
12164         (cos_test): Use ALL_RM_TEST.
12165         (cos_tonearest_test_data): Remove.
12166         (cos_test_tonearest): Likewise.
12167         (cos_towardzero_test_data): Likewise.
12168         (cos_test_towardzero): Likewise.
12169         (cos_downward_test_data): Likewise.
12170         (cos_test_downward): Likewise.
12171         (cos_upward_test_data): Likewise.
12172         (cos_test_upward): Likewise.
12173         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12174         (cosh_test): Use ALL_RM_TEST.
12175         (cosh_tonearest_test_data): Remove.
12176         (cosh_test_tonearest): Likewise.
12177         (cosh_towardzero_test_data): Likewise.
12178         (cosh_test_towardzero): Likewise.
12179         (cosh_downward_test_data): Likewise.
12180         (cosh_test_downward): Likewise.
12181         (cosh_upward_test_data): Likewise.
12182         (cosh_test_upward): Likewise.
12183         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12184         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12185         (ctan_test_data): Likewise.
12186         (ctan_test): Use ALL_RM_TEST.
12187         (ctan_tonearest_test_data): Remove.
12188         (ctan_test_tonearest): Likewise.
12189         (ctan_towardzero_test_data): Likewise.
12190         (ctan_test_towardzero): Likewise.
12191         (ctan_downward_test_data): Likewise.
12192         (ctan_test_downward): Likewise.
12193         (ctan_upward_test_data): Likewise.
12194         (ctan_test_upward): Likewise.
12195         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12196         (ctanh_test): Use ALL_RM_TEST.
12197         (ctanh_tonearest_test_data): Remove.
12198         (ctanh_test_tonearest): Likewise.
12199         (ctanh_towardzero_test_data): Likewise.
12200         (ctanh_test_towardzero): Likewise.
12201         (ctanh_downward_test_data): Likewise.
12202         (ctanh_test_downward): Likewise.
12203         (ctanh_upward_test_data): Likewise.
12204         (ctanh_test_upward): Likewise.
12205         (erf_test_data): Update call to AUTO_TESTS_f_f.
12206         (erfc_test_data): Likewise.
12207         (exp_test_data): Likewise.
12208         (exp_test): Use ALL_RM_TEST.
12209         (exp_tonearest_test_data): Remove.
12210         (exp_test_tonearest): Likewise.
12211         (exp_towardzero_test_data): Likewise.
12212         (exp_test_towardzero): Likewise.
12213         (exp_downward_test_data): Likewise.
12214         (exp_test_downward): Likewise.
12215         (exp_upward_test_data): Likewise.
12216         (exp_test_upward): Likewise.
12217         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12218         (exp10_test): Use ALL_RM_TEST.
12219         (exp10_tonearest_test_data): Remove.
12220         (exp10_test_tonearest): Likewise.
12221         (exp10_towardzero_test_data): Likewise.
12222         (exp10_test_towardzero): Likewise.
12223         (exp10_downward_test_data): Likewise.
12224         (exp10_test_downward): Likewise.
12225         (exp10_upward_test_data): Likewise.
12226         (exp10_test_upward): Likewise.
12227         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12228         (expm1_test_data): Likewise.
12229         (expm1_test): Use ALL_RM_TEST.
12230         (expm1_tonearest_test_data): Remove.
12231         (expm1_test_tonearest): Likewise.
12232         (expm1_towardzero_test_data): Likewise.
12233         (expm1_test_towardzero): Likewise.
12234         (expm1_downward_test_data): Likewise.
12235         (expm1_test_downward): Likewise.
12236         (expm1_upward_test_data): Likewise.
12237         (expm1_test_upward): Likewise.
12238         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12239         (fma_test): Use ALL_RM_TEST.
12240         (fma_towardzero_test_data): Remove.
12241         (fma_test_towardzero): Likewise.
12242         (fma_downward_test_data): Likewise.
12243         (fma_test_downward): Likewise.
12244         (fma_upward_test_data): Likewise.
12245         (fma_test_upward): Likewise.
12246         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12247         (j0_test_data): Update call to AUTO_TESTS_f_f.
12248         (j1_test_data): Likewise.
12249         (jn_test_data): Update call to AUTO_TESTS_if_f.
12250         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12251         (log_test_data): Update call to AUTO_TESTS_f_f.
12252         (log10_test_data): Likewise.
12253         (log1p_test_data): Likewise.
12254         (log2_test_data): Likewise.
12255         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12256         (pow_tonearest_test_data): Likewise.
12257         (sin_test_data): Update call to AUTO_TESTS_f_f.
12258         (sin_test): Use ALL_RM_TEST.
12259         (sin_tonearest_test_data): Remove.
12260         (sin_test_tonearest): Likewise.
12261         (sin_towardzero_test_data): Likewise.
12262         (sin_test_towardzero): Likewise.
12263         (sin_downward_test_data): Likewise.
12264         (sin_test_downward): Likewise.
12265         (sin_upward_test_data): Likewise.
12266         (sin_test_upward): Likewise.
12267         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12268         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12269         (sinh_test): Use ALL_RM_TEST.
12270         (sinh_tonearest_test_data): Remove.
12271         (sinh_test_tonearest): Likewise.
12272         (sinh_towardzero_test_data): Likewise.
12273         (sinh_test_towardzero): Likewise.
12274         (sinh_downward_test_data): Likewise.
12275         (sinh_test_downward): Likewise.
12276         (sinh_upward_test_data): Likewise.
12277         (sinh_test_upward): Likewise.
12278         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12279         (sqrt_test): Use ALL_RM_TEST.
12280         (sqrt_tonearest_test_data): Remove.
12281         (sqrt_test_tonearest): Likewise.
12282         (sqrt_towardzero_test_data): Likewise.
12283         (sqrt_test_towardzero): Likewise.
12284         (sqrt_downward_test_data): Likewise.
12285         (sqrt_test_downward): Likewise.
12286         (sqrt_upward_test_data): Likewise.
12287         (sqrt_test_upward): Likewise.
12288         (tan_test_data): Update call to AUTO_TESTS_f_f.
12289         (tan_test): Use ALL_RM_TEST.
12290         (tan_tonearest_test_data): Remove.
12291         (tan_test_tonearest): Likewise.
12292         (tan_towardzero_test_data): Likewise.
12293         (tan_test_towardzero): Likewise.
12294         (tan_downward_test_data): Likewise.
12295         (tan_test_downward): Likewise.
12296         (tan_upward_test_data): Likewise.
12297         (tan_test_upward): Likewise.
12298         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12299         (tgamma_test_data): Likewise.
12300         (y0_test_data): Likewise.
12301         (y1_test_data): Likewise.
12302         (yn_test_data): Update call to AUTO_TESTS_if_f.
12303         (main): Do not call removed functions.
12304
12305 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12306
12307         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12308         (ldexp_test_data): Remove.
12309         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12310         scalbn_test_data.
12311         (scalb_test): Use ALL_RM_TEST.
12312
12313 2014-03-19  Andreas Schwab  <schwab@suse.de>
12314
12315         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12316
12317 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12318
12319         [BZ #16649]
12320         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12321         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12322         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12323         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12324         (__ASSUME_PREADV): Undefine.
12325         (__ASSUME_PWRITEV): Likewise.
12326
12327 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12328
12329         * bits/mman-linux.h: Add comment about non-Linux use.
12330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12331         bits/mman-linux.h resting place.
12332
12333         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12334         * bits/mman-linux.h: ... here.
12335
12336 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12337
12338         * conform/conformtest.pl: Add standard definition when calling C
12339         preprocessor on data files.
12340         (checknamespace): Remove unused variable.
12341
12342 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12343
12344         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12345         minus_oflow, plus_uflow and minus_uflow in expected results.
12346         * math/libm-test.inc (scalbn_test_data): Add more tests of
12347         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12348         minus_uflow.
12349         (scalbn_test): Use ALL_RM_TEST.
12350         (scalbln_test_data): Add more tests of negative arguments.  Use
12351         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12352         (scalbln_test): Use ALL_RM_TEST.
12353
12354 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12355
12356         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12357
12358 2014-03-18  Will Newton  <will.newton@linaro.org>
12359
12360         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12361         inaccurate comment.
12362
12363 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12364
12365         * Makerules [!subdir] (check-abi): Exit with error status if a
12366         test failed.
12367
12368 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12369
12370         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12371         for rint.  Include results for all rounding modes.
12372         (nearbyint_test): Use ALL_RM_TEST.
12373         (rint_test_data): Include all tests used for nearbyint.
12374
12375 2014-03-17  Will Newton  <will.newton@linaro.org>
12376
12377         * nptl/sysdeps/pthread/pthread.h: Revert previous
12378         change.
12379
12380         * sysdeps/generic/ldsodefs.h: Revert previous
12381         change.
12382
12383         * libio/genops.c: Revert previous change.
12384         * libio/libioP.h: Likewise.
12385         * stdio-common/vfprintf.c: Likewise.
12386
12387         * sysdeps/generic/math_private.h: Revert previous
12388         change.
12389
12390         * sysdeps/generic/math_private.h: Check whether
12391         HAVE_RM_CTX is defined with #ifdef rather
12392         than #if.
12393
12394         * argp/argp-fmtstream.h: Check whether
12395         __STRICT_ANSI__ is defined with #ifdef rather
12396         than #if.
12397         * argp/argp.h: Likewise.
12398
12399         * libio/genops.c: Check whether
12400         _IO_JUMPS_OFFSET is defined with #ifdef rather
12401         than #if.
12402         * libio/libioP.h: Likewise.
12403         * stdio-common/vfprintf.c: Likewise.
12404
12405         * sysdeps/generic/ldsodefs.h: Check whether
12406         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12407         than #if.
12408
12409         * nptl/sysdeps/pthread/pthread.h: Check
12410         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12411         its value.
12412
12413 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12414
12415         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12416         setting O_APPEND.
12417         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12418         test case.
12419
12420         [BZ #16680]
12421         * libio/fileops.c (_IO_file_open): Seek to end of file but
12422         don't cache the offset.
12423         (get_file_offset): Remove function.
12424         (do_ftell): Use cached offset when available.
12425         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12426         don't cache the offset.
12427         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12428         case.
12429         (do_one_test): Call it.
12430         (do_ftell_test): Fix up expected old offset for a+ mode.
12431         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12432         available.
12433
12434         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12435         up test status with function return status.
12436         (do_write_test): Likewise.
12437         (do_append_test): Likewise.
12438
12439         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12440         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12441         Remove.
12442
12443 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12444
12445         * math/gen-libm-test.pl (parse_args): Handle results specified for
12446         each rounding mode separately.
12447         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12448         tests and results from lrint_tonearest_test_data,
12449         lrint_towardzero_test_data, lrint_downward_test_data and
12450         lrint_upward_test_data.
12451         (lrint_test): Use ALL_RM_TEST.
12452         (lrint_tonearest_test_data): Remove.
12453         (lrint_test_tonearest): Likewise.
12454         (lrint_towardzero_test_data): Likewise.
12455         (lrint_test_towardzero): Likewise.
12456         (lrint_downward_test_data): Likewise.
12457         (lrint_test_downward): Likewise.
12458         (lrint_upward_test_data): Likewise.
12459         (lrint_test_upward): Likewise.
12460         (llrint_test_data): Merge in per-rounding-mode tests and results
12461         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12462         llrint_downward_test_data and llrint_upward_test_data.
12463         (llrint_test): Use ALL_RM_TEST.
12464         (llrint_tonearest_test_data): Remove.
12465         (llrint_test_tonearest): Likewise.
12466         (llrint_towardzero_test_data): Likewise.
12467         (llrint_test_towardzero): Likewise.
12468         (llrint_downward_test_data): Likewise.
12469         (llrint_test_downward): Likewise.
12470         (llrint_upward_test_data): Likewise.
12471         (llrint_test_upward): Likewise.
12472         (rint_test_data): Merge in per-rounding-mode tests and results
12473         from rint_tonearest_test_data, rint_towardzero_test_data,
12474         rint_downward_test_data and rint_upward_test_data.  Add
12475         per-rounding-mode results for tests not in those arrays.
12476         (rint_test): Use ALL_RM_TEST.
12477         (rint_tonearest_test_data): Remove.
12478         (rint_test_tonearest): Likewise.
12479         (rint_towardzero_test_data): Likewise.
12480         (rint_test_towardzero): Likewise.
12481         (rint_downward_test_data): Likewise.
12482         (rint_test_downward): Likewise.
12483         (rint_upward_test_data): Likewise.
12484         (rint_test_upward): Likewise.
12485         (main): Don't call removed functions.
12486
12487 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12488
12489         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12490         "Compiled on ..." crapola.  It is anti-useful.
12491
12492 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12493
12494         * scripts/evaluate-test.sh: Handle fourth argument to determine
12495         whether test run should stop on failure.
12496         * Makeconfig (stop-on-test-failure): New variable.
12497         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12498         $(stop-on-test-failure).
12499         * Makefile (tests): Give a summary of results from testing and
12500         exit with failure status if they include an ERROR or FAIL.
12501         (xtests): Likewise.
12502         * manual/install.texi (Configuring and compiling): Mention
12503         stop-on-test-failure=y.
12504         * INSTALL: Regenerated.
12505
12506 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12507
12508         * scripts/versionlist.awk: New file.
12509         * Makerules [$(build-shared) = yes]
12510         (postclean-generated): Add Versions.def, not Versions.def.v and
12511         Versions.def.v.i.
12512         ($(common-objpfx)Versions.def.v.i): Target removed.
12513         ($(common-objpfx)Versions.def): New target.
12514         ($(common-objpfx)Versions.all): Depend on that rather that
12515         $(common-objpfx)Versions.def.v.
12516         * Versions.def: File removed.
12517
12518         * Makeconfig (+gccwarn): Add -Wundef.
12519         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12520         a dl-sysdep.h breaking its contract.
12521         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12522         * include/stackinfo.h: New file.
12523         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12524         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12525         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12526         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12527         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12528         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12529         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12530         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12531         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12532         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12533         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12534         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12535         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12536         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12537         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12538
12539 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12540
12541         [BZ #16707]
12542         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12543         implementation.
12544         * math/libm-test.inc (round_test_data): Add more tests.
12545
12546         [BZ #16706]
12547         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12548         implementation.
12549         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12550
12551         [BZ #16701]
12552         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12553         implementation.
12554         * math/libm-test.inc (ceil_test_data): Add more tests.
12555
12556         * math/libm-test.inc (trunc_test_data): Add more tests related to
12557         BZ#16414.
12558
12559 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12560
12561         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12562         with #if rather than #ifdef.
12563         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12564
12565 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12566
12567         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12568         first.  Disable AVX-512 GCC support if assembler doesn't support
12569         it.
12570         * sysdeps/x86_64/configure: Regenerated.
12571
12572 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12573
12574         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12575         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12576         (__old_pthread_attr_setstack): Likewise.
12577         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12578         [!_STACK_GROWS_DOWN]: Likewise.
12579
12580 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12581
12582         * config.make.in (have-bash2): Delete.
12583         * configure.ac (libc_cv_have_bash2): Delete.
12584         * configure: Regenerate.
12585         * elf/Makefile (common-ldd-rewrite): Rename to ...
12586         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12587         (sh-ldd-rewrite): Delete.
12588         (bash-ldd-rewrite): Delete.
12589         (have-bash2): Delete checks.
12590         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12591         ldd-rewrite.
12592
12593         * config.make.in (have-ksh): Delete.
12594         (KSH): Delete.
12595         * configure.ac (libc_cv_have_ksh): Delete.
12596         * configure: Regenerate.
12597
12598         * elf/Makefile: Delete $(have-ksh) check.
12599         ($(objpfx)sotruss): Change KSH to BASH.
12600         * elf/sotruss.ksh: Rename to ...
12601         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12602         function style to match POSIX.  Drop ksh vim mode setting.
12603
12604         * manual/time.texi (Specifying the Time Zone with TZ): Change
12605         Tuesday to Thursday.
12606
12607         * debug/tst-longjmp_chk2.c: Update header comment.
12608         (stackoverflow_handler): Add comment.  Call assert on pass value.
12609
12610 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12611
12612         [BZ #16194]
12613         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12614         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12615         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12616         (La_x86_64_vector): Add zmm.
12617         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12618         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12619         ($(objpfx)tst-audit10): New target.
12620         ($(objpfx)tst-audit10.out): Likewise.
12621         (tst-audit10-ENV): New.
12622         (AVX512-CFLAGS): Likewise.
12623         (CFLAGS-tst-audit10.c): Likewise.
12624         (CFLAGS-tst-auditmod10a.c): Likewise.
12625         (CFLAGS-tst-auditmod10b.c): Likewise.
12626         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12627         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12628         * sysdeps/x86_64/configure: Regenerated.
12629         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12630         AVX-512 zmm register support.
12631         (_dl_x86_64_save_sse): Likewise.
12632         (_dl_x86_64_restore_sse): Likewise.
12633         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12634         size vector registers.
12635         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12636         (ZMM_SIZE): Likewise.
12637         * sysdeps/x86_64/tst-audit10.c: New file.
12638         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12639         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12640
12641 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12642
12643         * configure.ac (HAVE_EHDR_START): New check.
12644         * configure: Regenerated.
12645         * config.h.in (HAVE_EHDR_START): New #undef.
12646         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12647         assuming the lowest-addressed segment maps the start of the file.
12648
12649 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12650
12651         * INSTALL: Regenerated.
12652
12653 2014-03-13  Will Newton  <will.newton@linaro.org>
12654
12655         * manual/setjmp.texi (System V contexts): Improve
12656         clarity and grammar of documentation.
12657
12658 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12659
12660         [BZ #16381]
12661         * elf/Makefile (tests): Add tst-pie2.
12662         (tests-pie): Add tst-pie2.
12663         * elf/tst-pie2.c: New file.
12664         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12665         for ET_EXEC.
12666         * elf/rtld.c (map_doit): Load executable as lt_executable.
12667         (dl_main): Likewise.
12668
12669 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12670
12671         [BZ #16642]
12672         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12673         (__ASSUME_PSELECT): Undefine.
12674
12675 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12676
12677         [BZ #16689]
12678         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12679         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12680         static build.
12681         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12682         selector for static builds.
12683
12684 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12685
12686         [BZ #16695]
12687         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12688         key in the buffer.
12689
12690 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12691
12692         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12693         IFUNC selector for static builds.
12694
12695 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12696
12697         * sysdeps/mips/math_private.h [__mips_hard_float]
12698         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12699         libc_feresetround_mips_ctx.
12700         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12701         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12702         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12703
12704         [BZ #16677]
12705         * math/s_nextafter.c (__nextafter): Do not return value from
12706         overflowing computation.
12707         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12708         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12709         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12710         Likewise.
12711         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12712         Likewise.
12713         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12714         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12715
12716 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12717
12718         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12719         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12720         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12721         the new mov targetting sp.
12722
12723 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12724
12725         [BZ #16683]
12726         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12727         Define it for static builds as well.
12728         (NO_BZERO_IMPL): Likewise.
12729
12730 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12731
12732         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12733         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12734         multiarch strspn for PPC64.
12735         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12736         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12738         (__libc_ifunc_impl_list): Likewise.
12739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12740         multiarch optimizations
12741         * string/strspn.c (strspn): Using macro to redefine symbol name.
12742
12743 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12744             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12745
12746         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12747         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12748         multiarch strncat for PPC64.
12749         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12750         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12752         (__libc_ifunc_impl_list): Likewise.
12753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12754         multiarch optimizations
12755
12756 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12757
12758         [BZ #16639]
12759         * nscd/nscd.service: Make service type forking.
12760
12761 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12762
12763         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12764         sign in non default rounding modes.
12765         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12766
12767 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
12768
12769         * math/libm-test.inc (ALL_RM_TEST): New macro.
12770         (ceil_test): Use ALL_RM_TEST.
12771         (cimag_test): Likewise.
12772         (conj_test): Likewise.
12773         (copysign_test): Likewise.
12774         (cproj_test): Likewise.
12775         (creal_test): Likewise.
12776         (fabs_test): Likewise.
12777         (floor_test): Likewise.
12778         (fmax_test): Likewise.
12779         (fmin_test): Likewise.
12780         (fmod_test): Likewise.
12781         (fpclassify_test): Likewise.
12782         (frexp_test): Likewise.
12783         (ilogb_test): Likewise.
12784         (isfinite_test): Likewise.
12785         (finite_test): Likewise.
12786         (isgreater_test): Likewise.
12787         (isgreaterequal_test): Likewise.
12788         (isinf_test): Likewise.
12789         (isless_test): Likewise.
12790         (islessequal_test): Likewise.
12791         (islessgreater_test): Likewise.
12792         (isnan_test): Likewise.
12793         (isnormal_test): Likewise.
12794         (issignaling_test): Likewise.
12795         (isunordered_test): Likewise.
12796         (logb_test): Likewise.
12797         (logb_downward_test_data): Remove.
12798         (logb_test_downward): Likewise.
12799         (lround_test): Use ALL_RM_TEST.
12800         (llround_test): Likewise.
12801         (modf_test): Likewise.
12802         (nexttoward_test): Likewise.
12803         (remainder_test): Likewise.
12804         (drem_test): Likewise.
12805         (remainder_tonearest_test_data): Likewise.
12806         (remainder_test_tonearest): Likewise.
12807         (drem_test_tonearest): Likewise.
12808         (remainder_towardzero_test_data): Likewise.
12809         (remainder_test_towardzero): Likewise.
12810         (drem_test_towardzero): Likewise.
12811         (remainder_downward_test_data): Likewise.
12812         (remainder_test_downward): Likewise.
12813         (drem_test_downward): Likewise.
12814         (remainder_upward_test_data): Likewise.
12815         (remainder_test_upward): Likewise.
12816         (drem_test_upward): Likewise.
12817         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
12818         (round_test): Use ALL_RM_TEST.
12819         (signbit_test): Likewise.
12820         (trunc_test): Likewise.
12821         (significand_test): Likewise.
12822         (main): Don't call removed functions.
12823
12824 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12825
12826         [BZ #16674]
12827         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12828         || __USE_XOPEN2K8].
12829         (ILL_ILLOPN): Likewise.
12830         (ILL_ILLADR): Likewise.
12831         (ILL_ILLTRP): Likewise.
12832         (ILL_PRVOPC): Likewise.
12833         (ILL_PRVREG): Likewise.
12834         (ILL_COPROC): Likewise.
12835         (ILL_BADSTK): Likewise.
12836         (FPE_INTDIV): Likewise.
12837         (FPE_INTOVF): Likewise.
12838         (FPE_FLTDIV): Likewise.
12839         (FPE_FLTOVF): Likewise.
12840         (FPE_FLTUND): Likewise.
12841         (FPE_FLTRES): Likewise.
12842         (FPE_FLTINV): Likewise.
12843         (FPE_FLTSUB): Likewise.
12844         (SEGV_MAPERR): Likewise.
12845         (SEGV_ACCERR): Likewise.
12846         (BUS_ADRALN): Likewise.
12847         (BUS_ADRERR): Likewise.
12848         (BUS_OBJERR): Likewise.
12849         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12850         (TRAP_TRACE): Likewise.
12851         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12852         __USE_XOPEN2K8].
12853         (CLD_KILLED): Likewise.
12854         (CLD_DUMPED): Likewise.
12855         (CLD_TRAPPED): Likewise.
12856         (CLD_STOPPED): Likewise.
12857         (CLD_CONTINUED): Likewise.
12858         (POLL_IN): Likewise.
12859         (POLL_OUT): Likewise.
12860         (POLL_MSG): Likewise.
12861         (POLL_ERR): Likewise.
12862         (POLL_PRI): Likewise.
12863         (POLL_HUP): Likewise.
12864         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12865         Likewise.
12866         (ILL_ILLOPN): Likewise.
12867         (ILL_ILLADR): Likewise.
12868         (ILL_ILLTRP): Likewise.
12869         (ILL_PRVOPC): Likewise.
12870         (ILL_PRVREG): Likewise.
12871         (ILL_COPROC): Likewise.
12872         (ILL_BADSTK): Likewise.
12873         (FPE_INTDIV): Likewise.
12874         (FPE_INTOVF): Likewise.
12875         (FPE_FLTDIV): Likewise.
12876         (FPE_FLTOVF): Likewise.
12877         (FPE_FLTUND): Likewise.
12878         (FPE_FLTRES): Likewise.
12879         (FPE_FLTINV): Likewise.
12880         (FPE_FLTSUB): Likewise.
12881         (SEGV_MAPERR): Likewise.
12882         (SEGV_ACCERR): Likewise.
12883         (BUS_ADRALN): Likewise.
12884         (BUS_ADRERR): Likewise.
12885         (BUS_OBJERR): Likewise.
12886         (BUS_MCEERR_AR): Likewise.
12887         (BUS_MCEERR_AO): Likewise.
12888         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12889         (TRAP_TRACE): Likewise.
12890         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12891         __USE_XOPEN2K8].
12892         (CLD_KILLED): Likewise.
12893         (CLD_DUMPED): Likewise.
12894         (CLD_TRAPPED): Likewise.
12895         (CLD_STOPPED): Likewise.
12896         (CLD_CONTINUED): Likewise.
12897         (POLL_IN): Likewise.
12898         (POLL_OUT): Likewise.
12899         (POLL_MSG): Likewise.
12900         (POLL_ERR): Likewise.
12901         (POLL_PRI): Likewise.
12902         (POLL_HUP): Likewise.
12903         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12904         (ILL_ILLOPN): Likewise.
12905         (ILL_ILLADR): Likewise.
12906         (ILL_ILLTRP): Likewise.
12907         (ILL_PRVOPC): Likewise.
12908         (ILL_PRVREG): Likewise.
12909         (ILL_COPROC): Likewise.
12910         (ILL_BADSTK): Likewise.
12911         (FPE_INTDIV): Likewise.
12912         (FPE_INTOVF): Likewise.
12913         (FPE_FLTDIV): Likewise.
12914         (FPE_FLTOVF): Likewise.
12915         (FPE_FLTUND): Likewise.
12916         (FPE_FLTRES): Likewise.
12917         (FPE_FLTINV): Likewise.
12918         (FPE_FLTSUB): Likewise.
12919         (SEGV_MAPERR): Likewise.
12920         (SEGV_ACCERR): Likewise.
12921         (BUS_ADRALN): Likewise.
12922         (BUS_ADRERR): Likewise.
12923         (BUS_OBJERR): Likewise.
12924         (BUS_MCEERR_AR): Likewise.
12925         (BUS_MCEERR_AO): Likewise.
12926         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12927         (TRAP_TRACE): Likewise.
12928         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12929         __USE_XOPEN2K8].
12930         (CLD_KILLED): Likewise.
12931         (CLD_DUMPED): Likewise.
12932         (CLD_TRAPPED): Likewise.
12933         (CLD_STOPPED): Likewise.
12934         (CLD_CONTINUED): Likewise.
12935         (POLL_IN): Likewise.
12936         (POLL_OUT): Likewise.
12937         (POLL_MSG): Likewise.
12938         (POLL_ERR): Likewise.
12939         (POLL_PRI): Likewise.
12940         (POLL_HUP): Likewise.
12941         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12942         Likewise.
12943         (ILL_ILLOPN): Likewise.
12944         (ILL_ILLADR): Likewise.
12945         (ILL_ILLTRP): Likewise.
12946         (ILL_PRVOPC): Likewise.
12947         (ILL_PRVREG): Likewise.
12948         (ILL_COPROC): Likewise.
12949         (ILL_BADSTK): Likewise.
12950         (ILL_BADIADDR): Likewise.
12951         (ILL_BREAK): Likewise.
12952         (FPE_INTDIV): Likewise.
12953         (FPE_INTOVF): Likewise.
12954         (FPE_FLTDIV): Likewise.
12955         (FPE_FLTOVF): Likewise.
12956         (FPE_FLTUND): Likewise.
12957         (FPE_FLTRES): Likewise.
12958         (FPE_FLTINV): Likewise.
12959         (FPE_FLTSUB): Likewise.
12960         (FPE_DECOVF): Likewise.
12961         (FPE_DECDIV): Likewise.
12962         (FPE_DECERR): Likewise.
12963         (FPE_INVASC): Likewise.
12964         (FPE_INVDEC): Likewise.
12965         (SEGV_MAPERR): Likewise.
12966         (SEGV_ACCERR): Likewise.
12967         (SEGV_PSTKOVF): Likewise.
12968         (BUS_ADRALN): Likewise.
12969         (BUS_ADRERR): Likewise.
12970         (BUS_OBJERR): Likewise.
12971         (BUS_MCEERR_AR): Likewise.
12972         (BUS_MCEERR_AO): Likewise.
12973         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12974         (TRAP_TRACE): Likewise.
12975         (TRAP_BRANCH): Likewise.
12976         (TRAP_HWBKPT): Likewise.
12977         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12978         __USE_XOPEN2K8].
12979         (CLD_KILLED): Likewise.
12980         (CLD_DUMPED): Likewise.
12981         (CLD_TRAPPED): Likewise.
12982         (CLD_STOPPED): Likewise.
12983         (CLD_CONTINUED): Likewise.
12984         (POLL_IN): Likewise.
12985         (POLL_OUT): Likewise.
12986         (POLL_MSG): Likewise.
12987         (POLL_ERR): Likewise.
12988         (POLL_PRI): Likewise.
12989         (POLL_HUP): Likewise.
12990         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12991         (ILL_ILLOPN): Likewise.
12992         (ILL_ILLADR): Likewise.
12993         (ILL_ILLTRP): Likewise.
12994         (ILL_PRVOPC): Likewise.
12995         (ILL_PRVREG): Likewise.
12996         (ILL_COPROC): Likewise.
12997         (ILL_BADSTK): Likewise.
12998         (FPE_INTDIV): Likewise.
12999         (FPE_INTOVF): Likewise.
13000         (FPE_FLTDIV): Likewise.
13001         (FPE_FLTOVF): Likewise.
13002         (FPE_FLTUND): Likewise.
13003         (FPE_FLTRES): Likewise.
13004         (FPE_FLTINV): Likewise.
13005         (FPE_FLTSUB): Likewise.
13006         (SEGV_MAPERR): Likewise.
13007         (SEGV_ACCERR): Likewise.
13008         (BUS_ADRALN): Likewise.
13009         (BUS_ADRERR): Likewise.
13010         (BUS_OBJERR): Likewise.
13011         (BUS_MCEERR_AR): Likewise.
13012         (BUS_MCEERR_AO): Likewise.
13013         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13014         (TRAP_TRACE): Likewise.
13015         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13016         __USE_XOPEN2K8].
13017         (CLD_KILLED): Likewise.
13018         (CLD_DUMPED): Likewise.
13019         (CLD_TRAPPED): Likewise.
13020         (CLD_STOPPED): Likewise.
13021         (CLD_CONTINUED): Likewise.
13022         (POLL_IN): Likewise.
13023         (POLL_OUT): Likewise.
13024         (POLL_MSG): Likewise.
13025         (POLL_ERR): Likewise.
13026         (POLL_PRI): Likewise.
13027         (POLL_HUP): Likewise.
13028         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13029         (ILL_ILLOPN): Likewise.
13030         (ILL_ILLADR): Likewise.
13031         (ILL_ILLTRP): Likewise.
13032         (ILL_PRVOPC): Likewise.
13033         (ILL_PRVREG): Likewise.
13034         (ILL_COPROC): Likewise.
13035         (ILL_BADSTK): Likewise.
13036         (FPE_INTDIV): Likewise.
13037         (FPE_INTOVF): Likewise.
13038         (FPE_FLTDIV): Likewise.
13039         (FPE_FLTOVF): Likewise.
13040         (FPE_FLTUND): Likewise.
13041         (FPE_FLTRES): Likewise.
13042         (FPE_FLTINV): Likewise.
13043         (FPE_FLTSUB): Likewise.
13044         (SEGV_MAPERR): Likewise.
13045         (SEGV_ACCERR): Likewise.
13046         (BUS_ADRALN): Likewise.
13047         (BUS_ADRERR): Likewise.
13048         (BUS_OBJERR): Likewise.
13049         (BUS_MCEERR_AR): Likewise.
13050         (BUS_MCEERR_AO): Likewise.
13051         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13052         (TRAP_TRACE): Likewise.
13053         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13054         __USE_XOPEN2K8].
13055         (CLD_KILLED): Likewise.
13056         (CLD_DUMPED): Likewise.
13057         (CLD_TRAPPED): Likewise.
13058         (CLD_STOPPED): Likewise.
13059         (CLD_CONTINUED): Likewise.
13060         (POLL_IN): Likewise.
13061         (POLL_OUT): Likewise.
13062         (POLL_MSG): Likewise.
13063         (POLL_ERR): Likewise.
13064         (POLL_PRI): Likewise.
13065         (POLL_HUP): Likewise.
13066         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13067         (ILL_ILLOPN): Likewise.
13068         (ILL_ILLADR): Likewise.
13069         (ILL_ILLTRP): Likewise.
13070         (ILL_PRVOPC): Likewise.
13071         (ILL_PRVREG): Likewise.
13072         (ILL_COPROC): Likewise.
13073         (ILL_BADSTK): Likewise.
13074         (FPE_INTDIV): Likewise.
13075         (FPE_INTOVF): Likewise.
13076         (FPE_FLTDIV): Likewise.
13077         (FPE_FLTOVF): Likewise.
13078         (FPE_FLTUND): Likewise.
13079         (FPE_FLTRES): Likewise.
13080         (FPE_FLTINV): Likewise.
13081         (FPE_FLTSUB): Likewise.
13082         (SEGV_MAPERR): Likewise.
13083         (SEGV_ACCERR): Likewise.
13084         (BUS_ADRALN): Likewise.
13085         (BUS_ADRERR): Likewise.
13086         (BUS_OBJERR): Likewise.
13087         (BUS_MCEERR_AR): Likewise.
13088         (BUS_MCEERR_AO): Likewise.
13089         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13090         (TRAP_TRACE): Likewise.
13091         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13092         __USE_XOPEN2K8].
13093         (CLD_KILLED): Likewise.
13094         (CLD_DUMPED): Likewise.
13095         (CLD_TRAPPED): Likewise.
13096         (CLD_STOPPED): Likewise.
13097         (CLD_CONTINUED): Likewise.
13098         (POLL_IN): Likewise.
13099         (POLL_OUT): Likewise.
13100         (POLL_MSG): Likewise.
13101         (POLL_ERR): Likewise.
13102         (POLL_PRI): Likewise.
13103         (POLL_HUP): Likewise.
13104         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13105         (ILL_ILLOPN): Likewise.
13106         (ILL_ILLADR): Likewise.
13107         (ILL_ILLTRP): Likewise.
13108         (ILL_PRVOPC): Likewise.
13109         (ILL_PRVREG): Likewise.
13110         (ILL_COPROC): Likewise.
13111         (ILL_BADSTK): Likewise.
13112         (ILL_DBLFLT): Likewise.
13113         (ILL_HARDWALL): Likewise.
13114         (FPE_INTDIV): Likewise.
13115         (FPE_INTOVF): Likewise.
13116         (FPE_FLTDIV): Likewise.
13117         (FPE_FLTOVF): Likewise.
13118         (FPE_FLTUND): Likewise.
13119         (FPE_FLTRES): Likewise.
13120         (FPE_FLTINV): Likewise.
13121         (FPE_FLTSUB): Likewise.
13122         (SEGV_MAPERR): Likewise.
13123         (SEGV_ACCERR): Likewise.
13124         (BUS_ADRALN): Likewise.
13125         (BUS_ADRERR): Likewise.
13126         (BUS_OBJERR): Likewise.
13127         (BUS_MCEERR_AR): Likewise.
13128         (BUS_MCEERR_AO): Likewise.
13129         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13130         (TRAP_TRACE): Likewise.
13131         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13132         __USE_XOPEN2K8].
13133         (CLD_KILLED): Likewise.
13134         (CLD_DUMPED): Likewise.
13135         (CLD_TRAPPED): Likewise.
13136         (CLD_STOPPED): Likewise.
13137         (CLD_CONTINUED): Likewise.
13138         (POLL_IN): Likewise.
13139         (POLL_OUT): Likewise.
13140         (POLL_MSG): Likewise.
13141         (POLL_ERR): Likewise.
13142         (POLL_PRI): Likewise.
13143         (POLL_HUP): Likewise.
13144         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13145         (ILL_ILLOPN): Likewise.
13146         (ILL_ILLADR): Likewise.
13147         (ILL_ILLTRP): Likewise.
13148         (ILL_PRVOPC): Likewise.
13149         (ILL_PRVREG): Likewise.
13150         (ILL_COPROC): Likewise.
13151         (ILL_BADSTK): Likewise.
13152         (FPE_INTDIV): Likewise.
13153         (FPE_INTOVF): Likewise.
13154         (FPE_FLTDIV): Likewise.
13155         (FPE_FLTOVF): Likewise.
13156         (FPE_FLTUND): Likewise.
13157         (FPE_FLTRES): Likewise.
13158         (FPE_FLTINV): Likewise.
13159         (FPE_FLTSUB): Likewise.
13160         (SEGV_MAPERR): Likewise.
13161         (SEGV_ACCERR): Likewise.
13162         (BUS_ADRALN): Likewise.
13163         (BUS_ADRERR): Likewise.
13164         (BUS_OBJERR): Likewise.
13165         (BUS_MCEERR_AR): Likewise.
13166         (BUS_MCEERR_AO): Likewise.
13167         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13168         (TRAP_TRACE): Likewise.
13169         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13170         __USE_XOPEN2K8].
13171         (CLD_KILLED): Likewise.
13172         (CLD_DUMPED): Likewise.
13173         (CLD_TRAPPED): Likewise.
13174         (CLD_STOPPED): Likewise.
13175         (CLD_CONTINUED): Likewise.
13176         (POLL_IN): Likewise.
13177         (POLL_OUT): Likewise.
13178         (POLL_MSG): Likewise.
13179         (POLL_ERR): Likewise.
13180         (POLL_PRI): Likewise.
13181         (POLL_HUP): Likewise.
13182         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13183         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13184
13185         [BZ #16670]
13186         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13187         before #include of <time.h>.
13188         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13189         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13190         (test-xfail-UNIX98/sched.h/conform): Likewise.
13191
13192 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13193
13194         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13195         error absence of trapping exception support.
13196         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13197
13198 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13199
13200         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13201         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13202         * timezone/Makefile (testdata): Move definition above include of
13203         Rules.
13204         (test-zones): New variable.
13205         (tests-special): Add zone files.
13206         (build-testdata): Use $(evaluate-test).
13207
13208         * elf/Makefile (tests-special): Rename tests to end with .out.
13209         ($(objpfx)noload-mem): Likewise.
13210         ($(objpfx)tst-leaks1-mem): Likewise.
13211         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13212         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13213         $(objpfx)test-iconvconfig.out.
13214         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13215         set -e inside subshell and redirect output to file.
13216         * iconvdata/Makefile (generated): Rename tests to end with .out.
13217         Correct type.
13218         (tests-special): Rename tests to end with .out.
13219         ($(objpfx)mtrace-tst-loading): Likewise.
13220         * intl/Makefile (generated): Likewise.
13221         (tests-special): Likewise.
13222         ($(objpfx)mtrace-tst-gettext): Likewise.
13223         * misc/Makefile (generated): Likewise.
13224         (tests-special): Likewise.
13225         ($(objpfx)tst-error1-mem): Likewise.
13226         * nptl/Makefile (tests-special): Likewise.
13227         ($(objpfx)tst-stack3-mem): Likewise.
13228         (generated): Likewise.
13229         * posix/Makefile (generated): Likewise.
13230         (tests-special): Likewise.
13231         (xtests-special): Likewise.
13232         ($(objpfx)tst-fnmatch-mem): Likewise.
13233         ($(objpfx)bug-regex2-mem): Likewise.
13234         ($(objpfx)bug-regex14-mem): Likewise.
13235         ($(objpfx)bug-regex21-mem): Likewise.
13236         ($(objpfx)bug-regex31-mem): Likewise.
13237         ($(objpfx)tst-vfork3-mem): Likewise.
13238         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13239         ($(objpfx)tst-pcre-mem): Likewise.
13240         ($(objpfx)tst-boost-mem): Likewise.
13241         ($(objpfx)bug-ga2-mem): Likewise.
13242         ($(objpfx)bug-glob2-mem): Likewise.
13243         * resolv/Makefile (generate): Likewise.
13244         (tests-special): Likewise.
13245         (xtests-special): Likewise.
13246         (generated): Likewise.
13247         ($(objpfx)mtrace-tst-leaks): Likewise.
13248         ($(objpfx)mtrace-tst-leaks2): Likewise.
13249
13250         * scripts/merge-test-results.sh: New file.
13251         * Makefile (tests-special-notdir): New variable.
13252         (tests): Run merge-test-results.sh.
13253         (xtests): Likewise.
13254         * Rules (tests-special-notdir): New variable.
13255         (xtests-special-notdir): Likewise.
13256         (tests): Run merge-test-results.sh
13257         (xtests): Likewise.
13258
13259         * Makeconfig (test-xfail-name): New variable.
13260         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13261         compute variable name for expected failures.
13262         * conform/Makefile (conformtest-headers-data): New variable.
13263         (conformtest-standards): Likewise.
13264         (conformtest-headers-ISO): Likewise.
13265         (conformtest-headers-ISO99): Likewise.
13266         (conformtest-headers-ISO11): Likewise.
13267         (conformtest-headers-POSIX): Likewise.
13268         (conformtest-headers-XPG3): Likewise.
13269         (conformtest-headers-XPG4): Likewise.
13270         (conformtest-headers-UNIX98): Likewise.
13271         (conformtest-headers-XOPEN2K): Likewise.
13272         (conformtest-headers-POSIX2008): Likewise.
13273         (conformtest-headers-XOPEN2K8): Likewise.
13274         (conformtest-header-list-base): Likewise.
13275         (conformtest-header-list-tests): Likewise.
13276         (conformtest-header-base): Likewise.
13277         (conformtest-header-tests): Likewise.
13278         (tests-special): Add $(conformtest-header-list-tests).  If
13279         [$(fast-check) && !$(cross-compiling)], add
13280         $(conformtest-header-tests) instead of
13281         $(objpfx)run-conformtest.out.
13282         (generated): Add $(conformtest-header-list-base).  If
13283         [$(fast-check) && !$(cross-compiling)], add
13284         $(conformtest-header-base).  Remove previous setting.
13285         ($(conformtest-header-list-tests)): New target.
13286         (test-xfail-run-conformtest): Remove variable.
13287         ($(objpfx)run-conformtest.out): Remove target.
13288         (test-xfail-ISO11/complex.h/conform): New variable.
13289         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13290         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13291         (test-xfail-XPG3/varargs.h/conform): Likewise.
13292         (test-xfail-XPG4/varargs.h/conform): Likewise.
13293         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13294         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13295         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13296         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13297         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13298         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13299         (test-xfail-XPG3/ftw.h/conform): Likewise.
13300         (test-xfail-XPG3/grp.h/conform): Likewise.
13301         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13302         (test-xfail-XPG3/limits.h/conform): Likewise.
13303         (test-xfail-XPG3/pwd.h/conform): Likewise.
13304         (test-xfail-XPG3/search.h/conform): Likewise.
13305         (test-xfail-XPG3/signal.h/conform): Likewise.
13306         (test-xfail-XPG3/stdio.h/conform): Likewise.
13307         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13308         (test-xfail-XPG3/string.h/conform): Likewise.
13309         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13310         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13311         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13312         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13313         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13314         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13315         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13316         (test-xfail-XPG3/termios.h/conform): Likewise.
13317         (test-xfail-XPG3/time.h/conform): Likewise.
13318         (test-xfail-XPG3/unistd.h/conform): Likewise.
13319         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13320         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13321         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13322         (test-xfail-XPG4/netdb.h/conform): Likewise.
13323         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13324         (test-xfail-XPG4/signal.h/conform): Likewise.
13325         (test-xfail-XPG4/stdio.h/conform): Likewise.
13326         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13327         (test-xfail-XPG4/stropts.h/conform): Likewise.
13328         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13329         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13330         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13331         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13332         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13333         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13334         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13335         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13336         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13337         (test-xfail-XPG4/termios.h/conform): Likewise.
13338         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13339         (test-xfail-XPG4/unistd.h/conform): Likewise.
13340         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13341         (test-xfail-POSIX/sched.h/conform): Likewise.
13342         (test-xfail-POSIX/signal.h/conform): Likewise.
13343         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13344         (test-xfail-POSIX/tar.h/conform): Likewise.
13345         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13346         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13347         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13348         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13349         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13350         (test-xfail-UNIX98/sched.h/conform): Likewise.
13351         (test-xfail-UNIX98/signal.h/conform): Likewise.
13352         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13353         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13354         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13355         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13356         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13357         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13358         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13359         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13360         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13361         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13362         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13363         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13364         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13365         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13366         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13367         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13368         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13369         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13370         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13371         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13372         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13373         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13374         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13375         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13376         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13377         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13378         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13379         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13380         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13381         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13382         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13383         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13384         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13385         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13386         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13387         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13388         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13389         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13390         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13391         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13392         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13393         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13394         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13395         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13396         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13397         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13398         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13399         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13400         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13401         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13402         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13403         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13404         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13405         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13406         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13407         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13408         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13409         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13410         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13411         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13412         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13413         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13414         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13415         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13416         (conformtest-cc-flags): Likewise.
13417         ($(conformtest-header-tests): New target.
13418         * conform/check-header-lists.sh: New file.
13419         * conform/run-conformtest.sh: Remove.
13420
13421         * conform/conformtest.pl: Allow ' and \ in values given for
13422         constants.
13423         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13424         inclusion.
13425         [POSIX] (sys/types.h): Likewise.
13426         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13427         inclusion.
13428         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13429         inclusion.
13430         * conform/data/signal.h-data (SIGIO): Remove expectation.
13431         [XPG3] (SIGBUS): Do not expect.
13432         [POSIX || XPG3] (SIGPOLL): Likewise.
13433         [POSIX || XPG3] (SIGPROF): Likewise.
13434         [POSIX || XPG3] (SIGSYS): Likewise.
13435         [XPG3] (SIGTRAP): Likewise.
13436         [POSIX || XPG3] (SIGURG): Likewise.
13437         [POSIX || XPG3] (SIGVTALRM): Likewise.
13438         [POSIX || XPG3] (SIGXCPU): Likewise.
13439         [POSIX || XPG3] (SIGXFSZ): Likewise.
13440         [POSIX] (SA_SIGINFO): Expect.
13441         [XPG3] (siginfo_t): Do not expect type or contents.
13442         [POSIX] (si_pid): Do not expect element.
13443         [POSIX] (si_uid): Likewise.
13444         [POSIX] (si_addr): Likewise.
13445         [POSIX] (si_status): Likewise.
13446         [POSIX] (si_band): Likewise.
13447         [XPG4] (si_value): Likewise.
13448         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13449         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13450         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13451         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13452         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13453         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13454         [POSIX || XPG3] (ILL_COPROC): Likewise.
13455         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13456         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13457         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13458         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13459         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13460         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13461         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13462         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13463         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13464         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13465         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13466         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13467         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13468         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13469         [POSIX || XPG3] (CLD_EXITED): Likewise.
13470         [POSIX || XPG3] (CLD_KILLED): Likewise.
13471         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13472         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13473         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13474         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13475         [POSIX || XPG3] (POLL_IN): Likewise.
13476         [POSIX || XPG3] (POLL_OUT): Likewise.
13477         [POSIX || XPG3] (POLL_MSG): Likewise.
13478         [POSIX || XPG3] (POLL_ERR): Likewise.
13479         [POSIX || XPG3] (POLL_PRI): Likewise.
13480         [POSIX || XPG3] (POLL_HUP): Likewise.
13481         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13482         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13483         (SIG*): Do not allow.
13484         [XPG3] (si_*): Likewise.
13485         [XPG3] (SI_*): Likewise.
13486         [XPG3 || XPG4] (sigev_*): Likewise.
13487         [XPG3 || XPG4] (SIGEV_*): Likewise.
13488         [XPG3 || XPG4] (sival_*): Likewise.
13489         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13490         [POSIX || XPG3] (BUS_*): Likewise.
13491         [POSIX || XPG3] (CLD_*): Likewise.
13492         [POSIX || XPG3] (FPE_*): Likewise.
13493         [POSIX || XPG3] (ILL_*): Likewise.
13494         [POSIX || XPG3] (POLL_*): Likewise.
13495         [POSIX || XPG3] (SEGV_*): Likewise.
13496         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13497         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13498         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13499         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13500         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13501         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13502         Specify type and value.
13503         (TVERSLEN): Likewise.
13504         (REGTYPE): Likewise.
13505         (AREGTYPE): Likewise.
13506         (LNKTYPE): Likewise.
13507         (SYMTYPE): Likewise.
13508         (CHRTYPE): Likewise.
13509         (BLKTYPE): Likewise.
13510         (DIRTYPE): Likewise.
13511         (FIFOTYPE): Likewise.
13512         (CONTTYPE): Likewise.
13513         (TSUID): Likewise.
13514         (TSGID): Likewise.
13515         (TSVTX): Likewise.
13516         (TUREAD): Likewise.
13517         (TUWRITE): Likewise.
13518         (TUEXEC): Likewise.
13519         (TGREAD): Likewise.
13520         (TGWRITE): Likewise.
13521         (TGEXEC): Likewise.
13522         (TOREAD): Likewise.
13523         (TOWRITE): Likewise.
13524         (TOEXEC): Likewise.
13525         [POSIX] (TSVTX): Expect constant.
13526
13527 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13528
13529         * Makefile (tests): Change dependencies to ....
13530         (tests-special): ... additions to this variable.
13531         (tests): Depend on $(tests-special).
13532         * Makerules (check-abi-list): New variable.
13533         (check-abi): Depend on $(check-abi-list).
13534         [$(subdir) = elf] (tests-special): Add
13535         $(objpfx)check-abi-libc.out.
13536         [$(build-shared) = yes && subdir] (tests-special): Add
13537         $(check-abi-list).
13538         [$(build-shared) = yes && subdir] (tests): Do not depend on
13539         check-abi.
13540         * Rules (tests): Depend on $(tests-special).
13541         (xtests): Depend on $(xtests-special).
13542         * catgets/Makefile (tests): Change dependencies to ....
13543         (tests-special): ... additions to this variable.
13544         * conform/Makefile (tests): Change dependencies to ....
13545         (tests-special): ... additions to this variable.
13546         * elf/Makefile (tests): Change dependencies to ....
13547         (tests-special): ... additions to this variable.
13548         * grp/Makefile (tests): Change dependencies to ....
13549         (tests-special): ... additions to this variable.
13550         * iconv/Makefile (xtests): Change dependencies to ....
13551         (xtests-special): ... additions to this variable.
13552         * iconvdata/Makefile (tests): Change dependencies to ....
13553         (tests-special): ... additions to this variable.
13554         * intl/Makefile (tests): Change dependencies to ....
13555         (tests-special): ... additions to this variable.  Also add
13556         $(objpfx)tst-gettext.out.
13557         * io/Makefile (tests): Change dependencies to ....
13558         (tests-special): ... additions to this variable.
13559         * libio/Makefile (tests): Change dependencies to ....
13560         (tests-special): ... additions to this variable.
13561         * malloc/Makefile (tests): Change dependencies to ....
13562         (tests-special): ... additions to this variable.
13563         * misc/Makefile (tests): Change dependencies to ....
13564         (tests-special): ... additions to this variable.
13565         * nptl/Makefile (tests): Change dependencies to ....
13566         (tests-special): ... additions to this variable.
13567         * nptl_db/Makefile (tests): Change dependencies to ....
13568         (tests-special): ... additions to this variable.
13569         * posix/Makefile (tests): Change dependencies to ....
13570         (tests-special): ... additions to this variable.
13571         (xtests): Change dependencies to ....
13572         (xtests-special): ... additions to this variable.
13573         * resolv/Makefile (tests): Change dependencies to ....
13574         (tests-special): ... additions to this variable.
13575         (xtests): Change dependencies to ....
13576         (xtests-special): ... additions to this variable.
13577         * stdio-common/Makefile (tests): Change dependencies to ....
13578         (tests-special): ... additions to this variable.
13579         (do-tst-unbputc): Remove target.
13580         (do-tst-printf): Likewise.
13581         * stdlib/Makefile (tests): Change dependencies to ....
13582         (tests-special): ... additions to this variable.
13583         * string/Makefile (tests): Change dependencies to ....
13584         (tests-special): ... additions to this variable.
13585         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13586         (tests-special): ... additions to this variable.
13587
13588         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13589         whole file.
13590         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13591         whole file.
13592         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13593         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13594
13595         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13596         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13597         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13598         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13599         * conform/data/libgen.h-data [XPG3]: Likewise.
13600         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13601         * conform/data/ndbm.h-data [XPG3]: Likewise.
13602         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13603         * conform/data/netdb.h-data [XPG3]: Likewise.
13604         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13605         * conform/data/poll.h-data [XPG3]: Likewise.
13606         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13607         * conform/data/strings.h-data [XPG3]: Likewise.
13608         * conform/data/stropts.h-data [XPG3]: Likewise.
13609         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13610         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13611         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13612         Likewise.
13613         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13614         * conform/data/sys/time.h-data [XPG3]: Likewise.
13615         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13616         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13617         * conform/data/sys/un.h-data [XPG3]: Likewise.
13618         * conform/data/syslog.h-data [XPG3]: Likewise.
13619         * conform/data/ucontext.h-data [XPG3]: Likewise.
13620         * conform/data/utmpx.h-data [XPG3]: Likewise.
13621         * conform/data/varargs.h-data [UNIX98]: Enable file.
13622
13623         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13624
13625         * math/libm-test.inc (struct test_f_f_data): Move expected results
13626         into structure for each rounding mode.
13627         (struct test_ff_f_data): Likewise.
13628         (struct test_ff_f_data_nexttoward): Likewise.
13629         (struct test_fi_f_data): Likewise.
13630         (struct test_fl_f_data): Likewise.
13631         (struct test_if_f_data): Likewise.
13632         (struct test_fff_f_data): Likewise.
13633         (struct test_c_f_data): Likewise.
13634         (struct test_f_f1_data): Likewise.
13635         (struct test_fF_f1_data): Likewise.
13636         (struct test_ffI_f1_data): Likewise.
13637         (struct test_c_c_data): Likewise.
13638         (struct test_cc_c_data): Likewise.
13639         (struct test_f_i_data): Likewise.
13640         (struct test_ff_i_data): Likewise.
13641         (struct test_f_l_data): Likewise.
13642         (struct test_f_L_data): Likewise.
13643         (struct test_fFF_11_data): Likewise.
13644         (RM_): New macro.
13645         (RM_FE_DOWNWARD): Likewise.
13646         (RM_FE_TONEAREST): Likewise.
13647         (RM_FE_TOWARDZERO): Likewise.
13648         (RM_FE_UPWARD): Likewise.
13649         (RUN_TEST_LOOP_f_f): Update references to expected results.
13650         (RUN_TEST_LOOP_2_f): Likewise.
13651         (RUN_TEST_LOOP_fff_f): Likewise.
13652         (RUN_TEST_LOOP_c_f): Likewise.
13653         (RUN_TEST_LOOP_f_f1): Likewise.
13654         (RUN_TEST_LOOP_fF_f1): Likewise.
13655         (RUN_TEST_LOOP_fI_f1): Likewise.
13656         (RUN_TEST_LOOP_ffI_f1): Likewise.
13657         (RUN_TEST_LOOP_c_c): Likewise.
13658         (RUN_TEST_LOOP_cc_c): Likewise.
13659         (RUN_TEST_LOOP_f_i): Likewise.
13660         (RUN_TEST_LOOP_f_i_tg): Likewise.
13661         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13662         (RUN_TEST_LOOP_f_b): Likewise.
13663         (RUN_TEST_LOOP_f_b_tg): Likewise.
13664         (RUN_TEST_LOOP_f_l): Likewise.
13665         (RUN_TEST_LOOP_f_L): Likewise.
13666         (RUN_TEST_LOOP_fFF_11): Likewise.
13667         * math/gen-libm-test.pl (parse_args): Output four copies of
13668         expected results for each test.
13669
13670         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13671         (__ASSUME_UTIMES): Remove.
13672         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13673         (__ASSUME_UTIMES): Likewise.
13674
13675         * math/gen-auto-libm-tests.c: Update comment on output format.
13676         (output_for_one_input_case): Generate before-rounding and
13677         after-rounding information as conditions on output flags not
13678         floating-point format.
13679         * math/auto-libm-test-out: Regenerated.
13680         * math/gen-libm-test.pl (cond_value): New function.
13681         (or_cond_value): Use cond_value.
13682         (generate_testfile): Handle conditional exceptions.
13683
13684 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13685
13686         * math/libm-test.inc (max_valid_error): New variable.
13687         (init_max_error): Take new argument specifying whether function
13688         results are exactly determined.  Set max_valid_error and bound
13689         other variables for errors based on this argument.
13690         (set_max_error): Do not record results above max_valid_error.
13691         (check_float_internal): Only accept errors of up to 0.5ulps if
13692         also at most max_valid_error.
13693         (START): Take new argument EXACT and pass it to init_max_error.
13694         (acos_test): Update call to START.
13695         (acos_test_tonearest): Likewise.
13696         (acos_test_towardzero): Likewise.
13697         (acos_test_downward): Likewise.
13698         (acos_test_upward): Likewise.
13699         (acosh_test): Likewise.
13700         (asin_test): Likewise.
13701         (asin_test_tonearest): Likewise.
13702         (asin_test_towardzero): Likewise.
13703         (asin_test_downward): Likewise.
13704         (asin_test_upward): Likewise.
13705         (asinh_test): Likewise.
13706         (atan_test): Likewise.
13707         (atanh_test): Likewise.
13708         (atan2_test): Likewise.
13709         (cabs_test): Likewise.
13710         (cacos_test): Likewise.
13711         (cacosh_test): Likewise.
13712         (carg_test): Likewise.
13713         (casin_test): Likewise.
13714         (casinh_test): Likewise.
13715         (catan_test): Likewise.
13716         (catanh_test): Likewise.
13717         (cbrt_test): Likewise.
13718         (ccos_test): Likewise.
13719         (ccosh_test): Likewise.
13720         (ceil_test): Likewise.
13721         (cexp_test): Likewise.
13722         (cimag_test): Likewise.
13723         (clog_test): Likewise.
13724         (clog10_test): Likewise.
13725         (conj_test): Likewise.
13726         (copysign_test): Likewise.
13727         (cos_test): Likewise.
13728         (cos_test_tonearest): Likewise.
13729         (cos_test_towardzero): Likewise.
13730         (cos_test_downward): Likewise.
13731         (cos_test_upward): Likewise.
13732         (cosh_test): Likewise.
13733         (cosh_test_tonearest): Likewise.
13734         (cosh_test_towardzero): Likewise.
13735         (cosh_test_downward): Likewise.
13736         (cosh_test_upward): Likewise.
13737         (cpow_test): Likewise.
13738         (cproj_test): Likewise.
13739         (creal_test): Likewise.
13740         (csin_test): Likewise.
13741         (csinh_test): Likewise.
13742         (csqrt_test): Likewise.
13743         (ctan_test): Likewise.
13744         (ctan_test_tonearest): Likewise.
13745         (ctan_test_towardzero): Likewise.
13746         (ctan_test_downward): Likewise.
13747         (ctan_test_upward): Likewise.
13748         (ctanh_test): Likewise.
13749         (ctanh_test_tonearest): Likewise.
13750         (ctanh_test_towardzero): Likewise.
13751         (ctanh_test_downward): Likewise.
13752         (ctanh_test_upward): Likewise.
13753         (erf_test): Likewise.
13754         (erfc_test): Likewise.
13755         (exp_test): Likewise.
13756         (exp_test_tonearest): Likewise.
13757         (exp_test_towardzero): Likewise.
13758         (exp_test_downward): Likewise.
13759         (exp_test_upward): Likewise.
13760         (exp10_test): Likewise.
13761         (exp10_test_tonearest): Likewise.
13762         (exp10_test_towardzero): Likewise.
13763         (exp10_test_downward): Likewise.
13764         (exp10_test_upward): Likewise.
13765         (pow10_test): Likewise.
13766         (exp2_test): Likewise.
13767         (expm1_test): Likewise.
13768         (expm1_test_tonearest): Likewise.
13769         (expm1_test_towardzero): Likewise.
13770         (expm1_test_downward): Likewise.
13771         (expm1_test_upward): Likewise.
13772         (fabs_test): Likewise.
13773         (fdim_test): Likewise.
13774         (floor_test): Likewise.
13775         (fma_test): Likewise.
13776         (fma_test_towardzero): Likewise.
13777         (fma_test_downward): Likewise.
13778         (fma_test_upward): Likewise.
13779         (fmax_test): Likewise.
13780         (fmin_test): Likewise.
13781         (fmod_test): Likewise.
13782         (fpclassify_test): Likewise.
13783         (frexp_test): Likewise.
13784         (hypot_test): Likewise.
13785         (ilogb_test): Likewise.
13786         (isfinite_test): Likewise.
13787         (finite_test): Likewise.
13788         (isgreater_test): Likewise.
13789         (isgreaterequal_test): Likewise.
13790         (isinf_test): Likewise.
13791         (isless_test): Likewise.
13792         (islessequal_test): Likewise.
13793         (islessgreater_test): Likewise.
13794         (isnan_test): Likewise.
13795         (isnormal_test): Likewise.
13796         (issignaling_test): Likewise.
13797         (isunordered_test): Likewise.
13798         (j0_test): Likewise.
13799         (j1_test): Likewise.
13800         (jn_test): Likewise.
13801         (ldexp_test): Likewise.
13802         (lgamma_test): Likewise.
13803         (gamma_test): Likewise.
13804         (lrint_test): Likewise.
13805         (lrint_test_tonearest): Likewise.
13806         (lrint_test_towardzero): Likewise.
13807         (lrint_test_downward): Likewise.
13808         (lrint_test_upward): Likewise.
13809         (llrint_test): Likewise.
13810         (llrint_test_tonearest): Likewise.
13811         (llrint_test_towardzero): Likewise.
13812         (llrint_test_downward): Likewise.
13813         (llrint_test_upward): Likewise.
13814         (log_test): Likewise.
13815         (log10_test): Likewise.
13816         (log1p_test): Likewise.
13817         (log2_test): Likewise.
13818         (logb_test): Likewise.
13819         (logb_test_downward): Likewise.
13820         (lround_test): Likewise.
13821         (llround_test): Likewise.
13822         (modf_test): Likewise.
13823         (nearbyint_test): Likewise.
13824         (nextafter_test): Likewise.
13825         (nexttoward_test): Likewise.
13826         (pow_test): Likewise.
13827         (pow_test_tonearest): Likewise.
13828         (pow_test_towardzero): Likewise.
13829         (pow_test_downward): Likewise.
13830         (pow_test_upward): Likewise.
13831         (remainder_test): Likewise.
13832         (drem_test): Likewise.
13833         (remainder_test_tonearest): Likewise.
13834         (drem_test_tonearest): Likewise.
13835         (remainder_test_towardzero): Likewise.
13836         (drem_test_towardzero): Likewise.
13837         (remainder_test_downward): Likewise.
13838         (drem_test_downward): Likewise.
13839         (remainder_test_upward): Likewise.
13840         (drem_test_upward): Likewise.
13841         (remquo_test): Likewise.
13842         (rint_test): Likewise.
13843         (rint_test_tonearest): Likewise.
13844         (rint_test_towardzero): Likewise.
13845         (rint_test_downward): Likewise.
13846         (rint_test_upward): Likewise.
13847         (round_test): Likewise.
13848         (scalb_test): Likewise.
13849         (scalbn_test): Likewise.
13850         (scalbln_test): Likewise.
13851         (signbit_test): Likewise.
13852         (sin_test): Likewise.
13853         (sin_test_tonearest): Likewise.
13854         (sin_test_towardzero): Likewise.
13855         (sin_test_downward): Likewise.
13856         (sin_test_upward): Likewise.
13857         (sincos_test): Likewise.
13858         (sinh_test): Likewise.
13859         (sinh_test_tonearest): Likewise.
13860         (sinh_test_towardzero): Likewise.
13861         (sinh_test_downward): Likewise.
13862         (sinh_test_upward): Likewise.
13863         (sqrt_test): Likewise.
13864         (sqrt_test_tonearest): Likewise.
13865         (sqrt_test_towardzero): Likewise.
13866         (sqrt_test_downward): Likewise.
13867         (sqrt_test_upward): Likewise.
13868         (tan_test): Likewise.
13869         (tan_test_tonearest): Likewise.
13870         (tan_test_towardzero): Likewise.
13871         (tan_test_downward): Likewise.
13872         (tan_test_upward): Likewise.
13873         (tanh_test): Likewise.
13874         (tgamma_test): Likewise.
13875         (trunc_test): Likewise.
13876         (y0_test): Likewise.
13877         (y1_test): Likewise.
13878         (yn_test): Likewise.
13879         (significand_test): Likewise.
13880
13881         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13882         individual tests in comment.
13883         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13884         (prev_max_error): New variable.
13885         (prev_real_max_error): Likewise.
13886         (prev_imag_max_error): Likewise.
13887         (compare_ulp_data): Don't refer to test names in comment.
13888         (find_test_ulps): Remove function.
13889         (find_function_ulps): Likewise.
13890         (find_complex_function_ulps): Likewise.
13891         (init_max_error): Take function name as argument.  Look up ulps
13892         for that function.
13893         (print_ulps): Remove function.
13894         (print_max_error): Use prev_max_error instead of calling
13895         find_function_ulps.
13896         (print_complex_max_error): Use prev_real_max_error and
13897         prev_imag_max_error instead of calling find_complex_function_ulps.
13898         (check_float_internal): Take max_ulp parameter instead of calling
13899         find_test_ulps.  Don't call print_ulps.
13900         (check_float): Update call to check_float_internal.
13901         (check_complex): Update calls to check_float_internal.
13902         (START): Pass argument to init_max_error.
13903         * math/gen-libm-test.pl (%results): Don't include "kind"
13904         information.
13905         (parse_ulps): Don't handle ulps of individual tests.
13906         (print_ulps_file): Likewise.
13907         (output_ulps): Likewise.
13908         * math/README.libm-test: Update.
13909         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13910         individual tests.
13911         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13912         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13913         * sysdeps/arm/libm-test-ulps: Likewise.
13914         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13915         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13916         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13917         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13918         * sysdeps/microblaze/libm-test-ulps: Likewise.
13919         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13920         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13921         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13922         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13923         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13924         * sysdeps/sh/libm-test-ulps: Likewise.
13925         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13926         * sysdeps/tile/libm-test-ulps: Likewise.
13927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13928
13929 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
13930
13931         * math/libm-test.inc (print_complex_max_error): Check separately
13932         whether real and imaginary errors are within allowed range and
13933         pass 0 to print_complex_function_ulps instead of value within
13934         allowed range.
13935
13936 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13937
13938         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13939         formatting.
13940         (get_handles_fopen): Likewise.
13941         (do_write_test): Likewise.
13942
13943         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13944
13945         * libio/fileops.c (do_ftell): Use cached offset when
13946         available.
13947         * libio/iofwide.c (do_ftell_wide): Likewise.
13948         * libio/iofdopen.c (_IO_new_fdopen): Don't use
13949         _IO_file_attach.
13950         * libio/wfileops.c (_IO_fwide): Don't cache offset.
13951
13952         [BZ #16532]
13953         * libio/libioP.h (get_file_offset): New function.
13954         * libio/fileops.c (get_file_offset): Likewise.
13955         (do_ftell): Likewise.
13956         (_IO_new_file_seekoff): Split out ftell logic.
13957         * libio/wfileops.c (do_ftell_wide): Likewise.
13958         (_IO_wfile_seekoff): Split out ftell logic.
13959         * libio/tst-ftell-active-handler.c: New test case.
13960         * libio/Makefile (tests): Add it.
13961
13962 2014-03-03  Roland McGrath  <roland@hack.frob.com>
13963
13964         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13965         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13966
13967 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13968
13969         [BZ #16639]
13970         * nscd/connections.c (nscd_init): Call do_exit.
13971         (start_threads): Call do_exit and notify_parent.
13972         (begin_drop_privileges): Call do_exit.
13973         (finish_drop_privileges): Likewise.
13974         * nscd/selinux.c (preserve_capabilities): Likewise.
13975         (install_real_capabilities): Likewise.
13976         (nscd_selinux_enabled): Likewise.
13977         (avc_create_thread): Likewise.
13978         (avc_alloc_lock): Likewise.
13979         (nscd_avc_init): Likewise.
13980         * nscd/nscd.c (parent_fd): New static variable.
13981         (main): Create a pipe between parent and child processes.
13982         Skip closing parent_fd.
13983         (monitor_child): New function.
13984         (do_exit): Likewise.
13985         (notify_parent): Likewise.
13986         * nscd/nscd.h (notify_parent): Likewise.
13987         (do_exit): Likewise.
13988
13989 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
13990
13991         * malloc/malloc.c (__libc_calloc): Revert last change.
13992
13993 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13994
13995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13996
13997 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13998
13999         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14001         implementation.
14002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14003         (__libc_ifunc_impl_list): Likewise.
14004         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14005         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14006         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14007         * string/strrchr.c: Define STRRCHR.
14008
14009 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14010
14011         * benchtest/bench-strtok.c (simple_strtok): Delete.
14012         (strtok_string): Use as benchmark.
14013         * string/strtok (STRTOK): New macro.
14014
14015 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14016
14017         * manual/threads.texi: Add header and standard comments to all
14018         functions.
14019
14020         * elf/dl-lookup.c (check_match): New function.
14021         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14022         (do_lookup_x): Remove nested function check_match. Use non-nested
14023         function check_match.
14024
14025 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14026
14027         * csu/Makefile (generated, before-compile): Use += rather than =.
14028         * catgets/Makefile (generated, generated-dirs): Likewise.
14029         * debug/Makefile (generated): Likewise.
14030         * dlfcn/Makefile (generated): Likewise.
14031         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14032         * iconvdata/Makefile (before-compile, generated): Likewise.
14033         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14034         * libio/Makefile (generated): Likewise.
14035         * malloc/Makefile (generated): Likewise.
14036         * manual/Makefile (generated, generated-dirs): Likewise.
14037         * misc/Makefile (generated): Likewise.
14038         * posix/Makefile (generated): Likewise.
14039         * resolv/Makefile (generated): Likewise.
14040         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14041         * timezone/Makefile (generated, generated-dirs): Likewise.
14042
14043         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14044
14045 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14046
14047         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14048         power8 implementation.
14049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14050         file: POWER8 llround ifunc implementation.
14051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14052         (__lllround): Add POWER8 implementation.
14053         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14054         POWER8 llround implementation.
14055
14056         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14057         power8 implementation.
14058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14059         file: POWER8 llrint ifunc implementation.
14060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14061         Add POWER8 implementation.
14062         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14063         POWER8 llrint implementation.
14064
14065         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14066         power8 implementation.
14067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14068         file: POWER8 finite ifunc implementation.
14069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14070         Add POWER8 implementation.
14071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14072         Likewise.
14073         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14074         POWER8 finite implementation.
14075         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14076
14077         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14078         power8 implementation.
14079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14080         file: POWER8 isinf ifunc implementation.
14081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14082         POWER8 implementation.
14083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14084         Likewise.
14085         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14086         isinf implementation.
14087         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14088
14089         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14090         (INIT_ARCH): Add hwcap2 initialization.
14091         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14092         power8 implementation.
14093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14094         file: POWER8 isnan ifunc implementation.
14095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14096         POWER8 implementation.
14097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14098         Likewise.
14099         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14100         isnan implementation.
14101         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14102
14103 2014-02-27  Joey Ye  <joey.ye@arm.com>
14104
14105         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14106         (_FP_NANFRAC_Q): Set to zero.
14107
14108 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14109
14110         [BZ #16623]
14111         * math/auto-libm-test-in: New test inputs.
14112         * math/auto-libm-test-out: Regenerate.
14113         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14114         and DA.
14115         (__cos): Likewise.
14116         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14117
14118 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14119
14120         * scripts/evaluate-test.sh: Take new argument indicating whether
14121         failure is expected.
14122         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14123         indicating whether failure is expected.
14124         * conform/Makefile (test-xfail-run-conformtest): New variable.
14125         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14126         level.
14127         * posix/Makefile (test-xfail-annexc): New variable.
14128         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14129
14130 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14131
14132         * argp/Makefile: Include Makeconfig immediately after defining
14133         subdir.
14134         * assert/Makefile: Likewise.
14135         * benchtests/Makefile: Likewise.
14136         * catgets/Makefile: Likewise.
14137         * conform/Makefile: Likewise.
14138         * crypt/Makefile: Likewise.
14139         * csu/Makefile: Likewise.
14140         (all): Remove target.
14141         * ctype/Makefile: Include Makeconfig immediately after defining
14142         subdir.
14143         * debug/Makefile: Likewise.
14144         * dirent/Makefile: Likewise.
14145         * dlfcn/Makefile: Likewise.
14146         * gmon/Makefile: Likewise.
14147         * gnulib/Makefile: Likewise.
14148         * grp/Makefile: Likewise.
14149         * gshadow/Makefile: Likewise.
14150         * hesiod/Makefile: Likewise.
14151         * hurd/Makefile: Likewise.
14152         (all): Remove target.
14153         * iconvdata/Makefile: Include Makeconfig immediately after
14154         defining subdir.
14155         * inet/Makefile: Likewise.
14156         * intl/Makefile: Likewise.
14157         * io/Makefile: Likewise.
14158         * libio/Makefile: Likewise.
14159         (all): Remove target.
14160         * locale/Makefile: Include Makeconfig immediately after defining
14161         subdir.
14162         * login/Makefile: Likewise.
14163         * mach/Makefile: Likewise.
14164         (all): Remove target.
14165         * malloc/Makefile: Include Makeconfig immediately after defining
14166         subdir.
14167         (all): Remove target.
14168         * manual/Makefile: Include Makeconfig immediately after defining
14169         subdir.
14170         * math/Makefile: Likewise.
14171         * misc/Makefile: Likewise.
14172         * nis/Makefile: Likewise.
14173         * nss/Makefile: Likewise.
14174         * po/Makefile: Likewise.
14175         (all): Remove target.
14176         * posix/Makefile: Include Makeconfig immediately after defining
14177         subdir.
14178         * pwd/Makefile: Likewise.
14179         * resolv/Makefile: Likewise.
14180         * resource/Makefile: Likewise.
14181         * rt/Makefile: Likewise.
14182         * setjmp/Makefile: Likewise.
14183         * shadow/Makefile: Likewise.
14184         * signal/Makefile: Likewise.
14185         * socket/Makefile: Likewise.
14186         * soft-fp/Makefile: Likewise.
14187         * stdio-common/Makefile: Likewise.
14188         * stdlib/Makefile: Likewise.
14189         * streams/Makefile: Likewise.
14190         * string/Makefile: Likewise.
14191         * sunrpc/Makefile: Likewise.
14192         (all): Remove target.
14193         * sysvipc/Makefile: Include Makeconfig immediately after defining
14194         subdir.
14195         * termios/Makefile: Likewise.
14196         * time/Makefile: Likewise.
14197         * timezone/Makefile: Likewise.
14198         (all): Remove target.
14199         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14200         subdir.
14201         * wctype/Makefile: Likewise.
14202
14203 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14204
14205         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14206         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14207         (libc_feholdexcept_setround_mips): Ditto.
14208         (libc_feholdsetround): New.
14209         (libc_feholdsetroundf): New.
14210         (libc_feholdsetroundl): New.
14211         (libc_feupdateenv_test_mips): New.
14212         (libc_feupdateenv_test): New.
14213         (libc_feupdateenv_testf): New.
14214         (libc_feupdateenv_testl): New.
14215         (libc_feresetround): New.
14216         (libc_feresetroundf): New.
14217         (libc_feresetroundl): New.
14218         (libc_fetestexcept_mips): New.
14219         (libc_fetestexcept): New.
14220         (libc_fetestexceptf): New.
14221         (libc_fetestexceptl): New.
14222         (HAVE_RM_CTX): New.
14223         (libc_feholdexcept_setround_mips_ctx): New.
14224         (libc_feholdexcept_setround_ctx): New.
14225         (libc_feholdexcept_setroundf_ctx): New.
14226         (libc_feholdexcept_setroundl_ctx): New.
14227         (libc_fesetenv_mips_ctx): New.
14228         (libc_fesetenv_ctx): New.
14229         (libc_fesetenv_ctxf): New.
14230         (libc_fesetenv_ctxl): New.
14231         (libc_feupdateenv_mips_ctx): New.
14232         (libc_feupdateenv_ctx): New.
14233         (libc_feupdateenvf_ctx): New.
14234         (libc_feupdateenvl_ctx): New.
14235         (libc_feholdsetround_mips_ctx): New.
14236         (libc_feholdsetround_ctx): New.
14237         (libc_feholdsetroundf_ctx): New.
14238         (libc_feholdsetroundl_ctx): New.
14239         (libc_feresetround_mips_ctx): New.
14240         (libc_feresetround_ctx): New.
14241         (libc_feresetroundf_ctx): New.
14242         (libc_feresetroundl_ctx): New.
14243
14244 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14245
14246         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14247
14248         * manual/ipc.texi: New file.
14249         * manual/Makefile (chapters): Add ipc.
14250         * manual/job.texi: Add "Inter-Process Communication" to next.
14251         * manual/process.texi: Add "Inter-Process Communication" to prev.
14252
14253 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14254
14255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14256
14257 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14258
14259         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14260
14261         * manual/arith.texi: Fix spaces after sentences.
14262         * manual/charset.texi: Likewise.
14263         * manual/errno.texi: Likewise.
14264         * manual/install.texi: Likewise.
14265         * manual/llio.texi: Likewise.
14266         * manual/locale.texi: Likewise.
14267         * manual/maint.texi: Likewise.
14268         * manual/math.texi: Likewise.
14269         * manual/memory.texi: Likewise.
14270         * manual/message.texi: Likewise.
14271         * manual/probes.texi: Likewise.
14272         * manual/resource.texi: Likewise.
14273         * manual/signal.texi: Likewise.
14274         * manual/socket.texi: Likewise.
14275         * manual/stdio.texi: Likewise.
14276         * manual/string.texi: Likewise.
14277         * manual/time.texi: Likewise.
14278         * manual/users.texi: Likewise.
14279
14280 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14281
14282         [BZ #16632]
14283         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14284         _DEFAULT_SOURCE is defined.
14285
14286 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14287             Carlos O'Donell  <carlos@redhat.com>
14288
14289         [BZ #16613]
14290         * elf/dl-tls.c (_dl_count_modids): New function.
14291         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14292         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14293         audit library and increment generation counter.
14294         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14295         * elf/tst-audit9.c: New file.
14296         * elf/tst-auditmod9a.c: New file.
14297         * elf/tst-auditmod9b.c: New file.
14298         * elf/Makefile: Add rules to build and run tst-audit9.
14299
14300 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14301
14302         [BZ #15347]
14303         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14304
14305 2014-02-25  Will Newton  <will.newton@linaro.org>
14306
14307         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14308         (__longjmp): Restore sp and lr before restoring callee
14309         saved registers.  Add longjmp and longjmp_target
14310         SystemTap probe point.
14311         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14312         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14313         Define to zero to match jmpbuf layout.
14314         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14315         (__sigsetjmp): Save sp and lr before saving callee
14316         saved registers.  Add setjmp SystemTap probe point.
14317
14318 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14319
14320         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14321
14322 2014-02-24  Andreas Schwab  <schwab@suse.de>
14323
14324         [BZ #15804]
14325         * elf/pldd.c (wait_for_ptrace_stop): New function.
14326         (main): Call it after attaching.
14327
14328 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14329
14330         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14331         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14332         Versions files is now verboten.
14333         * hurd/Versions (libc: GLIBC_2.0):
14334         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14335         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14336         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14337         * mach/Versions: Likewise.
14338
14339         * csu/Versions: Remove unused %include.
14340         * resolv/Versions: Likewise.
14341
14342 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14343
14344         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14345         ($(objpfx)check-local-headers.out): Likewise.
14346         ($(objpfx)begin-end-check.out): Likewise.
14347         * Makerules (check-abi-%.out): Likewise.
14348         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14349         ($(objpfx)test2.cat): Likewise.
14350         ($(objpfx)de/libc.cat): Likewise.
14351         ($(objpfx)test-gencat.out): Likewise.
14352         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14353         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14354         ($(objpfx)noload-mem): Likewise.
14355         ($(objpfx)tst-pathopt.out): Likewise.
14356         ($(objpfx)tst-rtld-load-self.out): Likewise.
14357         ($(objpfx)tst-array1-cmp.out): Likewise.
14358         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14359         ($(objpfx)tst-array2-cmp.out): Likewise.
14360         ($(objpfx)tst-array3-cmp.out): Likewise.
14361         ($(objpfx)tst-array4-cmp.out): Likewise.
14362         ($(objpfx)tst-array5-cmp.out): Likewise.
14363         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14364         ($(objpfx)check-textrel.out): Likewise.
14365         ($(objpfx)check-execstack.out): Likewise.
14366         ($(objpfx)check-localplt.out): Likewise.
14367         ($(objpfx)order2-cmp.out): Likewise.
14368         ($(objpfx)tst-leaks1-mem): Likewise.
14369         ($(objpfx)tst-leaks1-static-mem): Likewise.
14370         ($(objpfx)tst-initorder-cmp.out): Likewise.
14371         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14372         ($(objpfx)tst-unused-dep.out): Likewise.
14373         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14374         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14375         * iconv/Makefile (test-iconvconfig): Likewise.
14376         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14377         ($(objpfx)iconv-test.out): Likewise.
14378         ($(objpfx)tst-tables.out): Likewise.
14379         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14380         ($(objpfx)tst-gettext.out): Likewise.
14381         ($(objpfx)tst-translit.out): Likewise.
14382         ($(objpfx)tst-gettext2.out): Likewise.
14383         ($(objpfx)tst-gettext4.out): Likewise.
14384         ($(objpfx)tst-gettext6.out): Likewise.
14385         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14386         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14387         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14388         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14389         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14390         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14391         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14392         ($(objpfx)wordexp-tst.out): Likewise.
14393         ($(objpfx)annexc.out): Likewise.
14394         ($(objpfx)tst-fnmatch-mem): Likewise.
14395         ($(objpfx)bug-regex2-mem): Likewise.
14396         ($(objpfx)bug-regex14-mem): Likewise.
14397         ($(objpfx)bug-regex21-mem): Likewise.
14398         ($(objpfx)bug-regex31-mem): Likewise.
14399         ($(objpfx)tst-vfork3-mem): Likewise.
14400         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14401         ($(objpfx)tst-pcre-mem): Likewise.
14402         ($(objpfx)tst-boost-mem): Likewise.
14403         ($(objpfx)tst-getconf.out): Likewise.
14404         ($(objpfx)bug-ga2-mem): Likewise.
14405         ($(objpfx)bug-glob2-mem): Likewise.
14406         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14407         ($(objpfx)mtrace-tst-leaks2): Likewise.
14408         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14409         ($(objpfx)tst-printf.out): Likewise.
14410         ($(objpfx)tst-setvbuf1.out): Likewise.
14411         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14412         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14413         ($(objpfx)tst-fmtmsg.out): Likewise.
14414         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14415         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14416
14417         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14418         * bits/sigaction.h [__USE_MISC]: Likewise.
14419         * bits/waitstatus.h: Update #endif comments.
14420         * ctype/ctype.h: Likewise.
14421         * dirent/dirent.h: Likewise.
14422         [__USE_MISC]: Remove redundant conditionals.
14423         * grp/grp.h: Update #endif comments.
14424         [__USE_GNU]: Remove redundant conditionals.
14425         [__USE_MISC]: Likewise.
14426         * inet/netinet/in.h [__USE_GNU]: Likewise.
14427         * io/sys/stat.h [__USE_MISC]: Likewise.
14428         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14429         * libio/bits/stdio.h: Update #endif comments.
14430         [__USE_MISC]: Remove redundant conditionals.
14431         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14432         * libio/stdio.h: Update #endif comments.
14433         [__USE_MISC]: Remove redundant conditionals.
14434         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14435         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14436         * math/math.h: Update #else and #endif comments.
14437         [__USE_MISC]: Remove redundant conditionals.
14438         * misc/sys/uio.h: Update #endif comments.
14439         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14440         * posix/glob.h [__USE_MISC]: Likewise.
14441         * posix/sys/types.h: Update #endif comments.
14442         [__USE_MISC]: Remove redundant conditionals.
14443         * posix/sys/wait.h: Update #endif comments.
14444         [__USE_MISC]: Remove redundant conditionals.
14445         * posix/unistd.h: Update #endif comments.
14446         [__USE_MISC]: Remove redundant conditionals.
14447         * pwd/pwd.h [__USE_GNU]: Likewise.
14448         [__USE_MISC]: Likewise.
14449         * resolv/netdb.h [__USE_GNU]: Likewise.
14450         * signal/signal.h: Update #endif comments.
14451         [__USE_MISC]: Remove redundant conditionals.
14452         * stdlib/stdlib.h: Update #else and #endif comments.
14453         [__USE_MISC]: Remove redundant conditionals.
14454         [__USE_GNU]: Likewise.
14455         * string/bits/string2.h [__USE_MISC]: Likewise.
14456         * string/string.h: Update #endif comments.
14457         [__USE_MISC]: Remove redundant conditionals.
14458         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14459         Likewise.
14460         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14461         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14462         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14463         Likewise.
14464         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14465         Likewise.
14466         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14467         comments.
14468         [__USE_MISC]: Remove redundant conditionals.
14469         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14470         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14471         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14472         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14473         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14474         Likewise.
14475         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14476         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14477         Likewise.
14478         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14479         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14480         Likewise.
14481         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14482         Likewise.
14483         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14484         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14485         Likewise.
14486         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14487         Likewise.
14488         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14489         * sysdeps/x86/bits/string.h: Update #endif comments.
14490         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14491         conditionals.
14492         * time/sys/time.h: Update #endif comments.
14493         * time/time.h: Likewise.
14494         [__USE_MISC]: Remove redundant conditionals.
14495
14496 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14497
14498         [BZ #16600]
14499         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14500
14501 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14502
14503         * Versions.def (librt): Add GLIBC_2.17.
14504
14505 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14506
14507         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14508         synonym for _SYS_AUXV_H to allow direct inclusion.
14509         * sysdeps/sparc/bits/hwcap.h: Likewise.
14510         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14511         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14512         * sysdeps/sparc/sysdep.h: Likewise.
14513
14514 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14515
14516         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14517
14518 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14519
14520         * benchtests/bench-strrchr.c: Print length instead of position.
14521
14522 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14523
14524         [BZ #16611]
14525         * sysdeps/unix/sysv/linux/kernel-features.h
14526         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14527         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14528         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14529         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14530         Likewise.
14531         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14532         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14533         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14534         (__ASSUME_SENDMMSG): Define instead of using previous
14535         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14536         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14537         (__ASSUME_SENDMMSG_SYSCALL): Define.
14538         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14539         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14540         Likewise.
14541         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14542         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14543         Likewise.
14544         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14545         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14546         Likewise.
14547         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14548         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14549         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14550         [__ASSUME_SENDMMSG]: Change conditionals to
14551         [__ASSUME_SENDMMSG_SOCKETCALL].
14552         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14553         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14554         Define.
14555         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14556         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14557         Likewise.
14558         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14559         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14560         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14561         [!__ASSUME_SENDMMSG]: Change conditional to
14562         [!__ASSUME_SENDMMSG_SOCKETCALL].
14563         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14564         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14565         Define.
14566
14567         [BZ #16610]
14568         * sysdeps/unix/sysv/linux/kernel-features.h
14569         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14570         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14571         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14572         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14573         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14574         [__i386__ || __sparc__]
14575         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14576         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14577         (__ASSUME_RECVMMSG): Define instead of using previous
14578         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14579         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14580         (__ASSUME_RECVMMSG_SYSCALL): Define.
14581         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14582         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14583         Likewise.
14584         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14585         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14586         Likewise.
14587         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14588         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14589         Likewise.
14590         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14591         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14592         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14593         [__ASSUME_RECVMMSG]: Change condition to
14594         [__ASSUME_RECVMMSG_SOCKETCALL].
14595         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14596         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14597         Define.
14598         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14599         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14600         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14601         Likewise.
14602         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14603         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14604         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14605         [!__ASSUME_RECVMMSG]: Change condition to
14606         [!__ASSUME_RECVMMSG_SOCKETCALL].
14607         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14608         (__ASSUME_RECVMMSG_SYSCALL): Define.
14609
14610         [BZ #16609]
14611         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14612         __powerpc__ || __s390__ || __sh__ || __sparc__]
14613         (__ASSUME_SOCKETCALL): Define.
14614         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14615         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14616         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14617         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14618         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14619         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14620         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14621         (__ASSUME_ACCEPT4): Define instead of using previous
14622         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14623         __powerpc__ || __sparc__ || __s390__)] condition.
14624         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14625         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14626         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14627         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14628         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14629         [!__ASSUME_ACCEPT4]: Change condition to
14630         [!__ASSUME_ACCEPT4_SOCKETCALL].
14631         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14632         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14633         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14634         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14635         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14636         __ASSUME_ACCEPT4_SYSCALL.
14637         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14638         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14639         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14640         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14641         __ASSUME_ACCEPT4_SYSCALL.
14642         * sysdeps/unix/sysv/linux/internal_accept4.S [__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/m68k/kernel-features.h
14648         (__ASSUME_SOCKETCALL): Define.
14649         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14650         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14651         (__ASSUME_SOCKETCALL): Define.
14652         (__ASSUME_ACCEPT4): Remove.
14653         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14654         Define.
14655         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14656         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14657         Likewise.
14658         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14659         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14660
14661         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14662         macro.
14663         (HWCAP_ARM_LPAE): Likewise.
14664         (HWCAP_ARM_EVTSTRM): Likewise.
14665         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14666         Add vpfd32, lpae and evtstrm.
14667         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14668         Increase to 22.
14669
14670 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14671
14672         * math/auto-libm-test-in: Add tests of clog10.
14673         * math/auto-libm-test-out: Regenerated.
14674         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14675         * sysdeps/i386/fpu/libm-test-ulps: Update.
14676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14677
14678 2014-02-18  Andreas Schwab  <schwab@suse.de>
14679
14680         [BZ #16574]
14681         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14682         Store non-zero if the second buffer was newly allocated.
14683         (send_dg): Likewise.
14684         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14685         to send_vc and send_dg.
14686         (res_nsend): Pass NULL for ansp2_malloced.
14687         * resolv/res_query.c (__libc_res_nquery): Add parameter
14688         answerp2_malloced and pass it down to __libc_res_nsend.
14689         (res_nquery): Pass additional NULL to __libc_res_nquery.
14690         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14691         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14692         second answer buffer if answerp2_malloced was set.
14693         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14694         (__libc_res_nquerydomain): Add parameter
14695         answerp2_malloced and pass it down to __libc_res_nquery.
14696         (res_nquerydomain): Pass additional NULL to
14697         __libc_res_nquerydomain.
14698         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14699         additional NULL to __libc_res_nsend and __libc_res_nquery.
14700         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14701         additional NULL to __libc_res_nsearch.
14702         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14703         parameter of __libc_res_nsearch to check for separately allocated
14704         second buffer.
14705         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14706         __libc_res_nquery.
14707         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14708         additional NULL to __libc_res_nquery.
14709         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14710         __libc_res_nsearch.
14711         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14712         * include/resolv.h: Update prototypes of __libc_res_nquery,
14713         __libc_res_nsearch, __libc_res_nsend.
14714
14715 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14716
14717         * math/auto-libm-test-in: Add tests of fma.
14718         * math/auto-libm-test-out: Regenerated.
14719         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14720         (fma_towardzero_test_data): Likewise.
14721         (fma_downward_test_data): Likewise.
14722         (fma_upward_test_data): Likewise.
14723         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14724         mpc_mode.
14725         (rounding_modes): Add values for new field.
14726         (func_calc_method): Add value mpfr_fff_f.
14727         (func_calc_desc): Add mpfr_fff_f union field.
14728         (test_function): Add field exact_args.
14729         (FUNC): Add macro argument EXACT_ARGS.
14730         (FUNC_mpfr_f_f): Update call to FUNC.
14731         (FUNC_mpfr_f_f): Likewise.
14732         (FUNC_mpfr_ff_f): Likewise.
14733         (FUNC_mpfr_if_f): Likewise.
14734         (FUNC_mpc_c_f): Likewise.
14735         (FUNC_mpc_c_c): Likewise.
14736         (test_functions): Add fma.  Update calls to FUNC.
14737         (handle_input_arg): Add argument exact_args.
14738         (add_test): Update call to handle_input_arg.
14739         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
14740         (output_for_one_input_case): Update call to calc_generic_results.
14741         Recalculate exact zero results in each rounding mode.
14742
14743         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14744         non-negative before setting low bit.
14745         * math/auto-libm-test-in: Mark one asin test possibly having
14746         spurious underflow.
14747         * math/auto-libm-test-out: Regenerated.
14748         * sysdeps/i386/fpu/libm-test-ulps: Update.
14749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14750
14751 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
14752
14753         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14754         * sysdeps/unix/sysv/linux/microblaze: Move directory from
14755         ports/sysdeps/unix/sysv/linux/microblaze.
14756         * README: Add missing listing for microblaze*-*-linux-gnu.
14757
14758 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
14759
14760         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14761         duplicate code
14762
14763 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
14764
14765         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14766         * sysdeps/unix/sysv/linux/ia64: Move directory from
14767         ports/sysdeps/unix/sysv/linux/ia64.
14768         * README: Update listing for ia64-*-linux-gnu.
14769
14770 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
14771             Joseph Myers  <joseph@codesourcery.com>
14772
14773         * Makeconfig (test-name): New variable.
14774         (evaluate-test): Likewise.
14775         * Makerules (do-test-clean): Remove .test-result files.
14776         (common-mostlyclean): Likewise.
14777         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14778         * scripts/evaluate-test.sh: New file.
14779
14780 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
14781
14782         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14783         separate $(objpfx)tst-fopenloc-cmp.out and
14784         $(objpfx)tst-fopenloc-mem.out targets.
14785         (tests): Update dependencies.
14786         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14787         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14788         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14789         (tst-rxspencer-no-utf8-ARGS): New variable.
14790         (tst-rxspencer-no-utf8-ENV): Likewise.
14791         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14792         instead of $(objpfx)tst-rxspencer-mem.
14793         ($(objpfx)tst-rxspencer-mem): Change target to
14794         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
14795         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14796         * posix/tst-rxspencer-no-utf8.c: New file.
14797
14798         * elf/Makefile ($(objpfx)order.out): Remove rule.
14799         [$(run-built-tests) = yes] (tests): Depend on
14800         $(objpfx)order-cmp.out.
14801         ($(objpfx)order-cmp.out): New rule.
14802         [$(run-built-tests) = yes] (tests): Depend on
14803         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14804         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14805         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14806         $(objpfx)tst-array5-static-cmp.out.
14807         ($(objpfx)tst-array1.out): Remove rule.
14808         ($(objpfx)tst-array1-cmp.out): New rule.
14809         ($(objpfx)tst-array1-static.out): Remove rule.
14810         ($(objpfx)tst-array1-static-cmp.out): New rule.
14811         ($(objpfx)tst-array2.out): Remove rule.
14812         ($(objpfx)tst-array2-cmp.out): New rule.
14813         ($(objpfx)tst-array3.out): Remove rule.
14814         ($(objpfx)tst-array3-cmp.out): New rule.
14815         ($(objpfx)tst-array4.out): Remove rule.
14816         ($(objpfx)tst-array4-cmp.out): New rule.
14817         ($(objpfx)tst-array5.out): Remove rule.
14818         ($(objpfx)tst-array5-cmp.out): New rule.
14819         ($(objpfx)tst-array5-static.out): Remove rule.
14820         ($(objpfx)tst-array5-static-cmp.out): New rule.
14821         [$(run-built-tests) = yes] (tests): Depend on
14822         $(objpfx)order2-cmp.out.
14823         ($(objpfx)order2.out): Remove rule.
14824         ($(objpfx)order2-cmp.out): New rule.
14825         ($(objpfx)tst-initorder.out): Remove rule.
14826         [$(run-built-tests) = yes] (tests): Depend on
14827         $(objpfx)tst-initorder-cmp.out.
14828         ($(objpfx)tst-initorder-cmp.out): New rule.
14829         ($(objpfx)tst-initorder2.out): Remove rule.
14830         [$(run-built-tests) = yes] (tests): Depend on
14831         $(objpfx)tst-initorder2-cmp.out.
14832         ($(objpfx)tst-initorder2-cmp.out): New rule.
14833         [$(run-built-tests) = yes] (tests): Depend on
14834         $(objpfx)tst-unused-dep-cmp.out.
14835         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14836         ($(objpfx)tst-unused-dep-cmp.out): New rule.
14837         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14838         on $(objpfx)tst-setvbuf1-cmp.out.
14839         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14840         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14841         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14842         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14843         ($(objpfx)tst-svc.out): Remove rule.
14844         ($(objpfx)tst-svc-cmp.out): New rule.
14845
14846 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
14847
14848         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14849         * ctype/ctype.h [__USE_MISC]: Likewise.
14850         * dirent/dirent.h [__USE_MISC]: Likewise.
14851         * grp/grp.h [__USE_MISC]: Likewise.
14852         * io/fcntl.h [__USE_MISC]: Likewise.
14853         * io/sys/stat.h [__USE_MISC]: Likewise.
14854         * libio/stdio.h [__USE_MISC]: Likewise.
14855         * posix/unistd.h [__USE_MISC]: Likewise.
14856         * pwd/pwd.h [__USE_MISC]: Likewise.
14857         * stdlib.h [__USE_MISC]: Likewise.
14858         * string/bits/string2.h [__USE_MISC]: Likewise.
14859         * string/string.h [__USE_MISC]: Likewise.
14860         * time/time.h [__USE_MISC]: Likewise.
14861
14862 2014-02-13  Andreas Schwab  <schwab@suse.de>
14863
14864         [BZ #16574]
14865         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14866         second answer buffer if it was separately allocated.
14867
14868 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
14869
14870         * sysdeps/mips/math-tests.h: Include <features.h>.
14871         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14872         (ROUNDING_TESTS_long_double): Do not define.
14873         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14874         (EXCEPTION_TESTS_long_double): Likewise.
14875         * sysdeps/mips/mips64/libm-test-ulps: Update.
14876
14877         * include/features.h (__USE_BSD): Remove macro definitions.
14878         (__USE_SVID): Likewise.
14879         (_BSD_SOURCE): Likewise.
14880         (_SVID_SOURCE): Likewise.
14881         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14882         from definition of _DEFAULT_SOURCE.
14883         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14884         [_DEFAULT_SOURCE].
14885         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14886         * bits/mman.h [__USE_BSD]: Likewise.
14887         * bits/termios.h [__USE_BSD]: Likewise.
14888         * bits/waitstatus.h [__USE_BSD]: Likewise.
14889         * ctype/ctype.h [__USE_SVID]: Likewise.
14890         * dirent/dirent.h [__USE_BSD]: Likewise.
14891         * grp/grp.h [__USE_SVID]: Likewise.
14892         [__USE_BSD]: Likewise.
14893         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14894         * io/fcntl.h [__USE_BSD]: Likewise.
14895         * io/ftw.h [__USE_BSD]: Likewise.
14896         * io/sys/stat.h [__USE_BSD]: Likewise.
14897         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14898         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14899         * libio/stdio.h [__USE_SVID]: Likewise.
14900         [__USE_BSD]: Likewise.
14901         * math/math.h [__USE_SVID]: Likewise.
14902         [__USE_BSD]: Likewise.
14903         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14904         * misc/bits/syslog.h [__USE_BSD]: Likewise.
14905         * misc/search.h [__USE_SVID]: Likewise.
14906         * misc/sys/mman.h [__USE_BSD]: Likewise.
14907         * misc/sys/syslog.h [__USE_BSD]: Likewise.
14908         * misc/sys/uio.h [__USE_BSD]: Likewise.
14909         * posix/bits/unistd.h [__USE_BSD]: Likewise.
14910         * posix/glob.h [__USE_BSD]: Likewise.
14911         * posix/regex.h [__USE_BSD]: Likewise.
14912         * posix/sys/types.h [__USE_BSD]: Likewise.
14913         [__USE_SVID]: Likewise.
14914         * posix/sys/utsname.h [__USE_SVID]: Likewise.
14915         * posix/sys/wait.h [__USE_BSD]: Likewise.
14916         [__USE_SVID]: Likewise.
14917         * posix/unistd.h [__USE_BSD]: Likewise.
14918         [__USE_SVID]: Likewise.
14919         * pwd/pwd.h [__USE_SVID]: Likewise.
14920         * resolv/netdb.h [__USE_BSD]: Likewise.
14921         * setjmp/setjmp.h [__USE_BSD]: Likewise.
14922         * signal/signal.h [__USE_BSD]: Likewise.
14923         [__USE_SVID]: Likewise.
14924         * socket/sys/socket.h [__USE_BSD]: Likewise.
14925         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14926         * stdlib/stdlib.h [__USE_BSD]: Likewise.
14927         [__USE_SVID]: Likewise.
14928         * string/bits/string2.h [__USE_BSD]: Likewise.
14929         [__USE_SVID]: Likewise.
14930         * string/bits/string3.h [__USE_BSD]: Likewise.
14931         * string/endian.h [__USE_BSD]: Likewise.
14932         * string/string.h [__USE_SVID]: Likewise.
14933         [__USE_BSD]: Likewise.
14934         * string/strings.h [__USE_BSD]: Likewise.
14935         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14936         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14937         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14938         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14939         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14940         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14941         Likewise.
14942         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14943         Likewise.
14944         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14945         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14946         Likewise.
14947         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14948         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14949         Likewise.
14950         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14951         Likewise.
14952         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14953         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14954         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14955         Likewise.
14956         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14957         Likewise.
14958         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14959         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14960         * termios/termios.h [__USE_BSD]: Likewise.
14961         * time/sys/time.h [__USE_BSD]: Likewise.
14962         * time/time.h [__USE_BSD]: Likewise.
14963         [__USE_SVID]: Likewise.
14964
14965         * Makefile (subdir_targets): Remove subdir_lint.out.
14966
14967         * stdio-common/Makefile (do-tst-unbputc): Remove target.
14968         (do-tst-printf): Likewise.
14969         (tests): Depend directly on $(objpfx)tst-unbputc.out and
14970         $(objpfx)tst-printf.out.
14971
14972         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14973
14974         * Makerules (check-abi-%): Change target to
14975         $(objpfx)check-abi-%.out.
14976         (check-abi target): Update dependencies.
14977         (check-abi-pattern variable): Redirect output of diff to $@.
14978         (check-abi variable): Likewise.
14979         * elf/Makefile (check-abi): Update dependencies.
14980
14981         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14982         unused.
14983         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14984         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14985         subnormal range.
14986         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14987         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14988         value has largest subnormal exponent.
14989         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14990         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14991         * sysdeps/aarch64/soft-fp/sfp-machine.h
14992         (_FP_TININESS_AFTER_ROUNDING): New macro.
14993         * sysdeps/alpha/soft-fp/sfp-machine.h
14994         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14995         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14996         Likewise.
14997         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14998         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14999         * sysdeps/mips/soft-fp/sfp-machine.h
15000         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15001         * sysdeps/powerpc/soft-fp/sfp-machine.h
15002         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15003         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15004         Likewise.
15005         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15006         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15007         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15008         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15009         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15010         Likewise.
15011
15012 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15013
15014         [BZ #16545]
15015         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15016         model 1.
15017
15018 2014-02-12  Richard Henderson  <rth@redhat.com>
15019
15020         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15021         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15022         * sysdeps/unix/sysv/linux/alpha: Move directory from
15023         ports/sysdeps/unix/sysv/linux/alpha.
15024         * README: Update listing for alpha-*-linux-gnu.
15025
15026 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15027
15028         * include/features.h: Update comment documenting feature test
15029         macros.
15030         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15031         _DEFAULT_SOURCE.
15032         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15033         (_SVID_SOURCE): Likewise.
15034         (_DEFAULT_SOURCE): Update description of default features.
15035         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15036         with _GNU_SOURCE.
15037         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15038         (S_ISVTX): Likewise.
15039         * manual/math.texi (Mathematical Constants): Likewise.
15040         * manual/signal.texi (Interrupted Primitives): Likewise.
15041         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15042         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15043         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15044         Don't refer to _SVID_SOURCE in warning text.
15045
15046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15047
15048         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15049         already defined.
15050         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15051         * sysdeps/mips/dl-lookup.c: Remove.
15052         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15053
15054 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15055
15056         [BZ #16447]
15057         * math/auto-libm-test-in: Add testcase for expl.
15058         * math/auto-libm-test-out: Regenerate.
15059         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15060         calculation of unsafe.
15061         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15062
15063 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15064
15065         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15066         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15067         ports/sysdeps/unix/sysv/linux/aarch64.
15068         * README: Update listing for aarch64*-*-linux-gnu.
15069
15070 2014-02-11  Will Newton  <will.newton@linaro.org>
15071
15072         * manual/probes.texi (Mathematical Function Probes): Use
15073         "triggered" instead of "hit".
15074
15075         * manual/probes.texi (Internal Probes): Add documentation
15076         of setjmp, longjmp and longjmp_target probes.
15077
15078         * include/stap-probe.h: Add comment about probe argument
15079         format.
15080
15081         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15082         definition.  (tr_where, tr_freehook, tr_mallochook,
15083         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15084
15085 2014-02-11  David S. Miller  <davem@davemloft.net>
15086
15087         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15088         processing int_tests.
15089
15090 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15091
15092         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15093         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15094         * sysdeps/unix/sysv/linux/mips: Move directory from
15095         ports/sysdeps/unix/sysv/linux/mips.
15096         * README: Update listing for mips-*-linux-gnu and
15097         mips64-*-linux-gnu.
15098
15099 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15100
15101         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15102         * sysdeps/unix/sysv/linux/m68k: Move directory from
15103         ports/sysdeps/unix/sysv/linux/m68k.
15104         * README: Update listing for m68k-*-linux-gnu.
15105
15106 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15107
15108         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15109         * sysdeps/unix/sysv/linux/generic: Move directory from
15110         ports/sysdeps/unix/sysv/linux/generic.
15111         * sysdeps/unix/sysv/linux/tile: Move directory from
15112         ports/sysdeps/unix/sysv/linux/tile.
15113         * README: Update listing for tile*-*-linux-gnu.
15114
15115 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15116
15117         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15118         __builtin_expect.
15119         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15120         * catgets/open_catalog.c (__open_catalog): Likewise.
15121         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15122         * debug/confstr_chk.c: Likewise.
15123         * debug/fread_chk.c (__fread_chk): Likewise.
15124         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15125         * debug/getgroups_chk.c: Likewise.
15126         * debug/mbsnrtowcs_chk.c: Likewise.
15127         * debug/mbsrtowcs_chk.c: Likewise.
15128         * debug/mbstowcs_chk.c: Likewise.
15129         * debug/memcpy_chk.c: Likewise.
15130         * debug/memmove_chk.c: Likewise.
15131         * debug/mempcpy_chk.c: Likewise.
15132         * debug/memset_chk.c: Likewise.
15133         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15134         * debug/strcat_chk.c (__strcat_chk): Likewise.
15135         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15136         * debug/strncat_chk.c (__strncat_chk): Likewise.
15137         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15138         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15139         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15140         * debug/wcpncpy_chk.c: Likewise.
15141         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15142         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15143         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15144         * debug/wcsncpy_chk.c: Likewise.
15145         * debug/wcsnrtombs_chk.c: Likewise.
15146         * debug/wcsrtombs_chk.c: Likewise.
15147         * debug/wcstombs_chk.c: Likewise.
15148         * debug/wmemcpy_chk.c: Likewise.
15149         * debug/wmemmove_chk.c: Likewise.
15150         * debug/wmempcpy_chk.c: Likewise.
15151         * debug/wmemset_chk.c: Likewise.
15152         * dirent/scandirat.c (SCANDIRAT): Likewise.
15153         * dlfcn/dladdr1.c (dladdr1): Likewise.
15154         * dlfcn/dladdr.c (dladdr): Likewise.
15155         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15156         * dlfcn/dlerror.c (__dlerror): Likewise.
15157         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15158         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15159         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15160         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15161         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15162         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15163         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15164         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15165         Likewise.
15166         * elf/dl-conflict.c: Likewise.
15167         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15168         * elf/dl-dst.h: Likewise.
15169         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15170         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15171         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15172         * elf/dl-init.c (call_init, _dl_init): Likewise.
15173         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15174         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15175         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15176         Likewise.
15177         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15178         Likewise.
15179         * elf/dl-minimal.c (__libc_memalign): Likewise.
15180         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15181         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15182         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15183         * elf/dl-sym.c (do_sym): Likewise.
15184         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15185         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15186         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15187         * elf/dl-writev.h (_dl_writev): Likewise.
15188         * elf/ldconfig.c (search_dir): Likewise.
15189         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15190         (dl_main): Likewise.
15191         * elf/setup-vdso.h (setup_vdso): Likewise.
15192         * grp/compat-initgroups.c (compat_call): Likewise.
15193         * grp/fgetgrent.c (fgetgrent): Likewise.
15194         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15195         * grp/putgrent.c (putgrent): Likewise.
15196         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15197         Likewise.
15198         * hurd/hurdinit.c: Likewise.
15199         * iconvdata/8bit-gap.c (struct): Likewise.
15200         * iconvdata/ansi_x3.110.c : Likewise.
15201         * iconvdata/big5.c : Likewise.
15202         * iconvdata/big5hkscs.c : Likewise.
15203         * iconvdata/cp1255.c: Likewise.
15204         * iconvdata/cp1258.c : Likewise.
15205         * iconvdata/cp932.c : Likewise.
15206         * iconvdata/euc-cn.c: Likewise.
15207         * iconvdata/euc-jisx0213.c : Likewise.
15208         * iconvdata/euc-jp.c: Likewise.
15209         * iconvdata/euc-jp-ms.c : Likewise.
15210         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15211         * iconvdata/gb18030.c : Likewise.
15212         * iconvdata/gbbig5.c (const): Likewise.
15213         * iconvdata/gbgbk.c: Likewise.
15214         * iconvdata/gbk.c : Likewise.
15215         * iconvdata/ibm1364.c : Likewise.
15216         * iconvdata/ibm930.c : Likewise.
15217         * iconvdata/ibm932.c: Likewise.
15218         * iconvdata/ibm933.c : Likewise.
15219         * iconvdata/ibm935.c : Likewise.
15220         * iconvdata/ibm937.c : Likewise.
15221         * iconvdata/ibm939.c : Likewise.
15222         * iconvdata/ibm943.c: Likewise.
15223         * iconvdata/iso_11548-1.c: Likewise.
15224         * iconvdata/iso-2022-cn.c : Likewise.
15225         * iconvdata/iso-2022-cn-ext.c : Likewise.
15226         * iconvdata/iso-2022-jp-3.c: Likewise.
15227         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15228         * iconvdata/iso-2022-kr.c : Likewise.
15229         * iconvdata/iso646.c (gconv_end): Likewise.
15230         * iconvdata/iso_6937-2.c : Likewise.
15231         * iconvdata/iso_6937.c : Likewise.
15232         * iconvdata/iso8859-1.c: Likewise.
15233         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15234         * iconvdata/shift_jisx0213.c : Likewise.
15235         * iconvdata/sjis.c : Likewise.
15236         * iconvdata/t.61.c : Likewise.
15237         * iconvdata/tcvn5712-1.c : Likewise.
15238         * iconvdata/tscii.c: Likewise.
15239         * iconvdata/uhc.c : Likewise.
15240         * iconvdata/unicode.c (gconv_end): Likewise.
15241         * iconvdata/utf-16.c (gconv_end): Likewise.
15242         * iconvdata/utf-32.c (gconv_end): Likewise.
15243         * iconvdata/utf-7.c (base64): Likewise.
15244         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15245         * iconv/gconv_close.c (__gconv_close): Likewise.
15246         * iconv/gconv_open.c (__gconv_open): Likewise.
15247         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15248         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15249         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15250         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15251         (ucs4le_internal_loop_single): Likewise.
15252         * iconv/iconv.c (iconv): Likewise.
15253         * iconv/iconv_close.c: Likewise.
15254         * iconv/loop.c (SINGLE): Likewise.
15255         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15256         * include/atomic.h: Likewise.
15257         * inet/inet6_option.c (option_alloc): Likewise.
15258         * intl/bindtextdom.c (set_binding_values): Likewise.
15259         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15260         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15261         * intl/localealias.c (read_alias_file): Likewise.
15262         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15263         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15264         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15265         * libio/fmemopen.c (fmemopen): Likewise.
15266         * libio/iofgets.c (_IO_fgets): Likewise.
15267         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15268         * libio/iofgetws.c (fgetws): Likewise.
15269         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15270         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15271         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15272         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15273         * locale/findlocale.c (_nl_find_locale): Likewise.
15274         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15275         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15276         Likewise.
15277         * locale/setlocale.c (setlocale): Likewise.
15278         * login/programs/pt_chown.c (main): Likewise.
15279         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15280         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15281         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15282         (mmap, mmap64, mremap, munmap): Likewise.
15283         * math/e_exp2l.c: Likewise.
15284         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15285         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15286         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15287         * math/s_catan.c (__catan): Likewise.
15288         * math/s_catanf.c (__catanf): Likewise.
15289         * math/s_catanh.c (__catanh): Likewise.
15290         * math/s_catanhf.c (__catanhf): Likewise.
15291         * math/s_catanhl.c (__catanhl): Likewise.
15292         * math/s_catanl.c (__catanl): Likewise.
15293         * math/s_ccosh.c (__ccosh): Likewise.
15294         * math/s_ccoshf.c (__ccoshf): Likewise.
15295         * math/s_ccoshl.c (__ccoshl): Likewise.
15296         * math/s_cexp.c (__cexp): Likewise.
15297         * math/s_cexpf.c (__cexpf): Likewise.
15298         * math/s_cexpl.c (__cexpl): Likewise.
15299         * math/s_clog10.c (__clog10): Likewise.
15300         * math/s_clog10f.c (__clog10f): Likewise.
15301         * math/s_clog10l.c (__clog10l): Likewise.
15302         * math/s_clog.c (__clog): Likewise.
15303         * math/s_clogf.c (__clogf): Likewise.
15304         * math/s_clogl.c (__clogl): Likewise.
15305         * math/s_csin.c (__csin): Likewise.
15306         * math/s_csinf.c (__csinf): Likewise.
15307         * math/s_csinh.c (__csinh): Likewise.
15308         * math/s_csinhf.c (__csinhf): Likewise.
15309         * math/s_csinhl.c (__csinhl): Likewise.
15310         * math/s_csinl.c (__csinl): Likewise.
15311         * math/s_csqrt.c (__csqrt): Likewise.
15312         * math/s_csqrtf.c (__csqrtf): Likewise.
15313         * math/s_csqrtl.c (__csqrtl): Likewise.
15314         * math/s_ctan.c (__ctan): Likewise.
15315         * math/s_ctanf.c (__ctanf): Likewise.
15316         * math/s_ctanh.c (__ctanh): Likewise.
15317         * math/s_ctanhf.c (__ctanhf): Likewise.
15318         * math/s_ctanhl.c (__ctanhl): Likewise.
15319         * math/s_ctanl.c (__ctanl): Likewise.
15320         * math/w_pow.c: Likewise.
15321         * math/w_powf.c: Likewise.
15322         * math/w_powl.c: Likewise.
15323         * math/w_scalb.c (sysv_scalb): Likewise.
15324         * math/w_scalbf.c (sysv_scalbf): Likewise.
15325         * math/w_scalbl.c (sysv_scalbl): Likewise.
15326         * misc/error.c (error_tail): Likewise.
15327         * misc/pselect.c (__pselect): Likewise.
15328         * nis/nis_callback.c (__nis_create_callback): Likewise.
15329         * nis/nis_call.c (__nisfind_server): Likewise.
15330         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15331         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15332         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15333         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15334         * nis/nis_lookup.c (nis_lookup): Likewise.
15335         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15336         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15337         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15338         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15339         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15340         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15341         * nis/nss_compat/compat-initgroups.c (add_group)
15342         (internal_getgrent_r): Likewise.
15343         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15344         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15345         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15346         (internal_getspnam_r): Likewise.
15347         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15348         (_nss_nis_getaliasbyname_r): Likewise.
15349         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15350         (_nss_nis_getntohost_r): Likewise.
15351         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15352         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15353         (_nss_nis_getgrgid_r): Likewise.
15354         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15355         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15356         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15357         (_nss_nis_gethostbyname4_r): Likewise.
15358         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15359         (initgroups_netid): Likewise.
15360         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15361         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15362         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15363         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15364         (_nss_nis_getprotobynumber_r): Likewise.
15365         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15366         (_nss_nis_getsecretkey): Likewise.
15367         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15368         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15369         (_nss_nis_getpwuid_r): Likewise.
15370         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15371         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15372         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15373         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15374         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15375         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15376         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15377         Likewise.
15378         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15379         (_nss_nisplus_getntohost_r): Likewise.
15380         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15381         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15382         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15383         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15384         Likewise.
15385         * nis/nss_nisplus/nisplus-initgroups.c
15386         (_nss_nisplus_initgroups_dyn): Likewise.
15387         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15388         (_nss_nisplus_getnetbyaddr_r): Likewise.
15389         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15390         (_nss_nisplus_getprotobynumber_r): Likewise.
15391         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15392         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15393         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15394         Likewise.
15395         * nis/nss_nisplus/nisplus-service.c
15396         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15397         (_nss_nisplus_getservbyport_r): Likewise.
15398         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15399         (_nss_nisplus_getspnam_r): Likewise.
15400         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15401         Likewise.
15402         * nscd/aicache.c (addhstaiX): Likewise.
15403         * nscd/cache.c (cache_search, prune_cache): Likewise.
15404         * nscd/connections.c (register_traced_file, send_ro_fd)
15405         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15406         (main_loop_epoll): Likewise.
15407         * nscd/grpcache.c (addgrbyX): Likewise.
15408         * nscd/hstcache.c (addhstbyX): Likewise.
15409         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15410         * nscd/mem.c (gc, mempool_alloc): Likewise.
15411         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15412         (addinnetgrX): Likewise.
15413         * nscd/nscd-client.h (__nscd_acquire_maplock)
15414         (__nscd_drop_map_ref): Likewise.
15415         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15416         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15417         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15418         Likewise.
15419         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15420         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15421         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15422         (__nscd_get_map_ref): Likewise.
15423         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15424         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15425         Likewise.
15426         * nscd/pwdcache.c (addpwbyX): Likewise.
15427         * nscd/selinux.c (preserve_capabilities): Likewise.
15428         * nscd/servicescache.c (addservbyX): Likewise.
15429         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15430         * posix/fnmatch.c (fnmatch): Likewise.
15431         * posix/getopt.c (_getopt_internal_r): Likewise.
15432         * posix/glob.c (glob, glob_in_dir): Likewise.
15433         * posix/wordexp.c (exec_comm_child): Likewise.
15434         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15435         (getanswer_r, gaih_getanswer_slice): Likewise.
15436         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15437         * resolv/res_init.c: Likewise.
15438         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15439         * resolv/res_query.c (__libc_res_nquery): Likewise.
15440         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15441         Likewise.
15442         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15443         * stdio-common/perror.c (perror): Likewise.
15444         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15445         * stdio-common/tmpnam.c (tmpnam): Likewise.
15446         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15447         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15448         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15449         Likewise.
15450         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15451         * stdlib/putenv.c (putenv): Likewise.
15452         * stdlib/setenv.c (__add_to_environ): Likewise.
15453         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15454         * stdlib/strtol_l.c (INTERNAL): Likewise.
15455         * string/memmem.c (memmem): Likewise.
15456         * string/strerror.c (strerror): Likewise.
15457         * string/strnlen.c (__strnlen): Likewise.
15458         * string/test-memmem.c (simple_memmem): Likewise.
15459         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15460         * sunrpc/pm_getport.c (__get_socket): Likewise.
15461         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15462         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15463         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15464         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15465         Likewise.
15466         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15467         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15468         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15469         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15470         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15471         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15472         Likewise.
15473         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15474         Likewise.
15475         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15476         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15477         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15478         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15479         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15480         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15481         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15482         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15483         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15484         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15485         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15486         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15487         Likewise.
15488         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15489         Likewise.
15490         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15491         Likewise.
15492         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15493         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15494         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15495         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15496         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15497         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15498         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15499         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15500         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15501         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15502         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15503         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15504         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15505         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15506         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15507         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15508         Likewise.
15509         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15510         Likewise.
15511         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15512         Likewise.
15513         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15514         Likewise.
15515         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15516         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15517         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15518         Likewise.
15519         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15520         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15521         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15522         * sysdeps/posix/sleep.c: Likewise.
15523         * sysdeps/posix/tempname.c: Likewise.
15524         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15525         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15526         Likewise.
15527         * sysdeps/powerpc/powerpc32/dl-machine.h
15528         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15529         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15530         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15531         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15532         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15533         Likewise.
15534         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15535         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15536         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15537         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15538         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15539         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15540         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15541         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15542         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15543         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15544         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15545         (elf_machine_lazy_rel): Likewise.
15546         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15547         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15548         (elf_machine_lazy_rel): Likewise.
15549         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15550         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15551         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15552         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15553         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15554         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15555         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15556         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15557         Likewise.
15558         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15559         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15560         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15561         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15562         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15563         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15564         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15565         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15566         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15567         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15568         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15569         Likewise.
15570         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15571         (__posix_fallocate64_l64): Likewise.
15572         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15573         (posix_fallocate): Likewise.
15574         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15575         Likewise.
15576         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15577         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15578         (getifaddrs_internal): Likewise.
15579         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15580         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15581         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15582         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15583         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15584         (__posix_fallocate64_l64): Likewise.
15585         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15586         Likewise.
15587         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15588         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15589         (__get_clockfreq): Likewise.
15590         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15591         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15592         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15593         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15594         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15595         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15596         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15597         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15598         Likewise.
15599         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15600         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15601         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15602         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15603         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15604         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15605         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15606         Likewise.
15607         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15608         (posix_fallocate): Likewise.
15609         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15610         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15611         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15612         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15613         (elf_machine_rela, elf_machine_rela_relative)
15614         (elf_machine_lazy_rel): Likewise.
15615         * time/asctime.c (asctime_internal): Likewise.
15616         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15617         * time/tzset.c (__tzset_parse_tz): Likewise.
15618         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15619         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15620         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15621         * wcsmbs/wcsmbsload.h: Likewise.
15622
15623         [BZ #15894]
15624         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15625
15626         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15627         (arena_get2): Remove THREAD_STATS conditionals.
15628         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15629         (__malloc_stats, int): Likewise.
15630
15631 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15632
15633         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15634         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15635
15636         * manual/setjmp.texi: Fix typos/grammar errors.
15637
15638         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15639         Only return early when n is <= 0.  Delete unused return statement.
15640
15641         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15642         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15643         * debug/tst-longjmp_chk3.c: New file.
15644
15645         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15646         (test_main): Replace code with set_fortify_handler call.
15647         * debug/test-strcpy_chk.c: Likewise.
15648         * debug/tst-chk1.c: Likewise.
15649         * debug/tst-longjmp_chk.c: Likewise.
15650         * test-skeleton.c: Include fcntl.h & paths.h
15651         (set_fortify_handler): Define.
15652
15653         * debug/tst-longjmp_chk.c: Add header comment and include
15654         ../test-skeleton.c.
15655         (do_test): Mark static.
15656         (TEST_FUNCTION): Define.
15657
15658         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15659         (IP_PMTUDISC_INTERFACE): Likewise.
15660         (IP_MULTICAST_IF): Likewise.
15661         (IP_MULTICAST_TTL): Likewise.
15662         (IP_MULTICAST_LOOP): Likewise.
15663         (IP_ADD_MEMBERSHIP): Likewise.
15664         (IP_DROP_MEMBERSHIP): Likewise.
15665         (IP_UNBLOCK_SOURCE): Likewise.
15666         (IP_BLOCK_SOURCE): Likewise.
15667         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15668         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15669         (IP_MSFILTER): Likewise.
15670         (MCAST_JOIN_GROUP): Likewise.
15671         (MCAST_BLOCK_SOURCE): Likewise.
15672         (MCAST_UNBLOCK_SOURCE): Likewise.
15673         (MCAST_LEAVE_GROUP): Likewise.
15674         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15675         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15676         (MCAST_MSFILTER): Likewise.
15677         (IP_MULTICAST_ALL): Likewise.
15678         (IP_UNICAST_IF): Likewise.
15679
15680         * timezone/Makefile: Delete $(have-ksh) check.
15681         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15682         * timezone/tzselect.ksh: Add +x mode bits.
15683
15684         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15685         (ANON_INODE_FS_MAGIC): Likewise.
15686         (BDEVFS_MAGIC): Likewise.
15687         (BINFMTFS_MAGIC): Likewise.
15688         (BTRFS_TEST_MAGIC): Likewise.
15689         (CRAMFS_MAGIC_WEND): Likewise.
15690         (DEBUGFS_MAGIC): Likewise.
15691         (ECRYPTFS_SUPER_MAGIC): Likewise.
15692         (EXT3_SUPER_MAGIC): Likewise.
15693         (EXT4_SUPER_MAGIC): Likewise.
15694         (FUTEXFS_SUPER_MAGIC): Likewise.
15695         (HOSTFS_SUPER_MAGIC): Likewise.
15696         (HUGETLBFS_MAGIC): Likewise.
15697         (MINIX3_SUPER_MAGIC): Likewise.
15698         (MTD_INODE_FS_MAGIC): Likewise.
15699         (NILFS_SUPER_MAGIC): Likewise.
15700         (OPENPROM_SUPER_MAGIC): Likewise.
15701         (PIPEFS_MAGIC): Likewise.
15702         (PSTOREFS_MAGIC): Likewise.
15703         (QNX6_SUPER_MAGIC): Likewise.
15704         (RAMFS_MAGIC): Likewise.
15705         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15706         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15707         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15708         (SECURITYFS_MAGIC): Likewise.
15709         (SELINUX_MAGIC): Likewise.
15710         (SMACK_MAGIC): Likewise.
15711         (SOCKFS_MAGIC): Likewise.
15712         (SQUASHFS_MAGIC): Likewise.
15713         (STACK_END_MAGIC): Likewise.
15714         (TMPFS_MAGIC): Likewise.
15715         (USBDEVICE_SUPER_MAGIC): Likewise.
15716         (V9FS_MAGIC): Likewise.
15717         (XENFS_SUPER_MAGIC): Likewise.
15718         (CRAMFS_MAGIC): Fix typo in comment.
15719         (EXT2_SUPER_MAGIC): Update comment.
15720         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15721
15722 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15723
15724         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15725         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15726         * sysdeps/unix/sysv/linux/arm: Move directory from
15727         ports/sysdeps/unix/sysv/linux/arm.
15728         * README: Update listing for arm-*-linux-gnueabi.
15729
15730         * README: Remove mention of am33.
15731
15732 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15733
15734         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15735         than the comma operator, to avoid "rhs of comma has no effect"
15736         compiler warnings.
15737         (__sigfillset, __sigandset, __sigorset): Likewise.
15738         * include/signal.h (__sigemptyset): Likewise.
15739         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15740
15741 2014-02-07  Allan McRae  <allan@archlinux.org>
15742
15743         * version.h (RELEASE): Set to "development".
15744         (VERSION): Set to "2.19.90"
15745         * NEWS: Add 2.20 section.
15746
15747 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
15748
15749         [BZ #16529]
15750         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15751
15752 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15753
15754         * manual/contrib.texi: Update entry for Carlos O'Donell,
15755         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15756
15757 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
15758
15759         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15760
15761         * sysdeps/unix/sysv/linux/kernel-features.h
15762         [__LINUX_KERNEL_VERSION >= 0x020621]
15763         (__ASSUME_PROC_PID_TASK_COMM): Define.
15764
15765 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15766
15767         [BZ #16398]
15768         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15769         conversion when destination buffer does not have enough space.
15770         * libio/tst-ftell-partial-wide.c: New test case.
15771         * libio/Makefile (tests): Add tst-ftell-partial-wide.
15772
15773         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15774         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
15775         Leonard and Allan McRae.
15776
15777 2014-02-04  David S. Miller  <davem@davemloft.net>
15778
15779         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15780         32-bit.
15781
15782 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15783
15784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15785         New file
15786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15787         New file
15788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15789         New file.
15790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15791         New file.
15792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15793         New file.
15794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15795         New file.
15796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15797         New file.
15798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15799         New file.
15800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15801         New file.
15802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15803         New file.
15804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15805         New file.
15806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15807         New file.
15808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15809         New file.
15810
15811 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15812
15813         * nptl/shlib-versions: Change powerpc*le start to 2.17.
15814         * shlib-versions: Likewise.
15815
15816 2014-02-04  Roland McGrath  <roland@hack.frob.com>
15817             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15818
15819         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15820         (abilist-pattern): New variable, set to %-le.abilist.
15821
15822         * Makerules (abilist-pattern): New variable.
15823         (vpath): Use $(abilist-pattern) in place of %.abilist.
15824         (check-abi-% pattern rule): Likewise.
15825         (check-abi, update-abi): Likewise.
15826
15827 2014-02-04  Eric Wong  <normalperson@yhbt.net>
15828
15829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15830
15831 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
15832
15833         * manual/startup.texi: Add next, previous, and top entries for
15834         the `Program Arguments' and `Environment Variables' nodes.
15835
15836 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
15837
15838         * manual/macros.texi: Add comments before MTASC-safety macros.
15839
15840         * manual/users.texi: Document MTASC-safety properties.
15841
15842         * manual/threads.texi (pthread_key_create, pthread_key_delete)
15843         (pthread_getspecific, pthread_setspecific): Format with
15844         @deftypefun, and add @safety note.
15845         * manual/signal.texi: Move comments that analyze the above
15846         functions to their home place.
15847
15848 2014-02-03  Allan McRae  <allan@archlinux.org>
15849
15850         * po/sl.po: Update Slovenian translation from translation project.
15851
15852 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
15853
15854         * manual/time.texi (timegm): Add missing blank after @c.
15855         Reported by Joseph Myers <joseph@codesourcery.com>.
15856
15857 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
15858
15859         * manual/check-safety.sh: New.
15860         * manual/Makefile ($(objpfx)stamp-summary): Run it.
15861
15862         * manual/terminal.texi: Document MTASC-safety properties.
15863
15864         * manual/filesys.texi: Document MTASC-safety properties.
15865
15866         * manual/errno.texi: Document MTASC-safety properties.
15867
15868         * manual/intro.texi: Document safety identifiers and
15869         conditionals.
15870
15871         * manual/string.texi (wcstok): Fix prototype.
15872         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15873
15874         * manual/time.texi: Document MTASC-safety properties.
15875
15876         * manual/string.texi: Document MTASC-safety properties.
15877
15878         * manual/threads.texi: Document MTASC-safety properties.
15879
15880         * manual/stdio.texi: Document MTASC-safety properties.
15881
15882         * manual/syslog.texi: Document MTASC-safety properties.
15883
15884         * manual/sysinfo.texi: Document MTASC-safety properties.
15885
15886         * manual/startup.texi: Document MTASC-safety properties.
15887
15888         * manual/socket.texi: Document MTASC-safety properties.
15889
15890         * manual/signal.texi: Document MTASC-safety properties.
15891
15892 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
15893
15894         * manual/setjmp.texi: Document MTASC-safety properties.
15895
15896         * manual/search.texi: Document MTASC-safety properties.
15897
15898         * manual/resource.texi: Document MTASC-safety properties.
15899
15900         * manual/process.texi: Document MTASC-safety properties.
15901
15902         * manual/platform.texi: Document MTASC-safety properties.
15903
15904         * manual/pipe.texi: Document MTASC-safety properties.
15905
15906         * manual/pattern.texi: Document MTASC-safety properties.
15907
15908         * manual/message.texi: Document MTASC-safety properties.
15909
15910         [BZ #12751]
15911         * manual/memory.texi: Document MTASC-safety properties.
15912
15913         * manual/math.texi: Document MTASC-safety properties.
15914
15915         * manual/locale.texi: Document MTASC-safety properties.
15916
15917         * manual/llio.texi: Document MTASC-safety properties.
15918
15919         * manual/libdl.texi: New.
15920
15921         * manual/lang.texi: Document MTASC-safety properties.
15922
15923         * manual/job.texi: Document MTASC-safety properties.
15924
15925         * manual/getopt.texi: Document MTASC-safety properties.
15926
15927         * manual/ctype.texi: Document MTASC-safety properties.
15928
15929 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
15930
15931         [BZ #16046]
15932         * csu/libc-tls.c (static_map): Remove variable.
15933         (__libc_setup_tls): Use main executable's link map for TLS data.
15934         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15935         casing for LM_ID_BASE and GL(dl_nns).
15936         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15937         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
15938         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15939         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15940         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15941         member.
15942         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15943         l_phnum members.
15944
15945 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
15946
15947         * manual/debug.texi: Document MTASC-safety properties.
15948
15949 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
15950
15951         [BZ #16510]
15952         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15953         of __x86_64__ when disabling x87 inline functions.
15954
15955 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
15956
15957         * manual/charset.texi: Document MTASC-safety properties.
15958
15959         * manual/crypt.texi: Document MTASC-safety properties.
15960
15961         * manual/conf.texi: Document MTASC-safety properties.
15962
15963         * manual/arith.texi: Document MTASC-safety properties.
15964
15965         * manual/argp.texi: Document MTASC-safety properties.
15966
15967         * manual/macros.texi: Introduce macros to document multi
15968         thread, asynchronous signal and asynchronous cancellation
15969         safety properties.
15970         * manual/intro.texi: Introduce the properties themselves.
15971
15972 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15973
15974         * sysdeps/sh/sh4/Makefile: New file.
15975
15976 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
15977
15978         * math/gen-libm-test.pl ($srcdir): New variable.
15979         ($auto_input): Use it.
15980
15981 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15982
15983         [BZ #16506]
15984         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15985         access beyond array bounds when parsing netgroups file.
15986
15987         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15988         the old buffer before realloc.
15989
15990 2014-01-27  Allan McRae  <allan@archlinux.org>
15991
15992         * po/fr.po: Update French translation from translation project.
15993
15994 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15995
15996         * sysdeps/sh/libm-test-ulps: Regenerate.
15997
15998 2014-01-24  David S. Miller  <davem@davemloft.net>
15999
16000         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16001
16002 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16003
16004         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16005         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16006
16007 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16008
16009         [BZ #16474]
16010         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16011         string pointers after reallocation.
16012
16013 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16014
16015         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16016         __SH4A__ instead of __SH_FPU_ANY__.
16017
16018 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16019
16020         * sysdeps/sh/fpu_control.h: New file.
16021         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16022         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16023         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16024         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16025         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16026         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16027         * sysdeps/sh/sys/ucontext.h: Remove.
16028         * sysdeps/sh/sys: Remove directory.
16029
16030 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16031
16032         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16033         s390/sys/ucontext.h.
16034         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16035         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16036
16037 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16038
16039         [BZ #15605]
16040         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16041
16042 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16043
16044         [BZ#16431]
16045         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16046         Adjust the vDSO correctly for internal calls.
16047         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16048
16049 2014-01-20  Allan McRae  <allan@archlinux.org>
16050
16051         * po/ca.po: Update Catalan translation from translation project.
16052
16053 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16054
16055         * sysdeps/s390/sotruss-lib.c: New file.
16056
16057 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16058
16059         [BZ#16430]
16060         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16061         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16062         local calls issues by not having a PLT stub required for IFUNC calls.
16063         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16064
16065 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16066
16067         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16068         * math/test-fpucw-static.c: Likewise.
16069
16070 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16071
16072         [BZ #16453]
16073         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16074
16075 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16076
16077         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16078         implementation for powerpc.
16079
16080 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16081
16082         [BZ #14782]
16083         * sysdeps/posix/system.c (__libc_system): Do not enable
16084         asynchronous cancellation.
16085
16086 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16087
16088         [BZ #16427]
16089         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16090         handling only for numbers special also in the IEEE case.
16091
16092 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16093
16094         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16095
16096 2014-01-11  Allan McRae  <allan@archlinux.org>
16097
16098         * po/bg.po: Update Bulgarian translation from translation project.
16099
16100         * po/de.po: Update German translation from translation project.
16101
16102 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16103
16104         * sysdeps/generic/gcc-compat.h: New file.
16105
16106 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16107
16108         * benchtests/asin-inputs: Correct slow inputs.
16109         * benchtests/acos-inputs: Likewise.
16110
16111 2014-01-10  Allan McRae  <allan@archlinux.org>
16112
16113         * po:sv.po: Update Swedish translation from translation project.
16114
16115         * po/vi.po: Update Vietnamese translation from translation project.
16116
16117         * po/eo.po: Update Esperanto translation from translation project.
16118
16119         * po/cs.po: Update Czech translation from translation project.
16120
16121         * po/nl.po: Update Dutch translation from translation project.
16122
16123         * po/pl.po: Update Polish translation from translation project.
16124
16125         * po/ru.po: Update Russian translation from translation project.
16126
16127         * po/uk.po: Update Ukrainian translation from translation project.
16128
16129 2014-01-08  Brooks Moses  <bmoses@google.com>
16130
16131         * elf/dl-load.c: Fix comment typo.
16132
16133 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16134
16135         * po/header.pot: Rename to...
16136         * po/pot.header: ... this.
16137         * po/Makefile: Use pot.header.
16138
16139 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16140             Maxim Kuvyrkov  <maxim@kugelworks.com>
16141
16142         [BZ #16394]
16143         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16144         SRC and DEST against LEN.
16145
16146 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16147
16148         [BZ #16414]
16149         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16150         implementation.
16151         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16152
16153 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16154
16155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16156
16157 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16158
16159         [BZ #16408]
16160         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16161         for large positive arguments.
16162
16163 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16164
16165         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16166
16167         * math/auto-libm-test-in: Mark various tests with
16168         xfail-rounding:ldbl-128ibm.
16169         * math/auto-libm-test-out: Regenerated.
16170
16171         [BZ #16407]
16172         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16173         Increase overflow threshold.
16174
16175 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16176
16177         [BZ #14286]
16178         * stdio-common/vfprintf.c: Check for integer overflow.
16179
16180 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16181
16182         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16183         the first argument and return value of __tls_get_addr_internal.
16184
16185 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16186
16187         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16188         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16189
16190 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16191
16192         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16193         * sysdeps/s390/rtld-global-offsets.sym: New file.
16194         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16195         GLIBC_2.19 symbol.
16196         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16197         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16198         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16199         ... this.
16200         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16201         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16202         ... this.
16203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16204         Regenerate.
16205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16206         Regenerate.
16207         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16208         halfs of GPRs for high_gprs contexts.
16209         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16210         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16211         field.
16212         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16213         uc_flags field.
16214         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16215         64 bit versions:
16216         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16217         for high GPRs (uc_high_gprs) and for future extensions
16218         (__reserved).
16219         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16220         for future extensions (__reserved).
16221         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16222         64 bit versions:
16223         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16224         SC_HIGHGPRS offset definition.
16225         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16226         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16227
16228         * Versions.def: Add GLIBC_2.19 for libpthread.
16229         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16230         siglongjmp for libpthread with GLIBC_2.19 symver.
16231         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16232         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16233         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16234         * sysdeps/s390/__longjmp.c: New file.
16235         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16236         * sysdeps/s390/longjmp.c: New file.
16237         * sysdeps/s390/setjmp.S: New file.
16238         * sysdeps/s390/sigjmp.S: New file.
16239         * sysdeps/s390/v1-longjmp.c: New file.
16240         * sysdeps/s390/v1-setjmp.h: New file.
16241         * sysdeps/s390/v1-sigjmp.c: New file.
16242         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16243         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16244         GLIBC_2.19 version.
16245         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16246         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16247         versioned symbols for ____longjmp_chk.
16248         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16249         Likewise.
16250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16251         Regenerate.
16252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16253         Regenerate.
16254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16255         Regenerate.
16256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16257         Regenerate.
16258         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16259         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16260         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16261         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16262         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16263         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16264         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16265         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16266         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16267         * sysdeps/s390/rtld-__longjmp.c: New file.
16268         * sysdeps/s390/rtld-setjmp.S: New file.
16269
16270 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16271
16272         [BZ #16400]
16273         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16274         Return -__logl (x) for small positive arguments without evaluating
16275         a polynomial.
16276
16277 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16278
16279         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16280         Rename to ...
16281         (__ptrace_peeksiginfo_args): ... this.
16282         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16283         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16284         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16285
16286 2014-01-06  Allan McRae  <allan@archlinux.org>
16287
16288         * inet/netinet/in.h: Fix typo in comment.
16289
16290 2014-01-05  Andreas Jaeger  <aj@suse.de>
16291
16292         * sysdeps/i386/fpu/libm-test-ulps: Update.
16293
16294 2014-01-05  Allan McRae  <allan@archlinux.org>
16295
16296         * po/libc.pot: Regenerated.
16297
16298         * malloc/memusagestat.c: Fix gettext call formatting.
16299
16300 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16301
16302         * nscd/nscd.c: Improve usage() output.
16303
16304 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16305
16306         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16307         * sysdeps/unix/sysv/linux/configure: Regenerated.
16308         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16309         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16310
16311 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16312
16313         [BZ #16390]
16314         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16315         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16316
16317 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16318
16319         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16320         extra tokens at end of #undef directive.
16321         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16322         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16323         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16324
16325 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16326
16327         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16328
16329         * math/auto-libm-test-in: Mark various tests with
16330         xfail-rounding:ldbl-128ibm.
16331         * math/auto-libm-test-out: Regenerated.
16332
16333 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16334
16335         [BZ #16386]
16336         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16337         numbers with subnormal high part when calculating exponent.
16338
16339         [BZ #16385]
16340         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16341         fabs.
16342
16343         [BZ #16384]
16344         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16345         M_LN2l.
16346         (__ieee754_acoshl): Use __log1pl not __log1p.
16347
16348 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16349
16350         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16351         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16352         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16353         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16354         (reused_arena, arena_get2): Convert to GNU style.
16355         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16356         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16357         (memalign_check, __malloc_set_state): Likewise.
16358         * malloc/mallocbug.c (main): Likewise.
16359         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16360         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16361         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16362         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16363         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16364         (__posix_memalign, malloc_info): Likewise.
16365         * malloc/malloc.h: Likewise.
16366         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16367         (mallochook, memalignhook, reallochook, mabort): Likewise.
16368         * malloc/mcheck.h: Likewise.
16369         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16370         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16371         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16372         * malloc/morecore.c (__default_morecore): Likewise.
16373         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16374         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16375         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16376         (print_and_abort): Likewise.
16377         * malloc/obstack.h: Likewise.
16378         * malloc/set-freeres.c (__libc_freeres): Likewise.
16379         * malloc/tst-mallocstate.c (main): Likewise.
16380         * malloc/tst-mtrace.c (main): Likewise.
16381         * malloc/tst-realloc.c (do_test): Likewise.
16382
16383 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16384
16385         [BZ #16366]
16386         * nscd/netgroupcache.c (do_notfound): New function.
16387         (addgetnetgrentX): Use it.
16388
16389         [BZ # 16365]
16390         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16391         NSS_STATUS_NOTFOUND.
16392
16393 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16394
16395         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16397
16398 2014-01-01  Allan McRae  <allan@archlinux.org>
16399
16400         * scripts/update-copyrights: Update configure input file suffix.
16401
16402         * NEWS: Update copyright year.
16403         * catgets/gencat.c: Likewise.
16404         * csu/version.c: Likewise.
16405         * debug/catchsegv.sh: Likewise.
16406         * debug/pcprofiledump.c: Likewise.
16407         * debug/xtrace.sh: Likewise.
16408         * elf/ldconfig.c: Likewise.
16409         * elf/ldd.bash.in: Likewise.
16410         * elf/pldd.c: Likewise.
16411         * elf/sotruss.ksh: Likewise.
16412         * elf/sprof.c: Likewise.
16413         * iconv/iconv_prog.c: Likewise.
16414         * iconv/iconvconfig.c: Likewise.
16415         * locale/programs/locale.c: Likewise.
16416         * locale/programs/localedef.c: Likewise.
16417         * login/programs/pt_chown.c: Likewise.
16418         * malloc/memusage.sh: Likewise.
16419         * malloc/memusagestat.c: Likewise.
16420         * malloc/mtrace.pl: Likewise.
16421         * manual/libc.texinfo: Likewise.
16422         * nscd/nscd.c: Likewise.
16423         * nss/getent.c: Likewise.
16424         * nss/makedb.c: Likewise.
16425         * posix/getconf.c: Likewise.
16426         * scripts/test-installation.pl: Likewise.
16427
16428         * All files with FSF copyright notices: Update copyright dates
16429         using scripts/update-copyrights.
16430         * intl/plural.c: Regenerated.
16431         * locale/programs/charmap-kw.h: Likewise.
16432         * locale/programs/locfile-kw.h: Likewise.
16433
16434 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16435
16436         * sysdeps/unix/sysv/linux/configure: Regenerated.
16437         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16438         the linux/fanotify.h header.
16439         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16440         HAVE_LINUX_FANOTIFY_H is defined.
16441
16442 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16443
16444         * benchtests/cos-inputs: New inputs.
16445         * benchtests/sin-inputs: Likewise.
16446
16447         * benchtests/atan-inputs: New inputs. Fix name of multiple
16448         precision fallback inputs.
16449
16450         * benchtests/atanh-inputs: New inputs.
16451         * benchtests/tanh-inputs: Likewise.
16452
16453         * benchtests/acosh-inputs: New inputs.
16454         * benchtests/asinh-inputs: Likewise.
16455
16456         * benchtests/cosh-inputs: New inputs.
16457         * benchtests/sinh-inputs: Likewise.
16458
16459         * benchtests/acos-inputs: Add more inputs.
16460         * benchtests/asin-inputs: Likewise.
16461
16462 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16463
16464         [BZ #16375]
16465         * manual/arith.texi: Fix spelling.
16466         * manual/charset.texi: Likewise.
16467         * manual/errno.texi: Likewise.
16468         * manual/filesys.texi: Likewise.
16469         * manual/lang.texi: Likewise.
16470         * manual/llio.texi: Likewise.
16471         * manual/locale.texi: Likewise.
16472         * manual/message.texi: Likewise.
16473         * manual/resource.texi: Likewise.
16474         * manual/search.texi: Likewise.
16475         * manual/setjmp.texi: Likewise.
16476         * manual/stdio.texi: Likewise.
16477         * manual/string.texi: Likewise.
16478         * manual/sysinfo.texi: Likewise.
16479         * manual/time.texi: Likewise.
16480
16481 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16482
16483         * po/sl.po: New file.
16484
16485 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16486
16487         * .gitignore: Add core/.gdbinit/.gdb_history.
16488
16489 2013-12-27  Allan McRae  <allan@archlinux.org>
16490
16491         [BZ #16369]
16492         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16493         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16494
16495 2013-12-24  Brooks Moses  <bmoses@google.com>
16496
16497         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16498         all compilers that claim C++98 compliance, not just GCC.
16499         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16500         Likewise.
16501
16502 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16503
16504         * NEWS: Restore accidentally deleted bug-fix entries.
16505
16506 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16507             Ondřej Bílka  <neleai@seznam.cz>
16508
16509         [BZ #15073]
16510         * malloc/malloc.c (_int_free): Perform sanity check only if we
16511         have_lock.
16512
16513 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16514
16515         [BZ #12986]
16516         * manual/stdio.texi (String Input Conversions): Clarify that character
16517         classes are not supported.
16518
16519 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16520
16521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16522
16523 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16524
16525         [BZ #16337]
16526         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16527         Calculate results for small negative arguments directly rather
16528         than using reflection formula with special underflow handling.
16529
16530         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16531         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16532         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16533         (fchflags): Likewise.
16534         (revoke): Likewise.
16535         (setlogin): Likewise.
16536         (sigaltstack): Likewise.
16537         (wait4): Likewise.
16538         (sigblock): Remove.
16539         (sigsetmask): Likewise.
16540         (wait3): Likewise.
16541         (waitpid): Likewise.
16542         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16543         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16544         file.
16545         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16546         * sysdeps/unix/bsd/Makefile: ... here.
16547         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16548         * sysdeps/unix/bsd/Versions: ... here.
16549         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16550         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16551         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16552         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16553         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16554         * sysdeps/unix/bsd/sigblock.c: ... here.
16555         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16556         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16557         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16558         * sysdeps/unix/bsd/sigvec.c: ... here.
16559         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16560         * sysdeps/unix/bsd/tcdrain.c: ... here.
16561         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16562         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16563         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16564         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16565         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16566         * sysdeps/unix/bsd/wait.c: ... here.
16567         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16568         * sysdeps/unix/bsd/wait3.c: ... here.
16569         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16570         * sysdeps/unix/bsd/waitpid.c: ... here.
16571
16572 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16573
16574         [BZ #16356]
16575         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16576         round-to-nearest for [!USE_AS_EXPM1L].
16577         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16578         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16579         more tests of exp and exp10.  Expect some exp10 tests to miss
16580         exceptions or fail in directed rounding modes.
16581         * math/auto-libm-test-out: Regenerated.
16582         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16583         (exp10_test_tonearest): New function.
16584         (exp10_towardzero_test_data): New array.
16585         (exp10_test_towardzero): New function.
16586         (exp10_downward_test_data): New array.
16587         (exp10_test_downward): New function.
16588         (exp10_upward_test_data): New array.
16589         (exp10_test_upward): New function.
16590         (main): Call the new functions.
16591         * sysdeps/i386/fpu/libm-test-ulps: Update.
16592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16593
16594 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16595
16596         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16597         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16598         * math/auto-libm-test-out: Regenerated.
16599         * math/libm-test.inc (acosh_test_data): Add more tests.
16600         (atanh_test_data): Likewise.
16601         (ceil_test_data): Likewise.
16602         (copysign_test_data): Likewise.
16603         * sysdeps/i386/fpu/libm-test-ulps: Update.
16604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16605
16606         * timezone/checktab.awk: Update from tzcode 2013i.
16607         * timezone/private.h: Likewise.
16608         * timezone/scheck.c: Likewise.
16609         * timezone/tzfile.h: Likewise.
16610         * timezone/tzselect.ksh: Likewise.
16611         * timezone/zdump.c: Likewise.
16612         * timezone/zic.c: Likewise.
16613
16614         * math/auto-libm-test-in: Add tests of cpow.
16615         * math/auto-libm-test-out: Regenerated.
16616         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16617         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16618         mpc_cc_c.
16619         (func_calc_desc): Add mpc_cc_c union field.
16620         (test_functions): Add cpow.
16621         (special_fill_2pi): New function.
16622         (special_real_inputs): Add 2pi.
16623         (calc_generic_results): Handle mpc_cc_c.
16624         * sysdeps/i386/fpu/libm-test-ulps: Update.
16625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16626
16627         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16628         csqrt, ctan and ctanh.
16629         * math/auto-libm-test-out: Regenerated.
16630         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16631         (TEST_COND_x86): Likewise.
16632         (ccos_test_data): Use AUTO_TESTS_c_c.
16633         (ccosh_test_data): Likewise.
16634         (cexp_test_data): Likewise.
16635         (clog_test_data): Likewise.
16636         (csqrt_test_data): Likewise.
16637         (ctan_test_data): Likewise.
16638         (ctan_tonearest_test_data): Likewise.
16639         (ctan_towardzero_test_data): Likewise.
16640         (ctan_downward_test_data): Likewise.
16641         (ctan_upward_test_data): Likewise.
16642         (ctanh_test_data): Likewise.
16643         (ctanh_tonearest_test_data): Likewise.
16644         (ctanh_towardzero_test_data): Likewise.
16645         (ctanh_downward_test_data): Likewise.
16646         (ctanh_upward_test_data): Likewise.
16647         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16648         mpc_c_c.
16649         (func_calc_desc): Add mpc_c_c union field.
16650         (FUNC_mpc_c_c): New macro.
16651         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16652         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16653         ctanh.
16654         (special_fill_min_subnorm_p120): New function.
16655         (special_real_inputs): Add min_subnorm_p120.
16656         (calc_generic_results): Handle mpc_c_c.
16657         * sysdeps/i386/fpu/libm-test-ulps: Update.
16658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16659
16660 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16661
16662         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16663         (do_sin_slow): New functions.
16664         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16665         (cslow2, csloww1, csloww2): Use the new functions.
16666
16667         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16668         Use M to change sign of result instead of X.  Assume X is
16669         positive.
16670         (csloww1): Likewise.
16671         (__sin): Adjust.
16672         (__cos): Adjust.
16673
16674         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16675         arguments A and DA.
16676         (__sin): Adjust.
16677         (__cos): Likewise.
16678
16679         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16680         (__cos): Likewise.
16681         (sloww1): Don't adjust sign of DX.
16682         (csloww1): Likewise.
16683         (sloww2): Use X directly and don't adjust sign of DX.
16684         (csloww2): Likewise.
16685
16686 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16687
16688         * math/auto-libm-test-in: Add tests of cabs and carg.
16689         * math/auto-libm-test-out: Regenerated.
16690         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16691         (carg_test_data): Likewise.
16692         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16693         mpc_c_f.
16694         (func_calc_desc): Add mpc_c_f union field.
16695         (test_functions): Add cabs and carg.
16696         (calc_generic_results): Handle mpc_c_f.
16697
16698         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16699         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16700         as a macro and a compat symbol.
16701         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16702         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16703         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16704         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16705         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16706         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16707         not use .hidden.
16708         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16709         Likewise.
16710         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16711         Likewise.
16712         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16713         Likewise.
16714         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16715         Likewise.
16716         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16717         Likewise.
16718         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16719         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16720         from GLIBC_2.3.2.
16721
16722 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16723
16724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16725
16726 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16727
16728         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16729         trailing whitespace removed.
16730         * scripts/config.guess: Update to version 2013-11-29.
16731         * scripts/config.sub: Update to version 2013-10-01.
16732
16733         * math/auto-libm-test-in: Add tests of sincos.
16734         * math/auto-libm-test-out: Regenerated.
16735         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16736         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16737         mpfr_f_11.
16738         (func_calc_desc): Add mpfr_f_11 union field.
16739         (test_functions): Add sincos.
16740         (calc_generic_results): Handle mpfr_f_11.
16741         * sysdeps/i386/fpu/libm-test-ulps: Update.
16742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16743
16744 2013-12-19  Andreas Schwab  <schwab@suse.de>
16745
16746         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16747         CALL_MCOUNT.
16748         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16749         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16750         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16751
16752 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16753
16754         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16755         * sysdeps/i386/fpu/libm-test-ulps: Update.
16756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16757
16758         [BZ #16293]
16759         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16760         round-to-nearest mode when using frndint.
16761         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16762         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16763         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16764         Likewise.
16765         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
16766         sinh test to fail.
16767         * math/auto-libm-test-out: Regenerated.
16768         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16769         (TEST_COND_x86): Likewise.
16770         (expm1_tonearest_test_data): New array.
16771         (expm1_test_tonearest): New function.
16772         (expm1_towardzero_test_data): New array.
16773         (expm1_test_towardzero): New function.
16774         (expm1_downward_test_data): New array.
16775         (expm1_test_downward): New function.
16776         (expm1_upward_test_data): New array.
16777         (expm1_test_upward): New function.
16778         (main): Run the new test functions.
16779         * sysdeps/i386/fpu/libm-test-ulps: Update.
16780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16781
16782         * include/features.h: Update comment documenting feature test
16783         macros.  Mention _DEFAULT_SOURCE in comment.
16784         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16785         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16786         _BSD_SOURCE and _SVID_SOURCE.
16787         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16788         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16789         !_SVID_SOURCE]: Likewise.
16790         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16791         (__USE_POSIX_IMPLICITLY): Define.
16792         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16793         (_POSIX_SOURCE): Undefine and redefine.
16794         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16795         (_POSIX_C_SOURCE): Likewise.
16796         * manual/creature.texi (_DEFAULT_SOURCE): Document.
16797         (Feature Test Macros): Update documentation of default features.
16798
16799 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16800
16801         * benchtests/Makefile: Add bench-strtok.
16802         * benchtests/bench-strtok.c: New file: strtok benchtest.
16803
16804 2013-12-19  Allan McRae  <allan@archlinux.org>
16805
16806         * manual/install.texi: Suppress menu for plain text output.
16807         * INSTALL: Regenerated.
16808
16809 2013-12-18  Brooks Moses  <bmoses@google.com>
16810
16811         [BZ #15846]
16812         * misc/getauxval.c: Include errno.h.
16813         (__getauxval): Set errno to ENOENT if the requested type is not
16814         found.
16815         * misc/sys/auxv.h (getauxval): Document that it may set errno;
16816         don't declare with __attribute_const__.
16817         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16818         * manual/startup.texi: Document that getauxval sets errno.
16819
16820 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16821
16822         * math/auto-libm-test-in: Add tests of jn and yn.
16823         * math/auto-libm-test-out: Regenerated.
16824         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16825         (yn_test_data): Likewise.
16826         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16827         mpfr_if_f.
16828         (func_calc_desc): Add mpfr_if_f union field.
16829         (FUNC_mpfr_if_f): New macro.
16830         (test_functions): Add jn and yn.
16831         (calc_generic_results): Assert type of second input for
16832         mpfr_ff_f.  Handle mpfr_if_f.
16833         (output_for_one_input_case): Disable all checking for arguments
16834         fitting floating-point types in case of an integer argument.
16835         * sysdeps/i386/fpu/libm-test-ulps: Update.
16836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16837
16838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16839         Don't expect fegetround reference in libm.so.
16840
16841 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16842
16843         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16844         $(config-cflags-nofma).
16845
16846 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16847
16848         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16849         * math/auto-libm-test-out: Regenerated.
16850
16851         [BZ #16338]
16852         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16853         to determine exponent and adjust argument to have exponent of -1.
16854         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16855         log2.
16856         * math/auto-libm-test-out: Regenerated.
16857         * sysdeps/i386/fpu/libm-test-ulps: Update.
16858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16859
16860 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
16861
16862         * manual/probes.texi: Remove cases when per-thread arenas are
16863         disabled.
16864
16865 2013-12-18  Andreas Schwab  <schwab@suse.de>
16866
16867         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16868         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16869         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16870         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16871         * sysdeps/i386/i686/multiarch/Makefile: Update.
16872         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16873
16874 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16875
16876         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16877         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16878
16879 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
16880
16881         [BZ #15968]
16882         Support TZ transition times < 00:00:00.
16883         This is needed for version-3 tz-format files; it supports time
16884         stamps past 2037 for America/Godthab (the only entry in the tz
16885         database for which this change is relevant).
16886         * manual/time.texi (TZ Variable): Document transition times
16887         from -167:59:59 through -00:00:01.
16888         * time/tzset.c (tz_rule): Time of day is now signed.
16889         (__tzset_parse_tz): Parse negative time of day.
16890
16891         Document TZ transition times >= 25:00:00.
16892         * manual/time.texi (TZ Variable): Document transition times from
16893         25:00:00 through 167:59:59.  These are already supported, and this
16894         support will help with version-3 tz-format files.
16895
16896         * manual/time.texi (TZ Variable): Modernize North America example
16897         to reflect current (i.e., 2007-and-later) daylight saving rules.
16898
16899         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16900
16901 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16902
16903         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16904         * sysdeps/unix/bsd/bits/stat.h: Likewise.
16905         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16906         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16907         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16908         * sysdeps/unix/bsd/bsdstat.h: Likewise.
16909         * sysdeps/unix/bsd/clock.c: Likewise.
16910         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16911         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16912         * sysdeps/unix/bsd/init-posix.c: Likewise.
16913         * sysdeps/unix/bsd/poll.c: Likewise.
16914         * sysdeps/unix/bsd/ptsname.c: Likewise.
16915         * sysdeps/unix/bsd/seekdir.c: Likewise.
16916         * sysdeps/unix/bsd/setegid.c: Likewise.
16917         * sysdeps/unix/bsd/seteuid.c: Likewise.
16918         * sysdeps/unix/bsd/setgid.c: Likewise.
16919         * sysdeps/unix/bsd/setrgid.c: Likewise.
16920         * sysdeps/unix/bsd/setruid.c: Likewise.
16921         * sysdeps/unix/bsd/setsid.c: Likewise.
16922         * sysdeps/unix/bsd/setuid.c: Likewise.
16923         * sysdeps/unix/bsd/sigaction.c: Likewise.
16924         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16925         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16926         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16927         * sysdeps/unix/bsd/telldir.c: Likewise.
16928         * sysdeps/unix/bsd/times.c: Likewise.
16929         * sysdeps/unix/bsd/usleep.c: Likewise.
16930
16931         * misc/Makefile (install-lib): Remove libbsd-compat.a.
16932         ($(objpfx)libbsd-compat.a): Remove rule.
16933
16934         * include/features.h (__FAVOR_BSD): Do not define.
16935         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16936         features conflicting with POSIX.
16937         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16938         (_BSD_SOURCE): Remove description of not being a subset of other
16939         feature test macros.
16940         * manual/job.texi (getpgrp): Do not document BSD version.
16941         (getpgid): Do not document by reference to BSD getpgrp.
16942         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16943         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16944         * signal/signal.h [__FAVOR_BSD]: Likewise.
16945         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16946         instead of making contents conditional on [__FAVOR_BSD].
16947         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16948
16949 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16950
16951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16952
16953 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16954
16955         [BZ #16314]
16956         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16957         values below 2**-450, not 2**-500.
16958         * math/auto-libm-test-in: Don't allow spurious underflow from
16959         hypot.
16960         * math/auto-libm-test-out: Regenerated.
16961
16962         [BZ #16316]
16963         [BZ #16330]
16964         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16965         values of ha and hb and sort them after adjusting subnormal
16966         arguments.
16967         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16968         Likewise.
16969         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16970         values of ea and eb and sort them after adjusting subnormal
16971         arguments.
16972         * math/auto-libm-test-in: Do not expect some hypot tests of
16973         subnormals to fail.  Add more hypot tests.
16974         * math/auto-libm-test-out: Regenerated.
16975
16976 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16977
16978         [BZ #13304]
16979         * sysdeps/sh/s_fma.c: New file.
16980         * sysdeps/sh/s_fmaf.c: New file.
16981         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
16982         version.
16983         * sysdeps/sh/Implies: Add sh/soft-fp.
16984
16985 2013-12-16  Roland McGrath  <roland@hack.frob.com>
16986
16987         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
16988         level of indirection to members `objname', `errstring', `malloced'.
16989         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16990         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
16991         it as the __longjmp argument (just pass 1 instead).
16992         (_dl_catch_error): Initialize C with argument pointers and address of
16993         volatile local ERRCODE rather than copying values out of C at return.
16994
16995 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
16996
16997         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16998         * math/auto-libm-test-out: Regenerated.
16999         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17000         (hypot_test_data): Likewise.
17001         (pow_test_data): Likewise.
17002         (pow_tonearest_test_data): Likewise.
17003         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17004         mpfr_ff_f.
17005         (func_calc_desc): Add mpfr_ff_f union field.
17006         (FUNC_mpfr_ff_f): New macro.
17007         (test_functions): Add atan2, hypot and pow.
17008         (special_fill_min): New function.
17009         (special_fill_minus_min): Likewise.
17010         (special_fill_min_subnorm): Likewise.
17011         (special_fill_minus_min_subnorm): Likewise.
17012         (special_real_inputs): Add min, -min, min_subnorm and
17013         -min_subnorm.
17014         (calc_generic_results): Handle mpfr_ff_f.
17015         * sysdeps/i386/fpu/libm-test-ulps: Update.
17016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17017
17018 2013-12-16  Will Newton  <will.newton@linaro.org>
17019
17020         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17021         (Aligned Memory Blocks): Add documentation for aligned_alloc
17022         and suggest it as an alternative to posix_memalign.
17023         (Hooks for Malloc): Document __memalign_hook is also called
17024         for aligned_alloc.  (Summary of Malloc): Add summary for
17025         aligned alloc.  Document __memalign_hook is also called
17026         for aligned_alloc.
17027
17028 2013-12-16  Will Newton  <will.newton@linaro.org>
17029
17030         * manual/memory.texi (Malloc Examples): Clarify default
17031         alignment documentation.  Suggest posix_memalign rather
17032         than memalign or valloc.
17033         (Aligned Memory Blocks): Remove suggestion to use memalign
17034         or valloc.  Remove obsolete comment about BSD.
17035         Document memalign errno values and mark the function obsolete.
17036         Document posix_memalign returned error codes.  Mark valloc
17037         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17038         called for posix_memalign and valloc.
17039         (Summary of Malloc): Add posix_memalign to function summary.
17040         __memalign_hook is also called for posix_memalign and valloc.
17041
17042 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17043
17044         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17045         TAYLOR_SIN.
17046         (__sin): Adjust.
17047         (__cos): Likewise.
17048         (sloww): Use mynumber union.  Expand ternary operator into
17049         if-else statements.
17050         (cslow): use mynumber union.
17051
17052 2013-12-16  Allan McRae  <allan@archlinux.org>
17053
17054         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17055         * configure: Regenerated.
17056
17057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17058
17059         [BZ #14120]
17060         * configure.ac: Added --enable-maintainer-mode. Check for
17061         autoconf when enabled.
17062         * configure: Regenerated.
17063
17064         * nscd/nscd.service: New file.
17065         * nscd/nscd.tmpfiles: New file.
17066
17067 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17068
17069         [BZ #12100]
17070         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17071         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17072         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17073         (strstr): Add __strstr_sse2_unaligned ifunc.
17074         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17075         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17076         (strcasestr): Remove __strcasestr_sse42 ifunc.
17077         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17080
17081 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17082
17083         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17084         * sysdeps/sh/bits/fenv.h: ... here.
17085         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17086
17087 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17088
17089         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17090
17091         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17092         hypotf multiarch implementations.
17093         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17094         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17095         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17096         multiarch hypot for PPC64.
17097         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17098         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17099         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17100         multiarch hypotf for PPC64.
17101
17102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17103         modff multiarch implementations.
17104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17107         multiarch modf for PPC64.
17108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17111         multiarch modff for PPC64.
17112
17113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17114         and logl multiarch implementations.
17115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17118         multiarch logb for PPC64.
17119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17122         multiarch logb for PPC64.
17123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17126         multiarch logb for PPC64.
17127
17128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17129         isinff multiarch implementation.
17130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17131         file.
17132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17134         multiarch isinf for PPC64.
17135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17136         file.
17137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17138         multiarch isinff for PPC64.
17139
17140         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17141         finitef multiarch implementation.
17142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17143         file.
17144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17146         multiarch finite for PPC64.
17147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17148         file.
17149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17150         multiarch finitef for PPC64.
17151
17152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17153         lrint multiarch implementation.
17154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17155         file.
17156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17158         multiarch llrint for PPC64.
17159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17160         multiarch lrint for PPC64.
17161
17162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17163         copysignf multiarch implementation.
17164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17165         file.
17166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17167         file.
17168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17169         multiarch copysign for PPC64.
17170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17171         multiarch copysignf for PPC64.
17172
17173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17174         multiarch implementation.
17175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17176         file.
17177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17178         file.
17179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17180         file.
17181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17182         file.
17183         multiarch llround for PPC64.
17184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17185         multiarch trunc for PPC64.
17186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17187         multiarch truncf for PPC64.
17188
17189         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17190         multiarch implementation.
17191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17192         file.
17193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17194         file.
17195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17196         file.
17197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17198         file.
17199         multiarch llround for PPC64.
17200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17201         multiarch round for PPC64.
17202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17203         multiarch roundf for PPC64.
17204
17205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17206         multiarch implementation.
17207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17208         file.
17209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17210         file.
17211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17212         file.
17213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17214         file.
17215         multiarch llround for PPC64.
17216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17217         multiarch floor for PPC64.
17218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17219         multiarch floorf for PPC64.
17220
17221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17222         multiarch implementation.
17223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17224         file.
17225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17226         file.
17227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17228         file.
17229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17230         file.
17231         multiarch llround for PPC64.
17232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17233         multiarch ceil for PPC64.
17234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17235         multiarch ceilf for PPC64.
17236
17237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17238         multiarch implementation.
17239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17240         file.
17241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17242         file.
17243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17244         file.
17245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17246         multiarch llround for PPC64.
17247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17248         multiarch lround for PPC64.
17249
17250         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17251         multiarch implementation.
17252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17255         file.
17256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17259         multiarch isnan for PPC64.
17260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17261         multiarch isnanf for PPC64.
17262
17263         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17264         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17265         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17266         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17267         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17269
17270         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17271         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17272         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17273         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17274
17275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17276         multiarch implementations.
17277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17278         (__libc_ifunc_impl_list): Likewise.
17279         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17280         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17281         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17282         multiarch stpcpy for PPC64.
17283
17284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17285         multiarch implementations.
17286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17287         (__libc_ifunc_impl_list): Likewise.
17288         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17289         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17290         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17291         multiarch strcpy for PPC64.
17292
17293         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17294         redefine function name.
17295         (_wordcopy_fwd_dest_aligned): Likewise.
17296         (_wordcopy_bwd_aligned): Likewise.
17297         (_wordcopy_bwd_dest_aligned): Likewise.
17298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17299         multiarch implementations.
17300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17301         (__libc_ifunc_impl_list): Likewise.
17302         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17303         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17304         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17305         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17306         multiarch wcscpy for PPC64.
17307
17308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17309         multiarch implementations.
17310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17311         (__libc_ifunc_impl_list): Likewise.
17312         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17313         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17314         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17315         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17316         multiarch wcscpy for PPC64.
17317
17318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17319         multiarch implementations.
17320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17321         (__libc_ifunc_impl_list): Likewise.
17322         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17323         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17324         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17325         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17326         multiarch wcsrchr for PPC64.
17327
17328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17329         multiarch implementations.
17330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17331         (__libc_ifunc_impl_list): Likewise.
17332         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17333         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17334         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17335         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17336         multiarch wcschr for PPC64.
17337
17338         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17339         multiarch implementations.
17340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17341         (__libc_ifunc_impl_list): Likewise.
17342         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17343         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17344         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17345         multiarch strchrnul for PPC64.
17346
17347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17348         implementations.
17349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17350         (__libc_ifunc_impl_list): Likewise.
17351         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17352         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17353         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17354         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17355         strchr for PPC64.
17356
17357         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17358         implementations.
17359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17360         (__libc_ifunc_impl_list): Likewise.
17361         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17362         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17363         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17364         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17365         strncmp for PPC64.
17366
17367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17368         multiarch implementations.
17369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17370         (__libc_ifunc_impl_list): Likewise.
17371         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17372         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17373         strncasecmp for PPC64.
17374         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17375         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17376         multiarch strncasecmp_l for PPC64.
17377
17378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17379         multiarch implementations.
17380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17381         (__libc_ifunc_impl_list): Likewise.
17382         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17383         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17384         multiarch strcasecmp for PPC64.
17385         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17386         file.
17387         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17388         multiarch strcasecmp_l for PPC64.
17389
17390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17391         implementations.
17392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17393         (__libc_ifunc_impl_list): Likewise.
17394         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17395         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17396         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17397         strnlen for PPC64.
17398
17399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17400         implementations.
17401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17402         (__libc_ifunc_impl_list): Likewise.
17403         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17404         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17405         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17406         strlen for PPC64.
17407
17408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17409         implementations.
17410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17411         (__libc_ifunc_impl_list): Likewise.
17412         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17413         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17414         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17415         rawmemrchr for PPC64.
17416
17417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17418         implementation.
17419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17420         (__libc_ifunc_impl_list): Likewise.
17421         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17422         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17423         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17424         memrchr for PPC64.
17425
17426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17427         implementation.
17428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17429         (__libc_ifunc_impl_list): Likewise.
17430         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17431         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17432         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17433         memchr for PPC64.
17434
17435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17436         implementation.
17437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17438         (__libc_ifunc_impl_list): Likewise.
17439         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17440         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17441         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17442         mempcpy for PPC64.
17443
17444         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17445         avoid cretion of __bzero symbol.
17446         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17447         Likewise.
17448         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17449         Likewise.
17450         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17451         Likewise.
17452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17453         multiarch implementations.
17454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17455         (__libc_ifunc_impl_list): Likewise.
17456         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17457         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17458         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17459         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17460         bzero for PPC32.
17461         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17462         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17463         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17464         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17465         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17466         memset for PPC64.
17467         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17468
17469         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17471         implementations.
17472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17473         (__libc_ifunc_impl_list): Likewise.
17474         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17475         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17476         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17477         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17478         memcmp for PPC64.
17479
17480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17481         multiarch for POWER/PPC64.
17482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17483         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17484         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17485         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17486         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17487         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17488         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17489         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17490         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17491         memcpy for PPC64.
17492
17493         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17494         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17495         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17496         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17497         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17498         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17499         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17500         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17501         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17502         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17503         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17504         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17505         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17506         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17507         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17515
17516 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17517
17518         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17519
17520 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17521
17522         * benchtests/Makefile (bench): Add exp2 and log2.
17523         (LDLIBS-bench-exp2): Add -lm.
17524         (LDLIBS-bench-log2): Likewise.
17525         * benchtests/exp2-inputs: New inputs file.
17526         * benchtests/log2-inputs: New inputs file.
17527         * benchtests/log-inputs: Add new inputs.
17528         * benchtests/tan-inputs: Likewise.
17529
17530 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17531
17532         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17533         definition...
17534         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17535         (csloww2): ... from here.
17536
17537         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17538         instead of structures.
17539         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17540         (POLYNOMIAL): Likewise.
17541         (TAYLOR_SLOW): Likewise.
17542         (__sin): Likewise.
17543         (__cos): Likewise.
17544         (slow1): Likewise.
17545         (slow2): Likewise.
17546         (sloww): Likewise.
17547         (sloww1); Likewise.
17548         (sloww2): Likewise.
17549         (bsloww1): Likewise.
17550         (bsloww2): Likewise.
17551         (cslow2): Likewise.
17552         (csloww): Likewise.
17553         (csloww1): Likewise.
17554         (csloww2): Likewise.
17555
17556 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17557
17558         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17559         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17560         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17561         * malloc/hooks.c (realloc_check): Likewise.
17562
17563         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17564         * malloc/arena.c: Remove PER_THREAD conditional.
17565         [!PER_THREAD]: Remove code.
17566         (ptmalloc_unlock_all2): Likewise.
17567         (ptmalloc_init): Likewise.
17568         (_int_new_arena): Likewise.
17569         (arena_get2): Likewise.
17570         * malloc/hooks.c (__malloc_get_state): Likewise.
17571         (__malloc_set_state): Likewise.
17572         * malloc/malloc.c: Likewise.
17573         (struct malloc_state): Likewise.
17574         (struct malloc_par): Likewise.
17575         (__libc_realloc): Likewise.
17576         (__libc_mallopt): Likewise.
17577
17578 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17579
17580         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17581
17582 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17583
17584         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17585         macro to a function.  Check for zero perturb_byte.
17586         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17587
17588         * malloc/malloc.c: (force_reg): Remove.
17589         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17590         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17591         force_reg by atomic_forced_read.
17592         * malloc/arena.c (ptmalloc_init): Likewise.
17593         * malloc/hooks.c (top_check): Likewise.
17594
17595 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17596
17597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17598
17599 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17600
17601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17602
17603 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17604
17605         * math/auto-libm-test-in: Add tests of lgamma.
17606         * math/auto-libm-test-out: Regenerated.
17607         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17608         (M_LOG_2_SQRT_PIl): Likewise.
17609         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17610         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17611         mpfr_f_f1.
17612         (func_calc_desc): Add mpfr_f_f1 union field.
17613         (ARGS1): New macro.
17614         (ARGS2): Likewise.
17615         (ARGS3): Likewise.
17616         (ARGS4): Likewise.
17617         (RET1): Likewise.
17618         (RET2): Likewise.
17619         (CALC): Likewise.
17620         (FUNC): Likewise.
17621         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17622         (test_functions): Add lgamma.
17623         (calc_generic_results): Handle mpfr_f_f1.
17624         * sysdeps/i386/fpu/libm-test-ulps: Update.
17625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17626
17627 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17628
17629         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17630         __mpn_add_n for PowerPC64/POWER7.
17631         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17632         __mpn_sub_n for PowerPC64/POWER7.
17633
17634         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17635         __mpn_addmul_1 for PowerPC64.
17636         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17637         __mpn_submul_1 for PowerPC64.
17638         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17639         for PowerPC64.
17640         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17641         for PowerPC64.
17642
17643 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17644
17645         [BZ #15089]
17646         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17647
17648 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17649
17650         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17651
17652         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17653         add multiarch folders.
17654         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17655         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17656         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17657         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17658         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17659         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17660         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17661         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17662         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17663         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17664         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17671
17672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17673         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17675         New file.
17676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17677         New file.
17678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17679         multiarch __ieee754_hypot for PowerPC32.
17680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17681         New file.
17682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17683         New file.
17684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17685         multiarch __ieee754_hypotf for PowerPC32.
17686
17687         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17688         long_double_symbol only if __logbl is defined.
17689         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17690         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17691         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17692         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17693         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17694         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17695         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17696         path for implementation.
17697         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17698         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17700         logb, and logbl multiarch implementations for PowerPC32.
17701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17702         file.
17703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17704         file.
17705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17706         multiarch logb for PowerPC32.
17707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17708         file.
17709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17710         file.
17711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17712         multiarch logbf for PowerPC32.
17713         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17715         file.
17716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17717         multiarch logbl implementation for PowerPC32.
17718
17719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17720         and modff multiarch implementations.
17721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17722         New file.
17723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17724         New file.
17725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17726         multiarch modf for PowerPC32.
17727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17728         New file.
17729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17730         New file.
17731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17732         multiarch modff for PowerPC32.
17733
17734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17735         and lrintf multiarch implementations.
17736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17737         New file.
17738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17739         New file.
17740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17741         multiarch lrint for PowerPC32.
17742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17743         file: multiarch lrintf for PowerPC32.
17744
17745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17746         and lroundf multiarch implementations.
17747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17748         New file.
17749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17750         New file.
17751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17752         New file.
17753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17754         multiarch lround for PowerPC32.
17755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17756         file: multiarch lroundf for PowerPC32.
17757
17758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17759         copysign and copysignf multiarch implementations.
17760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17761         New file.
17762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17763         New file.
17764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17765         file: multiarch copysign for PowerPC32.
17766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17767         file: multiarch copysignf for PowerPC32.
17768
17769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17770         and truncf multiarch implementations.
17771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17772         New file.
17773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17774         file.
17775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17776         multiarch trunc for PowerPC32.
17777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17778         New file.
17779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17780         New file.
17781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17782         multiarch truncf for PowerPC32.
17783
17784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17785         and roundf multiarch implementations.
17786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17787         New file.
17788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17789         file.
17790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17791         multiarch round for PowerPC32.
17792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17793         New file.
17794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17795         New file.
17796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17797         multiarch roundf for PowerPC32.
17798
17799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17800         and floorf multiarch implementations.
17801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17802         New file.
17803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17804         file.
17805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17806         multiarch floor for PowerPC32.
17807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17808         New file.
17809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17810         New file.
17811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17812         multiarch floorf for PowerPC32.
17813
17814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17815         and ceilf multiarch implementations.
17816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17817         New file.
17818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17819         file.
17820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17821         multiarch ceil for PowerPC32.
17822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17823         New file.
17824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17825         file.
17826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17827         multiarch ceilf for PowerPC32.
17828
17829         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17830         is defined.
17831         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17832         FINITEF is defined.
17833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17834         and finitef multiarch implementations.
17835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17836         New file.
17837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17838         file.
17839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17840         multiarch finite for PowerPC32.
17841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17842         New file.
17843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17844         file: multiarch finitef for PowerPC32.
17845
17846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17847         and isinff multiarch implementations.
17848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17849         file.
17850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17851         file.
17852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17853         multiarch isinf for PowerPC32.
17854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17855         New file.
17856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17857         multiarch isinff for PowerPC32.
17858
17859         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17860         alias when __isnan is defined.
17861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17862         and isnanf multiarch implementations.
17863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17864         file.
17865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17866         file.
17867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17868         file.
17869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17870         file.
17871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17872         multiarch isnan for PowerPC32.
17873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17874         New file.
17875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17876         New file.
17877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17878         multiarch isnanf for PowerPC32.
17879
17880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17881         and sqrtf multiarch implementations.
17882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17883         file.
17884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17885         file.
17886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17887         multiarch sqrt for PowerPC32.
17888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17889         file.
17890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17891         file.
17892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17893         multiarch sqrtf for PowerPC32.
17894
17895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17896         and llroundf multiarch implementations.
17897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17898         New file.
17899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17900         New file.
17901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17902         New file.
17903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17904         file: multiarch llround for PowerPC32.
17905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17906         file: multiarch llroundf for PowerPC32.
17907
17908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17909         multiarch PowerPC32 fpu implementations.
17910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17911         New file.
17912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17913         New file.
17914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17915         multiarch llrint for PowerPC32.
17916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17917         New file.
17918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17919         New file.
17920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17921         file.
17922
17923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17924
17925         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17926         file.
17927         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17928         file.
17929         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17930         file.
17931         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17932         multiarch wordcopy for PPC32.
17933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17934         wordcopy objects.
17935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17936         (__libc_ifunc_impl_list): Likewise.
17937         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17938         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17939         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17940         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17941         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17942         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17943
17944         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17946         file.
17947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17948         file.
17949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17950         file.
17951         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17952         multiarch wcscpy for PPC32.
17953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17954         multiarch objects.
17955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17956         (__libc_ifunc_impl_list): Likewise.
17957         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17958         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17959         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17960         sysdeps/powerpc/power6/wcscpy.c.
17961
17962         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17963         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17964         file.
17965         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17966         file.
17967         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17968         file.
17969         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17970         multiarch wcsrchr for PPC32.
17971         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17972         multiarch objects.
17973         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17974         (__libc_ifunc_impl_list): Likewise.
17975         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17976         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17977         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17978         sysdeps/powerpc/power6/wcsrchr.c.
17979
17980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17981         file.
17982         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17983         file.
17984         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17985         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17986         multiarch wcschr 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/wcschr.c: Move ...
17992         * sysdeps/powerpc/power6/wcschr.c: ... to here.
17993         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17994         sysdeps/powerpc/power6/wcschr.c.
17995
17996         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17997         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17998         file.
17999         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18000         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18001         file: multiarch strchr for PPC32.
18002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18003         multiarch objects.
18004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18005         (__libc_ifunc_impl_list): Likewise.
18006
18007         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18008         name.
18009         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18010         file.
18011         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18012         file.
18013         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18014         multiarch strchrnul for PPC32.
18015         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18016         multiarch objects.
18017         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18018         (__libc_ifunc_impl_list): Likewise.
18019
18020         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18021         file.
18022         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18023         multiarch strncasecmp for PPC32.
18024         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18025         file.
18026         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18027         multiarch strncasecmp_l for PPC32.
18028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18029         strncasecmp multiarch objects.
18030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18031         (__libc_ifunc_impl_list): Likewise.
18032
18033         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18034         file.
18035         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18036         multiarch strncasecmp for PPC32.
18037         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18038         New file.
18039         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18040         multiarch strcasecmp_l for PPC32.
18041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18042         multiarch objects.
18043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18044         (__libc_ifunc_impl_list): Likewise.
18045
18046         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18047         file.
18048         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18049         file.
18050         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18051         multiarch strncmp for PPC32.
18052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18053         multiarch objects.
18054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18055         (__libc_ifunc_impl_list): Likewise.
18056
18057         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18058         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18059         file.
18060         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18061         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18063         multiarch objects.
18064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18065         (__libc_ifunc_impl_list): Likewise.
18066
18067         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18068         file.
18069         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18070         file.
18071         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18073         multiarch objects.
18074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18075         (__libc_ifunc_impl_list): Likewise.
18076
18077         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18078         file.
18079         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18080         file.
18081         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18082         multiarch rawmemchr for PPC32.
18083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18084         multiarch objects.
18085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18086         (__libc_ifunc_impl_list): Likewise.
18087
18088         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18089         file.
18090         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18091         file.
18092         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18093         file: memrchr multiarch for PPC32.
18094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18095         multiarch objects.
18096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18097         (__libc_ifunc_impl_list): Likewise.
18098
18099         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18100         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18101         file.
18102         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18103         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18104         multiarch memchr for PPC32.
18105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18106         multiarch objects.
18107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18108         (__libc_ifunc_impl_list): Likewise.
18109
18110         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18111         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18112         file.
18113         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18114         file.
18115         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18116         file: multiarch mempcpy for PPC32.
18117         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18118         multiarch objects.
18119         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18120         (__libc_ifunc_impl_list): Likewise.
18121
18122         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18123         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18124         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18125         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18126         multiarch bzero for PPC32.
18127         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18128         file.
18129         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18130         file.
18131         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18132         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18133         file: multiarch memset for PPC32.
18134         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18136         memset multiarch objects.
18137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18138         (__libc_ifunc_impl_list): Likewise.
18139
18140         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18141         file.
18142         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18143         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18144         memcmp for PPC32.
18145         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18147         multiarch objects.
18148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18149         (__libc_ifunc_impl_list): Likewise.
18150
18151         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18152         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18153         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18154         file.
18155         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18156         file.
18157         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18158         file.
18159         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18160         multiarch memcpy for PPC32.
18161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18162         multiarch objects.
18163         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18164         (__libc_ifunc_impl_list): Likewise.
18165
18166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18167         support multiarch for POWER/PPC32.
18168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18169         Likewise.
18170         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18172         Implies file to make multiarch folder appers before the fpu and
18173         default folder for power4 configuration.
18174
18175 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18176
18177         * scripts/bench.pl: Append volatile keyword to type.
18178
18179 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18180
18181         * sysdeps/sh/sotruss-lib.c: New file.
18182         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18183
18184 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18185
18186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18187
18188 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18189
18190         [BZ #6810]
18191         * math/w_tgamma.c: Include <errno.h>.
18192         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18193         * math/w_tgammaf.c: Include <errno.h>.
18194         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18195         * math/w_tgammal.c: Include <errno.h>.
18196         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18197         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18198         underflow.  Add more tgamma tests.
18199         * math/auto-libm-test-out: Regenerated.
18200         * sysdeps/i386/fpu/libm-test-ulps: Update.
18201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18202
18203         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18204         sin, sinh, tan, tanh, tgamma, y0 and y1.
18205         * math/auto-libm-test-out: Regenerated.
18206         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18207         (TEST_COND_x86): Likewise.
18208         (M_E2l): Remove macro.
18209         (M_E3l): Likewise.
18210         (M_2_SQRT_PIl): Likewise.
18211         (M_SQRT_PIl): Likewise.
18212         (M_1_DIV_El): Likewise.
18213         (log_test_data): Use AUTO_TESTS_f_f.
18214         (log10_test_data): Likewise.
18215         (log1p_test_data): Likewise.
18216         (log2_test_data): Likewise.
18217         (sin_test_data): Likewise.
18218         (sin_tonearest_test_data): Likewise.
18219         (sin_towardzero_test_data): Likewise.
18220         (sin_downward_test_data): Likewise.
18221         (sin_upward_test_data): Likewise.
18222         (sinh_test_data): Likewise.
18223         (sinh_tonearest_test_data): Likewise.
18224         (sinh_towardzero_test_data): Likewise.
18225         (sinh_downward_test_data): Likewise.
18226         (sinh_upward_test_data): Likewise.
18227         (tan_test_data): Likewise.
18228         (tan_tonearest_test_data): Likewise.
18229         (tan_towardzero_test_data): Likewise.
18230         (tan_downward_test_data): Likewise.
18231         (tan_upward_test_data): Likewise.
18232         (tanh_test_data): Likewise.
18233         (tgamma_test_data): Likewise.
18234         (y0_test_data): Likewise.
18235         (y1_test_data): Likewise.
18236         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18237         (special_real_inputs): Add pi/4.
18238         * sysdeps/i386/fpu/libm-test-ulps: Update.
18239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18240
18241 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18242
18243         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18244         "longjmp_target" static probes.
18245         (__longjmp): Rename to __longjmp_symbol.
18246         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18247         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18248         on which longjmp to generate.
18249         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18250         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18251         probe.
18252         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18253         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18254         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18255         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18256         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18257         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18259         __longjmp_symbol based on which __longjmp to generate.
18260         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18261         probe.
18262         (setjmp): Rename to setjmp_symbol.
18263         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18264         (_setjmp): Rename to _setjmp_symbol.
18265         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18266         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18267         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18268         which setjmp to generate.
18269         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18270         "longjmp_target" static probes.
18271
18272 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18273
18274         * benchtests/README: Add note about output arguments.
18275         * benchtests/bench-sincos.c: Remove file.
18276         * benchtests/sincos-inputs: New file.
18277         * scripts/bench.pl: Identify output arguments and define
18278         static variables for them.
18279
18280         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18281
18282         [BZ #15941]
18283         * Makefile (INSTALL): Add install-plain.texi as the primary
18284         dependency.
18285         * manual/install-plain.texi: New file.
18286         * manual/install.texi: Include node directive only for
18287         non-plaintext output.
18288
18289 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18290
18291         * stdlib/longlong.h: Update from GCC.
18292
18293         [BZ #6807]
18294         [BZ #15901]
18295         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18296         * math/w_j0f.c (y0f): Likewise.
18297         * math/w_j0l.c (__y0l): Likewise.
18298         * math/w_j1.c (y1): Likewise.
18299         * math/w_j1f.c (y1f): Likewise.
18300         * math/w_j1l.c (__y1l): Likewise
18301         * math/w_jn.c (yn): Likewise.
18302         * math/w_jnf.c (ynf): Likewise.
18303         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18304         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18305         value for Bessel function domain errors outside _SVID_ mode.
18306         Adjust sign of return value for yn (negative integer, 0).
18307         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18308         by zero in return for negative x and set sign appropriately for
18309         negative n.
18310         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18311         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18312         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18313         expectations in error cases.
18314         (y1_test_data): Likewise.
18315         (yn_test_data): Likewise.
18316         * sysdeps/i386/fpu/libm-test-ulps: Update.
18317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18318
18319 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18320
18321         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18322         "64" to "64-v1".  Add "64-v2".
18323         (abi-64-options): Rename to ...
18324         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18325         (abi-64-condition): Rename to ...
18326         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18327         (abi-64-ld-soname): Rename to ...
18328         (abi-64-v1-ld-soname): ... this.
18329         (abi-64-v2-options): Define.
18330         (abi-64-v2-condition): Likewise.
18331         (abi-64-v2-ld-soname): Likewise.
18332         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18333         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18337
18338 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18339             Alan Modra  <amodra@gmail.com>
18340
18341         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18342         New versions for use with the ELFv2 ABI.
18343         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18344         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18345         declaration.
18346         (struct La_ppc64v2_retval): Likewise.
18347         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18348         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18349         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18350         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18351         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18352         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18353         Do not save or restore CR.
18354         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18355         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18356         return values for ELFv2 ABI.  Fix location of FPR return registers.
18357         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18358         updated values for _CALL_ELF == 2.
18359         (La_regs, La_retval, int_retval): Likewise.
18360
18361 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18362
18363         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18364         (FRAME_MIN_SIZE_PARM): Likewise.
18365         (FRAME_BACKCHAIN): Likewise.
18366         (FRAME_CR_SAVE): Likewise.
18367         (FRAME_LR_SAVE): Likewise.
18368         (FRAME_TOC_SAVE): Likewise.
18369         (FRAME_PARM_SAVE): Likewise.
18370         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18371         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18372         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18373         (call_mcount_parm_offset): New macro.
18374         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18375         (PROF): Use symbolic stack frame offsets.
18376         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18377         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18378         Redefine in terms of FRAME_MIN_SIZE.
18379         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18380         (_dl_profile_resolve): Likewise.  Update comment.
18381         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18382         symbols stack frame offsets.
18383         (__sigsetjmp): Likewise.
18384         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18385         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18386         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18387         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18388
18389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18390         (FRAME_BACKCHAIN): Remove.
18391         (FRAME_CR_SAVE): Likewise.
18392         (FRAME_LR_SAVE): Likewise.
18393         (FRAME_COMPILER_DW): Likewise.
18394         (FRAME_LINKER_DW): Likewise.
18395         (FRAME_TOC_SAVE): Likewise.
18396         (FRAME_PARM_SAVE): Likewise.
18397         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18398         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18399         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18401         (CHECK_SP): Use symbolic stack frame offsets.
18402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18403         zone" instead of caller's parameter save area for temp storage.
18404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18405         Likewise.  Also, use symbolic stack frame offsets.
18406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18407         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18408         our own stack frame instead of the caller's.
18409         (__socket): Use symbolic stack frame offsets.
18410
18411 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18412             Alan Modra  <amodra@gmail.com>
18413
18414         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18415         Define.
18416         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18417         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18418         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18419         New function.
18420         (elf_machine_fixup_plt): Call it.
18421         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18422         reloc arguments.
18423         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18424         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18425         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18426         r2 before calling target.
18427
18428 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18429             Alan Modra  <amodra@gmail.com>
18430
18431         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18432         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18433         versions of macros to support ELFv2 ABI.
18434         (LOCALENTRY): New macro.
18435         (ENTRY, EALIGN): Use it.
18436         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18437         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18438         fall through into ENTRY entry point.
18439         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18440         Only define if _CALL_ELF != 2.
18441
18442         (elf_machine_matches_host): Verify ABI version matches.
18443         (RTLD_START): Use LOCALENTRY.
18444         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18445         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18446         (PLT_ENTRY_WORDS): New macro.
18447         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18448         (elf_machine_runtime_setup): Support ELFv2 ABI.
18449         (elf_machine_fixup_plt): Likewise.
18450         (elf_machine_plt_conflict): Likewise.
18451         (resolve_ifunc): Likewise.
18452         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18453         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18454         Likewise.
18455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18456         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18458         (makecontext): Support ELFv2 ABI.
18459         * elf/elf.h (EF_PPC64_ABI): Define.
18460
18461 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18462
18463         * sysdeps/powerpc/powerpc64/sysdep.h
18464         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18465         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18466         (ENTRY) [ASSEMBLER]: ... but instead here ...
18467         (EALIGN) [ASSEMBLER]: ... and here.
18468         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18469         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18470         (ENTRY_2) [!ASSEMBLER]: Use it.
18471         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18472         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18473         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18474         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18475         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18477         Use PPC64_LOAD_FUNCPTR.
18478
18479         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18480
18481 2013-12-04  Alan Modra  <amodra@gmail.com>
18482
18483         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18484         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18485         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18486         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18487
18488         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18489         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18490         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18491         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18492         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18493         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18494
18495 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18496
18497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18498         (__makecontext): Fix incorrect CFI when backtracing out of
18499         context created via makecontext.
18500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18501         (__setcontext): Fix incorrect CFI during switch to new context.
18502         (__novec_setcontext): Likewise.
18503
18504 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18505
18506         [BZ #4772]
18507         * time/strptime_l.c (__strptime_internal): Allow modifiers
18508         in strptime.
18509         * time/tst-strptime.c (day_tests): Add testcase.
18510
18511 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18512
18513         * scripts/bench.pl: Skip over blank lines.
18514
18515 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18516
18517         [BZ #926]
18518         * manual/time.texi (Calendar Time): Clarify what timezone functions
18519         use.
18520
18521 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18522
18523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18524
18525 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18526
18527         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18528         implementation.
18529         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18530         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18531         * debug/memset_chk.c (__memset_chk): Likewise.
18532         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18533         * debug/strncpy_chk.c: Likewise.
18534
18535 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18536
18537         [BZ #15268]
18538         [BZ #15425]
18539         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18540         (__ieee754_exp): For possibly underflowing results, check size of
18541         result and force underflow exception if required.
18542         * math/auto-libm-test-in: Add more tests of exp.
18543         * math/auto-libm-test-out: Regenerated.
18544         * sysdeps/i386/fpu/libm-test-ulps: Update.
18545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18546
18547         [BZ #16283]
18548         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18549         * math/w_exp2f.c (__exp2f): Likewise.
18550         * math/w_exp2l.c (__exp2l): Likewise.
18551         * math/auto-libm-test-in: Do not allow missing errno on exp2
18552         underflow.
18553         * math/auto-libm-test-out: Regenerated.
18554
18555 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18556
18557         [BZ #16274]
18558         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18559         handle filename validation.
18560         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18561         (do_open): Delete.
18562
18563 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18564
18565         [BZ #6786]
18566         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18567         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18568         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18569         <float.h>.
18570         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18571         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18572         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18573         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18574         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18575         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18576         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18577         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18578         Add more erfc tests.
18579         * math/auto-libm-test-out: Regenerated.
18580         * sysdeps/i386/fpu/libm-test-ulps: Update.
18581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18582
18583         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18584         exp2, expm1, j0 and j1.
18585         * math/auto-libm-test-out: Regenerated.
18586         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18587         (erfc_test_data): Likewise.
18588         (exp_test_data): Likewise.
18589         (exp_tonearest_test_data): Likewise.
18590         (exp_towardzero_test_data): Likewise.
18591         (exp_downward_test_data): Likewise.
18592         (exp_upward_test_data): Likewise.
18593         (exp10_test_data): Likewise.
18594         (exp2_test_data): Likewise.
18595         (expm1_test_data): Likewise.
18596         (j0_test_data): Likewise.
18597         (j1_test_data): Likewise.
18598         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18599         (input_flag_type): Add flag_xfail_rounding.
18600         (input_flags): Add xfail-rounding.
18601         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18602         (output_for_one_input_case): Handle flag_xfail_rounding.
18603         * sysdeps/i386/fpu/libm-test-ulps: Update.
18604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18605
18606 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18607
18608         [BZ #16289]
18609         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18610         division by 0.
18611
18612 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18613
18614         [BZ #16195]
18615         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18616         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18617         (STAP_PROBE0): New macro.
18618         (STAP_PROBE1): Likewise.
18619         (STAP_PROBE2): Likewise.
18620         (STAP_PROBE3): Likewise.
18621         (STAP_PROBE4): Likewise.
18622
18623 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18624
18625         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18626
18627 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18628
18629         * benchtests/Makefile (bench): Add sqrt.
18630         (LDLIBS-bench-sqrt): New.
18631         * benchtests/sqrt-input: New.
18632
18633 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18634
18635         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18636         (GAIH_EAI): Likewise.
18637         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18638         (gaih_inet): Likewise.
18639         (getaddrinfo): Don't use GAIH_EAI.
18640
18641         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18642         (struct gaih): Remove definition.
18643
18644 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18645
18646         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18647         Use HERRNOP directly.
18648
18649 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18650
18651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18652
18653 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18654
18655         * math/gen-auto-libm-tests.c (test_functions): Add more
18656         single-argument functions.
18657         (special_fill_pi_2): New function.
18658         (special_fill_minus_pi_2): Likewise.
18659         (special_fill_pi_6): Likewise.
18660         (special_fill_minus_pi_6): Likewise.
18661         (special_fill_pi_3): Likewise.
18662         (special_fill_2pi_3): Likewise.
18663         (special_fill_e): Likewise.
18664         (special_fill_1_e): Likewise.
18665         (special_fill_e_minus_1): Likewise.
18666         (special_real_inputs): Add more special inputs.
18667         (output_for_one_input_case): Do not require ERANGE on underflow to
18668         zero if round-to-nearest result does not underflow to zero, unless
18669         exact results required.
18670         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18671         atan, atanh, cbrt, cos and cosh.
18672         * math/auto-libm-test-out: Regenerated.
18673         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18674         (acos_tonearest_test_data): Likewise.
18675         (acos_towardzero_test_data): Likewise.
18676         (acos_downward_test_data): Likewise.
18677         (acos_upward_test_data): Likewise.
18678         (acosh_test_data): Likewise.
18679         (asin_test_data): Likewise.
18680         (asin_tonearest_test_data): Likewise.
18681         (asin_towardzero_test_data): Likewise.
18682         (asin_upward_test_data): Likewise.
18683         (asinh_test_data): Likewise.
18684         (atan_test_data): Likewise.
18685         (atanh_test_data): Likewise.
18686         (cbrt_test_data): Likewise.
18687         (cos_test_data): Likewise.
18688         (cos_tonearest_test_data): Likewise.
18689         (cos_towardzero_test_data): Likewise.
18690         (cos_downward_test_data): Likewise.
18691         (cos_upward_test_data): Likewise.
18692         (cosh_test_data): Likewise.
18693         (cosh_tonearest_test_data): Likewise.
18694         (cosh_towardzero_test_data): Likewise.
18695         (cosh_downward_test_data): Likewise.
18696         (cosh_upward_test_data): Likewise.
18697         * sysdeps/i386/fpu/libm-test-ulps: Update.
18698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18699
18700 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18701
18702         [BZ #6787]
18703         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18704         * math/w_exp10f.c (__exp10f): Likewise.
18705         * math/w_exp10l.c (__exp10l): Likewise.
18706         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18707         errno settings in existing tests.
18708
18709         [BZ #14032]
18710         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18711         precision control set to double precision.
18712         * sysdeps/i386/fpu/w_sqrt.c: New file.
18713         * math/auto-libm-test-in: Add more tests.
18714         * math/auto-libm-test-out: Update.
18715
18716         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18717         (sqrt_test_tonearest): New function.
18718         (sqrt_towardzero_test_data): New variable.
18719         (sqrt_test_towardzero): New function.
18720         (sqrt_downward_test_data): New variable.
18721         (sqrt_test_downward): New function.
18722         (sqrt_upward_test_data): New variable.
18723         (sqrt_test_upward): New function.
18724         (main): Call the new functions.
18725
18726         * math/gen-auto-libm-tests.c: New file.
18727         * math/auto-libm-test-in: Likewise.
18728         * math/auto-libm-test-out: New generated file.
18729         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18730         variables.
18731         (%beautify): Add generated representations of zero.
18732         (top level): Set $auto_input and call parse_auto_input.
18733         (beautify): Remove trailing "f" from hex float constants.
18734         (parse_args): Handle XFAIL_TEST.
18735         (convert_condition): New function.
18736         (or_value): Likewise.
18737         (or_cond_value): Likewise.
18738         (generate_testfile): Handle AUTO_TESTS_* lines.
18739         (parse_auto_input): New function.
18740         * math/libm-test.inc (XFAIL_TEST): New macro.
18741         (ERRNO_UNCHANGED): Update value.
18742         (ERRNO_EDOM): Likewise.
18743         (ERRNO_ERANGE): Likewise.
18744         (IGNORE_RESULT): Likewise.
18745         (TEST_COND_flt_32): New macro.
18746         (TEST_COND_dbl_64): Likewise.
18747         (TEST_COND_ldbl_96_intel): Likewise.
18748         (TEST_COND_ldbl_96_m68k): Likewise.
18749         (TEST_COND_ldbl_128): Likewise.
18750         (TEST_COND_ldbl_128ibm): Likewise.
18751         (TEST_COND_long32): Likewise.
18752         (TEST_COND_long64): Likewise.
18753         (TEST_COND_before_rounding): Likewise.
18754         (TEST_COND_after_rounding): Likewise.
18755         (enable_test): Handle XFAIL_TEST flag.
18756         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18757         with finite results.
18758         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18759         auto-libm-test-out.
18760
18761 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18762             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18763
18764         [BZ #16214]
18765         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18766         __tls_get_addr_internal instead of __tls_get_offset in order to
18767         avoid GOT pointer dependency.  Make rtld export
18768         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18769         __tls_get_addr since we are a __tls_get_offset platform.
18770         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18771         GOT pointer being set up before.
18772         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18773
18774 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
18775
18776         * manual/math.texi (Errors in Math Functions): Document accuracy
18777         goals.
18778
18779         [BZ #15004]
18780         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18781         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18782         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18783         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18784         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18785         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18786         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18787         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18788         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18789         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18790         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18791         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18792         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18793         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18794         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18795         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18796
18797         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18798         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18799         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18800         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18801         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18802         Likewise.
18803         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18804         Likewise.
18805         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18806         Likewise.
18807         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18808         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18809         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18810         atomic-feupdateenv and flt-rounds.
18811         * sysdeps/powerpc/nofpu/Versions (libc): Add
18812         __atomic_feholdexcept, __atomic_feclearexcept,
18813         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18814         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18815         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18816         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18817         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18818         here.
18819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18820         Update.
18821
18822         * manual/arith.texi (FP Exceptions): Document that exceptions may
18823         not be raised when matherr is used.
18824         (Math Error Reporting): Document overflow in directed rounding
18825         modes.  Document that errno may not be set when finite values are
18826         returned on overflow.  Document intent to set errno on underflow
18827         only for underflow to zero.
18828
18829         [BZ #16271]
18830         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18831         round-to-nearest then adjust result for other rounding modes.
18832         * include/fenv.h (fegetround): Use libm_hidden_proto.
18833         * math/fegetround.c (fegetround): Use libm_hidden_def.
18834         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18835         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18836         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18837         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18838         Likewise.
18839         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18840         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18841         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18842         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18843
18844 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18845
18846         [BZ #16077]
18847         * nss/Versions (libnss_files): Add
18848         _nss_files_gethostbyname3_r.
18849         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18850         New function.
18851         (HOST_DB_LOOKUP): Remove macro.
18852         (_nss_files_gethostbyname_r): Implement function without the
18853         HOST_DB_LOOKUP macro.
18854         (_nss_files_gethostbyname2_r): Likewise.
18855
18856 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
18857
18858         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18859
18860 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
18861
18862         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18863         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18864         warning.
18865
18866 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18867
18868         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18869         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18870         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18871         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18872         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18873         __fe_nomask_env_priv and attribute_hidden.
18874         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18875         (libc_feupdateenv_test_ppc): Likewise.
18876         (libc_feresetround_ppc): Likewise.
18877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18878         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18879         compat_symbol macro.
18880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18881         (__fe_nomask_env): Likewise.
18882         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18883
18884 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18885
18886         * string/Makefile: Remove ifunc tests.
18887         * string/test-string.h: Define TEST_IFUNC.
18888         * string/test-bcopy-ifunc.c: Remove.
18889         * string/test-bzero-ifunc.c: Likewise.
18890         * string/test-memccpy-ifunc.c: Likewise.
18891         * string/test-memchr-ifunc.c: Likewise.
18892         * string/test-memcmp-ifunc.c: Likewise.
18893         * string/test-memcpy-ifunc.c: Likewise.
18894         * string/test-memmem-ifunc.c: Likewise.
18895         * string/test-memmove-ifunc.c: Likewise.
18896         * string/test-mempcpy-ifunc.c: Likewise.
18897         * string/test-memrchr-ifunc.c: Likewise.
18898         * string/test-memset-ifunc.c: Likewise.
18899         * string/test-rawmemchr-ifunc.c: Likewise.
18900         * string/test-stpcpy-ifunc.c: Likewise.
18901         * string/test-stpncpy-ifunc.c: Likewise.
18902         * string/test-strcasecmp-ifunc.c: Likewise.
18903         * string/test-strcasestr-ifunc.c: Likewise.
18904         * string/test-strcat-ifunc.c: Likewise.
18905         * string/test-strchr-ifunc.c: Likewise.
18906         * string/test-strchrnul-ifunc.c: Likewise.
18907         * string/test-strcmp-ifunc.c: Likewise.
18908         * string/test-strcpy-ifunc.c: Likewise.
18909         * string/test-strcspn-ifunc.c: Likewise.
18910         * string/test-strlen-ifunc.c: Likewise.
18911         * string/test-strncasecmp-ifunc.c: Likewise.
18912         * string/test-strncat-ifunc.c: Likewise.
18913         * string/test-strncmp-ifunc.c: Likewise.
18914         * string/test-strncpy-ifunc.c: Likewise.
18915         * string/test-strnlen-ifunc.c: Likewise.
18916         * string/test-strpbrk-ifunc.c: Likewise.
18917         * string/test-strrchr-ifunc.c: Likewise.
18918         * string/test-strspn-ifunc.c: Likewise.
18919         * string/test-strstr-ifunc.c: Likewise.
18920
18921 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18922
18923         * benchtests/Makefile: Remove ifunc tests.
18924         * benchtests/bench-string.h: Define TEST_IFUNC.
18925         * benchtests/bench-bcopy-ifunc.c: Remove.
18926         * benchtests/bench-bzero-ifunc.c: Likewise.
18927         * benchtests/bench-memccpy-ifunc.c: Likewise.
18928         * benchtests/bench-memchr-ifunc.c: Likewise.
18929         * benchtests/bench-memcmp-ifunc.c: Likewise.
18930         * benchtests/bench-memcpy-ifunc.c: Likewise.
18931         * benchtests/bench-memmem-ifunc.c: Likewise.
18932         * benchtests/bench-memmove-ifunc.c: Likewise.
18933         * benchtests/bench-mempcpy-ifunc.c: Likewise.
18934         * benchtests/bench-memrchr-ifunc.c: Likewise.
18935         * benchtests/bench-memset-ifunc.c: Likewise.
18936         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18937         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18938         * benchtests/bench-stpcpy-ifunc.c: Likewise.
18939         * benchtests/bench-stpncpy-ifunc.c: Likewise.
18940         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18941         * benchtests/bench-strcasestr-ifunc.c: Likewise.
18942         * benchtests/bench-strcat-ifunc.c: Likewise.
18943         * benchtests/bench-strchr-ifunc.c: Likewise.
18944         * benchtests/bench-strchrnul-ifunc.c: Likewise.
18945         * benchtests/bench-strcmp-ifunc.c: Likewise.
18946         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18947         * benchtests/bench-strcpy-ifunc.c: Likewise.
18948         * benchtests/bench-strcspn-ifunc.c: Likewise.
18949         * benchtests/bench-strlen-ifunc.c: Likewise.
18950         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18951         * benchtests/bench-strncat-ifunc.c: Likewise.
18952         * benchtests/bench-strncmp-ifunc.c: Likewise.
18953         * benchtests/bench-strncpy-ifunc.c: Likewise.
18954         * benchtests/bench-strnlen-ifunc.c: Likewise.
18955         * benchtests/bench-strpbrk-ifunc.c: Likewise.
18956         * benchtests/bench-strrchr-ifunc.c: Likewise.
18957         * benchtests/bench-strsep-ifunc.c: Likewise.
18958         * benchtests/bench-strspn-ifunc.c: Likewise.
18959         * benchtests/bench-strstr-ifunc.c: Likewise.
18960
18961 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18962
18963         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18964
18965 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18966
18967         * resolv/netdb.h: Use __glibc_reserved instead __unused.
18968         * rt/aio.h: Likewise.
18969         * sysdeps/gnu/bits/utmp.h: Likewise.
18970         * sysdeps/gnu/bits/utmpx.h: Likewise.
18971         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18972         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18973         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18974         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18975         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18976         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18977         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18978         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18979         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18980         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18981         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18982         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18983         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18985         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18986         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18987         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18988         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18989         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18990         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18991         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18992         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18993         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18994         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18995         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18996         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18997         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18998         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18999         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19000         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19001         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19002         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19003         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19004         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19005         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19006         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19007         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19008         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19009         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19010         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19011         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19012         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19013
19014 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19015
19016         [BZ #16245]
19017         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19018         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19019
19020 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19021
19022         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19023         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19024         Likewise.
19025
19026 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19027
19028         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19029         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19030         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19031         (__fesetround): Remove define.
19032         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19033         rounding and exceptions handling.
19034         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19035         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19036         (__fe_nomask_env): Likewise.
19037         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19038         __fegetround instead of fegetround.
19039         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19040         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19041
19042 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19043
19044         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19045         it's there.
19046
19047         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19048
19049 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19050
19051         [BZ #11157]
19052         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19053         (encrypt_r): Likewise.
19054         * malloc/obstack.h (obstack_free): Likewise.
19055         * posix/unistd.h (encrypt): Likewise.
19056
19057 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19058
19059         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19060         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19061         DL_CALL_DT_FINI() that call the functions directly.
19062         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19063         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19064         * elf/dl-fini.c: Likewise.
19065
19066 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19067
19068         * malloc/hooks.c (memalign_check): Add alignment rounding.
19069         * malloc/malloc.c (_mid_memalign): New function.
19070         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19071         Implement by calling _mid_memalign.
19072         * manual/probes.texi (Memory Allocation Probes): Remove
19073         memory_valloc_retry and memory_pvalloc_retry.
19074
19075 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19076
19077         * locale/programs/locarchive.c (open_archive): Add const
19078         qualifier to ARCHIVEFNAME and copy default fname to
19079         DEFAULT_FNAME.
19080
19081         [BZ #15601]
19082         * libio/tst-widetext.input: Rename Oriya to Odia.
19083         * locale/iso-639.def: Likewise.
19084
19085         * manual/probes.texi (Mathematical Function Probes): Add
19086         documentation for sin, cos, asin and acos probes.
19087         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19088         (__sin32): Add slowasin probe.
19089         (__cos32): Add slowacos probe.
19090         (__mpsin): Add slowsin probe.
19091         (__mpcos): Add slowcos probe.
19092
19093 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19094
19095         [BZ #15483]
19096         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19097         thread-local __sim_exceptions_thread and global
19098         __sim_exceptions_global.
19099         (__sim_disabled_exceptions): Change to thread-local
19100         __sim_disabled_exceptions_thread and global
19101         __sim_disabled_exceptions_global.
19102         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19103         and global __sim_round_mode_global.
19104         (__simulate_exceptions): Use thread-local floating-point state and
19105         set global state from it as needed.
19106         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19107         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19108         __sim_round_mode_thread.
19109         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19110         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19111         and global __sim_exceptions_global.
19112         (__sim_disabled_exceptions): Change to thread-local
19113         __sim_disabled_exceptions_thread and global
19114         __sim_disabled_exceptions_global.
19115         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19116         and global __sim_round_mode_global.
19117         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19118         (SIM_SET_GLOBAL): Likewise.
19119         * sysdeps/powerpc/soft-fp/sfp-machine.h
19120         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19121         __sim_round_mode_thread.
19122         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19123         __sim_disabled_exceptions_thread.
19124         (__sim_exceptions): Change to __sim_exceptions_thread.
19125         (__sim_disabled_exceptions): Change to
19126         __sim_disabled_exceptions_thread.
19127         (__sim_round_mode): Change to __sim_round_mode_thread.
19128         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19129         thread-local floating-point state and set global state from it as
19130         needed.
19131         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19132         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19133         (__sim_disabled_exceptions): Remove extern declaration.
19134         (feenableexcept): Use thread-local floating-point state and set
19135         global state from it as needed.
19136         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19137         extern declaration.
19138         (__sim_disabled_exceptions): Likewise.
19139         (__sim_round_mode): Likewise.
19140         (__fegetenv): Use thread-local floating-point state.
19141         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19142         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19143         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19144         floating-point state and set global state from it as needed.
19145         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19146         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19147         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19148         Likewise.
19149         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19150         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19151         Likewise.
19152         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19153         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19154         Use __sim_round_mode_thread.
19155         * math/test-fenv-tls.c: New file.
19156         * math/Makefile (tests): Add test-fenv-tls.
19157         ($(objpfx)test-fenv-tls): Depend on
19158         $(common-objpfx)nptl/libpthread.so.
19159
19160 2013-11-19  Andreas Schwab  <schwab@suse.de>
19161
19162         * locale/programs/locale.c (show_info): Decode wordarray elements.
19163         * locale/categories.def (LC_MONETARY): Add element for
19164         _NL_MONETARY_CRNCYSTR.
19165         * locale/C-monetary.c (conversion_rate): New variable.
19166         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19167         element.
19168
19169 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19170
19171         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19172         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19173
19174 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19175
19176         * elf/Makefile (tst-auxv): New test.
19177         * elf/tst-auxv.c: New
19178         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19179
19180 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19181
19182         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19183         (hidden_proto): Caller changed.
19184         (hidden_tls_proto): New macro.
19185         (libc_hidden_tls_proto): Likewise.
19186         (rtld_hidden_tls_proto): Likewise.
19187         (libm_hidden_tls_proto): Likewise.
19188         (libresolv_hidden_tls_proto): Likewise.
19189         (librt_hidden_tls_proto): Likewise.
19190         (libdl_hidden_tls_proto): Likewise.
19191         (libnss_files_hidden_tls_proto): Likewise.
19192         (libnsl_hidden_tls_proto): Likewise.
19193         (libnss_nisplus_hidden_tls_proto): Likewise.
19194         (libutil_hidden_tls_proto): Likewise.
19195
19196 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19197
19198         [BZ #10253]
19199         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19200         (decompose_rpath): Defer expansion to fillin_rpath.
19201         (_dl_init_paths): Pass linkmap to fillin_rpath.
19202
19203 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19204
19205         * benchtests/Makefile: Add strsep.
19206         * benchtests/bench-strsep.c: New file: strsep benchtest.
19207         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19208
19209 2013-11-18  Andreas Schwab  <schwab@suse.de>
19210
19211         * locale/programs/locale.c (show_info) [case byte]: Check for
19212         '\377' instead of '\177'.
19213         * locale/C-monetary.c (not_available): Always use "\377".
19214         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19215         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19216         detect unavailable sign_posn locale elements.
19217         * locale/localeconv.c (__localeconv): For grouping and
19218         mon_grouping handle "\177" and "\377" like no grouping.
19219         (INT_ELEM): New macro.  Use it to set all numeric members.
19220         * locale/programs/ld-monetary.c (monetary_read)
19221         <tok_mon_grouping>: Normalize single -1 to the empty string.
19222         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19223         Likewise.
19224
19225 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19226
19227         [BZ #16055]
19228         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19229         when we match (nil).
19230         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19231
19232 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19233
19234         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19235         (NO_TEST_INLINE): Update value.
19236         (ERRNO_UNCHANGED): Likewise.
19237         (ERRNO_EDOM): Likewise.
19238         (ERRNO_ERANGE): Likewise.
19239         (IGNORE_RESULT): Likewise.
19240         (check_float_internal): Check signs of NaN results if
19241         TEST_NAN_SIGN used.
19242         (check_complex): Pass TEST_NAN_SIGN flag through to second
19243         check_float_internal call.
19244         (copysign_test_data): Add tests with quiet NaNs as second
19245         argument.  Use TEST_NAN_SIGN.
19246         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19247         TEST_NAN_SIGN.
19248         (signbit_test_data): Add tests of quiet NaN argument.
19249         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19250
19251         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19252         $ignore_result.
19253         (parse_args): Handle function results specified as IGNORE.
19254         * math/libm-test.inc (IGNORE_RESULT): New macro.
19255         (check_float_internal): Do not check numerical result if flag
19256         IGNORE_RESULT set.
19257         (check_complex): Pass through IGNORE_RESULT to second
19258         check_float_internal call.
19259         (check_int): Do not check numerical result if flag IGNORE_RESULT
19260         set.
19261         (check_long): Likewise.
19262         (check_bool): Likewise.
19263         (check_longlong): Likewise.
19264         (lrint_test_data): Add tests of infinite and NaN arguments.
19265         (lrint_tonearest_test_data): Likewise.
19266         (lrint_towardzero_test_data): Likewise.
19267         (lrint_downward_test_data): Likewise.
19268         (lrint_upward_test_data): Likewise.
19269         (llrint_test_data): Likewise.
19270         (llrint_tonearest_test_data): Likewise.
19271         (llrint_towardzero_test_data): Likewise.
19272         (llrint_downward_test_data): Likewise.
19273         (llrint_upward_test_data): Likewise.
19274         (lround_test_data): Likewise.
19275         (llround_test_data): Likewise.
19276
19277         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19278         (ERRNO_UNCHANGED): Update value.
19279         (ERRNO_EDOM): Likewise.
19280         (ERRNO_ERANGE): Likewise.
19281         (NO_TEST_INLINE_FLOAT): New macro.
19282         (NO_TEST_INLINE_DOUBLE): Likewise.
19283         (enable_test): New function.
19284         (RUN_TEST_f_f): Check enable_test before running test.
19285         (RUN_TEST_2_f): Likewise.
19286         (RUN_TEST_fff_f): Likewise.
19287         (RUN_TEST_c_f): Likewise.
19288         (RUN_TEST_f_f1): Likewise.
19289         (RUN_TEST_fF_f1): Likewise.
19290         (RUN_TEST_fI_f1): Likewise.
19291         (RUN_TEST_ffI_f1): Likewise.
19292         (RUN_TEST_c_c): Likewise.
19293         (RUN_TEST_cc_c): Likewise.
19294         (RUN_TEST_f_i): Likewise.
19295         (RUN_TEST_f_i_tg): Likewise.
19296         (RUN_TEST_ff_i_tg): Likewise.
19297         (RUN_TEST_f_b): Likewise.
19298         (RUN_TEST_f_b_tg): Likewise.
19299         (RUN_TEST_f_l): Likewise.
19300         (RUN_TEST_f_L): Likewise.
19301         (RUN_TEST_fFF_11): Likewise.
19302         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19303         conditionals.
19304         (cosh_test_data): Likewise.
19305         (exp_test_data): Likewise.
19306         (expm1_test_data): Likewise.
19307         (hypot_test_data): Likewise.
19308         (pow_test_data): Likewise.
19309         (sinh_test_data): Likewise.
19310         (tanh_test_data): Likewise.
19311         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19312         flags argument.
19313
19314         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19315         tests with quiet NaN input and output.
19316         (acosh_test_data): Likewise.
19317         (asin_test_data): Likewise.
19318         (asinh_test_data): Likewise.
19319         (atan_test_data): Likewise.
19320         (atanh_test_data): Likewise.
19321         (atan2_test_data): Likewise.
19322         (cbrt_test_data): Likewise.
19323         (cos_test_data): Likewise.
19324         (cosh_test_data): Likewise.
19325         (erf_test_data): Likewise.
19326         (erfc_test_data): Likewise.
19327         (exp_test_data): Likewise.
19328         (exp10_test_data): Likewise.
19329         (exp2_test_data): Likewise.
19330         (expm1_test_data): Likewise.
19331         (hypot_test_data): Likewise.
19332         (j0_test_data): Likewise.
19333         (j1_test_data): Likewise.
19334         (jn_test_data): Likewise.
19335         (lgamma_test_data): Likewise.
19336         (log_test_data): Likewise.
19337         (log10_test_data): Likewise.
19338         (log1p_test_data): Likewise.
19339         (log2_test_data): Likewise.
19340         (pow_test_data): Likewise.
19341         (scalb_test_data): Likewise.
19342         (sin_test_data): Likewise.
19343         (sincos_test_data): Likewise.
19344         (sinh_test_data): Likewise.
19345         (tan_test_data): Likewise.
19346         (tanh_test_data): Likewise.
19347         (tgamma_test_data): Likewise.
19348         (y0_test_data): Likewise.
19349         (y1_test_data): Likewise.
19350         (yn_test_data): Likewise.
19351
19352         [BZ #16167]
19353         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19354         argument being NaN and avoid computations with second argument in
19355         that case.
19356         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19357         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19358         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19359
19360 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19361
19362         * locale/iso-639.def: Add Chitwani Tharu (the).
19363
19364 2013-11-14  Andreas Schwab  <schwab@suse.de>
19365
19366         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19367         word instead of empty string.
19368
19369 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19370
19371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19372         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19374         (__fe_nomask_env): Likewise.
19375
19376 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19377
19378         * benchtests/bench-timing.h: Include time.h.
19379
19380 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19381
19382         [BZ #15997]
19383         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19384         to 3.4.0 for x32.
19385         * sysdeps/unix/sysv/linux/configure: Regenerated.
19386
19387 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19388
19389         [BZ #16151]
19390         * stdlib/strtod_l.c (round_and_return): Do not consider
19391         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19392         exponent one less than half the least subnormal exponent.
19393         * stdlib/test-strtod-round-data: Add more tests.
19394         * stdlib/tst-strtod-round.c (tests): Regenerated.
19395
19396 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19397
19398         [BZ #14143]
19399         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19400         (__fe_mask_env): Likewise.
19401         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19402         libm_hidden_proto and add function prototype.
19403         (__fe_mask_env): Add function prototype.
19404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19405         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19407         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19409         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19410
19411 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19412
19413         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19414         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19415
19416 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19417
19418         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19419         of htab_find_slot().
19420
19421 2013-11-11  David S. Miller  <davem@davemloft.net>
19422
19423         [BZ #16150]
19424         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19425         symbol in the non-vis3 case in static builds.
19426         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19427         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19428         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19429         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19430
19431 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19432
19433         [BZ #387]
19434         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19435         it is empty.
19436
19437 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19438
19439         * benchtests/Makefile: Add bench-strtod.
19440         * benchtests/bench-strtod.c: New file: strtod benchtest
19441
19442 2013-11-11  Andreas Schwab  <schwab@suse.de>
19443
19444         [BZ #16153]
19445         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19446         terminating NUL in key length.
19447
19448 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19449
19450         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19451         Add artificial ODP entry for vDSO symbol for PPC64.
19452         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19453         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19454
19455 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19456
19457         [BZ #15374]
19458         * nss/getent.c (services_keys): Recognize services starting with digit.
19459
19460 2013-11-06  David S. Miller  <davem@davemloft.net>
19461
19462         [BZ #15985]
19463         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19464         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19465
19466 2013-11-06  Will Newton  <will.newton@linaro.org>
19467
19468         * manual/memory.texi (Malloc Examples): Remove register
19469         keyword from examples.
19470
19471 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19472
19473         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19474
19475 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19476
19477         [BZ #6981]
19478         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19479         depending on [__GCC_IEC_559 > 0].
19480         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19481         depending on [__GCC_IEC_559_COMPLEX > 0].
19482
19483 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19484
19485         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19486         to iso-639.def.
19487
19488 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19489
19490         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19491
19492 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19493
19494         [BZ #16112]
19495         * malloc/malloc (malloc_info): Do not handle first bin as
19496         special case.
19497
19498 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19499
19500         * locale/iso-639.def: Add Central Nahuatl (nhn).
19501
19502 2013-11-01  Bruno Haible  <bruno@clisp.org>
19503
19504         [BZ #7003]
19505         * manual/math.texi (BSD Random): Specify range upper bound as
19506         in POSIX.
19507
19508 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19509
19510         * locale/iso-639.def: Add Meadow Mari (mhr).
19511
19512 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19513
19514         [BZ #14752], [BZ #15763]
19515         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19516         Validate name.
19517         * rt/tst_shm.c: Add test for escaping directory.
19518
19519 2013-10-31  Andreas Schwab  <schwab@suse.de>
19520
19521         [BZ #15917]
19522         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19523         followed by 'x' as part of digit sequence.
19524         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19525
19526 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19527
19528         [BZ #16037]
19529         * configure.ac: allow GNU Make 4.0 and greater.
19530         * configure: Regenerated.
19531
19532 2013-10-30  Will Newton  <will.newton@linaro.org>
19533
19534         [BZ #16038]
19535         * malloc/hooks.c (memalign_check): Limit alignment to the
19536         maximum representable power of two.
19537         * malloc/malloc.c (__libc_memalign): Likewise.
19538         * malloc/tst-memalign.c (do_test): Add test for very
19539         large alignment values.
19540         * malloc/tst-posix_memalign.c (do_test): Likewise.
19541
19542 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19543
19544         [BZ #11087]
19545         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19546         (munmap_chunk): Likewise.
19547         (mremap_chunk): Likewise.
19548
19549 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19550
19551         [BZ #15799]
19552         * stdlib/div.c (div): Remove obsolete code.
19553         * stdlib/ldiv.c (ldiv): Likewise.
19554         * stdlib/lldiv.c (lldiv): Likewise.
19555
19556 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19557
19558         [BZ #16071]
19559         * nss/nss_files/files-XXX.c (get_contents_ret): New
19560         enumerator.
19561         (get_contents): New function.
19562         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19563
19564 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19565
19566         * configure.in: Moved to ...
19567         * configure.ac: ... here. Change reference to configure.in
19568         to configure.ac.
19569         * sysdeps/arm/preconfigure.ac: ... here.
19570         configure.in to configure.ac.
19571         * sysdeps/gnu/configure.in: Moved to ...
19572         * sysdeps/gnu/configure.ac: ... here.
19573         * sysdeps/i386/configure.in: Moved to ...
19574         * sysdeps/i386/configure.ac: ... here.
19575         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19576         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19577         * sysdeps/mach/configure.in: Moved to ...
19578         * sysdeps/mach/configure.ac: ... here.
19579         * sysdeps/mach/hurd/configure.in: Moved to ...
19580         * sysdeps/mach/hurd/configure.ac: ... here.
19581         * sysdeps/powerpc/configure.in: Moved to ...
19582         * sysdeps/powerpc/configure.ac: ... here.
19583         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19584         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19585         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19586         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19587         * sysdeps/s390/s390-32/configure.in: Moved to ...
19588         * sysdeps/s390/s390-32/configure.ac: ... here.
19589         * sysdeps/s390/s390-64/configure.in: Moved to ...
19590         * sysdeps/s390/s390-64/configure.ac: ... here.
19591         * sysdeps/sh/configure.in: Moved to ...
19592         * sysdeps/sh/configure.ac: ... here.
19593         * sysdeps/sparc/configure.in: Moved to ...
19594         * sysdeps/sparc/configure.ac: ... here.
19595         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19596         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19597         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19598         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19599         * sysdeps/x86_64/configure.in: Moved to ...
19600         * sysdeps/x86_64/configure.ac: ... here.
19601         * sysdeps/x86_64/preconfigure.in: Moved to ...
19602         * sysdeps/x86_64/preconfigure.ac: ... here.
19603         * aclocal.m4: Change reference to configure.in to configure.ac.
19604         * config.h.in: Likewise.
19605         * manual/install.texi: Likewise.
19606         * manual/maint.texi: Likewise.
19607         * Makefile: Likewise.
19608         * malloc/Makefile: Likewise.
19609         * nscd/Makefile: Likewise.
19610         * Makeconfig: Change reference to configure.in and
19611         preconfigure.in to configure.ac and preconfigure.ac
19612         respectively.
19613         * INSTALL: Regenerated.
19614         * configure: Likewise.
19615         * sysdeps/gnu/configure: Likewise.
19616         * sysdeps/i386/configure: Likewise.
19617         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19618         * sysdeps/mach/configure: Likewise.
19619         * sysdeps/mach/hurd/configure: Likewise.
19620         * sysdeps/powerpc/configure: Likewise.
19621         * sysdeps/powerpc/powerpc32/configure: Likewise.
19622         * sysdeps/powerpc/powerpc64/configure: Likewise.
19623         * sysdeps/s390/s390-32/configure: Likewise.
19624         * sysdeps/s390/s390-64/configure: Likewise.
19625         * sysdeps/sh/configure: Likewise.
19626         * sysdeps/sparc/configure: Likewise.
19627         * sysdeps/unix/sysv/linux/configure: Likewise.
19628         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19629         * sysdeps/x86_64/configure: Likewise.
19630         * sysdeps/x86_64/preconfigure: Likewise.
19631
19632 2013-10-29  Andreas Schwab  <schwab@suse.de>
19633
19634         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19635
19636 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19637
19638         * benchtests/pow-inputs: Add new inputs.
19639
19640         * benchtests/exp-inputs: Add new inputs.
19641
19642         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19643         conditional check for return value.
19644         (__cos32): Likewise.
19645
19646 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19647
19648         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19649         to provide a boost for large inputs with word alignment.
19650         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19651         implementation based on optimized PPC64 strcpy.
19652         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19653         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19654         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19655         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19656
19657 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19658
19659         [BZ #2801]
19660         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19661
19662 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19663
19664         [BZ #14876]
19665         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19666         * time/tst-strptime.c (day_tests): Add testcase.
19667
19668 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19669
19670         [BZ #14029]
19671         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19672
19673 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19674
19675         [BZ #16074]
19676         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19677         MAP_FAILED on error.
19678
19679 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19680
19681         [BZ #16072]
19682         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19683         heap for large requests.
19684
19685 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19686
19687         [BZ #9954]
19688         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19689         result if the result has no associated interface.
19690         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19691         interface for all 127.X.Y.Z addresses.
19692
19693 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19694
19695         * locale/iso-639.def: Add Ligurian (lij)
19696
19697 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19698
19699         [BZ #15825]
19700         * sunrpc/rpc_main.c: Document rpcgen -5.
19701
19702 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19703
19704         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19705
19706 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19707
19708         [BZ #10278]
19709         * posix/glob.c: Match only directories when trailing slash is present.
19710         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19711         (main): Add testcase.
19712
19713 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19714
19715         [BZ #15670]
19716         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19717
19718 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19719
19720         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19721         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19722         AUTH_DES and cindex for FIPS 140-2.
19723         (DES Encryption): Add cindex FIPS 46-3.
19724
19725         * locale/locarchive.h (struct locarhandle): Add fname.
19726         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19727         if an optional argument was specified to --list-archive,
19728         otherwise NULL.
19729         * locale/programs/locarchive.c (show_archive_content): Take new
19730         argument fname and pass it via ah.fname to open_archive.
19731         * locale/programs/localedef.h: Update decl.
19732         (open_archive): If AH->fname is non-null, open that file
19733         rather than the default file name, and don't ignore ENOENT.
19734         (create_archive): Set AH.fname to NULL.
19735         (delete_locales_from_archive): Likewise.
19736         (add_locales_to_archive): Likewise.
19737         * locale/programs/locfile.c (write_all_categories): Likewise.
19738
19739 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
19740             Aldy Hernandez  <aldyh@redhat.com>
19741
19742         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19743         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19744         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19745         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19746         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19747         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19748         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19749         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19750         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19751         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19752         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19753         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19754         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19755         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19756         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19757         Likewise.
19758         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19759         Likewise.
19760         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19761         Likewise.
19762         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19763         Likewise.
19764         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19765         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19766         Likewise.
19767         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19768         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19769         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19770         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19771         Likewise.
19772         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19773         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19774         * sysdeps/powerpc/preconfigure: Likewise.
19775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19776         Likewise.
19777         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19778         Replace contents of file by #include of <fenv_libc.h>.
19779         * sysdeps/powerpc/soft-fp/sfp-machine.h
19780         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19781         and <sys/prctl.h>.
19782         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19783         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19784         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19785         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19786         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19787         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19789         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19790         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19791         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19792         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19793         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19795         Allow copysignl PLT reference to be missing.
19796
19797 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
19798             Joseph Myers  <joseph@codesourcery.com
19799
19800         [BZ #15948]
19801         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19802         single character.
19803         (add_to_tablewc): Assert sequence of wide characters is nonempty.
19804
19805 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19806
19807         * elf/tst-tls-dlinfo.c: Don't include tls.h.
19808         * elf/tst-tls1.c: Likewise.
19809         * elf/tst-tls10.h: Likewise.
19810         * elf/tst-tls14.c: Likewise.
19811         * elf/tst-tls2.c: Likewise.
19812         * elf/tst-tls3.c: Likewise.
19813         * elf/tst-tls4.c: Likewise.
19814         * elf/tst-tls5.c: Likewise.
19815         * elf/tst-tls6.c: Likewise.
19816         * elf/tst-tls7.c: Likewise.
19817         * elf/tst-tls8.c: Likewise.
19818         * elf/tst-tls9.c: Likewise.
19819         * elf/tst-tlsmod1.c: Likewise.
19820         * elf/tst-tlsmod13.c: Likewise.
19821         * elf/tst-tlsmod13a.c: Likewise.
19822         * elf/tst-tlsmod14a.c: Likewise.
19823         * elf/tst-tlsmod16a.c: Likewise.
19824         * elf/tst-tlsmod16b.c: Likewise.
19825         * elf/tst-tlsmod2.c: Likewise.
19826         * elf/tst-tlsmod3.c: Likewise.
19827         * elf/tst-tlsmod4.c: Likewise.
19828         * elf/tst-tlsmod5.c: Likewise.
19829         * elf/tst-tlsmod6.c: Likewise.
19830
19831 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
19832
19833         [BZ #12486]
19834         * malloc/malloc.c: remove checks for statistics.
19835
19836 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19837
19838         [BZ #15277]
19839         * inet/inet_net.c (inet_network): Detect additional invalid strings.
19840         * inet/tst-network.c: Add testcase.
19841
19842 2013-10-17  Andreas Schwab  <schwab@suse.de>
19843
19844         [BZ #15218]
19845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19846         to determine canonical name.
19847
19848 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19849
19850         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19851         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19852         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19853         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19854         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19855         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19856         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19857         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19858         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19859         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19860         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19861         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19862         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19863         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19864         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19865         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19866         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19867         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19868         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19869         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19870         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19871         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19872         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19873         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19874         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19875         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19876         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19877         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19878         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19879         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19880         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19881         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19882         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19883         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19884         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19885         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19886         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19887         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19888         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19889         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19890         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19891         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19892         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19893         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19894         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19895         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19896         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19897         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19898         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19899         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19900         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19901         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19902         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19903         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19904         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19905         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19906         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19907         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19908
19909 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
19910
19911         [BZ #16041]
19912         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19913         make result into a quiet NaN.
19914
19915 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
19916
19917         * soft-fp/adddf3.c: Fix horizontal whitespace.
19918         * soft-fp/addsf3.c: Likewise.
19919         * soft-fp/addtf3.c: Likewise.
19920         * soft-fp/divdf3.c: Likewise.
19921         * soft-fp/divsf3.c: Likewise.
19922         * soft-fp/divtf3.c: Likewise.
19923         * soft-fp/double.h: Likewise.
19924         * soft-fp/eqdf2.c: Likewise.
19925         * soft-fp/eqsf2.c: Likewise.
19926         * soft-fp/eqtf2.c: Likewise.
19927         * soft-fp/extenddftf2.c: Likewise.
19928         * soft-fp/extended.h: Likewise.
19929         * soft-fp/extendsfdf2.c: Likewise.
19930         * soft-fp/extendsftf2.c: Likewise.
19931         * soft-fp/extendxftf2.c: Likewise.
19932         * soft-fp/fixdfdi.c: Likewise.
19933         * soft-fp/fixdfsi.c: Likewise.
19934         * soft-fp/fixdfti.c: Likewise.
19935         * soft-fp/fixsfdi.c: Likewise.
19936         * soft-fp/fixsfsi.c: Likewise.
19937         * soft-fp/fixsfti.c: Likewise.
19938         * soft-fp/fixtfdi.c: Likewise.
19939         * soft-fp/fixtfsi.c: Likewise.
19940         * soft-fp/fixtfti.c: Likewise.
19941         * soft-fp/fixunsdfdi.c: Likewise.
19942         * soft-fp/fixunsdfsi.c: Likewise.
19943         * soft-fp/fixunsdfti.c: Likewise.
19944         * soft-fp/fixunssfdi.c: Likewise.
19945         * soft-fp/fixunssfsi.c: Likewise.
19946         * soft-fp/fixunssfti.c: Likewise.
19947         * soft-fp/fixunstfdi.c: Likewise.
19948         * soft-fp/fixunstfsi.c: Likewise.
19949         * soft-fp/fixunstfti.c: Likewise.
19950         * soft-fp/floatdidf.c: Likewise.
19951         * soft-fp/floatdisf.c: Likewise.
19952         * soft-fp/floatditf.c: Likewise.
19953         * soft-fp/floatsidf.c: Likewise.
19954         * soft-fp/floatsisf.c: Likewise.
19955         * soft-fp/floatsitf.c: Likewise.
19956         * soft-fp/floattidf.c: Likewise.
19957         * soft-fp/floattisf.c: Likewise.
19958         * soft-fp/floattitf.c: Likewise.
19959         * soft-fp/floatundidf.c: Likewise.
19960         * soft-fp/floatundisf.c: Likewise.
19961         * soft-fp/floatunditf.c: Likewise.
19962         * soft-fp/floatunsidf.c: Likewise.
19963         * soft-fp/floatunsisf.c: Likewise.
19964         * soft-fp/floatunsitf.c: Likewise.
19965         * soft-fp/floatuntidf.c: Likewise.
19966         * soft-fp/floatuntisf.c: Likewise.
19967         * soft-fp/floatuntitf.c: Likewise.
19968         * soft-fp/fmadf4.c: Likewise.
19969         * soft-fp/fmasf4.c: Likewise.
19970         * soft-fp/fmatf4.c: Likewise.
19971         * soft-fp/gedf2.c: Likewise.
19972         * soft-fp/gesf2.c: Likewise.
19973         * soft-fp/getf2.c: Likewise.
19974         * soft-fp/ledf2.c: Likewise.
19975         * soft-fp/lesf2.c: Likewise.
19976         * soft-fp/letf2.c: Likewise.
19977         * soft-fp/muldf3.c: Likewise.
19978         * soft-fp/mulsf3.c: Likewise.
19979         * soft-fp/multf3.c: Likewise.
19980         * soft-fp/negdf2.c: Likewise.
19981         * soft-fp/negsf2.c: Likewise.
19982         * soft-fp/negtf2.c: Likewise.
19983         * soft-fp/op-1.h: Likewise.
19984         * soft-fp/op-2.h: Likewise.
19985         * soft-fp/op-4.h: Likewise.
19986         * soft-fp/op-8.h: Likewise.
19987         * soft-fp/op-common.h: Likewise.
19988         * soft-fp/quad.h: Likewise.
19989         * soft-fp/single.h: Likewise.
19990         * soft-fp/soft-fp.h: Likewise.
19991         * soft-fp/sqrtdf2.c: Likewise.
19992         * soft-fp/sqrtsf2.c: Likewise.
19993         * soft-fp/sqrttf2.c: Likewise.
19994         * soft-fp/subdf3.c: Likewise.
19995         * soft-fp/subsf3.c: Likewise.
19996         * soft-fp/subtf3.c: Likewise.
19997         * soft-fp/truncdfsf2.c: Likewise.
19998         * soft-fp/trunctfdf2.c: Likewise.
19999         * soft-fp/trunctfsf2.c: Likewise.
20000         * soft-fp/trunctfxf2.c: Likewise.
20001         * soft-fp/unorddf2.c: Likewise.
20002         * soft-fp/unordsf2.c: Likewise.
20003         * soft-fp/unordtf2.c: Likewise.
20004
20005 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20006
20007         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20008         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20009
20010 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20011
20012         * elf/dl-libc.c: Clear initfini list after freeing.
20013
20014 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20015
20016         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20017         * soft-fp/addsf3.c: Likewise.
20018         * soft-fp/addtf3.c: Likewise.
20019         * soft-fp/divdf3.c: Likewise.
20020         * soft-fp/divsf3.c: Likewise.
20021         * soft-fp/divtf3.c: Likewise.
20022         * soft-fp/double.h: Likewise.
20023         * soft-fp/eqdf2.c: Likewise.
20024         * soft-fp/eqsf2.c: Likewise.
20025         * soft-fp/eqtf2.c: Likewise.
20026         * soft-fp/extenddftf2.c: Likewise.
20027         * soft-fp/extended.h: Likewise.
20028         * soft-fp/extendsfdf2.c: Likewise.
20029         * soft-fp/extendsftf2.c: Likewise.
20030         * soft-fp/extendxftf2.c: Likewise.
20031         * soft-fp/fixdfdi.c: Likewise.
20032         * soft-fp/fixdfsi.c: Likewise.
20033         * soft-fp/fixdfti.c: Likewise.
20034         * soft-fp/fixsfdi.c: Likewise.
20035         * soft-fp/fixsfsi.c: Likewise.
20036         * soft-fp/fixsfti.c: Likewise.
20037         * soft-fp/fixtfdi.c: Likewise.
20038         * soft-fp/fixtfsi.c: Likewise.
20039         * soft-fp/fixtfti.c: Likewise.
20040         * soft-fp/fixunsdfdi.c: Likewise.
20041         * soft-fp/fixunsdfsi.c: Likewise.
20042         * soft-fp/fixunsdfti.c: Likewise.
20043         * soft-fp/fixunssfdi.c: Likewise.
20044         * soft-fp/fixunssfsi.c: Likewise.
20045         * soft-fp/fixunssfti.c: Likewise.
20046         * soft-fp/fixunstfdi.c: Likewise.
20047         * soft-fp/fixunstfsi.c: Likewise.
20048         * soft-fp/fixunstfti.c: Likewise.
20049         * soft-fp/floatdidf.c: Likewise.
20050         * soft-fp/floatdisf.c: Likewise.
20051         * soft-fp/floatditf.c: Likewise.
20052         * soft-fp/floatsidf.c: Likewise.
20053         * soft-fp/floatsisf.c: Likewise.
20054         * soft-fp/floatsitf.c: Likewise.
20055         * soft-fp/floattidf.c: Likewise.
20056         * soft-fp/floattisf.c: Likewise.
20057         * soft-fp/floattitf.c: Likewise.
20058         * soft-fp/floatundidf.c: Likewise.
20059         * soft-fp/floatundisf.c: Likewise.
20060         * soft-fp/floatunsidf.c: Likewise.
20061         * soft-fp/floatunsisf.c: Likewise.
20062         * soft-fp/floatuntidf.c: Likewise.
20063         * soft-fp/floatuntisf.c: Likewise.
20064         * soft-fp/floatuntitf.c: Likewise.
20065         * soft-fp/fmadf4.c: Likewise.
20066         * soft-fp/fmasf4.c: Likewise.
20067         * soft-fp/fmatf4.c: Likewise.
20068         * soft-fp/gedf2.c: Likewise.
20069         * soft-fp/gesf2.c: Likewise.
20070         * soft-fp/getf2.c: Likewise.
20071         * soft-fp/ledf2.c: Likewise.
20072         * soft-fp/lesf2.c: Likewise.
20073         * soft-fp/letf2.c: Likewise.
20074         * soft-fp/muldf3.c: Likewise.
20075         * soft-fp/mulsf3.c: Likewise.
20076         * soft-fp/multf3.c: Likewise.
20077         * soft-fp/negdf2.c: Likewise.
20078         * soft-fp/negsf2.c: Likewise.
20079         * soft-fp/negtf2.c: Likewise.
20080         * soft-fp/op-1.h: Likewise.
20081         * soft-fp/op-2.h: Likewise.
20082         * soft-fp/op-4.h: Likewise.
20083         * soft-fp/op-8.h: Likewise.
20084         * soft-fp/op-common.h: Likewise.
20085         * soft-fp/quad.h: Likewise.
20086         * soft-fp/single.h: Likewise.
20087         * soft-fp/soft-fp.h: Likewise.
20088         * soft-fp/sqrtdf2.c: Likewise.
20089         * soft-fp/sqrtsf2.c: Likewise.
20090         * soft-fp/sqrttf2.c: Likewise.
20091         * soft-fp/subdf3.c: Likewise.
20092         * soft-fp/subsf3.c: Likewise.
20093         * soft-fp/subtf3.c: Likewise.
20094         * soft-fp/truncdfsf2.c: Likewise.
20095         * soft-fp/trunctfdf2.c: Likewise.
20096         * soft-fp/trunctfsf2.c: Likewise.
20097         * soft-fp/trunctfxf2.c: Likewise.
20098         * soft-fp/unorddf2.c: Likewise.
20099         * soft-fp/unordsf2.c: Likewise.
20100         * soft-fp/unordtf2.c: Likewise.
20101
20102 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20103
20104         [BZ #15672]
20105         * misc/error.c (error_tail): Fix possible buffer overflow.
20106
20107 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20108
20109         [BZ #13028]
20110         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20111         address.
20112
20113 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20114
20115         [BZ #832]
20116         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20117         testing pipefail option.
20118
20119 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20120
20121         * soft-fp/double.h: Indent preprocessor directives inside #if.
20122         * soft-fp/extended.h: Likewise.
20123         * soft-fp/op-2.h: Likewise.
20124         * soft-fp/op-4.h: Likewise.
20125         * soft-fp/op-common.h: Likewise.
20126         * soft-fp/quad.h: Likewise.
20127         * soft-fp/single.h: Likewise.
20128         * soft-fp/soft-fp.h: Likewise.
20129
20130 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20131
20132         * iconv/iconv_prog.c: Fix typos.
20133         * stdio-common/psiginfo-data.h: Likewise.
20134
20135 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20136
20137         [BZ #15764]
20138         * locale/setlocale.c: Fix typo.
20139
20140 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20141
20142         [BZ #16036]
20143         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20144         signaling NaN arguments.
20145         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20146         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20147
20148         [BZ #14910]
20149         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20150         unordered operands.
20151         * soft-fp/gesf2.c (__gesf2): Likewise.
20152         * soft-fp/getf2.c (__getf2): Likewise.
20153         * soft-fp/ledf2.c (__ledf2): Likewise.
20154         * soft-fp/lesf2.c (__lesf2): Likewise.
20155         * soft-fp/letf2.c (__letf2): Likewise.
20156
20157         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20158         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20159         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20160         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20161         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20162         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20163         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20164         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20165         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20166         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20167         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20168         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20169         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20170         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20171         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20172         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20173         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20174         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20175         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20176         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20177         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20178         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20179         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20180         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20181         * soft-fp/floattidf.c (__floattidf): Likewise.
20182         * soft-fp/floattisf.c (__floattisf): Likewise.
20183         * soft-fp/floattitf.c (__floattitf): Likewise.
20184         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20185         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20186         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20187         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20188         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20189         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20190         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20191         * soft-fp/gesf2.c (__gesf2): Likewise.
20192         * soft-fp/getf2.c (__getf2): Likewise.
20193         * soft-fp/ledf2.c (__ledf2): Likewise.
20194         * soft-fp/lesf2.c (__lesf2): Likewise.
20195         * soft-fp/letf2.c (__letf2): Likewise.
20196
20197         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20198         Undefine and redefine.
20199         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20200         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20201         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20202         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20203         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20204         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20205         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20206         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20207         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20208         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20209         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20210         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20211         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20212         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20213         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20214
20215         [BZ #16032]
20216         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20217         without decrementing exponent if mantissa >= that for the
20218         denominator, not >.
20219         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20220         denominator, not >.  Decrement exponent in < case instead of
20221         incrementing in >= case.
20222         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20223         without decrementing exponent if mantissa >= that for the
20224         denominator, not >.
20225
20226         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20227         computing saturated result for unsigned overflow.
20228
20229 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20230             Jeff Law  <law@redhat.com>
20231
20232         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20233         (atan2Mp): Add systemtap probe marker.
20234         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20235         (__ieee754_log): Add systemtap probe marker.
20236         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20237         (atanMp): Add systemtap probe marker.
20238         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20239         (tanMp): Add systemtap probe marker.
20240         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20241         (__slowexp): Add systemtap probe marker.
20242         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20243         (__slowpow): Add systemtap probe marker.
20244         * manual/probes.texi: Document probes.
20245
20246 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20247
20248         [BZ #15362]
20249         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20250         written.
20251         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20252         written.
20253         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20254         written to buffer but not flushed.
20255         * libio/iofwrite_u.c:  Likewise.
20256         * libio/iopadn.c:  Return bytes returned even if EOF was
20257         encountered.
20258         * libio/iowpadn.c:  Likewise.
20259         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20260         if _IO_padn does not write the whole buffer.
20261         [!COMPILE_WPRINTF] (PAD): Likewise.
20262
20263 2013-10-10  David S. Miller  <davem@davemloft.net>
20264
20265         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20266         directory block.
20267
20268 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20269
20270         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20271         instead of FSF address.
20272         * soft-fp/fixdfti.c: Likewise.
20273         * soft-fp/fixsfti.c: Likewise.
20274         * soft-fp/fixtfti.c: Likewise.
20275         * soft-fp/fixunsdfti.c: Likewise.
20276         * soft-fp/fixunssfti.c: Likewise.
20277         * soft-fp/fixunstfti.c: Likewise.
20278         * soft-fp/floattidf.c: Likewise.
20279         * soft-fp/floattisf.c: Likewise.
20280         * soft-fp/floattitf.c: Likewise.
20281         * soft-fp/floatuntidf.c: Likewise.
20282         * soft-fp/floatuntisf.c: Likewise.
20283         * soft-fp/floatuntitf.c: Likewise.
20284         * soft-fp/trunctfxf2.c: Likewise.
20285
20286         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20287         * soft-fp/fixdfti.c: Likewise.
20288         * soft-fp/fixsfti.c: Likewise.
20289         * soft-fp/fixtfti.c: Likewise.
20290         * soft-fp/fixunsdfti.c: Likewise.
20291         * soft-fp/fixunssfti.c: Likewise.
20292         * soft-fp/fixunstfti.c: Likewise.
20293         * soft-fp/floattidf.c: Likewise.
20294         * soft-fp/floattisf.c: Likewise.
20295         * soft-fp/floattitf.c: Likewise.
20296         * soft-fp/floatuntidf.c: Likewise.
20297         * soft-fp/floatuntisf.c: Likewise.
20298         * soft-fp/floatuntitf.c: Likewise.
20299         * soft-fp/trunctfxf2.c: Likewise.
20300
20301 2013-10-10  David S. Miller  <davem@davemloft.net>
20302
20303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20304
20305 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20306
20307         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20308         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20309         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20310         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20311         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20312         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20313         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20314
20315         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20316         for NaNs before doing comparisons on argument.
20317         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20318         Likewise.
20319
20320 2013-10-10  Will Newton  <will.newton@linaro.org>
20321
20322         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20323         passed to _int_memalign does not overflow.
20324
20325 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20326
20327         * scripts/bench.pl: Add include-sources directive.
20328         * benchtests/README: Update documentation.
20329
20330 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20331
20332         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20333         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20334         instead of FP_INIT_ROUNDMODE.
20335         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20336         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20337
20338         [BZ #16034]
20339         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20340         copy class of input value.
20341         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20342         not handle exceptions.
20343         * soft-fp/negsf2.c (__negsf2): Likewise.
20344         * soft-fp/negtf2.c (__negtf2): Likewise.
20345         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20346
20347 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20348
20349         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20350         semicolon.  From Linux kernel.
20351
20352 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20353
20354         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20355
20356 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20357
20358         [BZ #156]
20359         * manual/socket.texi: Added statement about buffer
20360         for gethostbyname2_r.
20361
20362 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20363
20364         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20365         Use .p2align directive instead, throughout.
20366         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20367         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20368         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20369         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20370         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20371         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20372         * sysdeps/x86_64/strchr.S: Likewise.
20373         * sysdeps/x86_64/strrchr.S: Likewise.
20374
20375 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20376
20377         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20378
20379         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20380
20381         * sysdeps/generic/math_private.h (__mpsin1): Remove
20382         declaration.
20383         (__mpcos1): Likewise.
20384         (__mpsin): New argument __range_reduce.
20385         (__mpcos): Likewise.
20386         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20387         (slow): Use __mpsin and __mpcos.
20388         (slow1): Likewise.
20389         (slow2): Likewise.
20390         (sloww): Likewise.
20391         (sloww1): Likewise.
20392         (sloww2): Likewise.
20393         (bsloww): Likewise.
20394         (bsloww1): Likewise.
20395         (bsloww2): Likewise.
20396         (cslow2): Likewise.
20397         (csloww): Likewise.
20398         (csloww1): Likewise.
20399         (csloww2): Likewise.
20400         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20401         range_reduce.  Merge in __mpsin1.
20402         (__mpcos): Likewise.
20403         (__mpsin1): Remove.
20404         (__mpcos1): Likewise.
20405
20406 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20407
20408         * locale/loadlocale.c (_nl_intern_locale_data): Use
20409         LOCFILE_ALIGNED_P.
20410         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20411         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20412         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20413         obstack data is appropriately aligned.
20414         (obstack_int32_grow_fast): Likewise.
20415         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20416         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20417         (add_locale_uint32_array): Likewise.
20418
20419 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20420
20421         * benchtests/Makefile: Remove ARGLIST and RET variables.
20422         ($(objpfx)bench-%.c): Pass only function name to the script.
20423         * benchtests/README: Update documentation.
20424         * benchtests/acos-inputs: Add new directives.
20425         * benchtests/acosh-inputs: Likewise.
20426         * benchtests/asin-inputs: Likewise.
20427         * benchtests/asinh-inputs: Likewise.
20428         * benchtests/atan-inputs: Likewise.
20429         * benchtests/atanh-inputs: Likewise.
20430         * benchtests/cos-inputs: Likewise.
20431         * benchtests/cosh-inputs: Likewise.
20432         * benchtests/exp-inputs: Likewise.
20433         * benchtests/log-inputs: Likewise.
20434         * benchtests/pow-inputs: Likewise.
20435         * benchtests/rint-inputs: Likewise.
20436         * benchtests/sin-inputs: Likewise.
20437         * benchtests/sinh-inputs: Likewise.
20438         * benchtests/tan-inputs: Likewise.
20439         * benchtests/tanh-inputs: Likewise.
20440         * scripts/bench.pl: Add support for new directives.
20441
20442 2013-10-07  Alan Modra  <amodra@gmail.com>
20443
20444         * README: Fix careless merge.
20445
20446 2013-10-05  Alan Modra  <amodra@gmail.com>
20447
20448         * NEWS: Mention powerpc64le support and bugs fixed.
20449         * README: Both big-endian and little-endian powerpc64 supported.
20450
20451 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20452
20453         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20454         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20455         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20456         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20457
20458 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20459
20460         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20461         match prototype.
20462
20463 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20464
20465         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20466         Move -mhard-float appending from
20467         ports/sysdeps/powerpc/powerpc32/Makefile.
20468         [$(with-fp) = yes] (ASFLAGS): Likewise.
20469         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20470         * sysdeps/powerpc/nofpu: Move directory from
20471         ports/sysdeps/powerpc/nofpu.
20472         * sysdeps/powerpc/soft-fp: Move directory from
20473         ports/sysdeps/powerpc/soft-fp.
20474         * sysdeps/powerpc/powerpc32/405: Move directory from
20475         ports/sysdeps/powerpc/powerpc32/405.
20476         * sysdeps/powerpc/powerpc32/440: Move directory from
20477         ports/sysdeps/powerpc/powerpc32/440.
20478         * sysdeps/powerpc/powerpc32/464: Move directory from
20479         ports/sysdeps/powerpc/powerpc32/464.
20480         * sysdeps/powerpc/powerpc32/476: Move directory from
20481         ports/sysdeps/powerpc/powerpc32/476.
20482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20483         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20485         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20487         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20489         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20491         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20492         * README: Update for powerpc-*-linux-gnu software floating point
20493         support in libc.
20494
20495         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20496         case to powerpc/powerpc32*.
20497         * sysdeps/unix/sysv/linux/configure: Regenerated.
20498
20499         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20500         (_FPU_MASK_OM): Define as 0x04.
20501         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20502         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20503         0x00c10080.
20504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20505         0x0000003c.
20506         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20507
20508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20509         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20510         getcontext_e500.
20511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20512         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20513         setcontext_e500.
20514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20515         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20516         and setcontext_e500.
20517
20518 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20519
20520         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20521
20522 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20523
20524         * manual/threads.texi (Default Thread Attributes): Fix typo.
20525
20526 2013-10-04  Will Newton  <will.newton@linaro.org>
20527
20528         * malloc/Makefile: Add tst-memalign.
20529         * malloc/tst-memalign.c: New file.
20530
20531         * malloc/tst-posix_memalign.c: Add comments.
20532         (do_test): Add comments and call free on all potentially
20533         allocated pointers. Add space after cast.
20534
20535         * malloc/tst-pvalloc.c: Add comments.
20536         (do_test): Add comments and call free on all potentially
20537         allocated pointers. Remove duplicate check for NULL pointer.
20538         Add space after cast.
20539
20540         * malloc/tst-valloc.c: Add comments.
20541         (do_test): Add comments and call free on all potentially
20542         allocated pointers. Remove duplicate check for NULL pointer.
20543         Add space after cast.
20544
20545 2013-10-04  Alan Modra  <amodra@gmail.com>
20546
20547         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20548         Use stdint types in rather than __attribute__((mode())).
20549         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20550
20551 2013-10-04  Alan Modra  <amodra@gmail.com>
20552
20553         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20554         Correct handling of unaligned relocs for little-endian.
20555         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20556
20557 2013-10-04  Alan Modra  <amodra@gmail.com>
20558
20559         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20560         * configure: Regenerate.
20561         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20562         * shlib-versions: Likewise.
20563
20564 2013-10-04  Alan Modra  <amodra@gmail.com>
20565
20566         * string/tester.c (test_memrchr): Increment reported test cycle.
20567
20568 2013-10-04  Alan Modra  <amodra@gmail.com>
20569
20570         * string/test-memcpy.c (do_one_test): When reporting errors, print
20571         string address and don't overrun end of string.
20572
20573 2013-10-04  Alan Modra  <amodra@gmail.com>
20574
20575         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20576         insrdi.  Make better use of reg selection to speed exit slightly.
20577         Schedule entry path a little better.  Remove useless "are we done"
20578         checks on entry to main loop.  Handle wrapping around zero address.
20579         Correct main loop count.  Handle single left-over word from main
20580         loop inline rather than by using loop_small.  Remove extra word
20581         case in loop_small caused by wrong loop count.  Add little-endian
20582         support.
20583         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20584         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20585         cache hint.
20586         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20587         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20588         support.  Avoid rlwimi.
20589         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20590
20591 2013-10-04  Alan Modra  <amodra@gmail.com>
20592
20593         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20594         insrdi.  Formatting.
20595         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20596         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20597         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20598         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20599         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20600         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20601
20602 2013-10-04  Alan Modra  <amodra@gmail.com>
20603
20604         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20605         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20606         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20607         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20608         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20609         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20610         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20611         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20612         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20613         use of regs.  Use power7 mtocrf.  Tidy function tails.
20614
20615 2013-10-04  Alan Modra  <amodra@gmail.com>
20616
20617         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20618         Formatting.  Consistently use rXXX register defines or rN defines.
20619         Use early exit labels that avoid restoring unused non-volatile regs.
20620         Make cr field use more consistent with rWORDn compares.  Rename
20621         regs used as shift registers for unaligned loop, using rN defines
20622         for short lifetime/multiple use regs.
20623         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20624         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20625         addi 1,1,64 to pop stack frame.  Simplify return value code.
20626         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20627
20628 2013-10-04  Alan Modra  <amodra@gmail.com>
20629
20630         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20631         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20632         rather than rlwimi.
20633         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20634         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20635         little-endian support.  Correct typos.
20636         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20637         rather than rlwimi.
20638         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20639         in loop and entry code to keep "and." results.
20640         (strchr): Add little-endian support.  Comment.  Move cntlzd
20641         earlier in tail.
20642         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20643
20644 2013-10-04  Alan Modra  <amodra@gmail.com>
20645
20646         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20647         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20648         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20649         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20650
20651 2013-10-04  Alan Modra  <amodra@gmail.com>
20652
20653         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20654         (rTMP): Define as r11.
20655         (strcmp): Add little-endian support.  Optimise tail.
20656         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20657         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20658         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20659         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20660         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20661         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20662         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20663
20664 2013-10-04  Alan Modra  <amodra@gmail.com>
20665
20666         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20667         little-endian support.  Remove unnecessary "are we done" tests.
20668         Handle "s" wrapping around zero and extremely large "size".
20669         Correct main loop count.  Handle single left-over word from main
20670         loop inline rather than by using small_loop.  Correct comments.
20671         Delete "zero" tail, use "end_max" instead.
20672         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20673
20674 2013-10-04  Alan Modra  <amodra@gmail.com>
20675
20676         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20677         support.  Don't branch over align.
20678         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20679         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20680         support.  Rearrange tmp reg use to suit.  Comment.
20681         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20682
20683 2013-10-04  Alan Modra  <amodra@gmail.com>
20684
20685         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20686
20687 2013-10-04  Alan Modra  <amodra@gmail.com>
20688
20689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20690         conditional form of branch and link when obtaining pc.
20691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20692
20693 2013-10-04  Alan Modra  <amodra@gmail.com>
20694
20695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20696         HIWORD/LOWORD.
20697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20699
20700 2013-10-04  Alan Modra  <amodra@gmail.com>
20701
20702         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20703         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20704         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20705         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20706         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20707         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20708         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20709         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20710         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20711         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20712
20713 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20714             Alistair Popple <alistair@ozlabs.au.ibm.com>
20715             Alan Modra <amodra@gmail.com>
20716
20717         [BZ #15723]
20718         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20719         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20720         _dl_hwcap access for little-endian.
20721         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20722         destroy vmx regs when saving unaligned.
20723         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20724         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20725         destroy vmx regs when saving unaligned.
20726
20727 2013-10-04  Alan Modra  <amodra@gmail.com>
20728
20729         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20730         Don't use a union to pack hi/low value.
20731
20732 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20733
20734         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20735         for little-endian.
20736         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20737         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20738         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20739         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20740         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20741
20742 2013-10-04  Alan Modra  <amodra@gmail.com>
20743
20744         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20745         constants to usual value for .cst8 section, and remove redundant
20746         high address load.
20747         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20748         constant for 0x1p52.  Load little-endian words of double from
20749         correct stack offsets.
20750
20751 2013-10-04  Alan Modra  <amodra@gmail.com>
20752
20753         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20754         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20755         words of double from correct stack offsets.
20756         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20757         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20758         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20759         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20760         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20761         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20762         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20763         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20764         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20765         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20766         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20767         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20768         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20769         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20770         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20771         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20772         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20773
20774 2013-10-04  Alan Modra  <amodra@gmail.com>
20775
20776         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20777         64-bit int/double union.
20778         (_FPU_SETCW): Likewise.
20779         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20780         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20781
20782 2013-10-04  Alan Modra  <amodra@gmail.com>
20783
20784         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20785         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20786
20787 2013-10-04  Alan Modra  <amodra@gmail.com>
20788
20789         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20790         use vector int constants.
20791         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20792
20793 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20794
20795         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20796         array with long long.
20797         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20798         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20799         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20800         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20801         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20802         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20803         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20804         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20805         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20806         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20807         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20808         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20809         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20810
20811 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20812
20813         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20814         (__signbit): Likewise.  Correct for little-endian.
20815         (__signbitl): Call __signbit.
20816         (lrint): Correct for little-endian.
20817         (lrintf): Call lrint.
20818
20819 2013-10-04  Alan Modra  <amodra@gmail.com>
20820
20821         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20822         union 32-bit int array member with 64-bit int array.
20823         (t515, tm256): Double rather than long double.
20824         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20825
20826 2013-10-04  Alan Modra  <amodra@gmail.com>
20827
20828         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20829         Delete.
20830         (IEEE854_LONG_DOUBLE_BIAS): Delete.
20831         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20832         version of math_ldbl.h.
20833
20834 2013-10-04  Alan Modra  <amodra@gmail.com>
20835
20836         [BZ #15734], [BZ #15735]
20837         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20838         all uses of ieee875 long double macros and unions.  Simplify test
20839         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
20840         ldbl_extract_mantissa value for ix,iy exponents.  Properly
20841         normalize after ldbl_extract_mantissa, and don't add hidden bit
20842         already handled.  Don't treat low word of ieee854 mantissa like
20843         low word of IBM long double and mask off bit when testing for
20844         zero.
20845         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20846         all uses of ieee875 long double macros and unions.  Simplify tests
20847         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
20848         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
20849         two1022, instead use their values.  Recognise that tests for large
20850         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
20851         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20852         Rewrite all uses of ieee875 long double macros and unions.  Simplify
20853         test for 0.0L and nan.  Correct negation.
20854         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20855         ieee875 long double macros and unions.  Correct output for large
20856         magnitude x.  Correct absolute value calculation.
20857         (__erfcl): Likewise.
20858         * math/libm-test.inc: Add tests for errors discovered in IBM long
20859         double versions of fmodl, remainderl, erfl and erfcl.
20860
20861 2013-10-04  Alan Modra  <amodra@gmail.com>
20862
20863         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20864         all uses of ieee854 long double macros and unions.  Simplify tests
20865         for long doubles that are fully specified by the high double.
20866         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20867         Likewise.
20868         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20869         Remove dead code too.
20870         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20871         (__ieee754_ynl): Likewise.
20872         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20873         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20874         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20875         Remove dead code too.
20876         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20877         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20878         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20879         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20880         Simplify.
20881         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20882         Simplify.
20883         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20884         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20885         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20886         Comment on variable precision.
20887         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20888         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20889         Likewise.
20890         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20891         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20892         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20893         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20894         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20895
20896 2013-10-04  Alan Modra  <amodra@gmail.com>
20897
20898         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20899         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20900         all uses of ieee854 long double macros and unions.
20901         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20902         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20903         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20904         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20905         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20906         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20907         Likewise.
20908         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20909         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20910         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20911         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20912         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20913         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20914         Simplify sign and nan test too.
20915         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20916         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20917         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20918         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20919         Likewise.
20920         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20921         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20922         Likewise.
20923         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20924         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20925         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20926         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20927         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20928         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20929
20930 2013-10-04  Alan Modra  <amodra@gmail.com>
20931
20932         * stdio-common/printf_size.c (__printf_size): Don't use
20933         union ieee854_long_double in fpnum union.
20934         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
20935         signbit macro to retrieve sign from long double.
20936         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20937         retrieve sign from long double.
20938         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20939         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20940         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20941         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20942         * math/test-misc.c (main): Don't use union ieee854_long_double.
20943
20944 2013-10-04  Alan Modra  <amodra@gmail.com>
20945
20946         [BZ #15680]
20947         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20948         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20949         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20950         calculation.  Remove unnecessary test for denormal exponent.
20951         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20952         Correct handling of denormals.  Avoid undefined shift behaviour.
20953         Correct normalisation of low mantissa when low double is denormal.
20954         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20955         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
20956         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20957         Correct normalisation of low mantissa.  Test for overflow of high
20958         mantissa and normalise.
20959         (ldbl_nearbyint): Use more readable constant for two52.
20960         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20961         (__mpn_construct_long_double): Fix test for overflow of high
20962         mantissa and correct normalisation.  Avoid undefined shift.
20963
20964 2013-10-04  Alan Modra  <amodra@gmail.com>
20965
20966         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20967         (union ibm_extended_long_double): Define as an array of ieee754_double.
20968         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20969         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20970         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20971         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20972         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20973         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20974         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20975         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20976         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20977         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20978         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20979
20980 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
20981
20982         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20983         page size instead of calling getpagesize.
20984
20985         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20986         (LOCFILE_ALIGN_MASK): Likewise.
20987         (LOCFILE_ALIGN_UP): Likewise.
20988         (LOCFILE_ALIGNED_P): Likewise.
20989         * locale/programs/ld-collate.c (collate_output): Use the new
20990         macros instead of __alignof__ (int32_t).
20991         * locale/weight.h (findidx): Likewise.
20992
20993 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
20994
20995         [BZ #431]
20996         * manual/string.texi: Fix strncat and wcsncat.
20997
20998 2013-10-03  Brooks Moses  <bmoses@google.com>
20999
21000         [BZ #15915]
21001         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21002         * Makerules: ...here, and adjust associated comments.
21003
21004 2013-10-02  Will Newton  <will.newton@linaro.org>
21005
21006         * malloc/Makefile: Add tst-pvalloc.
21007         * malloc/tst-pvalloc.c: New file.
21008
21009 2013-10-02  Will Newton  <will.newton@linaro.org>
21010
21011         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21012         improve test coverage.
21013
21014 2013-10-02  Will Newton  <will.newton@linaro.org>
21015
21016         * malloc/Makefile: Add tst-posix_memalign.
21017         * malloc/tst-posix_memalign.c: New file.
21018
21019 2013-10-01  Eric Blake  <eblake@redhat.com>
21020
21021         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21022         Use __THROWNL rather than __THROW on static functions.
21023
21024 2013-09-30  Petr Machata  <pmachata@redhat.com>
21025
21026         * elf/elf.h (R_AARCH64_ABS16): New macro.
21027         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21028         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21029         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21030         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21031         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21032         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21033         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21034         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21035         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21036         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21037         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21038         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21039         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21040         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21041         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21042         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21043         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21044         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21045         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21046         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21047         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21048         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21049         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21050         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21051         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21052         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21053         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21054         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21055         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21056         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21057         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21058         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21059         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21060         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21061         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21062         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21063         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21064         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21065         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21066         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21067         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21068         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21069         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21070         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21071         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21072         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21073         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21074         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21075         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21076         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21077         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21078         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21079         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21080         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21081         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21082         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21083         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21084         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21085         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21086         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21087         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21088         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21089         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21090         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21091         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21092         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21093         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21094         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21095         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21096         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21097         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21098         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21099         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21100         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21101         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21102         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21103         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21104         (R_AARCH64_TLSDESC_LDR): Likewise.
21105         (R_AARCH64_TLSDESC_ADD): Likewise.
21106         (R_AARCH64_TLSDESC_CALL): Likewise.
21107
21108 2013-09-30  Andreas Schwab  <schwab@suse.de>
21109
21110         [BZ #15048]
21111         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21112         the nss database lookup.
21113         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21115
21116 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21117
21118         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21119
21120 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21121
21122         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21123         ${Bash-specific parameter/pattern/string} parameter expansion.
21124         * sysdeps/unix/make-syscalls.sh: Likewise.
21125
21126 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21127
21128         * sysdeps/sh/stackguard-macros.h: New file.
21129
21130 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21131
21132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21134         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21135         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21136         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21137         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21138
21139 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21140
21141         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21142         Fix thread ID register.
21143
21144 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21145
21146         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21147         [POSIX || UNIX98]: Require rather than permitting all symbols from
21148         <time.h>.
21149         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21150         element of struct sched_param.
21151         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21152         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21153         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21154         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21155         constant.
21156
21157 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21158
21159         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21160         argument calculation.
21161
21162 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21163
21164         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21165         Expect macro.
21166         [POSIX] (pthread_attr_t): Do not require type.
21167         [POSIX] (pthread_cond_t): Likewise.
21168         [POSIX] (pthread_condattr_t): Likewise.
21169         [POSIX] (pthread_key_t): Likewise.
21170         [POSIX] (pthread_mutex_t): Likewise.
21171         [POSIX] (pthread_mutexattr_t): Likewise.
21172         [POSIX] (pthread_once_t): Likewise.
21173         [POSIX] (pthread_t): Likewise.
21174         [POSIX-based standards] (pthread_atfork): Expect function.
21175
21176 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21177             Richard Sandiford  <richard@codesourcery.com>
21178
21179         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21180         (swap_endianness_p): New extern variable.
21181         (set_big_endian): New inline function.
21182         (maybe_swap_uint32): Likewise.
21183         (maybe_swap_uint32_array): Likewise.
21184         (maybe_swap_uint32_obstack): Likewise.
21185         * locale/programs/locfile.c: Include <stdbool.h>.
21186         (swap_endianness_p): New variable.
21187         (add_locale_uint32): Call maybe_swap_uint32.
21188         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21189         (write_locale_data): Call maybe_swap_uint32_array.
21190         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21191         maybe_swap_uint32.
21192         (obstack_int32_grow_fast): Likewise.
21193         (output_weightwc): Call maybe_swap_uint32_obstack.
21194         (collate_output): Likewise.
21195         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21196         (OPT_LITTLE_ENDIAN): Likewise.
21197         (options): Add --little-endian and --big-endian options.
21198         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21199         * locale/programs/locarchive.c: Include "locfile.h".
21200         (GET): New macro.
21201         (SET): Likewise.
21202         (INC): Likewise.
21203         (create_archive): Use the new macros to access fields of
21204         structures directly mapped from or written to locale archives.
21205         (oldlocrecentcmp): Likewise.
21206         (enlarge_archive): Likewise.
21207         (insert_name): Likewise.
21208         (add_alias): Likewise.
21209         (add_locale): Likewise.
21210         (delete_locales_from_archive): Likewise.
21211         (show_archive_content): Likewise.
21212         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21213         locale data.
21214
21215 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21216
21217         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21218         http://www.gnu.org/doc/freemanuals.texi.
21219         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21220
21221 2013-09-24  Will Newton  <will.newton@linaro.org>
21222
21223         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21224         macro.
21225
21226 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21227
21228         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21229         unsigned char.
21230
21231 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21232
21233         * manual/threads.texi (POSIX Threads): Fix a typo.
21234
21235 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21236
21237         [BZ #14547]
21238         * string/tst-strcoll-overflow.c: New test case.
21239         * string/Makefile (xtests): Add tst-strcoll-overflow.
21240         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21241         cache if string sizes may cause integer overflow.
21242
21243         [BZ #14547]
21244         * string/strcoll_l.c (coll_seq): New members rule, idx,
21245         save_idx and back_us.
21246         (get_next_seq_nocache): New function.
21247         (do_compare_nocache): New function.
21248         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21249         when malloc fails.
21250
21251 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21252
21253         [BZ #15754]
21254         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21255         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21256         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21257
21258         [BZ #15754]
21259         * elf/Makefile (tests): Add tst-ptrguard1.
21260         (tests-static): Add tst-ptrguard1-static.
21261         (tst-ptrguard1-ARGS): Define.
21262         (tst-ptrguard1-static-ARGS): Define.
21263         * elf/tst-ptrguard1.c: New file.
21264         * elf/tst-ptrguard1-static.c: New file.
21265         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21266         * sysdeps/i386/stackguard-macros.h: Likewise.
21267         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21268         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21269         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21270         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21271         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21272         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21273
21274 2013-09-23  Hector Marco  <hecmargi@upv.es>
21275             Ismael Ripoll  <iripoll@disca.upv.es>
21276             Carlos O'Donell  <carlos@redhat.com>
21277
21278         [BZ #15754]
21279         * sysdeps/generic/stackguard-macros.h: Define
21280         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21281         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21282         Define __pointer_chk_guard_local.
21283         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21284         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21285
21286 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21287
21288         [BZ #15859]
21289         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21290
21291 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21292
21293         * include/string.h (__ffs): Declare as hidden.
21294         * string/ffs.c (__ffs): Define as hidden.
21295         * sysdeps/i386/ffs.c (__ffs): Likewise.
21296         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21297         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21298         * sysdeps/s390/ffs.c (__ffs): Likewise.
21299         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21300
21301 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21302
21303         * NEWS: Mention malloc probes.
21304
21305         * malloc/arena.c (new_heap): New memory_heap_new probe.
21306         (grow_heap): New memory_heap_more probe.
21307         (shrink_heap): New memory_heap_less probe.
21308         (heap_trim): New memory_heap_free probe.
21309         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21310         (systrim): New memory_sbrk_less probe.
21311         * manual/probes.texi: Document them.
21312
21313         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21314         * manual/probes.texi: Document it.
21315
21316         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21317         (__libc_realloc): Add memory_realloc_retry probe.
21318         (__libc_memalign): Add memory_memalign_retry probe.
21319         (__libc_valloc): Add memory_valloc_retry probe.
21320         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21321         (__libc_calloc): Add memory_calloc_retry probe.
21322         * manual/probes.texi: Document them.
21323
21324         * malloc/arena.c (get_free_list): Add probe
21325         memory_arena_reuse_free_list.
21326         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21327         and memory_arena_reuse.
21328         (arena_get2) [!PER_THREAD]: Likewise.
21329         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21330         memory_arena_reuse_realloc.
21331         * manual/probes.texi: Document them.
21332
21333         * malloc/malloc.c (__libc_free): Add
21334         memory_mallopt_free_dyn_thresholds probe.
21335         (__libc_mallopt): Add multiple memory_mallopt probes.
21336         * manual/probes.texi: Document them.
21337
21338         * malloc/malloc.c: Include stap-probe.h.
21339         (__libc_mallopt): Add memory_mallopt probe.
21340         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21341         * manual/probes.texi: New.
21342         * manual/Makefile (chapters): Add probes.
21343         * manual/threads.texi: Set next node.
21344
21345 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21346
21347         [BZ #15963, #13985]
21348         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21349         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21350         Add `Chinese' to `nan' entry name.
21351
21352 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21353
21354         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21355         (POLYNOMIAL): Likewise.
21356         (TAYLOR_SINCOS): Likewise.
21357         (TAYLOR_SLOW): Likewise.
21358         (__sin): Use TAYLOR_SINCOS.
21359         (__cos): Likewise.
21360         (slow): Use TAYLOR_SLOW.
21361         (sloww): Likewise.
21362         (bsloww): Likewise.
21363         (csloww): Likewise.
21364
21365 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21366
21367         * stdlib/strtod_l.c: Fix buffer overrun.
21368
21369 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21370
21371         * benchtests/Makefile (bench): Add sincos.
21372         * benchtests/bench-sincos.c: New file.
21373
21374         * math/libm-test.inc (cos_test_data): New test inputs.
21375         (sin_test_data): Likewise.
21376
21377         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21378         macro.
21379         (__sin): Use it.
21380         (__cos): Likewise.
21381         (slow1): Likewise.
21382         (slow2): Likewise.
21383         (sloww1): Likewise.
21384         (sloww2): Likewise.
21385         (bsloww1): Likewise.
21386         (bsloww2): Likewise.
21387         (cslow2): Likewise.
21388         (csloww1): Likewise.
21389         (csloww2): Likewise.
21390
21391         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21392         function.
21393         (__sin): Use it.
21394         (__cos): Likewise.
21395
21396         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21397         gotos.
21398         (__cos): Likewise.
21399
21400 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21401
21402         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21403         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21404         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21405         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21406         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21407         * elf/cache.c (print_entry): Handle the new cache flags.
21408
21409 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21410             Aldy Hernandez  <aldyh@redhat.com>
21411
21412         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21413         Change condition to [_SOFT_FLOAT].
21414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21416         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21418         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21419         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21421         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21422         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21423         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21426         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21429         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21430         declaration.
21431
21432 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21433
21434         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21435         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21436         (__longjmp): Use LOAD_GP to load saved GPRs.
21437         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21438         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21439         (__sigsetjmp): Use SAVE_GP to save GPRs.
21440
21441         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21442         Do not append -msoft-float.
21443         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21444
21445 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21446
21447         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21448
21449 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21450
21451         [BZ #15966]
21452         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21453         (_FPU_GETCW): Use initial "__" on variable and field names but not
21454         on macro parameter name.
21455         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21456         parentheses around reference to macro parameter.
21457
21458 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21459
21460         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21461         prototype.
21462         (ctype_startup): Use uint32_t in cast and sizeof for
21463         ctype->charnames.
21464
21465 2013-09-11  Jia Liu  <proljc@gmail.com>
21466
21467         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21468         __daddr_t_defined.
21469         [__FreeBSD__]: Likewise.
21470
21471 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21472
21473         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21474         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21475         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21476         (strchr): Remove __strchr_sse42 ifunc selection.
21477         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21478         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21479
21480 2013-09-11  Will Newton  <will.newton@linaro.org>
21481
21482         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21483         parameter to RES. Remove hardcoded 1000 value.
21484         * benchtests/bench-skeleton.c (main): Pass RES parameter
21485         to TIMING_INIT and multiply result by 1000.
21486
21487 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21488
21489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21490
21491 2013-09-11  Andreas Schwab  <schwab@suse.de>
21492
21493         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21494         if not defined.
21495         (O_TMPFILE) [__USE_GNU]: Define.
21496         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21497         Define.
21498
21499 2013-09-11  Will Newton  <will.newton@linaro.org>
21500
21501         [BZ #15857]
21502         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21503         does not overflow.
21504
21505 2013-09-11  Will Newton  <will.newton@linaro.org>
21506
21507         [BZ #15856]
21508         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21509         does not overflow.
21510
21511 2013-09-11  Will Newton  <will.newton@linaro.org>
21512
21513         [BZ #15855]
21514         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21515         does not overflow.
21516
21517 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21518
21519         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21520         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21521         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21522         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21523         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21524
21525 2013-09-10  Allan McRae  <allan@archlinux.org>
21526
21527         [BZ #15748]
21528         * manual/arith.texi (Parsing of Floats): Clarify
21529         cross-reference.
21530
21531         [BZ #15849]
21532         * manual/install.texi (Running make install): Mention
21533         --enable-pt-chown.
21534         * INSTALL: Regenerated.
21535
21536 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21537
21538         * csu/init-first.c (_init): Remove the !SHARED condition around
21539         FPU control word initialization.
21540         * elf/dl-support.c (_dl_fpu_control): New variable.
21541         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21542         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21543         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21544         * math/test-fpucw-static.c: New file.
21545         * math/test-fpucw-ieee.c: New file.
21546         * math/test-fpucw-ieee-static.c: New file.
21547         * math/Makefile (tests): Add `test-fpucw-ieee' and
21548         `$(tests-static)'.
21549         (tests-static): New variable.
21550         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21551         dependency to...
21552         [($(build-shared),yes)]
21553         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21554         ... this.
21555         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21556         New dependency.
21557
21558 2013-09-09  Allan McRae  <allan@archlinux.org>
21559
21560         [BZ #15939]
21561         * manual/string.texi (Collation Functions): Fix typo in
21562         strcoll example.
21563         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21564
21565         [BZ #15893]
21566         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21567
21568         [BZ #15892]
21569         * libio/memstream.c (open_memstream): Fix memory leak.
21570         * libio/wmemstream.c (open_wmemstream): Likewise.
21571
21572         [BZ #15895]
21573         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21574
21575 2013-09-09  Will Newton  <will.newton@linaro.org>
21576
21577         * malloc/Makefile: Add tst-realloc to tests.
21578         * malloc/tst-realloc.c: New file.
21579
21580 2013-09-09  Allan McRae  <allan@archlinux.org>
21581
21582         [BZ #15844]
21583         * COPYING: Update from GNU website to fix FSF address.
21584         * COPYING.LIB: Likewise.
21585
21586 2013-09-06  David S. Miller  <davem@davemloft.net>
21587
21588         * po/zh_TW.po: Update Chinese (traditional) translation from
21589         translation project.
21590
21591 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21592             Joseph Myers  <joseph@codesourcery.com>
21593
21594         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21595         "localeinfo.h".
21596         (obstack_chunk_alloc): New macro.
21597         (obstack_chunk_free): Likewise.
21598         (record_offset): New function.
21599         (init_locale_data): Likewise.
21600         (align_locale_data): Likewise.
21601         (add_locale_empty): Likewise.
21602         (add_locale_raw_data): Likewise.
21603         (add_locale_raw_obstack): Likewise.
21604         (add_locale_string): Likewise.
21605         (add_locale_wstring): Likewise.
21606         (add_locale_uint32): Likewise.
21607         (add_locale_uint32_array): Likewise.
21608         (add_locale_char): Likewise.
21609         (start_locale_structure): Likewise.
21610         (end_locale_structure): Likewise.
21611         (start_locale_prelude): Likewise.
21612         (end_locale_prelude): Likewise.
21613         (write_locale_data): Take locale_file structure rather than an
21614         iovec.
21615         * locale/programs/locfile.h: Include "obstack.h".
21616         (struct locale_file): Change to store locale file contents instead
21617         of header.
21618         (init_locale_data): New prototype.
21619         (align_locale_data): Likewise.
21620         (add_locale_empty): Likewise.
21621         (add_locale_raw_data): Likewise.
21622         (add_locale_raw_obstack): Likewise.
21623         (add_locale_string): Likewise.
21624         (add_locale_wstring): Likewise.
21625         (add_locale_uint32): Likewise.
21626         (add_locale_uint32_array): Likewise.
21627         (add_locale_char): Likewise.
21628         (start_locale_structure): Likewise.
21629         (end_locale_structure): Likewise.
21630         (start_locale_prelude): Likewise.
21631         (end_locale_prelude): Likewise.
21632         (write_locale_data): Update prototype.
21633         * locale/programs/3level.h (struct TABLE): Remove result field.
21634         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21635         Use new locale_file interface.
21636         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21637         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21638         * locale/programs/ld-address.c (address_output): Use new
21639         locale_file interface.
21640         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21641         NO_ADD_LOCALE.
21642         (collate_finish): Don't call collseq_table_finalize.
21643         (collate_output): Use new locale_file interface.
21644         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21645         in file.
21646         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21647         (TABLE): Move defines earlier in file.
21648         (ELEMENT): Likewise.
21649         (DEFAULT): Likewise.
21650         (wctrans_table_add): Move macro and inline function earlier in
21651         file.
21652         (struct wctype_table): Move type earlier in file.
21653         (add_locale_wctype_table): New static prototype.
21654         (struct locale_ctype_t): Use logical types instead of struct iovec
21655         pointers for members.
21656         (ctype_output): Use new locale_file interface.
21657         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21658         new locale_file interface.
21659         (allocate_arrays): Update for use of new locale_file interface.
21660         * locale/programs/ld-identification.c (identification_output): Use
21661         new locale_file interface.
21662         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21663         * locale/programs/ld-messages.c (messages_output): Likewise.
21664         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21665         * locale/programs/ld-name.c (name_output): Likewise.
21666         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21667         * locale/programs/ld-paper.c (paper_output): Likewise.
21668         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21669         * locale/programs/ld-time.c (time_output): Likewise.
21670
21671 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21672
21673         * benchtests/Makefile: Add memrchr benchmark.
21674         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21675         benchmark as memrchr.
21676         * benchtests/bench-memrchr-ifunc.c: New file.
21677         * benchtests/bench-memrchr.c: New file.
21678
21679 2013-09-06   Will Newton  <will.newton@linaro.org>
21680
21681         * benchtests/Makefile (string-bench): Add memcpy.
21682
21683 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21684             Cong Wang  <amwang@redhat.com>
21685
21686         [BZ #15850]
21687         * sysdeps/unix/sysv/linux/bits/in.h
21688         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21689         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21690         before __USE_KERNEL_IPV6_DEFS uses.
21691         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21692         IPPROTO_BEETPH.
21693         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21694         sockaddr_in6, or ipv6_mreq.
21695
21696 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21697
21698         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21699         memory access for final bytes in some large inputs.
21700         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21701
21702 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21703
21704         * string/test-memrchr.c: New file.
21705         * string/test-memrchr-ifunc.c: New file.
21706         * string/Makefile: Add new memrchr testcase.
21707
21708 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21709
21710         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21711         fanotify_init returns EPERM.
21712
21713 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21714
21715         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21716         errors.
21717         (top level): Treat second token from macro or constant entries for
21718         allowed headers as allowed.
21719         * include/complex.h: Condition internal declarations on
21720         [!_ISOMAC].
21721         * include/fenv.h: Condition include of <stdbool.h> and internal
21722         declarations on [!_ISOMAC].
21723
21724 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21725
21726         [BZ #15923]
21727         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21728
21729 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21730
21731         * configure.in (--enable-versioning): Remove configure option.
21732         (libc_cv_asm_symver_directive): Remove configure test.
21733         (libc_cv_ld_version_script_option): Likewise.
21734         (VERSIONING): Remove variable and AC_SUBST.
21735         (DO_VERSIONING): Remove AC_DEFINE.
21736         * configure: Regenerated.
21737         * config.h.in (DO_VERSIONING): Remove macro.
21738         * Makerules [$(versioning) = yes]: Change conditionals to
21739         [$(build-shared) = yes].
21740         * config.make.in (versioning): Remove variable.
21741         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21742         [$(build-shared) = yes].
21743         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21744         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21745         * elf/Makefile [$(versioning) = yes]: Change conditionals to
21746         [$(build-shared) = yes].
21747         * extra-lib.mk [$(versioning) = yes]: Likewise.
21748         * hurd/Makefile [$(versioning) = yes]: Likewise.
21749         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21750         [SHARED].
21751         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21752         [SHARED].
21753         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21754         [SHARED && !NO_HIDDEN].
21755         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21756         [SHARED].
21757         [SHARED && DO_VERSIONING]: Likewise..
21758         * libio/Makefile [$(versioning) = yes]: Change conditionals to
21759         [$(build-shared) = yes].
21760         * manual/install.texi (--disable-versioning): Remove
21761         documentation.
21762         * INSTALL: Regenerated.
21763         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21764         to [SHARED].
21765         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21766         [$(build-shared) = yes].
21767         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21768         * sysdeps/i386/i686/multiarch/strstr-c.c
21769         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21770         [SHARED && !NO_HIDDEN].
21771         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21772         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21773         * sysdeps/powerpc/powerpc32/dl-machine.c
21774         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21775         * sysdeps/powerpc/powerpc32/sysdep.h
21776         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21777         to [SHARED && PIC && !NO_HIDDEN].
21778         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21779         conditional to [SHARED].
21780
21781 2013-09-04   Will Newton  <will.newton@linaro.org>
21782
21783         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21784         * benchtests/bench-string.h: Include bench-timing.h instead
21785         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21786         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21787         call to HP_TIMING_DIFF_INIT.
21788         * benchtests/bench-memccpy.c: Use bench-timing.h macros
21789         instead of hp-timing.h macros.
21790         * benchtests/bench-memchr.c: Likewise.
21791         * benchtests/bench-memcmp.c: Likewise.
21792         * benchtests/bench-memcpy.c: Likewise.
21793         * benchtests/bench-memmem.c: Likewise.
21794         * benchtests/bench-memmove.c: Likewise.
21795         * benchtests/bench-memset.c: Likewise.
21796         * benchtests/bench-rawmemchr.c: Likewise.
21797         * benchtests/bench-strcasecmp.c: Likewise.
21798         * benchtests/bench-strcasestr.c: Likewise.
21799         * benchtests/bench-strcat.c: Likewise.
21800         * benchtests/bench-strchr.c: Likewise.
21801         * benchtests/bench-strcmp.c: Likewise.
21802         * benchtests/bench-strcpy.c: Likewise.
21803         * benchtests/bench-strcpy_chk.c: Likewise.
21804         * benchtests/bench-strlen.c: Likewise.
21805         * benchtests/bench-strncasecmp.c: Likewise.
21806         * benchtests/bench-strncat.c: Likewise.
21807         * benchtests/bench-strncmp.c: Likewise.
21808         * benchtests/bench-strncpy.c: Likewise.
21809         * benchtests/bench-strnlen.c: Likewise.
21810         * benchtests/bench-strpbrk.c: Likewise.
21811         * benchtests/bench-strrchr.c: Likewise.
21812         * benchtests/bench-strspn.c: Likewise.
21813         * benchtests/bench-strstr.c: Likewise.
21814
21815 2013-09-04  Will Newton  <will.newton@linaro.org>
21816
21817         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21818
21819 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
21820
21821         [BZ #15427]
21822         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21823         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21824         * math/libm-test.inc (lgamma_test_data): Add more tests.
21825         * sysdeps/i386/fpu/libm-test-ulps: Update.
21826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21827
21828 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
21829
21830         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21831         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21832         Add ifunc.
21833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21834         Add strcmp-sse2-unaligned
21835         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21836
21837 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21838
21839         * Versions.def (libc): Add GLIBC_2.19.
21840
21841 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21842
21843         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21844         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21845
21846 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
21847
21848         [BZ #14155]
21849         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21850         intermediate calculations in recurrence.
21851         (__ieee754_ynf): Likewise.
21852         * math/libm-test.inc (jn_test_data): Do not allow spurious
21853         underflow exception.  Add more tests.
21854         (yn_test_data): Add more tests.
21855         * sysdeps/i386/fpu/libm-test-ulps: Update.
21856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21857
21858 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
21859
21860         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21861
21862 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21863
21864         * csu/init-first.c: Fix then/than typos.
21865         * locale/programs/ld-collate.c: Likewise.
21866         * locale/programs/linereader.h: Likewise.
21867         * manual/charset.texi: Likewise.
21868         * manual/filesys.texi: Likewise.
21869         * manual/stdio.texi: Likewise.
21870         * manual/string.texi: Likewise.
21871         * stdlib/fmtmsg.c: Likewise.
21872         * sysdeps/i386/stpncpy.S: Likewise.
21873         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21874         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21875         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21876         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21877
21878 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21879
21880         * elf/dl-open.c: Fix typos.
21881         * iconvdata/gbbig5.c: Likewise.
21882         * iconvdata/iso-2022-jp.c: Likewise.
21883         * iconv/gconv_int.h: Likewise.
21884         * iconv/loop.c: Likewise.
21885         * nis/rpcsvc/nis.h: Likewise.
21886         * resolv/ns_name.c: Likewise.
21887         * stdio-common/vfscanf.c: Likewise.
21888         * streams/stropts.h: Likewise.
21889         * sunrpc/rpc_thread.c: Likewise.
21890         * sysdeps/i386/strpbrk.S: Likewise.
21891         * sysdeps/ieee754/k_standard.c: Likewise.
21892         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21893         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21894         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21895         * sysdeps/mach/hurd/profil.c: Likewise.
21896         * sysdeps/s390/dl-procinfo.h: Likewise.
21897         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21898         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21899         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21900         * sysdeps/x86_64/dl-trampoline.S: Likewise.
21901         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21902
21903 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
21904
21905         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21907
21908 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
21909
21910         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21911         aix specific files.
21912         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21913         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21914         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21915         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21916         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21917         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21918         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21919         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21920
21921 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21922             Roland McGrath  <roland@hack.frob.com>
21923
21924         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21925         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21926
21927 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21928
21929         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21930         __executable_start symbol instead of _start.
21931
21932 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21933
21934         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21935         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21936         Move macros to...
21937         * sysdeps/gnu/ldsodefs.h: ... this new file.
21938
21939         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21940         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21941         instead of ELFOSABI_LINUX.
21942
21943         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21944         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21945         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21946         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21947         Likewise.
21948         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21949         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21950         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21951         Likewise.
21952         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21953         (ibm_extended_long_double): Add ieee_nan member.
21954         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21955         (do_test): New function.
21956
21957         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21958         TEST_TRUNC.
21959         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21960         functions, renamed from truncdfsf_test, trunctfsf_test,
21961         trunctfdf_test.
21962         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21963         functions.
21964         (do_test): Run all these.
21965
21966 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
21967
21968         * argp/argp-help.c: Fix typos.
21969         * argp/argp-parse.c: Likewise.
21970         * debug/backtracesyms.c: Likewise.
21971         * elf/elf.h: Likewise.
21972         * malloc/malloc.c: Likewise.
21973         * nis/nis_print.c: Likewise.
21974         * resolv/res_comp.c: Likewise.
21975         * stdlib/stdlib.h: Likewise.
21976         * sunrpc/clnt_tcp.c: Likewise.
21977         * sunrpc/clnt_udp.c: Likewise.
21978         * sunrpc/clnt_unix.c: Likewise.
21979         * sysdeps/unix/bsd/ptsname.c: Likewise.
21980         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21981         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21983         Likewise.
21984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21985         Likewise.
21986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21987         Likewise.
21988         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21989
21990 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21991
21992         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21994
21995 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
21996
21997         [BZ #15897]
21998         * dlfcn/Makefile (tests): Add bug-dl-leaf.
21999         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22000         ($(objpfx)bug-dl-leaf): New rule.
22001         ($(objpfx)bug-dl-leaf.so): Likewise.
22002         ($(objpfx)bug-dl-leaf.out): Likewise.
22003         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22004         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22005         * dlfcn/bug-dl-leaf.c: New test.
22006         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22007         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22008         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22009         (dlclose): Likewise.
22010         (dlmopen): Likewise.
22011
22012 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22013
22014         * include/netdb.h [!_ISOMAC]:
22015         Don't include <tls.h>.
22016         (h_errno, __libc_h_errno): Move declaration and macros out of
22017         [_LIBC_REENTRANT].
22018
22019         * include/resolv.h [_RESOLV_H_]:
22020         Don't include <tls.h>.
22021         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22022         * resolv/res_libc.c: Don't include <tls.h>.
22023         (_res): Use __attribute__ ((nocommon)) in place of
22024         __attribute__ ((section (".bss"))).
22025
22026         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22027         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22028
22029         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22030
22031         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22032         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22033
22034         * resolv/res_mkquery.c: Include <sys/time.h>.
22035
22036         * inet/ifreq.c: Moved to ...
22037         * sysdeps/unix/ifreq.c: ... here.
22038         * inet/ifreq.c: New file, true stub version.
22039
22040         * socket/sa_len.c: New file.
22041         * socket/Makefile (aux): Add it.
22042         * sysdeps/unix/sysv/linux/Makefile
22043         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22044         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22045         and #include <socket/sa_len.c>.
22046         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22047         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22048
22049         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22050         * bits/socket.h: ... here.
22051
22052         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22053         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22054         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22055
22056 2013-08-27  Andreas Schwab  <schwab@suse.de>
22057
22058         [BZ #15736]
22059         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22060         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22061         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22062         * string/test-strcasecmp.c (test_main): Run tests in several
22063         locales.
22064         * string/test-strncasecmp.c (test_main): Likewise.
22065
22066         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22067         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22068         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22069         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22070         (__strncasecmp_ssse3) [PIC]: Likewise.
22071
22072 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22073
22074         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22075
22076         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22077         instead of explicitly declaring xdecrypt.
22078         * nis/nss_nis/nis-publickey.c: Likewise.
22079
22080 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22081
22082         [BZ #15890]
22083         * nscd/aicache.c: Include res_hconf.h.
22084         (addhstaiX): Initialize res_hconf.
22085
22086 2013-08-26  Andreas Schwab  <schwab@suse.de>
22087
22088         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22089         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22090
22091 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22092
22093         * nscd/aicache.c (addhstaiX): Fix indentation.
22094
22095 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22096
22097         * configure.ac: Quote $build_pt_chown test.
22098         * configure: Regenerated.
22099
22100 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22101
22102         [BZ #15532]
22103         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22104         * math/s_cexpf.c (__cexpf): Likewise.
22105         * math/s_cexpl.c (__cexpl): Likewise.
22106         * math/libm-test.inc (cexp_test_data): Correct expected return
22107         value for NaN + i0.  Add another test.
22108
22109 2013-08-22  David S. Miller  <davem@davemloft.net>
22110
22111         * po/ca.po: Update Catalan translation from translation project.
22112         * po/uk.po: Add Ukrainian translations from translation project.
22113
22114 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22115
22116         [BZ #15797]
22117         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22118         is infinite, not alongside NaN test.
22119         * math/s_fdimf.c (__fdimf): Likewise.
22120         * math/s_fdiml.c (__fdiml): Likewise.
22121         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22122         errno is unchanged.
22123
22124 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22125
22126         * argp/argp-help.c: Fix typos.
22127         * crypt/speeds.c: Likewise.
22128         * csu/check_fds.c: Likewise.
22129         * elf/dl-load.c: Likewise.
22130         * elf/dl-open.c: Likewise.
22131         * elf/reldep3.c: Likewise.
22132         * elf/reldep.c: Likewise.
22133         * elf/sprof.c: Likewise.
22134         * iconv/iconv_charmap.c: Likewise.
22135         * iconv/skeleton.c: Likewise.
22136         * iconv/strtab.c: Likewise.
22137         * io/lockf64.c: Likewise.
22138         * libio/libioP.h: Likewise.
22139         * resolv/gai_notify.c: Likewise.
22140         * resolv/ns_name.c: Likewise.
22141         * resolv/ns_samedomain.c: Likewise.
22142         * resolv/res_send.c: Likewise.
22143         * stdlib/random.c: Likewise.
22144         * sunrpc/rpc/xdr.h: Likewise.
22145         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22146         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22147         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22148         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22149         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22150         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22151         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22152         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22153         * sysdeps/mach/hurd/check_fds.c: Likewise.
22154         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22155         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22156         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22157         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22158         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22159         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22160         * sysdeps/pthread/aio_notify.c: Likewise.
22161         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22162         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22163         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22164         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22165         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22166
22167 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22168
22169         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22170         version if bit_Slow_SSE4_2 is set.
22171         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22172         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22173
22174 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22175
22176         [BZ #15867]
22177         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22178         trampoline stack frame information.
22179         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22180         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22181         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22182         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22183         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22184         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22185         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22186         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22187         sa_flags value.
22188         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22189         interrupting a syscall and set with option SA_SIGINFO.
22190
22191 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22192
22193         [BZ #15531]
22194         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22195         argument is infinite.
22196         * math/s_cprojf.c (__cprojf): Likewise.
22197         * math/s_cprojl.c (__cprojl): Likewise.
22198         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22199         * math/libm-test.inc (cproj_test_data): Add more tests.
22200
22201         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22202
22203         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22204         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22205         size.  Use __ffs to determine corresponding shift.
22206
22207 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22208             Roland McGrath  <roland@hack.frob.com>
22209
22210         * Makefile (INSTALL): Remove trailing blank lines from output of
22211         makeinfo.
22212
22213 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22214
22215         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22216         Align 32 bit compat elf_greg to 8 bytes.
22217
22218 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22219
22220         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22221
22222 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22223
22224         * string/strcoll_l.c (coll_seq): New structure.
22225         (get_next_seq_cached): New function.
22226         (get_next_seq): New function.
22227         (do_compare): New function.
22228         (STRCOLL): Use GNU style definition.  Simplify implementation
22229         by using get_next_seq, get_next_seq_cached and do_compare.
22230
22231 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22232
22233         [BZ #14699]
22234         CVE-2013-4237
22235         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22236         member.
22237         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22238         member.
22239         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22240         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22241         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22242         conditional.
22243         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22244         GETDENTS_64BIT_ALIGNED.
22245         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22246         * manual/filesys.texi (Reading/Closing Directory): Document
22247         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22248         strongly.
22249         * manual/conf.texi (Limits for Files): Add portability note to
22250         NAME_MAX, PATH_MAX.
22251         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22252
22253 2013-08-13  Andreas Schwab  <schwab@suse.de>
22254
22255         [BZ #15749]
22256         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22257         of fabs.
22258         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22259         LDBL_MAX_EXP >= 16384]: Add tests for it.
22260
22261 2013-08-12  David S. Miller  <davem@davemloft.net>
22262
22263         * version.h (RELEASE): Set to "development".
22264         (VERSION): Set to "2.18.90".
22265         * NEWS: Add 2.19 section.
22266
22267 2013-08-03  David S. Miller  <davem@davemloft.net>
22268
22269         * po/ko.po: Update Korean translation from translation project.
22270
22271 2013-08-01  David S. Miller  <davem@davemloft.net>
22272
22273         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22274         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22275         Bilka.
22276
22277 2013-07-30  David S. Miller  <davem@davemloft.net>
22278
22279         * po/fr.po: Update French translation from translation project.
22280
22281 2013-07-28  David S. Miller  <davem@davemloft.net>
22282
22283         * po/cs.po: Update Czech translation from translation project.
22284
22285         * po/sv.po: Update Swedish translation from translation project.
22286
22287 2013-07-27  David S. Miller  <davem@davemloft.net>
22288
22289         * po/eo.po: Update Esperanto translation from translation project.
22290
22291         * po/vi.po: Update Vietnamese translation from translation project.
22292
22293         * po/de.po: Update German translation from translation project.
22294
22295 2013-07-26  David S. Miller  <davem@davemloft.net>
22296
22297         * po/bg.po: Update Bulgarian translation from translation project.
22298
22299         * po/nl.po: Update Dutch translation from translation project.
22300         * po/pl.po: Update Polish translation from translation project.
22301         * po/ru.po: Update Russian translation from translation project.
22302
22303 2013-07-24  David S. Miller  <davem@davemloft.net>
22304
22305         * po/libc.pot: Update.
22306
22307 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22308
22309         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22310         variable page size.
22311         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22312         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22313         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22314
22315 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22316
22317         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22318
22319 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22320             Andreas Schwab  <schwab@suse.de>
22321             Roland McGrath  <roland@hack.frob.com>
22322             Joseph Myers  <joseph@codesourcery.com>
22323             Carlos O'Donell  <carlos@redhat.com>
22324
22325         [BZ #15755]
22326         * config.h.in: Define HAVE_PT_CHOWN.
22327         * config.make.in (build-pt-chown): New variable.
22328         * configure.in (--enable-pt_chown): New configure option.
22329         * configure: Regenerate.
22330         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22331         build-pt-chown is enabled.
22332         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22333         pt_chown to fix pty ownership.
22334         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22335         CLOSE_ALL_FDS.
22336         * manual/install.texi (Configuring and compiling): Mention
22337         --enable-pt_chown. Add @findex for grantpt.
22338         * INSTALL: Regenerate.
22339
22340 2013-07-20  David S. Miller  <davem@davemloft.net>
22341
22342         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22343         difference between 32-bit and 64-bit.
22344
22345 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22346
22347         [BZ #15711]
22348         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22349         Avoid system header dependency with -ffreestanding.
22350         ($(objpfx)bits/syscall%d): Likewise.
22351
22352 2013-07-13  David S. Miller  <davem@davemloft.net>
22353
22354         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22355         underflows from atanl/atan2l due to bug 15319.
22356         (casinh_test_data): Likewise.
22357
22358 2013-07-07  David S. Miller  <davem@davemloft.net>
22359
22360         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22361
22362 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22363
22364         * sysdeps/i386/fpu/libm-test-ulps: Update.
22365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22366
22367 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22368
22369         * configure.in (--enable-lock-elision): Fix message text.
22370         * INSTALL: Regenerate.
22371         * configure: Regenerate.
22372
22373 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22374
22375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22376
22377 2013-07-03  Andreas Jaeger  <aj@suse.de>
22378
22379         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22380         define.
22381         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22382         (ptrace_peeksiginfo_args): Add.
22383         (__ptrace_peeksiginfo_flags): Add.
22384         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22385         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22386         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22387
22388 2013-07-03  Allan McRae  <allan@archlinux.org>
22389
22390         * sysdeps/i386/fpu/libm-test-ulps: Update.
22391
22392 2013-07-02  David S. Miller  <davem@davemloft.net>
22393
22394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22395
22396 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22397
22398         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22399
22400 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22401
22402         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22404
22405 2013-07-02  Andi Kleen <ak@linux.intel.com>
22406
22407         * config.h.in (ENABLE_LOCK_ELISION): Add.
22408         * configure.in (--enable-lock-elision): Add option.
22409         * manual/install.texi: Document --enable lock elision.
22410         * configure: Regenerate
22411         * INSTALL: Regenerate.
22412
22413 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22414
22415         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22416         SSE4.2 strcasecmp for libc.a.
22417         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22418
22419 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22420
22421         [BZ #13304]
22422         * soft-fp/op-common.h (_FP_FMA): New macro.
22423         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22424         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22425         (_FP_MUL_MEAT_1_imm): ... here.
22426         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22427         (_FP_MUL_MEAT_1_wide): ... here.
22428         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22429         (_FP_MUL_MEAT_1_hard): ... here.
22430         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22431         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22432         (_FP_MUL_MEAT_2_wide): ... here.
22433         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22434         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22435         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22436         (_FP_MUL_MEAT_2_gmp): ... here.
22437         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22438         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22439         (_FP_MUL_MEAT_4_wide): ... here.
22440         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22441         (_FP_MUL_MEAT_4_gmp): ... here.
22442         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22443         (_FP_WFRACBITS_DW_S): Likewise.
22444         (_FP_WFRACXBITS_DW_S): Likewise.
22445         (_FP_HIGHBIT_DW_S): Likewise.
22446         (FP_FMA_S): Likewise.
22447         (_FP_FRAC_HIGH_DW_S): Likewise.
22448         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22449         (_FP_WFRACBITS_DW_D): Likewise.
22450         (_FP_WFRACXBITS_DW_D): Likewise.
22451         (_FP_HIGHBIT_DW_D): Likewise.
22452         (FP_FMA_D): Likewise.
22453         (_FP_FRAC_HIGH_DW_D): Likewise.
22454         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22455         (_FP_WFRACBITS_DW_E): Likewise.
22456         (_FP_WFRACXBITS_DW_E): Likewise.
22457         (_FP_HIGHBIT_DW_E): Likewise.
22458         (FP_FMA_E): Likewise.
22459         (_FP_FRAC_HIGH_DW_E): Likewise.
22460         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22461         (_FP_WFRACBITS_DW_Q): Likewise.
22462         (_FP_WFRACXBITS_DW_Q): Likewise.
22463         (_FP_HIGHBIT_DW_Q): Likewise.
22464         (FP_FMA_Q): Likewise.
22465         (_FP_FRAC_HIGH_DW_Q): Likewise.
22466         * soft-fp/fmasf4.c: New file.
22467         * soft-fp/fmadf4.c: Likewise.
22468         * soft-fp/fmatf4.c: Likewise.
22469
22470 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22471
22472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22473         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22474         Silvermont.
22475         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22476         macro.
22477         (index_Slow_SSE4_2): Likewise.
22478         (index_Prefer_PMINUB_for_stringop): Likewise.
22479         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22480         bit_Slow_SSE4_2 is set.
22481         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22482         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22483
22484 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22485
22486         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22487         rtld_global._dl_hwcap2.
22488         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22489         POWER8.
22490         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22491         POWER8 feature descriptions defined in _dl_hwcap2.
22492         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22493         string handling for POWER8 feature bits.
22494         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22495         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22496         _dl_powerpc_cap_flags.
22497         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22498         * sysdeps/powerpc/rtld-global-offsets.sym
22499         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22500         _dl_hwcap2 in the rtld_global_ro structure.
22501
22502 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22503
22504         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22505         hardware capabilities in support of AT_HWCAP2.
22506         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22507         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22508         GLRO(dl_hwcap2).
22509         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22510         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22511         explicitly the unknown a_type display mechanism is used.
22512         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22513         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22514         struct member.
22515         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22516         to macro prototype for AT_HWCAP2 support.
22517         * sysdeps/i386/dl-procinfo.h: Likewise.
22518         * sysdeps/s390/dl-procinfo.h: Likewise.
22519         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22520         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22521         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22522         return -1 for unknown a_type display fallback.
22523         * sysdeps/sparc/dl-procinfo.h: Likewise.
22524         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22525         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22526
22527 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22528
22529         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22530         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22531
22532 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22533
22534         [BZ #12492]
22535         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22536         mprotect making __stack_prot writable.
22537
22538 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22539             Joseph Myers  <joseph@codesourcery.com>
22540
22541         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22542         as being properly aligned.
22543
22544 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22545
22546         * dlfcn/modstatic5.c: New file.
22547         * dlfcn/tststatic5.c: New file.
22548         * dlfcn/Makefile (tests): Add tststatic5.
22549         (tests-static): Likewise.
22550         (modules-names): Add modstatic5.
22551         (tststatic5-ENV): New variable.
22552         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22553
22554         [BZ #15022]
22555         * elf/dl-support.c (_dl_main_map): New variable.
22556         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22557         (_dl_nns, _dl_load_adds): Set to 1.
22558         (_dl_initial_searchlist): Refer to _dl_main_map.
22559         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22560         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22561         call to _dl_get_origin.
22562         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22563         around call_map.
22564         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22565         * dlfcn/modstatic3.c: New file.
22566         * dlfcn/tststatic3.c: New file.
22567         * dlfcn/tststatic4.c: New file.
22568         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22569         (tests-static): Likewise.
22570         (modules-names): Add modstatic3.
22571         (tststatic3-ENV, tststatic4-ENV): New variables.
22572         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22573         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22574
22575 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22576
22577         * configure.in (CC): Require GCC version 4.4 or later.
22578         * configure: Regenerated.
22579         * manual/install.texi (Tools for Compilation): Update GCC version
22580         requirement.
22581         * INSTALL: Regenerated.
22582
22583 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22584
22585         [BZ #15674]
22586         * string/test-memcmp.c (check2): New.
22587         (main): Call check2.
22588
22589         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22590
22591 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22592
22593         [BZ #15022]
22594         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22595         over to...
22596         (dl_open_worker) [!SHARED]: ... here.
22597
22598 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22599
22600         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22601
22602 2013-06-25  Richard Henderson  <rth@redhat.com>
22603
22604         * locale/programs/locarchive.c: Include <libc-internal.h>
22605
22606 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22607
22608         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22609         trailing whitespace removed.
22610
22611 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22612
22613         [BZ #10283]
22614         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22615         * locale/programs/locarchive.c: Include libc-mmap.h.
22616         (prepare_address_space): Take two new outputs (the mmap base and len).
22617         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22618         values.
22619         (create_archive): Declare new mmap base and len values for
22620         prepare_address_space, and store the result in ah.
22621         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22622         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22623         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22624         Declare new mmap base and len values for
22625         prepare_address_space, and store the result in new_ah.
22626         (open_archive): Declare new mmap base and len values for
22627         prepare_address_space, and store the result in ah.
22628         (close_archive): If ah->mmap_base is not NULL, use that and
22629         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22630         * sysdeps/generic/libc-mmap.h: New file.
22631
22632 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22633
22634         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22635         (ALIGN_UP): Likewise.
22636         (PTR_ALIGN_DOWN): Likewise.
22637         (PTR_ALIGN_UP): Likewise.
22638
22639 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22640
22641         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22642         entry mapped to PPC_PLATFORM_POWER8.
22643         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22644         POWER8.
22645         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22646         (_dl_string_platform): Add case for exporting platform position for
22647         POWER8.
22648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22649         search path to sysdeps/powerpc/powerpc32/power8 directory.
22650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22651         search path to sysdeps/powerpc/powerpc64/power8 directory.
22652         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22653         power7 directories.
22654         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22655         power7 directories.
22656
22657 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22658
22659         * INSTALL: Regenerate.
22660
22661         * nscd/connections.c (nscd_init): Fix comment.
22662
22663 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22664
22665         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22666
22667         [BZ #15667]
22668         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22669         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22670
22671 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22672
22673         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22674         DL_DST_REQ_STATIC.
22675         (DL_DST_REQ_STATIC): Remove macro.
22676
22677 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22678
22679         [BZ #7006]
22680         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22681         with a shift of 0 bits.
22682
22683 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22684
22685         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22686         $(tststatic-ENV).
22687
22688 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22689
22690         [BZ #15655]
22691         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22692
22693 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22694
22695         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22696         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22697         accepts -fno-tree-loop-distribute-patterns.
22698         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22699         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22700         recursive call.
22701         * string/memset.c (memset): Likewise.
22702         * string/test-memmove.c (simple_memmove): Disable loop transformation
22703         to library calls.
22704         * string/test-memset.c (simple_memset): Likewise.
22705         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22706         * benchtests/bench-memset.c (simple_memset): Likewise.
22707         * configure: Regenerated.
22708
22709 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22710
22711         * math/test-misc.c (main): Ignore fesetround failure when failures
22712         of subsequent rounding tests would be ignored.
22713
22714         [BZ #15654]
22715         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22716         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22717         * math/fegetenv.c (__fegetenv): Return 0.
22718         * math/fegetexcept.c (fegetexcept): Return 0.
22719         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22720         FE_TONEAREST.
22721         * math/feholdexcpt.c (feholdexcept): Return 0.
22722         * math/fesetenv.c (__fesetenv): Return 0.
22723         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22724         argument FE_TONEAREST.
22725         * math/feupdateenv.c (__feupdateenv): Return 0.
22726         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22727
22728 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22729
22730         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22731         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22732         ($(objpfx)rtld-%.os rules): Use them.
22733
22734 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22735
22736         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22737         fields.
22738
22739 2013-06-17  Roland McGrath  <roland@hack.frob.com>
22740
22741         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22742         length of target pattern, then descending length of dependency pattern.
22743         * configure.in (AWK): Require gawk 3.1.2 or newer.
22744         * manual/install.texi (Tools for Compilation): Say that we do.
22745         * configure: Regenerated.
22746
22747         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22748         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22749         * scripts/sysd-rules.awk: ... this new script.
22750         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22751         than a glob-style pattern.
22752
22753 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
22754
22755         * math/test-misc.c (main): Do not treat incorrectly rounded
22756         conversions as failure unless ROUNDING_TESTS passes.
22757
22758 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
22759
22760         [BZ #15631]
22761         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22762         restore exception state around main square root computation, then
22763         check for inexactness explicitly.
22764
22765         * math/libm-test.inc (fma_test_data): Add another test.
22766
22767 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22768
22769         * manual/threads.texi (Non-POSIX Extensions): New document
22770         node.  Document pthread_getattr_default_np and
22771         pthread_setattr_default_np.
22772
22773         * Versions.def (libpthread): Add GLIBC_2.18.
22774         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22776         Likewise.
22777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22778         Likewise.
22779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22780         Likewise.
22781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22782         Likewise.
22783         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22784         Likewise.
22785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22786         Likewise.
22787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22788         Likewise.
22789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22790         Likewise.
22791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22792         Likewise.
22793
22794 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22795
22796         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22797         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22798
22799 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22800             H.J. Lu  <hjl.tools@gmail.com>
22801
22802         [BZ #15627]
22803         * sysdeps/x86_64/rtld-memset.c: Remove file.
22804         * sysdeps/x86_64/rtld-memset.S: New file.
22805
22806 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
22807
22808         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22809         (test_in_one_mode): Take arguments for whether the rounding mode
22810         is supported for each floating-point type.
22811         (do_test): Pass new arguments to test_in_one_mode using
22812         ROUNDING_TESTS.
22813
22814 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22815
22816         * posix/tst-waitid.c (do_test): Distinguish different instances of
22817         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
22818         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22819         before entering the kernel for waitpid.
22820
22821 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22822
22823         * NEWS: Fix note on clock function precision.  Text by Roland
22824         McGrath.
22825
22826 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22827
22828         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22829         it into place only when and if the sanity check passes.
22830
22831 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
22832
22833         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22834         output for whether conversion result is exact.  Take argument
22835         indicating whether type is IBM long double.
22836         (round_for_all): Change need_exact field to ibm_ld.
22837         * stdlib/tst-strtod-round.c (struct exactness): New type.
22838         (struct test): Change bool ld_ok field to struct exactness exact.
22839         (TEST): Update all definitions for change to field.
22840         (tests): Regenerate array contents.
22841         (test_in_one_mode): Take pointer to new field instead of old ld_ok
22842         field value.  Check for IBM long double here.
22843         (do_test): Update calls to test_in_one_mode.
22844
22845 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22846
22847         [BZ #12515]
22848         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22849         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22850
22851 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22852
22853         [BZ #15605]
22854         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22855         generated by the compiler on loop optimizations.
22856         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22857         general definitions.
22858
22859 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
22860
22861         * math/bug-nextafter.c: Include <math-tests.h>.
22862         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22863         the relevant type.
22864         * math/bug-nexttoward.c: Include <math-tests.h>.
22865         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22866         the relevant type.
22867         * math/test-misc.c: Include <math-tests.h>.
22868         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22869         the relevant type.
22870
22871 2013-06-12  Andreas Jaeger  <aj@suse.de>
22872
22873         * po/ia.po: Update Interlingua translation from translation
22874         project.
22875
22876 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22877
22878         * include/fenv.h: Include stdbool.h.
22879         (struct rm_ctx): New structure.
22880         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22881         Define macro.
22882         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22883         (SET_RESTORE_ROUNDF): Likewise.
22884         (SET_RESTORE_ROUNDL): Likewise.
22885         (SET_RESTORE_ROUND_NOEX): Likewise.
22886         (SET_RESTORE_ROUND_NOEXF): Likewise.
22887         (SET_RESTORE_ROUND_NOEXL): Likewise.
22888         (SET_RESTORE_ROUND_53BIT): Likewise.
22889         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22890         (libc_feresetround_noexf_ctx): Likewise.
22891         (libc_feresetround_noexl_ctx): Likewise.
22892         (libc_feholdsetround_53bit_ctx): Likewise.
22893         (libc_feresetround_53bit_ctx): Likewise.
22894         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22895         (libc_feholdexcept_setround_sse_ctx): New function.
22896         (libc_fesetenv_sse_ctx): Likewise.
22897         (libc_feupdateenv_sse_ctx): Likewise.
22898         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22899         (libc_feholdexcept_setround_387_ctx): Likewise.
22900         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22901         (libc_feholdsetround_387_prec_ctx): Likewise.
22902         (libc_feholdsetround_387_ctx): Likewise.
22903         (libc_feholdsetround_387_53bit_ctx): Likewise.
22904         (libc_feholdsetround_sse_ctx): Likewise.
22905         (libc_feresetround_sse_ctx): Likewise.
22906         (libc_feresetround_387_ctx): Likewise.
22907         (libc_feupdateenv_387_ctx): Likewise.
22908         (libc_feholdexcept_setroundf_ctx): Define macro.
22909         (libc_fesetenvf_ctx): Likewise.
22910         (libc_feupdateenvf_ctx): Likewise.
22911         (libc_feholdsetroundf_ctx): Likewise.
22912         (libc_feresetroundf_ctx): Likewise.
22913         (libc_feholdexcept_setround_ctx): Likewise.
22914         (libc_fesetenv_ctx): Likewise.
22915         (libc_feupdateenv_ctx): Likewise.
22916         (libc_feholdsetround_ctx): Likewise.
22917         (libc_feresetround_ctx): Likewise.
22918         (libc_feholdexcept_setroundl_ctx): Likewise.
22919         (libc_feupdateenvl_ctx): Likewise.
22920         (libc_feholdsetroundl_ctx): Likewise.
22921         (libc_feresetroundl_ctx): Likewise.
22922         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22923         (libc_feresetround_53bit_ctx): Likewise.
22924
22925 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22926
22927         * locale/iso-639.def: Convert to UTF-8.
22928
22929 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
22930
22931         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22932         (EXCEPTION_TESTS_double): Likewise.
22933         (EXCEPTION_TESTS_long_double): Likewise.
22934         (EXCEPTION_TESTS): Likewise.
22935         * math/libm-test.inc (test_exceptions): Only test exceptions if
22936         EXCEPTION_TESTS (FLOAT).
22937
22938 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22939
22940         * benchtests/Makefile (string-bench): Add strcpy_chk and
22941         stpcpy_chk.
22942         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22943         * benchtests/bench-stpcpy_chk.c: New file.
22944         * benchtests/bench-strcpy_chk-ifunc.c: New file.
22945         * benchtests/bench-strcpy_chk.c: New file.
22946         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22947         code.
22948         (do_test): Likewise.
22949
22950 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22951
22952         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22953         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22954         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22955         with tabs where appropriate.
22956         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22957         dl-procinfo.h.
22958         [PPC_PLATFORM_PPC440]: Likewise.
22959         [PPC_PLATFORM_PPC464]: Likewise.
22960         [PPC_PLATFORM_PPC476]: Likewise.
22961         (_dl_string_platform): Add support for detecting ppc405, ppc440,
22962         ppc464, and ppc476 platform strings merging from ports/
22963         dl-procinfo.h.
22964
22965 2013-06-11  Andreas Schwab  <schwab@suse.de>
22966
22967         [BZ #14991]
22968         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22969         (from_ucs4_idx): Regenerate.
22970         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22971         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22972         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22973         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22974         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22975         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22976         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22977         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22978         from FROM_LOOP and TO_LOOP specific macros.
22979         (BODY): Handle combining characters.
22980         * iconvdata/BIG5HKSCS.irreversible: Update.
22981         * iconvdata/BIG5HKSCS.precomposed: New file.
22982         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22983         characters.
22984         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22985
22986 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22987
22988         * include/sys/time.h: Fix indentation and add copyright header.
22989
22990         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22991         (do_test): Likewise.
22992         * string/test-memchr.c (do_one_test): Likewise.
22993         (do_test): Likewise.
22994         * string/test-memcmp.c (do_one_test): Likewise.
22995         (do_test): Likewise.
22996         * string/test-memcpy.c (do_one_test): Likewise.
22997         (do_test): Likewise.
22998         * string/test-memmem.c (do_one_test): Likewise.
22999         (do_test): Likewise.
23000         (do_random_tests): Likewise.
23001         * string/test-memmove.c (do_one_test): Likewise.
23002         (do_test): Likewise.
23003         * string/test-memset.c (do_one_test): Likewise.
23004         (do_test): Likewise.
23005         * string/test-rawmemchr.c (do_one_test): Likewise.
23006         (do_test): Likewise.
23007         * string/test-strcasecmp.c (do_one_test): Likewise.
23008         (do_test): Likewise.
23009         * string/test-strcasestr.c (do_one_test): Likewise.
23010         (do_test): Likewise.
23011         * string/test-strcat.c (do_one_test): Likewise.
23012         (do_test): Likewise.
23013         * string/test-strchr.c (do_one_test): Likewise.
23014         (do_test): Likewise.
23015         * string/test-strcmp.c (do_one_test): Likewise.
23016         (do_test): Likewise.
23017         * string/test-strcpy.c (do_one_test): Likewise.
23018         (do_test): Likewise.
23019         * string/test-string.h: Likewise.
23020         (test_init): Likewise.
23021         * string/test-strlen.c (do_one_test): Likewise.
23022         (do_test): Likewise.
23023         * string/test-strncasecmp.c (do_one_test): Likewise.
23024         (do_test): Likewise.
23025         * string/test-strncat.c (do_one_test): Likewise.
23026         (do_test): Likewise.
23027         * string/test-strncmp.c (do_one_test): Likewise.
23028         (do_test_limit): Likewise.
23029         (do_test): Likewise.
23030         * string/test-strncpy.c (do_one_test): Likewise.
23031         (do_test): Likewise.
23032         * string/test-strnlen.c (do_one_test): Likewise.
23033         (do_test): Likewise.
23034         * string/test-strpbrk.c (do_one_test): Likewise.
23035         (do_test): Likewise.
23036         * string/test-strrchr.c (do_one_test): Likewise.
23037         (do_test): Likewise.
23038         * string/test-strspn.c (do_one_test): Likewise.
23039         (do_test): Likewise.
23040         * string/test-strstr.c (do_one_test): Likewise.
23041         (do_test): Likewise.
23042
23043         * benchtests/Makefile (string-bench): Add string benchmarks.
23044         * benchtests/bench-bcopy-ifunc.c: New file.
23045         * benchtests/bench-bcopy.c: New file.
23046         * benchtests/bench-bzero-ifunc.c: New file.
23047         * benchtests/bench-bzero.c: New file.
23048         * benchtests/bench-memccpy-ifunc.c: New file.
23049         * benchtests/bench-memccpy.c: New file.
23050         * benchtests/bench-memchr-ifunc.c: New file.
23051         * benchtests/bench-memchr.c: New file.
23052         * benchtests/bench-memcmp-ifunc.c: New file.
23053         * benchtests/bench-memcmp.c: New file.
23054         * benchtests/bench-memmem-ifunc.c: New file.
23055         * benchtests/bench-memmem.c: New file.
23056         * benchtests/bench-memmove-ifunc.c: New file.
23057         * benchtests/bench-memmove.c: New file.
23058         * benchtests/bench-mempcpy-ifunc.c: New file.
23059         * benchtests/bench-mempcpy.c: New file.
23060         * benchtests/bench-memset-ifunc.c: New file.
23061         * benchtests/bench-memset.c: New file.
23062         * benchtests/bench-rawmemchr-ifunc.c: New file.
23063         * benchtests/bench-rawmemchr.c: New file.
23064         * benchtests/bench-stpcpy-ifunc.c: New file.
23065         * benchtests/bench-stpcpy.c: New file.
23066         * benchtests/bench-stpncpy-ifunc.c: New file.
23067         * benchtests/bench-stpncpy.c: New file.
23068         * benchtests/bench-strcasecmp-ifunc.c: New file.
23069         * benchtests/bench-strcasecmp.c: New file.
23070         * benchtests/bench-strcasestr-ifunc.c: New file.
23071         * benchtests/bench-strcasestr.c: New file.
23072         * benchtests/bench-strcat-ifunc.c: New file.
23073         * benchtests/bench-strcat.c: New file.
23074         * benchtests/bench-strchr-ifunc.c: New file.
23075         * benchtests/bench-strchr.c: New file.
23076         * benchtests/bench-strchrnul-ifunc.c: New file.
23077         * benchtests/bench-strchrnul.c: New file.
23078         * benchtests/bench-strcmp-ifunc.c: New file.
23079         * benchtests/bench-strcmp.c: New file.
23080         * benchtests/bench-strcpy-ifunc.c: New file.
23081         * benchtests/bench-strcpy.c: New file.
23082         * benchtests/bench-strcspn-ifunc.c: New file.
23083         * benchtests/bench-strcspn.c: New file.
23084         * benchtests/bench-strlen-ifunc.c: New file.
23085         * benchtests/bench-strlen.c: New file.
23086         * benchtests/bench-strncasecmp-ifunc.c: New file.
23087         * benchtests/bench-strncasecmp.c: New file.
23088         * benchtests/bench-strncat-ifunc.c: New file.
23089         * benchtests/bench-strncat.c: New file.
23090         * benchtests/bench-strncmp-ifunc.c: New file.
23091         * benchtests/bench-strncmp.c: New file.
23092         * benchtests/bench-strncpy-ifunc.c: New file.
23093         * benchtests/bench-strncpy.c: New file.
23094         * benchtests/bench-strnlen-ifunc.c: New file.
23095         * benchtests/bench-strnlen.c: New file.
23096         * benchtests/bench-strpbrk-ifunc.c: New file.
23097         * benchtests/bench-strpbrk.c: New file.
23098         * benchtests/bench-strrchr-ifunc.c: New file.
23099         * benchtests/bench-strrchr.c: New file.
23100         * benchtests/bench-strspn-ifunc.c: New file.
23101         * benchtests/bench-strspn.c: New file.
23102         * benchtests/bench-strstr-ifunc.c: New file.
23103         * benchtests/bench-strstr.c: New file.
23104
23105         * benchtests/Makefile: Disable parallel execution of targets.
23106         (string-bench): Add memcpy.
23107         (benchset): New variable to store a list of benchmark sets.
23108         (bench-func): Renamed from bench.
23109         (bench-set): New target.
23110         (bench): Depend on bench-func and bench-set.
23111         * benchtests/README: Add section on benchmark sets.
23112         * benchtests/bench-memcpy-ifunc.c: New file.
23113         * benchtests/bench-memcpy.c: New file.
23114         * benchtests/bench-string.h: New file.
23115
23116 2013-06-11  Andreas Schwab  <schwab@suse.de>
23117
23118         [BZ #15577]
23119         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23120         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23121         values in the triple.
23122         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23123         terminator in the group key.
23124
23125 2013-06-11  Andreas Jaeger  <aj@suse.de>
23126
23127         * po/zh_TW.po: Update Chinese (traditional) translation from
23128         translation project.
23129
23130 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23131
23132         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23133         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23134         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23135         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23136         (clock_getcpuclockid): Likewise.
23137         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23138         Add weak_alias and libc_hidden_def.
23139         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23140         * rt/clock_gettime.c (clock_gettime): Rename to
23141         __clock_gettime.  Add weak_alias and libc_hidden_def.
23142         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23143         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23144         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23145         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23146         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23147         Likewise.
23148         * rt/clock_settime.c (clock_settime): Rename to
23149         __clock_settime.  Add weak_alias and libc_hidden_def.
23150         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23151
23152 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23153
23154         * mach/err_boot.sub: Remove trailing whitespace.
23155         * mach/err_ipc.sub: Likewise.
23156         * mach/err_mach.sub: Likewise.
23157
23158         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23159         (ROUNDING_TESTS_double): Likewise.
23160         (ROUNDING_TESTS_long_double): Likewise.
23161         (ROUNDING_TESTS): Likewise.
23162         * math/libm-test.inc: Include <math-tests.h>.
23163         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23164         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23165         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23166         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23167
23168 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23169
23170         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23171         of assigning.
23172
23173 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23174
23175         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23176         otherwise empty TRANS lines.
23177         * sysdeps/gnu/errlist.c: Regenerated.
23178
23179         * catgets/gencat.c (error_print): Use (void) in function
23180         definition.
23181         * crypt/crypt_util.c (__init_des): Likewise.
23182         * crypt/speeds.c (Stop): Likewise.
23183         (main): Likewise.
23184         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23185         * inet/ruserpass.c (token): Likewise.
23186         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23187         * intl/localealias.c (extend_alias_table): Likewise.
23188         * intl/plural-exp.c (init_germanic_plural): Likewise.
23189         * libio/fcloseall.c (__fcloseall): Likewise.
23190         * libio/genops.c (_IO_flush_all): Likewise.
23191         (_IO_flush_all_linebuffered): Likewise.
23192         (_IO_cleanup): Likewise.
23193         (_IO_iter_begin): Likewise.
23194         (_IO_iter_end): Likewise.
23195         (_IO_list_lock): Likewise.
23196         (_IO_list_unlock): Likewise.
23197         (_IO_list_resetlock): Likewise.
23198         * libio/getchar.c (getchar): Likewise.
23199         * libio/getchar_u.c (getchar_unlocked): Likewise.
23200         * libio/getwchar.c (getwchar): Likewise.
23201         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23202         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23203         * login/getpt.c (__getpt): Likewise.
23204         * login/tst-utmp.c (main): Likewise.
23205         * malloc/hooks.c (__malloc_check_init): Likewise.
23206         * malloc/malloc.c (__malloc_stats): Likewise.
23207         * malloc/mtrace.c (tr_break): Likewise.
23208         (mtrace): Likewise.
23209         (muntrace): Likewise.
23210         * misc/fstab.c (endfsent): Likewise.
23211         * misc/getclktck.c (__getclktck): Likewise.
23212         * misc/getdtsz.c (__getdtablesize): Likewise.
23213         * misc/gethostid.c (gethostid): Likewise.
23214         * misc/getpagesize.c (__getpagesize): Likewise.
23215         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23216         (__get_nprocs): Likewise.
23217         (__get_phys_pages): Likewise.
23218         (__get_avphys_pages): Likewise.
23219         * misc/getttyent.c (getttyent): Likewise.
23220         (setttyent): Likewise.
23221         (endttyent): Likewise.
23222         * misc/getusershell.c (getusershell): Likewise.
23223         (endusershell): Likewise.
23224         (setusershell): Likewise.
23225         (initshells): Likewise.
23226         * misc/hsearch.c (__hdestroy): Likewise.
23227         * misc/sync.c (sync): Likewise.
23228         * misc/syslog.c (closelog_internal): Likewise.
23229         (closelog): Likewise.
23230         * misc/ttyslot.c (ttyslot): Likewise.
23231         * misc/vhangup.c (vhangup): Likewise.
23232         * posix/fork.c (__fork): Likewise.
23233         * posix/getegid.c (__getegid): Likewise.
23234         * posix/geteuid.c (__geteuid): Likewise.
23235         * posix/getgid.c (__getgid): Likewise.
23236         * posix/getpid.c (__getpid): Likewise.
23237         * posix/getppid.c (__getppid): Likewise.
23238         * posix/getuid.c (__getuid): Likewise.
23239         * posix/pause.c (pause): Likewise.
23240         * posix/setpgrp.c (setpgrp): Likewise.
23241         * posix/setsid.c (__setsid): Likewise.
23242         * posix/test-vfork.c (noop): Likewise.
23243         * resolv/gethnamaddr.c (_endhtent): Likewise.
23244         (_gethtent): Likewise.
23245         (ht_endhostent): Likewise.
23246         (gethostent): Likewise.
23247         (dns_service): Likewise.
23248         * stdlib/drand48.c (drand48): Likewise.
23249         * stdlib/lrand48.c (lrand48): Likewise.
23250         * stdlib/mrand48.c (mrand48): Likewise.
23251         * stdlib/rand.c (rand): Likewise.
23252         * stdlib/random.c (__random): Likewise.
23253         * stdlib/setenv.c (clearenv): Likewise.
23254         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23255         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23256         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23257         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23258         (__get_nprocs): Likewise.
23259         (__get_phys_pages): Likewise.
23260         (__get_avphys_pages): Likewise.
23261         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23262         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23263         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23264         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23265         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23266         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23267         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23268         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23269         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23270         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23271         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23272         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23273         * sysdeps/posix/clock.c (clock): Likewise.
23274         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23275         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23276         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23277         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23278         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23279         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23280         (__get_nprocs_conf): Likewise.
23281         (__get_phys_pages): Likewise.
23282         (__get_avphys_pages): Likewise.
23283         * time/clock.c (clock): Likewise.
23284         * time/tzset.c (__tzname_max): Likewise.
23285
23286 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23287
23288         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23289         (__bswap_32): Do not use "register".
23290         * crypt/crypt.c (_ufc_doit_r): Likewise.
23291         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23292         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23293         * gmon/gmon.c (__monstartup): Likewise.
23294         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23295         * hurd/hurdmalloc.c (more_memory): Likewise.
23296         (malloc): Likewise.
23297         (free): Likewise.
23298         (realloc): Likewise.
23299         (malloc_fork_prepare): Likewise.
23300         (malloc_fork_parent): Likewise.
23301         (malloc_fork_child): Likewise.
23302         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23303         (_svcauth_des): Likewise.
23304         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23305         * inet/inet_net.c (inet_network): Likewise.
23306         * inet/inet_netof.c (inet_netof): Likewise.
23307         * inet/rcmd.c (__validuser2_sa): Likewise.
23308         * io/fts.c (fts_open): Likewise.
23309         (fts_load): Likewise.
23310         (fts_close): Likewise.
23311         (fts_read): Likewise.
23312         (fts_children): Likewise.
23313         (fts_build): Likewise.
23314         (fts_stat): Likewise.
23315         (fts_sort): Likewise.
23316         (fts_alloc): Likewise.
23317         (fts_lfree): Likewise.
23318         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23319         (_IO_file_xsgetn): Likewise.
23320         (_IO_file_xsgetn_mmap): Likewise.
23321         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23322         (_IO_cookie_write): Likewise.
23323         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23324         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23325         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23326         * malloc/obstack.c (_obstack_begin): Likewise.
23327         (_obstack_begin_1): Likewise.
23328         (_obstack_newchunk): Likewise.
23329         (_obstack_allocated_p): Likewise.
23330         (obstack_free): Likewise.
23331         (_obstack_memory_used): Likewise.
23332         * misc/getttyent.c (getttynam): Likewise.
23333         (getttyent): Likewise.
23334         (skip): Likewise.
23335         (value): Likewise.
23336         * misc/getusershell.c (initshells): Likewise.
23337         * misc/syslog.c (__vsyslog_chk): Likewise.
23338         * misc/ttyslot.c (ttyslot): Likewise.
23339         * nis/nis_hash.c (__nis_hash): Likewise.
23340         * posix/fnmatch_loop.c (FCT): Likewise.
23341         * posix/getconf.c (print_all): Likewise.
23342         (main): Likewise.
23343         * posix/getopt.c (exchange): Likewise.
23344         * posix/glob.c (globfree): Likewise.
23345         (prefix_array): Likewise.
23346         (__glob_pattern_type): Likewise.
23347         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23348         (NS_GET32): Likewise.
23349         (NS_PUT16): Likewise.
23350         (NS_PUT32): Likewise.
23351         * resolv/gethnamaddr.c (getanswer): Likewise.
23352         (gethostbyname2): Likewise.
23353         (gethostbyaddr): Likewise.
23354         (_gethtent): Likewise.
23355         (_gethtbyname2): Likewise.
23356         (_gethtbyaddr): Likewise.
23357         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23358         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23359         * resolv/res_init.c (__res_vinit): Likewise.
23360         (net_mask): Likewise.
23361         * resolv/res_mkquery.c (outchar): Likewise.
23362         (PRINT): Likewise.
23363         * stdio-common/printf_fp.c (outchar): Likewise.
23364         (PRINT): Likewise.
23365         * stdio-common/printf_fphex.c (outchar): Likewise.
23366         (PRINT): Likewise.
23367         * stdio-common/printf_size.c (outchar): Likewise.
23368         (PRINT): Likewise.
23369         * stdio-common/test_rdwr.c (main): Likewise.
23370         * stdio-common/tfformat.c (matches): Likewise.
23371         * stdio-common/vfprintf.c (outchar): Likewise.
23372         (printf_unknown): Likewise.
23373         (buffered_vfprintf): Likewise.
23374         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23375         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23376         (ReadFile): Likewise.
23377         * stdlib/qsort.c (SWAP): Likewise.
23378         (_quicksort): Likewise.
23379         * stdlib/setenv.c (__add_to_environ): Likewise.
23380         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23381         * stdlib/strtol_l.c (__strtol_l): Likewise.
23382         * stdlib/tst-strtod.c (main): Likewise.
23383         * stdlib/tst-strtol.c (main): Likewise.
23384         * stdlib/tst-strtoll.c (main): Likewise.
23385         * string/bits/string2.h (__strcmp_cc): Likewise.
23386         (__strcmp_cg): Likewise.
23387         (__strcspn_c1): Likewise.
23388         (__strcspn_c2): Likewise.
23389         (__strcspn_c3): Likewise.
23390         (__strspn_c1): Likewise.
23391         (__strspn_c2): Likewise.
23392         (__strspn_c3): Likewise.
23393         (__strsep_1c): Likewise.
23394         (__strsep_2c): Likewise.
23395         (__strsep_3c): Likewise.
23396         * string/memccpy.c (__memccpy): Likewise.
23397         * string/stpcpy.c (__stpcpy): Likewise.
23398         * string/strcmp.c (strcmp): Likewise.
23399         * string/strrchr.c (strrchr): Likewise.
23400         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23401         Likewise.
23402         * sysdeps/mach/hurd/getcwd.c
23403         (_hurd_canonicalize_directory_name_internal): Likewise.
23404         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23405         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23406         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23407         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23408         Likewise, in both definitions.
23409         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23410         definitions.
23411         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23412         64] (__bswap_64): Likewise.
23413         * time/test_time.c (main): Likewise.
23414         * time/tzfile.c (__tzfile_read): Likewise.
23415         (__tzfile_compute): Likewise.
23416         * time/tzset.c (__tzset_parse_tz): Likewise.
23417         (tzset_internal): Likewise.
23418         (compute_change): Likewise.
23419         * wcsmbs/wcscat.c (__wcscat): Likewise.
23420         * wcsmbs/wcschr.c (wcschr): Likewise.
23421         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23422         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23423         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23424         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23425         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23426         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23427         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23428         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23429         * wcsmbs/wmemset.c (wmemset): Likewise.
23430
23431 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23432
23433         * scripts/config.guess: Update to version 2013-05-16.
23434         * scripts/config.sub: Update to version 2013-04-24.
23435         * scripts/install-sh: Update to version 2011-11-20.07.
23436         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23437         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23438
23439 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23440
23441         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23442         * elf/sln.c: Likewise.
23443         * hurd/hurd/ioctl.h: Likewise.
23444         * hurd/hurdmalloc.c: Likewise.
23445         * hurd/xattr.c: Likewise.
23446         * include/shlib-compat.h: Likewise.
23447         * inet/ruserpass.c: Likewise.
23448         * libio/iofgets_u.c: Likewise.
23449         * libio/iofgetws_u.c: Likewise.
23450         * locale/programs/ld-identification.c: Likewise.
23451         * locale/programs/ld-time.c: Likewise.
23452         * mach/msg-destroy.c: Likewise.
23453         * nss/nss_files/files-netgrp.c: Likewise.
23454         * resolv/res_data.c: Likewise.
23455         * soft-fp/op-1.h: Likewise.
23456         * soft-fp/op-2.h: Likewise.
23457         * soft-fp/op-4.h: Likewise.
23458         * soft-fp/op-common.h: Likewise.
23459         * stdio-common/printf_fphex.c: Likewise.
23460         * stdlib/strtod_l.c: Likewise.
23461         * sunrpc/rpc/clnt.h: Likewise.
23462         * sysdeps/generic/framestate.c: Likewise.
23463         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23464         * sysdeps/i386/bsd-setjmp.S: Likewise.
23465         * sysdeps/i386/__longjmp.S: Likewise.
23466         * sysdeps/i386/setjmp.S: Likewise.
23467         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23468         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23469         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23470         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23471         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23472         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23473         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23474         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23475         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23476         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23477         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23478         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23479         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23480         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23481         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23482         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23483         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23484         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23485         * sysdeps/ieee754/support.c: Likewise.
23486         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23487         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23488         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23489         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23490         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23491         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23492         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23493         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23494         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23495         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23496         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23497         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23498         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23499         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23500         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23501         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23502         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23504
23505 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23506
23507         * posix/transbug.c: Remove executable mode.
23508
23509 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23510
23511         * crypt/speeds.c: Remove trailing whitespace.
23512         * dlfcn/default.c: Likewise.
23513         * elf/ifuncdep2.c: Likewise.
23514         * elf/ifuncmain1.c: Likewise.
23515         * elf/ifuncmain1vis.c: Likewise.
23516         * elf/testobj.h: Likewise.
23517         * elf/tst-stackguard1.c: Likewise.
23518         * gmon/sys/gmon.h: Likewise.
23519         * hurd/hurdmsg.c: Likewise.
23520         * hurd/new-fd.c: Likewise.
23521         * hurd/ports-get.c: Likewise.
23522         * iconvdata/ibm1008_420.c: Likewise.
23523         * inet/tst-getni1.c: Likewise.
23524         * inet/tst-getni2.c: Likewise.
23525         * libio/ioungetc.c: Likewise.
23526         * libio/wfiledoalloc.c: Likewise.
23527         * manual/libm-err-tab.pl: Likewise.
23528         * math/w_dremf.c: Likewise.
23529         * misc/ftruncate.c: Likewise.
23530         * posix/bug-glob2.c: Likewise.
23531         * posix/tst-pcre.c: Likewise.
23532         * posix/wait4.c: Likewise.
23533         * resolv/README: Likewise.
23534         * resolv/res_debug.h: Likewise.
23535         * resolv/tst-inet_ntop.c: Likewise.
23536         * setjmp/bug269-setjmp.c: Likewise.
23537         * soft-fp/extended.h: Likewise.
23538         * soft-fp/op-1.h: Likewise.
23539         * soft-fp/op-2.h: Likewise.
23540         * soft-fp/op-4.h: Likewise.
23541         * soft-fp/op-8.h: Likewise.
23542         * soft-fp/testit.c: Likewise.
23543         * stdio-common/bug16.c: Likewise.
23544         * stdlib/random.c: Likewise.
23545         * sunrpc/rpcsvc/rquota.x: Likewise.
23546         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23547         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23548         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23549         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23550         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23551         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23552         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23553         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23554         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23555         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23556         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23557         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23558         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23559         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23560         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23561         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23562         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23563         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23564         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23565         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23566         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23567         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23568         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23569         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23570         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23571         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23572         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23573         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23574         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23575         * sysdeps/ieee754/s_lib_version.c: Likewise.
23576         * sysdeps/mach/hurd/check_fds.c: Likewise.
23577         * sysdeps/mach/hurd/getsockname.c: Likewise.
23578         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23579         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23580         * sysdeps/powerpc/bits/link.h: Likewise.
23581         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23582         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23583         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23584         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23585         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23586         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23587         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23588         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23589         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23590         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23591         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23592         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23593         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23594         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23595         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23596         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23597         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23598         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23599         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23600         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23601         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23602         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23603         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23604         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23605         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23606         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23607         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23608         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23609         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23610         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23611         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23612         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23613         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23614         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23615         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23616         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23617         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23618         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23619         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23620         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23621         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23622         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23623         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23624         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23625         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23626         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23627         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23628         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23629         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23630         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23631         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23632         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23633         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23634         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23635         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23636         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23637         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23638         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23639         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23640         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23641         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23642         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23643         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23644         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23645         * sysdeps/powerpc/sysdep.h: Likewise.
23646         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23647         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23648         * sysdeps/sh/dl-trampoline.S: Likewise.
23649         * sysdeps/sh/memset.S: Likewise.
23650         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23651         * sysdeps/sh/strlen.S: Likewise.
23652         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23653         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23654         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23655         * sysdeps/sparc/sparc32/rem.S: Likewise.
23656         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23657         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23658         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23659         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23660         * sysdeps/sparc/sparc32/urem.S: Likewise.
23661         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23662         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23663         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23664         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23665         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23666         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23667         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23668         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23669         * sysdeps/unix/bsd/times.c: Likewise.
23670         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23671         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23675         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23676         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23677         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23678         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23679         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23680         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23681         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23682         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23683         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23684         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23685         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23686         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23687         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23688         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23689         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23690         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23691         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23692         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23693         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23694         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23695         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23696         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23697         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23698         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23699         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23700         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23701         * sysdeps/x86_64/strcspn.S: Likewise.
23702
23703 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23704
23705         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23706         generated file.  Regenerate properly from gen-translit.pl.
23707         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23708         locale/C-translit.h.
23709
23710 2013-06-05  Andreas Schwab  <schwab@suse.de>
23711
23712         [BZ #15100]
23713         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23714         week as 6 instead of -1.
23715         * time/tst-strptime.c (day_tests): Add test case.
23716
23717 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23718
23719         * sysdeps/generic/math_private.h
23720         (libc_feholdexcept_setround_53bit): Replace with
23721         libc_feholdsetround_53bit.
23722         (libc_feupdateenv_53bit): Replace with
23723         libc_feresetround_53bit.
23724         (SET_RESTORE_ROUND_53BIT): Adjust.
23725
23726 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23727
23728         * string/test-strchrnul.c: Add copyright header.
23729
23730         * posix/tst-getaddrinfo4.c: Increase test timeout.
23731
23732 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23733
23734         [BZ #15536]
23735         * math/libm-test.inc (MAX_EXP): Remove
23736         (MIN_EXP): Define.
23737         (ulp): Use MIN_EXP - MANT_DIG.
23738         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23739
23740 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
23741
23742         * po/be.po: Revert last change.
23743         * po/zh_CN.po: Likewise.
23744         * po/header.pot: Likewise.
23745
23746 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
23747
23748         * Makefile ($(common-objpfx)linkobj/libc.so): Define
23749         link-libc-deps to empty as target-specific variable.
23750         * Makerules (link-libc-args): New variable.
23751         (libc-for-link): Likewise.
23752         (link-libc-deps): Likewise.
23753         (lib%.so): Depend on $(link-libc-deps).  Link with
23754         $(link-libc-args).
23755         (build-module): Link with $(link-libc-args).
23756         (build-module-asneeded): Likewise.
23757         (build-module-helper-objlist): Filter out $(link-libc-deps) from
23758         list of objects.
23759         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23760         target-specific variable.
23761         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23762         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23763         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23764         libc.
23765         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23766         libc and ld.so.
23767         ($(objpfx)libpcprofile.so): Likewise.
23768         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23769         libc_nonshared.a.
23770         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23771         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23772         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23773         $(link-libc-deps).
23774         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23775         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23776         * login/Makefile ($(objpfx)libutil.so): Likewise.
23777         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23778         * math/Makefile ($(objpfx)libm.so): Likewise.
23779         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23780         $(objpfx)libnsl.so): Define libc-for-link as target-specific
23781         variable instead of depending directly on libc.
23782         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23783         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23784         $(link-libc-deps).
23785         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23786         libc.
23787         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23788         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23789         ($(objpfx)libanl.so): Likewise.
23790         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23791         ld.so.
23792         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23793         $(link-libc-deps).
23794         * sysdeps/i386/fpu/Makefile: Remove file.
23795         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23796         ($(objpfx)libm.so): Remove dependency on ld.so.
23797
23798 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
23799
23800         [BZ # 15553]
23801         * nis/yp_xdr.c (XDRMAXNAME): Define.
23802         (XDRMAXRECORD): Define.
23803         (xdr_domainname): Use XDRMAXNAME.
23804         (xdr_mapname): Likewise.
23805         (xdr_peername): Likewise.
23806         (xdr_keydat): Use XDRMAXRECORD.
23807         (xdr_valdat): Likewise.
23808
23809 2013-05-30  Jeff Law  <law@redhat.com>
23810
23811         [BZ #14256]
23812         * manual/errno.texi (ESTALE): Update to account for more than
23813         just NFS file systems.
23814         * sysdeps/gnu/errlist.c: Regenerated.
23815
23816 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23817
23818         [BZ #15465]
23819         * elf/Makefile (tests): Add tst-null-argv.
23820         (modules-names):  Add tst-null-argv-lib.
23821         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23822         (tst-null-argv-ENV): Set environment for tst-null-argv.
23823         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23824         (RTLD_PROGNAME): New macro.
23825         * elf/tst-null-argv.c: New test case.
23826         * elf/tst-null-argv-lib.c: Library for test case.
23827         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23828         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23829         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23830         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23831         * elf/dl-init.c (call_init): Likewise.
23832         (_dl_init): Likewise.
23833         * elf/dl-load.c (print_search_path): Likewise.
23834         (_dl_map_object): Likewise.
23835         * elf/dl-lookup.c (do_lookup_x): Likewise.
23836         (add_dependency): Likewise.
23837         (_dl_lookup_symbol_x): Likewise.
23838         (_dl_debug_bindings): Likewise.
23839         * elf/dl-open.c (_dl_show_scope): Likewise.
23840         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23841         * elf/dl-version.c (match_symbol): Likewise.
23842         (_dl_check_map_versions): Likewise.
23843         * elf/rtld.c (dl_main): Likewise.
23844         (print_unresolved): Use RTLD_PROGNAME.
23845         (print_missing_version): Likewise.
23846         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23847         (elf_machine_rela): Likewise.
23848         * sysdeps/powerpc/powerpc32/dl-machine.c
23849         (__process_machine_rela): Likewise.
23850         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23851         Likewise.
23852         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23853         Likewise.
23854         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23855         Likewise.
23856         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23857         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23858         Likewise.
23859         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23860         Likewise.
23861         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23862
23863 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
23864
23865         * po/be.po: Add descriptive title.
23866         * po/zh_CN.po: Likewise.
23867         * po/header.pot: Likewise.
23868
23869 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
23870
23871         * locale/programs/locarchive.c (create_archive): Inlucde fname in
23872         error message.
23873         (enlarge_archive): Likewise.
23874
23875 2013-05-28  Ben North  <ben@redfrontdoor.org>
23876
23877         * manual/arith.texi (frexp): It is the magnitude of the return
23878         value which lies in [0.5, 1), not the return value itself.
23879
23880 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23881
23882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23883
23884 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
23885
23886         * stdio-common/bug26.c (main): Correct fscanf template.
23887
23888         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23889         declare _dl_skip_args.
23890
23891         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23892         Don't declare.
23893
23894         * manual/platform.texi: Add missing @end deftypefun.
23895
23896 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23897
23898         [BZ #15529]
23899         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23900         bit of mantissa of 2^16382.
23901         * math/libm-test.inc (hypot_test_data): Add more tests.
23902
23903         * math/libm-test.inc: Add drem and pow10 to list of tested
23904         functions.
23905         (pow10_test): New function.
23906         (drem_test): Likewise.
23907         (drem_test_tonearest): Likewise.
23908         (drem_test_towardzero): Likewise.
23909         (drem_test_downward): Likewise.
23910         (drem_test_upward): Likewise.
23911         (main): Call the new functions.
23912
23913         * math/libm-test.inc (finite_test_data): Remove.
23914         (finite_test): Run tests from isfinite_test_data.
23915         (gamma_test_data): Remove.
23916         (gamma_test): Run tests from lgamma_test_data.
23917         * sysdeps/i386/fpu/libm-test-ulps: Update.
23918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23919
23920 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23921
23922         * manual/platform.texi: Add PowerPC PPR function set documentation.
23923         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23924         implementation.
23925
23926 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
23927
23928         * math/libm-test.inc (MAX_EXP): Define.
23929         (ULPDIFF): Define.
23930         (ulp): New function.
23931         (check_float_internal): Use ULPDIFF.
23932         (cpow_test): Disable failing test.
23933         (check_ulp): Test ulp() implemetnation.
23934         (main): Call check_ulp before starting tests.
23935
23936 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23937
23938         * math/gen-libm-test.pl (generate_testfile): Do not handle
23939         START_DATA and END_DATA.
23940         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23941         END_DATA.
23942         (acos_tonearest_test_data): Likewise.
23943         (acos_towardzero_test_data): Likewise.
23944         (acos_downward_test_data): Likewise.
23945         (acos_upward_test_data): Likewise.
23946         (acosh_test_data): Likewise.
23947         (asin_test_data): Likewise.
23948         (asin_tonearest_test_data): Likewise.
23949         (asin_towardzero_test_data): Likewise.
23950         (asin_downward_test_data): Likewise.
23951         (asin_upward_test_data): Likewise.
23952         (asinh_test_data): Likewise.
23953         (atan_test_data): Likewise.
23954         (atanh_test_data): Likewise.
23955         (atan2_test_data): Likewise.
23956         (cabs_test_data): Likewise.
23957         (cacos_test_data): Likewise.
23958         (cacosh_test_data): Likewise.
23959         (carg_test_data): Likewise.
23960         (casin_test_data): Likewise.
23961         (casinh_test_data): Likewise.
23962         (catan_test_data): Likewise.
23963         (catanh_test_data): Likewise.
23964         (cbrt_test_data): Likewise.
23965         (ccos_test_data): Likewise.
23966         (ccosh_test_data): Likewise.
23967         (ceil_test_data): Likewise.
23968         (cexp_test_data): Likewise.
23969         (cimag_test_data): Likewise.
23970         (clog_test_data): Likewise.
23971         (clog10_test_data): Likewise.
23972         (conj_test_data): Likewise.
23973         (copysign_test_data): Likewise.
23974         (cos_test_data): Likewise.
23975         (cos_tonearest_test_data): Likewise.
23976         (cos_towardzero_test_data): Likewise.
23977         (cos_downward_test_data): Likewise.
23978         (cos_upward_test_data): Likewise.
23979         (cosh_test_data): Likewise.
23980         (cosh_tonearest_test_data): Likewise.
23981         (cosh_towardzero_test_data): Likewise.
23982         (cosh_downward_test_data): Likewise.
23983         (cosh_upward_test_data): Likewise.
23984         (cpow_test_data): Likewise.
23985         (cproj_test_data): Likewise.
23986         (creal_test_data): Likewise.
23987         (csin_test_data): Likewise.
23988         (csinh_test_data): Likewise.
23989         (csqrt_test_data): Likewise.
23990         (ctan_test_data): Likewise.
23991         (ctan_tonearest_test_data): Likewise.
23992         (ctan_towardzero_test_data): Likewise.
23993         (ctan_downward_test_data): Likewise.
23994         (ctan_upward_test_data): Likewise.
23995         (ctanh_test_data): Likewise.
23996         (ctanh_tonearest_test_data): Likewise.
23997         (ctanh_towardzero_test_data): Likewise.
23998         (ctanh_downward_test_data): Likewise.
23999         (ctanh_upward_test_data): Likewise.
24000         (erf_test_data): Likewise.
24001         (erfc_test_data): Likewise.
24002         (exp_test_data): Likewise.
24003         (exp_tonearest_test_data): Likewise.
24004         (exp_towardzero_test_data): Likewise.
24005         (exp_downward_test_data): Likewise.
24006         (exp_upward_test_data): Likewise.
24007         (exp10_test_data): Likewise.
24008         (exp2_test_data): Likewise.
24009         (expm1_test_data): Likewise.
24010         (fabs_test_data): Likewise.
24011         (fdim_test_data): Likewise.
24012         (finite_test_data): Likewise.
24013         (floor_test_data): Likewise.
24014         (fma_test_data): Likewise.
24015         (fma_towardzero_test_data): Likewise.
24016         (fma_downward_test_data): Likewise.
24017         (fma_upward_test_data): Likewise.
24018         (fmax_test_data): Likewise.
24019         (fmin_test_data): Likewise.
24020         (fmod_test_data): Likewise.
24021         (fpclassify_test_data): Likewise.
24022         (frexp_test_data): Likewise.
24023         (gamma_test_data): Likewise.
24024         (hypot_test_data): Likewise.
24025         (ilogb_test_data): Likewise.
24026         (isfinite_test_data): Likewise.
24027         (isgreater_test_data): Likewise.
24028         (isgreaterequal_test_data): Likewise.
24029         (isinf_test_data): Likewise.
24030         (isless_test_data): Likewise.
24031         (islessequal_test_data): Likewise.
24032         (islessgreater_test_data): Likewise.
24033         (isnan_test_data): Likewise.
24034         (isnormal_test_data): Likewise.
24035         (issignaling_test_data): Likewise.
24036         (isunordered_test_data): Likewise.
24037         (j0_test_data): Likewise.
24038         (j1_test_data): Likewise.
24039         (jn_test_data): Likewise.
24040         (ldexp_test_data): Likewise.
24041         (lgamma_test_data): Likewise.
24042         (lrint_test_data): Likewise.
24043         (lrint_tonearest_test_data): Likewise.
24044         (lrint_towardzero_test_data): Likewise.
24045         (lrint_downward_test_data): Likewise.
24046         (lrint_upward_test_data): Likewise.
24047         (llrint_test_data): Likewise.
24048         (llrint_tonearest_test_data): Likewise.
24049         (llrint_towardzero_test_data): Likewise.
24050         (llrint_downward_test_data): Likewise.
24051         (llrint_upward_test_data): Likewise.
24052         (log_test_data): Likewise.
24053         (log10_test_data): Likewise.
24054         (log1p_test_data): Likewise.
24055         (log2_test_data): Likewise.
24056         (logb_test_data): Likewise.
24057         (logb_downward_test_data): Likewise.
24058         (lround_test_data): Likewise.
24059         (llround_test_data): Likewise.
24060         (modf_test_data): Likewise.
24061         (nearbyint_test_data): Likewise.
24062         (nextafter_test_data): Likewise.
24063         (nexttoward_test_data): Likewise.
24064         (pow_test_data): Likewise.
24065         (pow_tonearest_test_data): Likewise.
24066         (pow_towardzero_test_data): Likewise.
24067         (pow_downward_test_data): Likewise.
24068         (pow_upward_test_data): Likewise.
24069         (remainder_test_data): Likewise.
24070         (remainder_tonearest_test_data): Likewise.
24071         (remainder_towardzero_test_data): Likewise.
24072         (remainder_downward_test_data): Likewise.
24073         (remainder_upward_test_data): Likewise.
24074         (remquo_test_data): Likewise.
24075         (rint_test_data): Likewise.
24076         (rint_tonearest_test_data): Likewise.
24077         (rint_towardzero_test_data): Likewise.
24078         (rint_downward_test_data): Likewise.
24079         (rint_upward_test_data): Likewise.
24080         (round_test_data): Likewise.
24081         (scalb_test_data): Likewise.
24082         (scalbn_test_data): Likewise.
24083         (scalbln_test_data): Likewise.
24084         (signbit_test_data): Likewise.
24085         (sin_test_data): Likewise.
24086         (sin_tonearest_test_data): Likewise.
24087         (sin_towardzero_test_data): Likewise.
24088         (sin_downward_test_data): Likewise.
24089         (sin_upward_test_data): Likewise.
24090         (sincos_test_data): Likewise.
24091         (sinh_test_data): Likewise.
24092         (sinh_tonearest_test_data): Likewise.
24093         (sinh_towardzero_test_data): Likewise.
24094         (sinh_downward_test_data): Likewise.
24095         (sinh_upward_test_data): Likewise.
24096         (sqrt_test_data): Likewise.
24097         (tan_test_data): Likewise.
24098         (tan_tonearest_test_data): Likewise.
24099         (tan_towardzero_test_data): Likewise.
24100         (tan_downward_test_data): Likewise.
24101         (tan_upward_test_data): Likewise.
24102         (tanh_test_data): Likewise.
24103         (tgamma_test_data): Likewise.
24104         (trunc_test_data): Likewise.
24105         (y0_test_data): Likewise.
24106         (y1_test_data): Likewise.
24107         (yn_test_data): Likewise.
24108         (significand_test_data): Likewise.
24109
24110         * math/gen-libm-test.pl (@functions): Remove variable.
24111         (generate_testfile): Don't handle START and END lines.
24112         * math/libm-test.inc (START): New macro.
24113         (END): Likewise.
24114         (END_COMPLEX): Likewise.
24115         (acos_test): Use END macro without arguments.
24116         (acos_test_tonearest): Likewise.
24117         (acos_test_towardzero): Likewise.
24118         (acos_test_downward): Likewise.
24119         (acos_test_upward): Likewise.
24120         (acosh_test): Likewise.
24121         (asin_test): Likewise.
24122         (asin_test_tonearest): Likewise.
24123         (asin_test_towardzero): Likewise.
24124         (asin_test_downward): Likewise.
24125         (asin_test_upward): Likewise.
24126         (asinh_test): Likewise.
24127         (atan_test): Likewise.
24128         (atanh_test): Likewise.
24129         (atan2_test): Likewise.
24130         (cabs_test): Likewise.
24131         (cacos_test): Use END_COMPLEX macro without arguments.
24132         (cacosh_test): Likewise.
24133         (carg_test): Use END macro without arguments.
24134         (casin_test): Use END_COMPLEX macro without arguments.
24135         (casinh_test): Likewise.
24136         (catan_test): Likewise.
24137         (catanh_test): Likewise.
24138         (cbrt_test): Use END macro without arguments.
24139         (ccos_test): Use END_COMPLEX macro without arguments.
24140         (ccosh_test): Likewise.
24141         (ceil_test): Use END macro without arguments.
24142         (cexp_test): Use END_COMPLEX macro without arguments.
24143         (cimag_test): Use END macro without arguments.
24144         (clog_test): Use END_COMPLEX macro without arguments.
24145         (clog10_test): Likewise.
24146         (conj_test): Likewise.
24147         (copysign_test): Use END macro without arguments.
24148         (cos_test): Likewise.
24149         (cos_test_tonearest): Likewise.
24150         (cos_test_towardzero): Likewise.
24151         (cos_test_downward): Likewise.
24152         (cos_test_upward): Likewise.
24153         (cosh_test): Likewise.
24154         (cosh_test_tonearest): Likewise.
24155         (cosh_test_towardzero): Likewise.
24156         (cosh_test_downward): Likewise.
24157         (cosh_test_upward): Likewise.
24158         (cpow_test): Use END_COMPLEX macro without arguments.
24159         (cproj_test): Likewise.
24160         (creal_test): Use END macro without arguments.
24161         (csin_test): Use END_COMPLEX macro without arguments.
24162         (csinh_test): Likewise.
24163         (csqrt_test): Likewise.
24164         (ctan_test): Likewise.
24165         (ctan_test_tonearest): Likewise.
24166         (ctan_test_towardzero): Likewise.
24167         (ctan_test_downward): Likewise.
24168         (ctan_test_upward): Likewise.
24169         (ctanh_test): Likewise.
24170         (ctanh_test_tonearest): Likewise.
24171         (ctanh_test_towardzero): Likewise.
24172         (ctanh_test_downward): Likewise.
24173         (ctanh_test_upward): Likewise.
24174         (erf_test): Use END macro without arguments.
24175         (erfc_test): Likewise.
24176         (exp_test): Likewise.
24177         (exp_test_tonearest): Likewise.
24178         (exp_test_towardzero): Likewise.
24179         (exp_test_downward): Likewise.
24180         (exp_test_upward): Likewise.
24181         (exp10_test): Likewise.
24182         (exp2_test): Likewise.
24183         (expm1_test): Likewise.
24184         (fabs_test): Likewise.
24185         (fdim_test): Likewise.
24186         (finite_test): Likewise.
24187         (floor_test): Likewise.
24188         (fma_test): Likewise.
24189         (fma_test_towardzero): Likewise.
24190         (fma_test_downward): Likewise.
24191         (fma_test_upward): Likewise.
24192         (fmax_test): Likewise.
24193         (fmin_test): Likewise.
24194         (fmod_test): Likewise.
24195         (fpclassify_test): Likewise.
24196         (frexp_test): Likewise.
24197         (gamma_test): Likewise.
24198         (hypot_test): Likewise.
24199         (ilogb_test): Likewise.
24200         (isfinite_test): Likewise.
24201         (isgreater_test): Likewise.
24202         (isgreaterequal_test): Likewise.
24203         (isinf_test): Likewise.
24204         (isless_test): Likewise.
24205         (islessequal_test): Likewise.
24206         (islessgreater_test): Likewise.
24207         (isnan_test): Likewise.
24208         (isnormal_test): Likewise.
24209         (issignaling_test): Likewise.
24210         (isunordered_test): Likewise.
24211         (j0_test): Likewise.
24212         (j1_test): Likewise.
24213         (jn_test): Likewise.
24214         (ldexp_test): Likewise.
24215         (lgamma_test): Likewise.
24216         (lrint_test): Likewise.
24217         (lrint_test_tonearest): Likewise.
24218         (lrint_test_towardzero): Likewise.
24219         (lrint_test_downward): Likewise.
24220         (lrint_test_upward): Likewise.
24221         (llrint_test): Likewise.
24222         (llrint_test_tonearest): Likewise.
24223         (llrint_test_towardzero): Likewise.
24224         (llrint_test_downward): Likewise.
24225         (llrint_test_upward): Likewise.
24226         (log_test): Likewise.
24227         (log10_test): Likewise.
24228         (log1p_test): Likewise.
24229         (log2_test): Likewise.
24230         (logb_test): Likewise.
24231         (logb_test_downward): Likewise.
24232         (lround_test): Likewise.
24233         (llround_test): Likewise.
24234         (modf_test): Likewise.
24235         (nearbyint_test): Likewise.
24236         (nextafter_test): Likewise.
24237         (nexttoward_test): Likewise.
24238         (pow_test): Likewise.
24239         (pow_test_tonearest): Likewise.
24240         (pow_test_towardzero): Likewise.
24241         (pow_test_downward): Likewise.
24242         (pow_test_upward): Likewise.
24243         (remainder_test): Likewise.
24244         (remainder_test_tonearest): Likewise.
24245         (remainder_test_towardzero): Likewise.
24246         (remainder_test_downward): Likewise.
24247         (remainder_test_upward): Likewise.
24248         (remquo_test): Likewise.
24249         (rint_test): Likewise.
24250         (rint_test_tonearest): Likewise.
24251         (rint_test_towardzero): Likewise.
24252         (rint_test_downward): Likewise.
24253         (rint_test_upward): Likewise.
24254         (round_test): Likewise.
24255         (scalb_test): Likewise.
24256         (scalbn_test): Likewise.
24257         (scalbln_test): Likewise.
24258         (signbit_test): Likewise.
24259         (sin_test): Likewise.
24260         (sin_test_tonearest): Likewise.
24261         (sin_test_towardzero): Likewise.
24262         (sin_test_downward): Likewise.
24263         (sin_test_upward): Likewise.
24264         (sincos_test): Likewise.
24265         (sinh_test): Likewise.
24266         (sinh_test_tonearest): Likewise.
24267         (sinh_test_towardzero): Likewise.
24268         (sinh_test_downward): Likewise.
24269         (sinh_test_upward): Likewise.
24270         (sqrt_test): Likewise.
24271         (tan_test): Likewise.
24272         (tan_test_tonearest): Likewise.
24273         (tan_test_towardzero): Likewise.
24274         (tan_test_downward): Likewise.
24275         (tan_test_upward): Likewise.
24276         (tanh_test): Likewise.
24277         (tgamma_test): Likewise.
24278         (trunc_test): Likewise.
24279         (y0_test): Likewise.
24280         (y1_test): Likewise.
24281         (yn_test): Likewise.
24282         (significand_test): Likewise.
24283
24284 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24285
24286         [BZ #15381]
24287         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24288
24289 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24290
24291         [BZ #14894]
24292         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24293         __ppc_mdoio and __ppc_mdoom.
24294         * manual/platform.texi: Document new functions __ppc_yield,
24295         __ppc_mdoio and __ppc_mdoom.
24296
24297 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24298
24299         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24300         (main): Mention "tls" pseudo-hwcap is legacy.
24301         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24302
24303 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24304
24305         * math/gen-libm-test.pl (parse_args): Output only string of
24306         arguments as text for test name, not full call or descriptions of
24307         tests for extra outputs.
24308         (generate_testfile): Do not pass function name to parse_args.
24309         Generate this_func variable from START.
24310         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24311         field to arg_str.
24312         (struct test_ff_f_data): Likewise.
24313         (test_ff_f_data_nexttoward): Likewise.
24314         (struct test_fi_f_data): Likewise.
24315         (struct test_fl_f_data): Likewise.
24316         (struct test_if_f_data): Likewise.
24317         (struct test_fff_f_data): Likewise.
24318         (struct test_c_f_data): Likewise.
24319         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24320         (struct test_fF_f1_data): Likewise.
24321         (struct test_ffI_f1_data): Likewise.
24322         (struct test_c_c_data): Rename test_name field to arg_str.
24323         (struct test_cc_c_data): Likewise.
24324         (struct test_f_i_data): Likewise.
24325         (struct test_ff_i_data): Likewise.
24326         (struct test_f_l_data): Likewise.
24327         (struct test_f_L_data): Likewise.
24328         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24329         and extra2_name.
24330         (COMMON_TEST_SETUP): New macro.
24331         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24332         (COMMON_TEST_CLEANUP): Likewise.
24333         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24334         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24335         macros.
24336         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24337         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24338         macros.
24339         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24340         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24341         cleanup macros.
24342         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24343         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24344         macros.
24345         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24346         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24347         macros.
24348         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24349         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24350         cleanup macros.
24351         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24352         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24353         cleanup macros.
24354         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24355         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24356         cleanup macros.
24357         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24358         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24359         macros.
24360         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24361         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24362         macros.
24363         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24364         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24365         macros.
24366         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24367         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24368         cleanup macros.
24369         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24370         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24371         cleanup macros.
24372         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24373         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24374         macros.
24375         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24376         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24377         cleanup macros.
24378         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24379         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24380         macros.
24381         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24382         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24383         macros.
24384         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24385         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24386         cleanup macros.
24387         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24388
24389 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24390
24391         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24392         to _sifields.sigfault.
24393         (si_addr_lsb): Define new macro.
24394         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24395         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24396         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24397
24398 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24399
24400         [BZ #15441]
24401         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24402         returns -1.
24403         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24404         null return -1.
24405         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24406         loading the domain.
24407
24408 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24409
24410         * math/gen-libm-test.pl (parse_args): Do not include expected
24411         result in test name.
24412         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24413         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24414         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24415         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24416         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24418
24419 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24420
24421         * benchtests/Makefile: Sort function entries.
24422
24423         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24424         tanh, asinh, acosh, atanh.
24425         * benchtests/acos-inputs: New file.
24426         * benchtests/acosh-inputs: New file.
24427         * benchtests/asin-inputs: New file.
24428         * benchtests/asinh-inputs: New file.
24429         * benchtests/atanh-inputs: New file.
24430         * benchtests/cosh-inputs: New file.
24431         * benchtests/log-inputs: New file.
24432         * benchtests/sinh-inputs: New file.
24433         * benchtests/tanh-inputs: New file.
24434
24435 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24436
24437         [BZ #15339]
24438         * posix/tst-getaddrinfo4.c: New test.
24439         * posix/Makefile (tests): Add it.
24440
24441 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24442
24443         [BZ #15339]
24444         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24445         when no services were used.
24446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24447         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24448
24449 2013-05-21  Andreas Schwab  <schwab@suse.de>
24450
24451         [BZ #15014]
24452         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24453         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24454         successful.
24455         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24456         redundant variable declarations and reallocation of buffer when
24457         parsing as IPv6 address.  Always set NSS status when called from
24458         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24459         buffer too small.  Correct computation of needed size.
24460         * nss/Makefile (tests): Add test-digits-dots.
24461         * nss/test-digits-dots.c: New test.
24462
24463 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24464
24465         * benchtests/Makefile: Remove instructions for adding
24466         benchmark tests.
24467         * benchtests/README: New file to explain how to execute and
24468         enhance the benchmark tests.
24469
24470 2013-05-21  Andreas Schwab  <schwab@suse.de>
24471
24472         [BZ #15493]
24473         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24474         * setjmp/tst-sigsetjmp.c: New test.
24475
24476 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24477
24478         * sysdeps/x86_64/memset.S (memset): New implementation.
24479         (__bzero): Likewise.
24480         (__memset_tail): New function.
24481
24482 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24483
24484         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24485         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24486         __memcpy_sse2_unaligned ifunc selection.
24487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24488         Add memcpy-sse2-unaligned.S.
24489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24490         Add: __memcpy_sse2_unaligned.
24491
24492 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24493
24494         [BZ #15490]
24495         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24496         math_force_eval before restoring floating-point envrionment.
24497         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24498         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24499         Likewise.
24500         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24501         <math_private.h>.
24502         (__nearbyintl): Use math_force_eval before restoring
24503         floating-point environment.
24504         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24505
24506         * math/gen-libm-test.pl (special_functions): Remove.
24507         (parse_args): Don't handle TEST_extra.  Handle functions with no
24508         return value.
24509         * math/libm-test.inc (struct test_sincos_data): Replace with
24510         struct test_fFF_11_data.
24511         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24512         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24513         (sincos_test_data): Change element type to struct
24514         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24515         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24516         RUN_TEST_LOOP_sincos.
24517         * math/README.libm-test: Don't mention special handling of
24518         individual functions.
24519         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24520         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24521         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24522         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24523         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24525
24526         * math/gen-libm-test.pl (get_variable): Remove function.
24527         (parse_args): Don't show pointer parameters to call in test
24528         names.  Use "extra output N" in test names for extra outputs
24529         rather than naming variables.
24530
24531 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24532
24533         [BZ #15488]
24534         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24535         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24536         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24537         double tests.
24538         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24539         disable.
24540         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24541         check_long_double.
24542
24543         * math/gen-libm-test.pl (@tests): Remove variable.
24544         ($count): Likewise.
24545         (new_test): Remove function.
24546         (show_exceptions): New function.
24547         (special_functions): Use show_exceptions instead of new_test.
24548         (parse_args): Likewise.
24549         (generate_testfile): Pass only function name in generated call to
24550         print_max_error or print_complex_max_error.
24551         (get_ulps): Do not handle complex tests specially.
24552         (output_test): Rename to ...
24553         (get_all_ulps_for_test): ... this.  Return a string rather than
24554         printing to a file.  Require ulps to be present.
24555         (output_ulps): Generate arrays rather than #defines.
24556         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24557         (struct ulp_data): New type.
24558         (BUILD_COMPLEX_ULP): Remove macro.
24559         (compare_ulp_data): New function.
24560         (find_ulps): Likewise.
24561         (find_test_ulps): Likewise.
24562         (find_function_ulps): Likewise.
24563         (find_complex_function_ulps): Likewise.
24564         (print_max_error): Determine allowed ulps using
24565         find_function_ulps.
24566         (print_complex_max_error): Determine allowed ulps using
24567         find_complex_function_ulps.
24568         (check_float_internal): Determine max ulps using find_test_ulps.
24569         (check_float): Do not take max_ulp parameter.  Update call to
24570         check_float_internal.
24571         (check_complex): Likewise.
24572         (check_int): Do not take max_ulp parameter.
24573         (check_long): Likewise.
24574         (check_bool): Likewise.
24575         (check_longlong): Likewise.
24576         (struct test_f_f_data): Remove max_ulp field.
24577         (struct test_ff_f_data): Likewise.
24578         (struct test_ff_f_data_nexttoward): Likewise.
24579         (struct test_fi_f_data): Likewise.
24580         (struct test_fl_f_data): Likewise.
24581         (struct test_if_f_data): Likewise.
24582         (struct test_fff_f_data): Likewise.
24583         (struct test_c_f_data): Likewise.
24584         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24585         (struct test_fF_f1_data): Likewise.
24586         (struct test_ffI_f1_data): Likewise.
24587         (struct test_c_c_data): Remove max_ulp field.
24588         (struct test_cc_c_data): Likewise.
24589         (struct test_f_i_data): Likewise.
24590         (struct test_ff_i_data): Likewise.
24591         (struct test_f_l_data): Likewise.
24592         (struct test_f_L_data): Likewise.
24593         (struct test_sincos_data): Likewise.
24594         (RUN_TEST_f_f): Do not handle ulps.
24595         (RUN_TEST_LOOP_f_f): Likewise.
24596         (RUN_TEST_2_f): Likewise.
24597         (RUN_TEST_LOOP_2_f): Likewise.
24598         (RUN_TEST_fff_f): Likewise.
24599         (RUN_TEST_LOOP_fff_f): Likewise.
24600         (RUN_TEST_c_f): Likewise.
24601         (RUN_TEST_LOOP_c_f): Likewise.
24602         (RUN_TEST_f_f1): Likewise.
24603         (RUN_TEST_LOOP_f_f1): Likewise.
24604         (RUN_TEST_fF_f1): Likewise.
24605         (RUN_TEST_LOOP_fF_f1): Likewise.
24606         (RUN_TEST_fI_f1): Likewise.
24607         (RUN_TEST_LOOP_fI_f1): Likewise.
24608         (RUN_TEST_ffI_f1): Likewise.
24609         (RUN_TEST_LOOP_ffI_f1): Likewise.
24610         (RUN_TEST_c_c): Likewise.
24611         (RUN_TEST_LOOP_c_c): Likewise.
24612         (RUN_TEST_cc_c): Likewise.
24613         (RUN_TEST_LOOP_cc_c): Likewise.
24614         (RUN_TEST_f_i): Likewise.
24615         (RUN_TEST_LOOP_f_i): Likewise.
24616         (RUN_TEST_f_i_tg): Likewise.
24617         (RUN_TEST_LOOP_f_i_tg): Likewise.
24618         (RUN_TEST_ff_i_tg): Likewise.
24619         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24620         (RUN_TEST_f_b): Likewise.
24621         (RUN_TEST_LOOP_f_b): Likewise.
24622         (RUN_TEST_f_b_tg): Likewise.
24623         (RUN_TEST_LOOP_f_b_tg): Likewise.
24624         (RUN_TEST_f_l): Likewise.
24625         (RUN_TEST_LOOP_f_l): Likewise.
24626         (RUN_TEST_f_L): Likewise.
24627         (RUN_TEST_LOOP_f_L): Likewise.
24628         (RUN_TEST_sincos): Likewise.
24629         (RUN_TEST_LOOP_sincos): Likewise.
24630
24631 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24632
24633         [BZ #15480]
24634         [BZ #15485]
24635         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24636         main case of finite arguments, set rounding mode to FE_TONEAREST
24637         and discard exceptions.
24638         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24639         exceptions.
24640         (remainder_tonearest_test_data): New variable.
24641         (remainder_test_tonearest): New function.
24642         (remainder_towardzero_test_data): New variable.
24643         (remainder_test_towardzero): New function.
24644         (remainder_downward_test_data): New variable.
24645         (remainder_test_downward): New function.
24646         (remainder_upward_test_data): New variable.
24647         (remainder_test_upward): New function.
24648         (main): Call the new test functions.
24649
24650         * math/libm-test.inc (struct test_f_f1_data): Remove field
24651         extra_init.
24652         (struct test_fF_f1_data): Likewise.
24653         (struct test_ffI_f1_data): Likewise.
24654         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24655         based on value of EXTRA_EXPECTED.
24656         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24657         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24658         EXTRA_VAR based on value of EXTRA_EXPECTED.
24659         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24660         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24661         EXTRA_VAR based on value of EXTRA_EXPECTED.
24662         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24663         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24664         EXTRA_VAR based on value of EXTRA_EXPECTED.
24665         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24666         * math/gen-libm-test.pl (parse_args): Don't output initializers
24667         for extra output values.
24668
24669         * math/libm-test.inc (check_int): Expect result to be exactly
24670         equal to expected value and do not handle ulps.
24671         (check_long): Likewise.
24672         (check_longlong): Likewise.
24673
24674         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24675         exceptions.
24676         (cimag_test_data): Likewise.
24677         (conj_test_data): Likewise.
24678         (copysign_test_data): Likewise.
24679         (cproj_test_data): Likewise.
24680         (creal_test_data): Likewise.
24681         (fabs_test_data): Likewise.
24682         (fdim_test_data): Likewise.
24683         (finite_test_data): Likewise.
24684         (floor_test_data): Likewise.
24685         (fmax_test_data): Likewise.
24686         (fmin_test_data): Likewise.
24687         (fmod_test_data): Likewise.
24688         (fpclassify_test_data): Likewise.
24689         (frexp_test_data): Likewise.
24690         (ilogb_test_data): Likewise.
24691         (isfinite_test_data): Likewise.
24692         (isgreater_test_data): Likewise.
24693         (isgreaterequal_test_data): Likewise.
24694         (isinf_test_data): Likewise.
24695         (isless_test_data): Likewise.
24696         (islessequal_test_data): Likewise.
24697         (islessgreater_test_data): Likewise.
24698         (isnan_test_data): Likewise.
24699         (isnormal_test_data): Likewise.
24700         (issignaling_test_data): Likewise.
24701         (isunordered_test_data): Likewise.
24702         (ldexp_test_data): Likewise.
24703         (lrint_test_data): Likewise.
24704         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24705         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24706         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24707         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24708         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24709         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24710         test input.
24711         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24712         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24713         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24714         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24715         that test input.
24716         (lrint_downward_test_data): Test for "inexact" exceptions.
24717         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24718         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24719         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24720         test input.
24721         (lrint_upward_test_data): Test for "inexact" exceptions.
24722         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24723         test input.
24724         (llrint_test_data): Test for "inexact" exceptions.
24725         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24726         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24727         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24728         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24729         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24730         (llrint_downward_test_data): Test for "inexact" exceptions.
24731         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24732         (llrint_upward_test_data): Test for "inexact" exceptions.
24733         (logb_test_data): Likewise.
24734         (logb_downward_test_data): Likewise.
24735         (nextafter_test_data): Likewise.
24736         (nexttoward_test_data): Likewise.
24737         (remainder_test_data): Likewise.
24738         (remquo_test_data): Likewise.
24739         (scalbn_test_data): Likewise.
24740         (scalbln_test_data): Likewise.
24741         (signbit_test_data): Likewise.
24742         (sqrt_test_data): Likewise.
24743         (significand_test_data): Likewise.
24744
24745 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24746
24747         [BZ #15424]
24748         * benchtests/bench-modf.c (struct args): Mark arg0 as
24749         volatile.
24750         * scripts/bench.pl: Mark members of struct args as volatile.
24751
24752 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24753
24754         [BZ # 15497]
24755         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24756         negative infinity on POWER6 or lower.
24757         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24758
24759 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24760
24761         [BZ #15442]
24762         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24763         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24764         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24765         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24766         (_FP_SETQNAN): New macro.
24767         (_FP_SETQNAN_SEMIRAW): Likewise.
24768         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24769         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24770         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24771         (FP_EXTEND): Use _FP_FRAC_SNANP.
24772         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24773         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24774         into account.
24775         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24776         New macro.
24777         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24778         Likewise.
24779
24780 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24781
24782         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24783         with DIVIDE_BY_ZERO_EXCEPTION.
24784         (gamma_test_data): Likewise.
24785         (lgamma_test_data): Likewise.
24786         (log_test_data): Likewise.
24787         (log10_test_data): Likewise.
24788         (log2_test_data): Likewise.
24789         (tgamma_test_data): Likewise.
24790
24791         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24792         (acos_test_tonearest): Likewise.
24793         (acos_test_towardzero): Likewise.
24794         (acos_test_downward): Likewise.
24795         (acos_test_upward): Likewise.
24796         (acosh_test): Likewise.
24797         (asin_test): Likewise.
24798         (asin_test_tonearest): Likewise.
24799         (asin_test_towardzero): Likewise.
24800         (asin_test_downward): Likewise.
24801         (asin_test_upward): Likewise.
24802         (asinh_test): Likewise.
24803         (atan_test): Likewise.
24804         (atanh_test): Likewise.
24805         (atan2_test): Likewise.
24806         (cabs_test): Likewise.
24807         (cacos_test): Likewise.
24808         (cacosh_test): Likewise.
24809         (casin_test): Likewise.
24810         (casinh_test): Likewise.
24811         (catan_test): Likewise.
24812         (catanh_test): Likewise.
24813         (cbrt_test): Likewise.
24814         (ccos_test): Likewise.
24815         (ccosh_test): Likewise.
24816         (cexp_test): Likewise.
24817         (clog_test): Likewise.
24818         (clog10_test): Likewise.
24819         (cos_test): Likewise.
24820         (cos_test_tonearest): Likewise.
24821         (cos_test_towardzero): Likewise.
24822         (cos_test_downward): Likewise.
24823         (cos_test_upward): Likewise.
24824         (cosh_test): Likewise.
24825         (cosh_test_tonearest): Likewise.
24826         (cosh_test_towardzero): Likewise.
24827         (cosh_test_downward): Likewise.
24828         (cosh_test_upward): Likewise.
24829         (cpow_test): Likewise.
24830         (csin_test): Likewise.
24831         (csinh_test): Likewise.
24832         (csqrt_test): Likewise.
24833         (ctan_test): Likewise.
24834         (ctan_test_tonearest): Likewise.
24835         (ctan_test_towardzero): Likewise.
24836         (ctan_test_downward): Likewise.
24837         (ctan_test_upward): Likewise.
24838         (ctanh_test): Likewise.
24839         (ctanh_test_tonearest): Likewise.
24840         (ctanh_test_towardzero): Likewise.
24841         (ctanh_test_downward): Likewise.
24842         (ctanh_test_upward): Likewise.
24843         (erf_test): Likewise.
24844         (erfc_test): Likewise.
24845         (exp_test): Likewise.
24846         (exp_test_tonearest): Likewise.
24847         (exp_test_towardzero): Likewise.
24848         (exp_test_downward): Likewise.
24849         (exp_test_upward): Likewise.
24850         (exp10_test): Likewise.
24851         (exp2_test): Likewise.
24852         (expm1_test): Likewise.
24853         (fmod_test): Likewise.
24854         (gamma_test): Likewise.
24855         (hypot_test): Likewise.
24856         (j0_test): Likewise.
24857         (j1_test): Likewise.
24858         (jn_test): Likewise.
24859         (lgamma_test): Likewise.
24860         (log_test): Likewise.
24861         (log10_test): Likewise.
24862         (log1p_test): Likewise.
24863         (log2_test): Likewise.
24864         (logb_test_downward): Likewise.
24865         (pow_test): Likewise.
24866         (pow_test_tonearest): Likewise.
24867         (pow_test_towardzero): Likewise.
24868         (pow_test_downward): Likewise.
24869         (pow_test_upward): Likewise.
24870         (remainder_test): Likewise.
24871         (remquo_test): Likewise.
24872         (sin_test): Likewise.
24873         (sin_test_tonearest): Likewise.
24874         (sin_test_towardzero): Likewise.
24875         (sin_test_downward): Likewise.
24876         (sin_test_upward): Likewise.
24877         (sincos_test): Likewise.
24878         (sinh_test): Likewise.
24879         (sinh_test_tonearest): Likewise.
24880         (sinh_test_towardzero): Likewise.
24881         (sinh_test_downward): Likewise.
24882         (sinh_test_upward): Likewise.
24883         (sqrt_test): Likewise.
24884         (tan_test): Likewise.
24885         (tan_test_tonearest): Likewise.
24886         (tan_test_towardzero): Likewise.
24887         (tan_test_downward): Likewise.
24888         (tan_test_upward): Likewise.
24889         (tanh_test): Likewise.
24890         (tgamma_test): Likewise.
24891         (y0_test): Likewise.
24892         (y1_test): Likewise.
24893         (yn_test): Likewise.
24894
24895         * math/gen-libm-test.pl (adjust_arg): Remove function.
24896         (special_function): Remove argument $in_func.  Only handle
24897         generating output for tables of tests, not inside functions.
24898         (parse_args): Likewise.
24899         (generate_testfile): Remove variable $in_func.  Update call to
24900         parse_args.
24901         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24902         (MINUS_ZERO_INIT): Rename macro to minus_zero.
24903         (PLUS_INFTY_INIT): Rename macro to plus_infty.
24904         (MINUS_INFTY_INIT): Rename macro to minus_infty.
24905         (QNAN_VALUE_INIT): Rename macro to qnan_value.
24906         (MAX_VALUE_INIT): Rename macro to max_value.
24907         (MIN_VALUE_INIT): Rename macro to min_value.
24908         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24909         (plus_zero): Remove variable.
24910         (minus_zero): Likewise.
24911         (plus_infty): Likewise.
24912         (minus_infty): Likewise.
24913         (qnan_value): Likewise.
24914         (max_value): Likewise.
24915         (min_value): Likewise.
24916         (min_subnorm_value): Likewise.
24917
24918 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24919
24920         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24921         uint64_t or uint32_t usage.
24922         * crypt/sha256-block.c: Likewise.
24923         * crypt/sha256-crypt.c: Likewise.
24924         * crypt/sha256.c: Likewise.
24925         * crypt/sha512-block.c: Likewise.
24926         * crypt/sha512-crypt.c: Likewise.
24927         * crypt/sha512.c: Likewise.
24928         * debug/backtrace-tst.c: Likewise.
24929         * debug/pcprofiledump.c: Likewise.
24930         * elf/cache.c: Likewise.
24931         * elf/dl-cache.c: Likewise.
24932         * elf/dl-misc.c: Likewise.
24933         * elf/dl-profile.c: Likewise.
24934         * elf/dl-support.c: Likewise.
24935         * elf/ldconfig.c: Likewise.
24936         * elf/sprof.c: Likewise.
24937         * iconv/dummy-repertoire.c: Likewise.
24938         * iconv/iconv_charmap.c: Likewise.
24939         * iconv/skeleton.c: Likewise.
24940         * iconvdata/8bit-generic.c: Likewise.
24941         * iconvdata/cp737.h: Likewise.
24942         * iconvdata/cp775.h: Likewise.
24943         * iconvdata/ibm1008.h: Likewise.
24944         * iconvdata/ibm1025.h: Likewise.
24945         * iconvdata/ibm1046.h: Likewise.
24946         * iconvdata/ibm1097.h: Likewise.
24947         * iconvdata/ibm1112.h: Likewise.
24948         * iconvdata/ibm1122.h: Likewise.
24949         * iconvdata/ibm1123.h: Likewise.
24950         * iconvdata/ibm1124.h: Likewise.
24951         * iconvdata/ibm1129.h: Likewise.
24952         * iconvdata/ibm1130.h: Likewise.
24953         * iconvdata/ibm1132.h: Likewise.
24954         * iconvdata/ibm1133.h: Likewise.
24955         * iconvdata/ibm1137.h: Likewise.
24956         * iconvdata/ibm1140.h: Likewise.
24957         * iconvdata/ibm1141.h: Likewise.
24958         * iconvdata/ibm1142.h: Likewise.
24959         * iconvdata/ibm1143.h: Likewise.
24960         * iconvdata/ibm1144.h: Likewise.
24961         * iconvdata/ibm1145.h: Likewise.
24962         * iconvdata/ibm1146.h: Likewise.
24963         * iconvdata/ibm1147.h: Likewise.
24964         * iconvdata/ibm1148.h: Likewise.
24965         * iconvdata/ibm1149.h: Likewise.
24966         * iconvdata/ibm1153.h: Likewise.
24967         * iconvdata/ibm1154.h: Likewise.
24968         * iconvdata/ibm1155.h: Likewise.
24969         * iconvdata/ibm1156.h: Likewise.
24970         * iconvdata/ibm1157.h: Likewise.
24971         * iconvdata/ibm1158.h: Likewise.
24972         * iconvdata/ibm1160.h: Likewise.
24973         * iconvdata/ibm1161.h: Likewise.
24974         * iconvdata/ibm1162.h: Likewise.
24975         * iconvdata/ibm1163.h: Likewise.
24976         * iconvdata/ibm1164.h: Likewise.
24977         * iconvdata/ibm1166.h: Likewise.
24978         * iconvdata/ibm1167.h: Likewise.
24979         * iconvdata/ibm12712.h: Likewise.
24980         * iconvdata/ibm1390.h: Likewise.
24981         * iconvdata/ibm1399.h: Likewise.
24982         * iconvdata/ibm16804.h: Likewise.
24983         * iconvdata/ibm4517.h: Likewise.
24984         * iconvdata/ibm4899.h: Likewise.
24985         * iconvdata/ibm4909.h: Likewise.
24986         * iconvdata/ibm4971.h: Likewise.
24987         * iconvdata/ibm5347.h: Likewise.
24988         * iconvdata/ibm803.h: Likewise.
24989         * iconvdata/ibm856.h: Likewise.
24990         * iconvdata/ibm901.h: Likewise.
24991         * iconvdata/ibm902.h: Likewise.
24992         * iconvdata/ibm9030.h: Likewise.
24993         * iconvdata/ibm9066.h: Likewise.
24994         * iconvdata/ibm921.h: Likewise.
24995         * iconvdata/ibm922.h: Likewise.
24996         * iconvdata/ibm9448.h: Likewise.
24997         * iconvdata/isiri-3342.h: Likewise.
24998         * iconvdata/jis0201.h: Likewise.
24999         * include/link.h: Likewise.
25000         * include/netdb.h: Likewise.
25001         * inet/check_native.c: Likewise.
25002         * inet/check_pf.c: Likewise.
25003         * inet/getipv4sourcefilter.c: Likewise.
25004         * inet/getnameinfo.c: Likewise.
25005         * inet/getsourcefilter.c: Likewise.
25006         * inet/htonl.c: Likewise.
25007         * inet/setipv4sourcefilter.c: Likewise.
25008         * inet/setsourcefilter.c: Likewise.
25009         * inet/test-inet6_opt.c: Likewise.
25010         * inet/tst-network.c: Likewise.
25011         * locale/C-collate.c: Likewise.
25012         * locale/C-ctype.c: Likewise.
25013         * locale/C-time.c: Likewise.
25014         * locale/C-translit.h: Likewise.
25015         * locale/loadarchive.c: Likewise.
25016         * locale/programs/3level.h: Likewise.
25017         * locale/programs/charmap.c: Likewise.
25018         * locale/programs/charmap.h: Likewise.
25019         * locale/programs/ld-address.c: Likewise.
25020         * locale/programs/ld-collate.c: Likewise.
25021         * locale/programs/ld-ctype.c: Likewise.
25022         * locale/programs/ld-identification.c: Likewise.
25023         * locale/programs/ld-measurement.c: Likewise.
25024         * locale/programs/ld-messages.c: Likewise.
25025         * locale/programs/ld-monetary.c: Likewise.
25026         * locale/programs/ld-name.c: Likewise.
25027         * locale/programs/ld-numeric.c: Likewise.
25028         * locale/programs/ld-paper.c: Likewise.
25029         * locale/programs/ld-telephone.c: Likewise.
25030         * locale/programs/ld-time.c: Likewise.
25031         * locale/programs/linereader.c: Likewise.
25032         * locale/programs/locale.c: Likewise.
25033         * locale/programs/locarchive.c: Likewise.
25034         * locale/programs/locfile.h: Likewise.
25035         * locale/programs/repertoire.c: Likewise.
25036         * locale/programs/simple-hash.c: Likewise.
25037         * locale/programs/simple-hash.h: Likewise.
25038         * malloc/memusage.c: Likewise.
25039         * malloc/memusagestat.c: Likewise.
25040         * nis/nis_defaults.c: Likewise.
25041         * nis/nis_hash.c: Likewise.
25042         * nis/nis_print.c: Likewise.
25043         * nis/nis_xdr.c: Likewise.
25044         * nscd/connections.c: Likewise.
25045         * nscd/hstcache.c: Likewise.
25046         * nscd/nscd_gethst_r.c: Likewise.
25047         * nscd/nscd_getserv_r.c: Likewise.
25048         * nscd/nscd_helper.c: Likewise.
25049         * nscd/servicescache.c: Likewise.
25050         * nss/makedb.c: Likewise.
25051         * nss/nss_db/db-XXX.c: Likewise.
25052         * nss/nss_db/db-initgroups.c: Likewise.
25053         * nss/nss_db/db-netgrp.c: Likewise.
25054         * nss/nss_files/files-network.c: Likewise.
25055         * nss/nss_files/files-parse.c: Likewise.
25056         * posix/bug-regex5.c: Likewise.
25057         * posix/fnmatch_loop.c: Likewise.
25058         * posix/regcomp.c: Likewise.
25059         * posix/regexec.c: Likewise.
25060         * posix/tst-rfc3484-2.c: Likewise.
25061         * posix/tst-rfc3484-3.c: Likewise.
25062         * posix/tst-rfc3484.c: Likewise.
25063         * resolv/nss_dns/dns-canon.c: Likewise.
25064         * resolv/nss_dns/dns-network.c: Likewise.
25065         * resolv/res_init.c: Likewise.
25066         * resolv/res_mkquery.c: Likewise.
25067         * resolv/tst-aton.c: Likewise.
25068         * stdlib/cxa_atexit.c: Likewise.
25069         * stdlib/cxa_finalize.c: Likewise.
25070         * stdlib/gen-fpioconst.c: Likewise.
25071         * stdlib/strtol_l.c: Likewise.
25072         * string/tst-endian.c: Likewise.
25073         * sunrpc/auth_des.c: Likewise.
25074         * sunrpc/clnt_udp.c: Likewise.
25075         * sunrpc/rtime.c: Likewise.
25076         * sunrpc/svcauth_des.c: Likewise.
25077         * sunrpc/xdr.c: Likewise.
25078         * sunrpc/xdr_intXX_t.c: Likewise.
25079         * sunrpc/xdr_rec.c: Likewise.
25080         * sysdeps/generic/ldconfig.h: Likewise.
25081         * sysdeps/generic/ldsodefs.h: Likewise.
25082         * sysdeps/generic/memusage.h: Likewise.
25083         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25084         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25085         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25086         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25087         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25088         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25089         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25090         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25091         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25092         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25093         * sysdeps/posix/getaddrinfo.c: Likewise.
25094         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25095         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25096         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25097         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25098         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25099         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25100         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25101         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25102         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25103         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25104         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25105         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25106         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25107         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25108         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25109         * sysdeps/x86_64/dl-tls.h: Likewise.
25110         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25111         * time/alt_digit.c: Likewise.
25112         * time/era.c: Likewise.
25113         * wcsmbs/tst-c16c32-1.c: Likewise.
25114
25115 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25116
25117         * math/libm-test.inc (struct test_sincos_data): New type.
25118         (RUN_TEST_LOOP_sincos): New macro.
25119         (sincos_test_data): New variable.
25120         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25121
25122 2013-05-16  Richard Henderson  <rth@redhat.com>
25123
25124         * math/atest-exp2.c (LIMB64): New macro.
25125         (CONSTSZ): New macro.
25126         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25127         (hexdig): Move ...
25128         (print_mpn_fp): ... to function scope.
25129         (read_mpn_hex): Remove.
25130         (get_log2): Remove.
25131         (exp2_mpn): Use mp_log2.
25132         (main): Use mp_exp1.
25133
25134 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25135
25136         * math/libm-test.inc: Remove comment about not testing "inexact"
25137         exceptions.
25138         (INEXACT_EXCEPTION): New macro.
25139         (NO_INEXACT_EXCEPTION): Likewise.
25140         (INVALID_EXCEPTION_OK): Update value.
25141         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25142         (OVERFLOW_EXCEPTION_OK): Likewise.
25143         (UNDERFLOW_EXCEPTION_OK): Likewise.
25144         (IGNORE_ZERO_INF_SIGN): Likewise.
25145         (ERRNO_UNCHANGED): Likewise.
25146         (ERRNO_EDOM): Likewise.
25147         (ERRNO_ERANGE): Likewise.
25148         (test_exceptions): Handle testing "inexact" exceptions.
25149         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25150         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25151         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25152         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25153         INEXACT_EXCEPTION.
25154         (rint_towardzero_test_data): Likewise.
25155         (rint_downward_test_data): Likewise.
25156         (rint_upward_test_data): Likewise.
25157
25158         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25159         with OVERFLOW_EXCEPTION.
25160         (exp10_test_data): Likewise.
25161         (exp2_test_data): Likewise.
25162         (expm1_test_data): Likewise.
25163         (lgamma_test_data): Likewise.
25164         (pow_test_data): Likewise.
25165         (tgamma_test_data): Likewise.
25166         (yn_test_data): Remove duplicate test of overflow.
25167
25168         * math/libm-test.inc (struct test_cc_c_data): New type.
25169         (RUN_TEST_LOOP_cc_c): New macro.
25170         (cpow_test_data): New variable.
25171         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25172
25173         * math/libm-test.inc (struct test_f_L_data): New type.
25174         (RUN_TEST_LOOP_f_L): New macro.
25175         (llrint_test_data): New variable.
25176         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25177         (llrint_tonearest_test_data): New variable.
25178         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25179         (llrint_towardzero_test_data): New variable.
25180         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25181         (llrint_downward_test_data): New variable.
25182         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25183         (llrint_upward_test_data): New variable.
25184         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25185         (llround_test_data): New variable.
25186         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25187
25188 2013-05-13  Peter Collingbourne  <pcc@google.com>
25189
25190         * math/atest-exp2.c (get_log2): Remove const attribute.
25191
25192 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25193
25194         * math/libm-test.inc (struct test_f_l_data): New type.
25195         (RUN_TEST_LOOP_f_l): New macro.
25196         (lrint_test_data): New variable.
25197         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25198         (lrint_tonearest_test_data): New variable.
25199         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25200         (lrint_towardzero_test_data): New variable.
25201         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25202         (lrint_downward_test_data): New variable.
25203         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25204         (lrint_upward_test_data): New variable.
25205         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25206         (lround_test_data): New variable.
25207         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25208
25209 2013-05-15  Peter Collingbourne  <pcc@google.com>
25210
25211         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25212         (EXTRACT_WORDS64) Use where appropriate.
25213         (INSERT_WORDS64) Likewise.
25214
25215         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25216         constraints with x constraints.
25217         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25218
25219         * malloc/obstack.c (_obstack_compat): Add initializer.
25220
25221 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25222
25223         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25224         si_trapno and add si_addr_lsb to _sifields.sigfault.
25225         (si_trapno): Remove macro.
25226         (si_addr_lsb): Define new macro.
25227         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25228
25229 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25230
25231         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25232         instead of TEST_f_l.
25233         (llrint_test_tonearest): Likewise.
25234         (llrint_test_towardzero): Likewise.
25235         (llrint_test_downward): Likewise.
25236         (llrint_test_upward): Likewise.
25237         (llround_test): Likewise.
25238
25239         * math/libm-test.inc (struct test_f_i_data): Add comment.
25240         (RUN_TEST_LOOP_f_b): New macro.
25241         (RUN_TEST_LOOP_f_b_tg): Likewise.
25242         (finite_test_data): New variable.
25243         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25244         (isfinite_test_data): New variable.
25245         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25246         (isinf_test_data): New variable.
25247         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25248         (isnan_test_data): New variable.
25249         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25250         (isnormal_test_data): New variable.
25251         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25252         (issignaling_test_data): New variable.
25253         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25254         (signbit_test_data): New variable.
25255         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25256
25257         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25258         with INVALID_EXCEPTION.
25259         (acosh_test_data): Likewise.
25260         (asin_test_data): Likewise.
25261         (atanh_test_data): Likewise.
25262         (fmod_test_data): Likewise.
25263         (log_test_data): Likewise.
25264         (log10_test_data): Likewise.
25265         (log2_test_data): Likewise.
25266         (pow_test_data): Likewise.
25267         (sqrt_test_data): Likewise.
25268         (y0_test_data): Likewise.
25269         (y1_test_data): Likewise.
25270         (yn_test_data): Likewise.
25271
25272         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25273         function contents.
25274
25275         * math/libm-test.inc (struct test_ff_i_data): New type.
25276         (RUN_TEST_LOOP_ff_i_tg): New macro.
25277         (isgreater_test_data): New variable.
25278         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25279         (isgreaterequal_test_data): New variable.
25280         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25281         (isless_test_data): New variable.
25282         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25283         (islessequal_test_data): New variable.
25284         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25285         (islessgreater_test_data): New variable.
25286         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25287         (isunordered_test_data): New variable.
25288         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25289
25290 2013-05-14  David S. Miller  <davem@davemloft.net>
25291
25292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25293
25294 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25295
25296         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25297
25298         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25299         extra_test to int.
25300         (struct test_f_i_data): Change type of max_ulp to int.
25301
25302         * math/libm-test.inc (test_ffI_f1_data): New type.
25303         (RUN_TEST_LOOP_ffI_f1): New macro.
25304         (remquo_test_data): New variable.
25305         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25306
25307         * setjmp/tst-setjmp-fp.c: New file.
25308         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25309         (link-libm): New variable.
25310         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25311
25312         * math/libm-test.inc (struct test_f_i_data): New type.
25313         (RUN_TEST_LOOP_f_i): New macro.
25314         (RUN_TEST_LOOP_f_i_tg): Likewise.
25315         (fpclassify_test_data): New variable.
25316         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25317         (ilogb_test_data): New variable.
25318         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25319
25320         * math/libm-test.inc (scalbln_test): Correct function name in END
25321         call.
25322
25323         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25324         (RUN_TEST_LOOP_fI_f1): New macro.
25325         (frexp_test_data): New variable.
25326         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25327
25328         * math/libm-test.inc (struct test_fF_f1_data): New type.
25329         (RUN_TEST_LOOP_fF_f1): New macro.
25330         (modf_test_data): New variable.
25331         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25332
25333         * math/libm-test.inc (struct test_f_f1_data): New type.
25334         (RUN_TEST_LOOP_f_f1): New macro.
25335         (gamma_test_data): New variable.
25336         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25337         (lgamma_test_data): New variable.
25338         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25339
25340 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25341
25342         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25343         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25344         (main): Comment "tls" pseudo-hwcap.
25345
25346 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25347
25348         * math/libm-test.inc (struct test_fl_f_data): New type.
25349         (RUN_TEST_LOOP_fl_f): New variable.
25350         (scalbln_test_data): New variable.
25351         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25352
25353         * math/libm-test.inc (struct test_fi_f_data): New type.
25354         (RUN_TEST_LOOP_fi_f): New macro.
25355         (ldexp_test_data): New variable.
25356         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25357         (scalbn_test_data): New variable.
25358         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25359
25360         * math/libm-test.inc (struct test_c_f_data): New type.
25361         (RUN_TEST_LOOP_c_f): New macro.
25362         (cabs_test_data): New variable.
25363         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25364         (carg_test_data): New variable.
25365         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25366         (cimag_test_data): New variable.
25367         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25368         (creal_test_data): New variable.
25369         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25370
25371         * math/libm-test.inc (struct test_if_f_data): New type.
25372         (RUN_TEST_LOOP_if_f): New macro.
25373         (jn_test_data): New variable.
25374         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25375         (yn_test_data): New variable.
25376         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25377
25378         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25379
25380 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25381
25382         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25383         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25384
25385 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25386
25387         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25388         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25389         (bench-deps): Add bench-timing.h.
25390         * benchtests-bench-skeleton.c: Include bench-timing.h.
25391         (main): Use TIMING_* macros instead of clock_gettime.
25392         * benchtests/bench-timing.h: New file.
25393
25394         [BZ #14582]
25395         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25396         Renamed from _LIB_VERSION.
25397         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25398
25399 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25400
25401         * math/libm-test.inc (struct test_fff_f_data): New type.
25402         (RUN_TEST_LOOP_fff_f): New macro.
25403         (fma_test_data): New variable.
25404         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25405         (fma_towardzero_test_data): New variable.
25406         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25407         (fma_downward_test_data): New variable.
25408         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25409         (fma_upward_test_data): New variable.
25410         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25411
25412         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25413         (struct test_c_c_data): New type.
25414         (RUN_TEST_LOOP_c_c): New macro.
25415         (cacos_test_data): New variable.
25416         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25417         (cacosh_test_data): New variable.
25418         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25419         (casin_test_data): New variable.
25420         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25421         (casinh_test_data): New variable.
25422         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25423         (catan_test_data): New variable.
25424         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25425         (catanh_test_data): New variable.
25426         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25427         (ccos_test_data): New variable.
25428         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25429         (ccosh_test_data): New variable.
25430         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25431         (cexp_test_data): New variable.
25432         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25433         (clog_test_data): New variable.
25434         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25435         (clog10_test_data): New variable.
25436         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25437         (conj_test_data): New variable.
25438         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25439         (cproj_test_data): New variable.
25440         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25441         (csin_test_data): New variable.
25442         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25443         (csinh_test_data): New variable.
25444         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25445         (csqrt_test_data): New variable.
25446         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25447         (ctan_test_data): New variable.
25448         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25449         (ctan_tonearest_test_data): New variable.
25450         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25451         (ctan_towardzero_test_data): New variable.
25452         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25453         (ctan_downward_test_data): New variable.
25454         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25455         (ctan_upward_test_data): New variable.
25456         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25457         (ctanh_test_data): New variable.
25458         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25459         (ctanh_tonearest_test_data): New variable.
25460         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25461         (ctanh_towardzero_test_data): New variable.
25462         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25463         (ctanh_downward_test_data): New variable.
25464         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25465         (ctanh_upward_test_data): New variable.
25466         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25467         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25468         of BUILD_COMPLEX.
25469
25470         * math/libm-test.inc (struct test_ff_f_data): New type.
25471         (struct test_ff_f_data_nexttoward): Likewise.
25472         (RUN_TEST_LOOP_2_f): New macro.
25473         (RUN_TEST_LOOP_ff_f): Likewise.
25474         (atan2_test_data): New variable.
25475         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25476         (copysign_test_data): New variable.
25477         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25478         (fdim_test_data): New variable.
25479         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25480         (fmax_test_data): New variable.
25481         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25482         (fmin_test_data): New variable.
25483         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25484         (fmod_test_data): New variable.
25485         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25486         (hypot_test_data): New variable.
25487         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25488         (nextafter_test_data): New variable.
25489         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25490         (nexttoward_test_data): New variable.
25491         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25492         (pow_test_data): New variable.
25493         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25494         (pow_tonearest_test_data): New variable.
25495         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25496         (pow_towardzero_test_data): New variable.
25497         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25498         (pow_downward_test_data): New variable.
25499         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25500         (pow_upward_test_data): New variable.
25501         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25502         (remainder_test_data): New variable.
25503         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25504         (scalb_test_data): New variable.
25505         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25506         * sysdeps/i386/fpu/libm-test-ulps: Update.
25507
25508 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25509
25510         * math/libm-test.inc (fma_test): Use max_value instead of local
25511         variable fltmax.
25512         (nextafter_test): Likewise.
25513
25514         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25515         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25516         (acos_downward_test_data): New variable.
25517         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25518         (acos_upward_test_data): New variable.
25519         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25520         (acosh_test_data): New variable.
25521         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25522         (asin_test_data): New variable.
25523         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25524         (asin_tonearest_test_data): New variable.
25525         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25526         (asin_towardzero_test_data): New variable.
25527         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25528         (asin_downward_test_data): New variable.
25529         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25530         (asin_upward_test_data): New variable.
25531         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25532         (asinh_test_data): New variable.
25533         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25534         (atan_test_data): New variable.
25535         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25536         (atanh_test_data): New variable.
25537         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25538         (cbrt_test_data): New variable.
25539         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25540         (ceil_test_data): New variable.
25541         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25542         (cos_test_data): New variable.
25543         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25544         (cos_tonearest_test_data): New variable.
25545         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25546         (cos_towardzero_test_data): New variable.
25547         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25548         (cos_downward_test_data): New variable.
25549         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25550         (cos_upward_test_data): New variable.
25551         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25552         (cosh_test_data): New variable.
25553         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25554         (cosh_tonearest_test_data): New variable.
25555         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25556         (cosh_towardzero_test_data): New variable.
25557         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25558         (cosh_downward_test_data): New variable.
25559         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25560         (cosh_upward_test_data): New variable.
25561         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25562         (erf_test_data): New variable.
25563         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25564         (erfc_test_data): New variable.
25565         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25566         (exp_test_data): New variable.
25567         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25568         (exp_tonearest_test_data): New variable.
25569         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25570         (exp_towardzero_test_data): New variable.
25571         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25572         (exp_downward_test_data): New variable.
25573         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25574         (exp_upward_test_data): New variable.
25575         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25576         (exp10_test_data): New variable.
25577         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25578         (exp2_test_data): New variable.
25579         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25580         (expm1_test_data): New variable.
25581         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25582         (fabs_test_data): New variable.
25583         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25584         (floor_test_data): New variable.
25585         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25586         (j0_test_data): New variable.
25587         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25588         (j1_test_data): New variable.
25589         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25590         (log_test_data): New variable.
25591         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25592         (log10_test_data): New variable.
25593         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25594         (log1p_test_data): New variable.
25595         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25596         (log2_test_data): New variable.
25597         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25598         (logb_test_data): New variable.
25599         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25600         (logb_downward_test_data): New variable.
25601         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25602         (nearbyint_test_data): New variable.
25603         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25604         (rint_test_data): New variable.
25605         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25606         (rint_tonearest_test_data): New variable.
25607         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25608         (rint_towardzero_test_data): New variable.
25609         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25610         (rint_downward_test_data): New variable.
25611         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25612         (rint_upward_test_data): New variable.
25613         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25614         (round_test_data): New variable.
25615         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25616         (sin_test_data): New variable.
25617         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25618         (sin_tonearest_test_data): New variable.
25619         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25620         (sin_towardzero_test_data): New variable.
25621         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25622         (sin_downward_test_data): New variable.
25623         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25624         (sin_upward_test_data): New variable.
25625         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25626         (sinh_test_data): New variable.
25627         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25628         (sinh_tonearest_test_data): New variable.
25629         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25630         (sinh_towardzero_test_data): New variable.
25631         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25632         (sinh_downward_test_data): New variable.
25633         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25634         (sinh_upward_test_data): New variable.
25635         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25636         (sqrt_test_data): New variable.
25637         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25638         (tan_test_data): New variable.
25639         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25640         (tan_tonearest_test_data): New variable.
25641         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25642         (tan_towardzero_test_data): New variable.
25643         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25644         (tan_downward_test_data): New variable.
25645         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25646         (tan_upward_test_data): New variable.
25647         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25648         (tanh_test_data): New variable.
25649         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25650         (tgamma_test_data): New variable.
25651         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25652         (trunc_test_data): New variable.
25653         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25654         (y0_test_data): New variable.
25655         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25656         (y1_test_data): New variable.
25657         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25658         (significand_test_data): New variable.
25659         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25660
25661 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25662
25663         [BZ #12387]
25664         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25665
25666 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25667
25668         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25669
25670 2013-05-10  Andreas Jaeger  <aj@suse.de>
25671
25672         [BZ #15448]
25673         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25674         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25675
25676 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25677
25678         * math/gen-libm-test.pl (adjust_arg): New function.
25679         (special_functions): Handle generating output in both functions
25680         and arrays.
25681         (parse_args): Likewise.
25682         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25683         $in_func argument to parse_args.
25684         * math/libm-test.inc (struct test_f_f_data): New type.
25685         (IF_ROUND_INIT_): New macro.
25686         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25687         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25688         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25689         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25690         (ROUND_RESTORE_): Likewise.
25691         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25692         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25693         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25694         (ROUND_RESTORE_FE_UPWARD): Likewise.
25695         (RUN_TEST_LOOP_f_f): New macro.
25696         (acos_test_data): New variable.
25697         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25698         (acos_tonearest_test_data): New variable.
25699         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25700
25701 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25702
25703         * benchtests/bench-skeleton.c (startup): Fix coding style.
25704
25705 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25706
25707         [BZ #6809]
25708         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25709         negative infinity argument.
25710         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25711         negative infinity argument.
25712         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25713         negative infinity argument.
25714         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25715         domain errors.
25716
25717 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25718
25719         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25720         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25721         * iconv/iconv_prog.c (main): Likewise.
25722         * locale/programs/charmap-dir.c (charmap_readdir)
25723         (fopen_uncompressed): Likewise.
25724         * locale/programs/locfile.c (siblings_uncached)
25725         (write_locale_data): Use lstat64 instead of lstat.
25726         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25727         stat.
25728
25729 2013-05-10  Andreas Jaeger  <aj@suse.de>
25730
25731         [BZ #15395]
25732         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25733         localization.
25734         Include <locale.h>.
25735
25736 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
25737
25738         * elf/dl-close.c (_dl_close_worker): Add comments.
25739
25740 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
25741
25742         [BZ #15359]
25743         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25744         high part of pi/2.
25745         (__ieee754_rem_pio2l): Update comments.
25746
25747         [BZ #15429]
25748         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25749         high part of pi/2.
25750         (__ieee754_rem_pio2l): Update comments.
25751
25752         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25753         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25754
25755         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25756         M_PI_4l.
25757
25758         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25759         (M_PI_34_LOG10El): Likewise.
25760         (M_PI2_LOG10El): Likewise.
25761         (M_PI4_LOG10El): Likewise.
25762         (M_PI_LOG10El): Likewise.
25763
25764 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25765
25766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25767
25768 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
25769
25770         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25771         (MINUS_ZERO_INIT): Likewise.
25772         (PLUS_INFTY_INIT): Likewise.
25773         (MINUS_INFTY_INIT): Likewise.
25774         (QNAN_VALUE_INIT): Likewise.
25775         (MAX_VALUE_INIT): Likewise.
25776         (MIN_VALUE_INIT): Likewise.
25777         (MIN_SUBNORM_VALUE_INIT): Likewise.
25778         (plus_zero): Initialize with PLUS_ZERO_INIT.
25779         (minus_zero): Initialize with MINUS_ZERO_INIT.
25780         (plus_infty): Initialize with PLUS_INFTY_INIT.
25781         (minus_infty): Initialize with MINUS_INFTY_INIT.
25782         (qnan_value): Initialize with QNAN_VALUE_INIT.
25783         (max_value): Initialize with MAX_VALUE_INIT.
25784         (min_value): Initialize with MIN_VALUE_INIT.
25785         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25786
25787         * math/libm-test.inc (RUN_TEST_if_f): New macro.
25788         (jn_test): Use TEST_if_f instead of TEST_ff_f.
25789         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25790         (yn_test): Use TEST_if_f instead of TEST_ff_f.
25791
25792         * math/libm-test.inc (RUN_TEST_f_f): New macro.
25793         (RUN_TEST_2_f): Likewise.
25794         (RUN_TEST_ff_f): Likewise.
25795         (RUN_TEST_fi_f): Likewise.
25796         (RUN_TEST_fl_f): Likewise.
25797         (RUN_TEST_fff_f): Likewise.
25798         (RUN_TEST_c_f): Likewise.
25799         (RUN_TEST_f_f1): Likewise.
25800         (RUN_TEST_fF_f1): Likewise.
25801         (RUN_TEST_fI_f1): Likewise.
25802         (RUN_TEST_ffI_f1): Likewise.
25803         (RUN_TEST_c_c): Likewise.
25804         (RUN_TEST_cc_c): Likewise.
25805         (RUN_TEST_f_i): Likewise.
25806         (RUN_TEST_f_i_tg): Likewise.
25807         (RUN_TEST_ff_i_tg): Likewise.
25808         (RUN_TEST_f_b): Likewise.
25809         (RUN_TEST_f_b_tg): Likewise.
25810         (RUN_TEST_f_l): Likewise.
25811         (RUN_TEST_f_L): Likewise.
25812         (RUN_TEST_sincos): Likewise.
25813         * math/gen-libm-test.pl (new_test): Take new argument to indicate
25814         whether to show exceptions.  Do not include ");\n" in return
25815         value.
25816         (special_functions): Output call to RUN_TEST_sincos instead of
25817         check_float calls.  Update calls to new_test.
25818         (parse_args): Output call to single RUN_TEST_* macro instead of
25819         check_* calls and other assignments.  Update calls to new_test.
25820
25821         [BZ #2546]
25822         [BZ #2560]
25823         [BZ #5159]
25824         [BZ #15426]
25825         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25826         input to result for tgamma overflow.
25827         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25828         (gamma_coeff): New variable.
25829         (NCOEFF): New macro.
25830         (gamma_positive): New function.
25831         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25832         underflow here.  Use gamma_positive instead of exp (lgamma) for
25833         other arguments.
25834         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25835         (gamma_coeff): New variable.
25836         (NCOEFF): New macro.
25837         (gammaf_positive): New function.
25838         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25839         underflow here.  Use gamma_positive instead of exp (lgamma) for
25840         other arguments.
25841         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25842         (gamma_coeff): New variable.
25843         (NCOEFF): New macro.
25844         (gammal_positive): New function.
25845         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25846         underflow here.  Use gamma_positive instead of exp (lgamma) for
25847         other arguments.
25848         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25849         (gamma_coeff): New variable.
25850         (NCOEFF): New macro.
25851         (gammal_positive): New function.
25852         (__ieee754_gammal_r): Handle positive infinity, overflow and
25853         underflow here.  Handle NaN the same as positive infinity.  Remove
25854         check x < 0xffffffff for negative integers.  Use gamma_positive
25855         instead of exp (lgamma) for other arguments.
25856         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25857         (gamma_coeff): New variable.
25858         (NCOEFF): New macro.
25859         (gammal_positive): New function.
25860         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25861         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25862         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25863         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25864         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25865         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25866         * sysdeps/generic/math_private.h (__gamma_productf): New
25867         prototype.
25868         (__gamma_product): Likewise.
25869         (__gamma_productl): Likewise.
25870         * math/Makefile (libm-calls): Add gamma_product.
25871         * math/libm-test.inc (tgamma_test): Add more tests.
25872         * sysdeps/i386/fpu/libm-test-ulps: Update.
25873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25874
25875 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
25876
25877         * benchtests/bench-skeleton.c (main): Preheat CPU.
25878
25879 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
25880
25881         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25882
25883 2013-05-07  Roland McGrath  <roland@hack.frob.com>
25884
25885         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25886         and _dl_skip_args_internal.
25887
25888 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
25889
25890         * manual/message.texi (Message Translation): Talk about users.
25891         Message to key mapping impacts design.
25892
25893 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25894
25895         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25896
25897         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25898
25899         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25900         * sysdeps/wordsize-64/glob64.c: ... here.
25901
25902         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25903         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25904         New macros.
25905
25906         * debug/getlogin_r_chk.c: Moved to ...
25907         * login/getlogin_r_chk.c: ... here.
25908         * debug/Makefile (routines): Move getlogin_r_chk to ...
25909         * login/Makefile (routines): ... here.
25910         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25911         * login/Versions (libc: GLIBC_2.4): ... here.
25912
25913         * io/poll.c (__poll): Renamed from poll.
25914         Add libc_hidden_def.
25915         (poll): Define as weak alias.
25916
25917         * debug/ptsname_r_chk.c: Moved to ...
25918         * login/ptsname_r_chk.c: ... here.
25919         * debug/Makefile (routines): Move ptsname_r_chk to ...
25920         * login/Makefile (routines): ... here.
25921         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25922         * login/Versions (libc: GLIBC_2.4): ... here.
25923
25924         * posix/getlogin.c: Moved to ...
25925         * login/getlogin.c: ... here.
25926         * posix/getlogin_r.c: Moved to ...
25927         * login/getlogin_r.c: ... here.
25928         * posix/getlogin_r.c: Moved to ...
25929         * login/getlogin_r.c: ... here.
25930         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25931         * login/Makefile (routines): ... here.
25932         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25933         * login/Versions (libc: GLIBC_2.0): ... here.
25934
25935         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25936         (setrlimit): Define as weak alias.
25937
25938         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25939         Call __ names for open, ftruncate, and close.
25940         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25941         (truncate): Define as weak alias.
25942
25943 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
25944
25945         * math/gen-libm-test.pl (parse_args): Initialize x before each
25946         test of frexp, modf and remquo.
25947
25948         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25949         test signgam value.
25950
25951 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25952
25953         [BZ #15418]
25954         [BZ #15419]
25955         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25956         internal tests.
25957         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25958
25959 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25960
25961         * elf/dl-writev.h: New file.
25962         * elf/dl-misc.c: Include it.
25963         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25964         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25965
25966 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
25967
25968         * math/libm-test.inc (noXFails): Remove variable.
25969         (noXPasses): Likewise.
25970         (BUILD_COMPLEX_INT): Remove macro.
25971         (print_screen): Remove xfail argument.
25972         (print_screen_max_error): Likewise.
25973         (update_stats): Likewise.
25974         (print_max_error): Likewise.  Update calls to other affected
25975         functions.
25976         (print_complex_max_error): Likewise.
25977         (test_single_exception): Update calls to print_screen.
25978         (test_single_errno): Likewise.
25979         (check_float_internal): Remove xfail argument.  Update calls to
25980         other affected functions.
25981         (check_float): Likewise.
25982         (check_complex): Likewise.
25983         (check_int): Likewise.
25984         (check_long): Likewise.
25985         (check_bool): Likewise.
25986         (check_longlong): Likewise.
25987         (main): Don't print noXFails and noXPasses.
25988         * math/gen-libm-test.pl (top level): Don't mention expected
25989         failure handling in comment.
25990         (new_test): Don't handle expected failures.
25991         (parse_args): Don't mention expected failure handling in comment.
25992         (generate_testfile): Don't handle expected failures.
25993         (parse_ulps): Likewise.
25994         (print_ulps_file): Likewise.
25995         (get_failure): Remove function.
25996         (output_test): Don't handle expected failures.
25997         * make/README.libm-test: Don't mention expected failure handling.
25998
25999         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26000         (minus_zero): Likewise.
26001         (plus_infty): Likewise.
26002         (minus_infty): Likewise.
26003         (qnan_value): Likewise.
26004         (max_value): Likewise.
26005         (min_value): Likewise.
26006         (min_subnorm_value): Likewise.
26007         (initialize): Do not initialize those variables dynamically.
26008
26009 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26010
26011         * io/open.c (__open_2): Moved to ...
26012         * io/open_2.c: ... this new file.
26013         * io/open64.c (__open64_2): Moved to ...
26014         * io/open64_2.c: ... this new file.
26015         * io/openat.c (__openat_2): Moved to ...
26016         * io/openat_2.c: ... this new file.
26017         * io/openat64.c (__openat64_2): Moved to ...
26018         * io/openat64_2.c: ... this new file.
26019         * io/Makefile (routines): Add them.
26020         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26021         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26022         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26023         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26024         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26025         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26026         (__openat64): Add hidden_ver.
26027         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26028         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26029
26030         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26031         Separately conditionalize setting of GLRO(dl_sysinfo) so
26032         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26033         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26034
26035 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26036
26037         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26038         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26039         definition.
26040         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26041         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26042         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26043         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26044         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26045
26046 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26047
26048         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26049         test signgam value.
26050
26051         * math/libm-test.inc (hypot_test): Do not use
26052         IGNORE_ZERO_INF_SIGN.
26053
26054 2013-05-03  Andreas Jaeger  <aj@suse.de>
26055
26056         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26057         Linux 3.9.
26058         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26059         (PF_MAX): Adjust for VSOCK change.
26060
26061 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26062
26063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26064
26065 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26066
26067         [BZ #15264]
26068         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26069         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26070         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26071
26072 2013-05-02  David S. Miller  <davem@davemloft.net>
26073
26074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26075
26076 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26077
26078         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26079
26080 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26081
26082         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26083
26084 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26085
26086         [BZ #14952]
26087         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26088         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26089         Use __attribute__ ((__gnu_inline__)).
26090         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26091         Don't use __attribute__ ((__gnu_inline__)).
26092
26093 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26094
26095         [BZ #15423]
26096         * math/s_catan.c (__catan): Handle small real or imaginary part of
26097         input specially to avoid spurious underflow.
26098         * math/s_catanf.c (__catanf): Likewise.
26099         * math/s_catanh.c (__catanh): Likewise.
26100         * math/s_catanhf.c (__catanhf): Likewise.
26101         * math/s_catanhl.c (__catanhl): Likewise.
26102         * math/s_catanl.c (__catanl): Likewise.
26103         * math/libm-test.inc (catan_test): Add more tests.
26104         (catanh_test): Likewise.
26105         * sysdeps/i386/fpu/libm-test-ulps: Update.
26106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26107
26108 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26109
26110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26111
26112 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26113
26114         [BZ #15416]
26115         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26116         accurately for denominator in atan2.
26117         * math/s_catanf.c (__catanf): Likewise.
26118         * math/s_catanh.c (__catanh): Likewise.
26119         * math/s_catanhf.c (__catanhf): Likewise.
26120         * math/s_catanhl.c (__catanhl): Likewise.
26121         * math/s_catanl.c (__catanl): Likewise.
26122         * math/libm-test.inc (catan_test): Add more tests.
26123         (catanh_test): Likewise.
26124         * sysdeps/i386/fpu/libm-test-ulps: Update.
26125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26126
26127 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26128
26129         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26130
26131         * benchtests/Makefile (bench): Remove slow benchmarks.
26132         * benchtests/atan-inputs: Add slow benchmark inputs.
26133         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26134         (BENCH_FUNC): Accept variant offset.
26135         (VARIANT): Define.
26136         * benchtests/bench-skeleton.c (main): Run benchmark for each
26137         variant.
26138         * benchtests/cos-inputs: Add slow benchmark inputs.
26139         * benchtests/exp-inputs: Likewise.
26140         * benchtests/pow-inputs: Likewise.
26141         * benchtests/sin-inputs: Likewise.
26142         * benchtests/slowatan-inputs: Remove.
26143         * benchtests/slowatan.c: Remove.
26144         * benchtests/slowcos-inputs: Remove.
26145         * benchtests/slowcos.c: Remove.
26146         * benchtests/slowexp-inputs: Remove.
26147         * benchtests/slowexp.c: Remove.
26148         * benchtests/slowpow-inputs: Remove.
26149         * benchtests/slowpow.c: Remove.
26150         * benchtests/slowsin-inputs: Remove.
26151         * benchtests/slowsin.c: Remove.
26152         * benchtests/slowtan-inputs: Remove.
26153         * benchtests/slowtan.c: Remove.
26154         * benchtests/tan-inputs: Add slow benchmark inputs.
26155         * scripts/bench.pl: Parse comments and directives.
26156
26157         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26158         in CPPFLAGS.
26159         ($(objpfx)bench-%.c): Remove *-ITER.
26160         * benchtests/bench-modf.c: Remove definition of ITER.
26161         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26162         (main): Loop for DURATION seconds instead of fixed number of
26163         iterations.
26164         * scripts/bench.pl: Don't expect iterations in parameters.
26165
26166 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26167
26168         * io/fchdir.c (__fchdir): Renamed from fchdir.
26169         (fchdir): Define as weak alias.
26170
26171 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26172
26173         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26174         (ERRNO_EDOM): Likewise.
26175         (ERRNO_ERANGE): Likewise.
26176         (noErrnoTests): New variable.
26177         (init_max_error): Set errno to 0.
26178         (test_single_errno): New function.
26179         (test_errno): Likewise.
26180         (check_float_internal): Call test_errno.  Set errno to 0.
26181         (check_complex): Refer to errno tests in comment.
26182         (check_int): Call test_errno.  Set errno to 0.
26183         (check_long): Likewise.
26184         (check_bool): Likewise.
26185         (check_longlong): Likewise.
26186         (cos_test): Use ERRNO_* flags for errno tests instead of
26187         check_int.
26188         (expm1_test): Likewise.
26189         (fmod_test): Likewise.
26190         (ilogb_test): Likewise.
26191         (lgamma_test): Likewise.
26192         (pow_test): Likewise.
26193         (remainder_test): Likewise.
26194         (sin_test): Likewise.
26195         (tan_test): Likewise.
26196         (yn_test): Likewise.
26197         (initialize): Set errno to 0.
26198         (main): Print number of errno tests.
26199         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26200
26201 2013-04-29  Andreas Jaeger  <aj@suse.de>
26202
26203         [BZ #15084]
26204         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26205         and RES_USEVC.
26206
26207         [BZ #15085]
26208         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26209         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26210         unimplemented.
26211
26212         [BZ #15380]
26213         * stdlib/random.c (__initstate): Return NULL if
26214         __initstate fails.
26215
26216         [BZ #15086]
26217         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26218         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26219         RES_SNGLKUPREOP.
26220
26221 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26222
26223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26224
26225 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26226
26227         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26228         of individual tests.
26229         (casin_test): Likewise.
26230         (casinh_test): Likewise.
26231
26232 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26233
26234         [BZ #15409]
26235         * math/s_catan.c (__catan): Handle arguments with large real or
26236         imaginary part separately without squaring.
26237         * math/s_catanf.c (__catanf): Likewise.
26238         * math/s_catanh.c (__catanh): Likewise.
26239         * math/s_catanhf.c (__catanhf): Likewise.
26240         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26241         and redefine.
26242         (__catanhl): Handle arguments with large real or imaginary part
26243         separately without squaring.
26244         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26245         and redefine.
26246         (__catanl): Handle arguments with large real or imaginary part
26247         separately without squaring.
26248         * math/libm-test.inc (catan_test): Add more tests.
26249         (catanh_test): Likewise.
26250         * sysdeps/i386/fpu/libm-test-ulps: Update.
26251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26252
26253 2013-04-27  Andreas Jaeger  <aj@suse.de>
26254
26255         [BZ #15007]
26256         * stdlib/stdlib.h: Update guards for qecvt.
26257         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26258         <stdlib.h>.
26259
26260 2013-04-27  Allan McRae  <allan@archlinux.org>
26261
26262         * sysdeps/i386/fpu/libm-test-ulps: Update.
26263
26264 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26265
26266         [BZ #15406]
26267         * math/s_catan.c: Include <float.h>.
26268         (__catan): Ensure underflow exception occurs for underflowed
26269         result.
26270         * math/s_catanf.c: Include <float.h>.
26271         (__catanf): Ensure underflow exception occurs for underflowed
26272         result.
26273         * math/s_catanh.c: Include <float.h>.
26274         (__catanh): Ensure underflow exception occurs for underflowed
26275         result.
26276         * math/s_catanhf.c: Include <float.h>.
26277         (__catanhf): Ensure underflow exception occurs for underflowed
26278         result.
26279         * math/s_catanhl.c: Include <float.h>.
26280         (__catanhl): Ensure underflow exception occurs for underflowed
26281         result.
26282         * math/s_catanl.c: Include <float.h>.
26283         (__catanl): Ensure underflow exception occurs for underflowed
26284         result.
26285         * math/libm-test.inc (catan_test): Add more tests.
26286         (catanh_test): Likewise.
26287
26288         [BZ #15405]
26289         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26290         underflowed result.
26291         * math/s_ccoshf.c (__ccoshf): Likewise.
26292         * math/s_ccoshl.c (__ccoshl): Likewise.
26293         * math/s_csin.c (__csin): Likewise.
26294         * math/s_csinf.c (__csinf): Likewise.
26295         * math/s_csinh.c (__csinh): Likewise.
26296         * math/s_csinhf.c (__csinhf): Likewise.
26297         * math/s_csinhl.c (__csinhl): Likewise.
26298         * math/s_csinl.c (__csinl): Likewise.
26299         * math/libm-test.inc (ccos_test): Add more tests.
26300         (ccosh_test): Likewise.
26301         (csin_test): Likewise.
26302         (csinh_test): Likewise.
26303
26304 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26305
26306         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26307         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26308         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26309         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26310         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26311         powerpc/power5+/fpu folders.
26312         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26313
26314
26315 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26316
26317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26318
26319 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26320
26321         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26322         additions to variable.
26323         [$(config-machine) = x86_64] (modules-names): Likewise.
26324         ($(objpfx)tst-audit3): Remove dependency.
26325         ($(objpfx)tst-audit3.out): Likewise.
26326         ($(objpfx)tst-audit4): Likewise.
26327         ($(objpfx)tst-audit4.out): Likewise.
26328         ($(objpfx)tst-audit5): Likewise.
26329         ($(objpfx)tst-audit5.out): Likewise.
26330         ($(objpfx)tst-audit6): Likewise.
26331         ($(objpfx)tst-audit6.out): Likewise.
26332         ($(objpfx)tst-audit7): Likewise.
26333         ($(objpfx)tst-audit7.out): Likewise.
26334         (tst-audit3-ENV): Remove variable.
26335         (tst-audit4-ENV): Likewise.
26336         (tst-audit5-ENV): Likewise.
26337         (tst-audit6-ENV): Likewise.
26338         (tst-audit7-ENV): Likewise.
26339         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26340         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26341         addition to variable.
26342         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26343         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26344         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26345         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26346         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26347         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26348         tst-audit3, tst-audit4 and tst-audit5.
26349         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26350         tst-audit6 and tst-audit7.
26351         [$(subdir) = elf] (modules-names): Add audit modules for those
26352         tests.
26353         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26354         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26355         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26356         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26357         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26358         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26359         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26360         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26361         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26362         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26363         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26364         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26365         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26366         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26367         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26368         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26369         Likewise.
26370         [$(subdir) = elf && $(config-cflags-avx) = yes]
26371         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26372         [$(subdir) = elf && $(config-cflags-avx) = yes]
26373         (CFLAGS-tst-auditmod4a.c): Likewise.
26374         [$(subdir) = elf && $(config-cflags-avx) = yes]
26375         (CFLAGS-tst-auditmod4b.c): Likewise.
26376         [$(subdir) = elf && $(config-cflags-avx) = yes]
26377         (CFLAGS-tst-auditmod6b.c): Likewise.
26378         [$(subdir) = elf && $(config-cflags-avx) = yes]
26379         (CFLAGS-tst-auditmod6c.c): Likewise.
26380         [$(subdir) = elf && $(config-cflags-avx) = yes]
26381         (CFLAGS-tst-auditmod7b.c): Likewise.
26382         * elf/tst-audit3.c: Move to ...
26383         * sysdeps/x86_64/tst-audit3.c: ... here.
26384         * elf/tst-audit4.c: Move to ...
26385         * sysdeps/x86_64/tst-audit4.c: ... here.
26386         * elf/tst-audit5.c: Move to ...
26387         * sysdeps/x86_64/tst-audit5.c: ... here.
26388         * elf/tst-audit6.c: Move to ...
26389         * sysdeps/x86_64/tst-audit6.c: ... here.
26390         * elf/tst-audit7.c: Move to ...
26391         * sysdeps/x86_64/tst-audit7.c: ... here.
26392         * elf/tst-auditmod3a.c: Move to ...
26393         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26394         * elf/tst-auditmod3b.c: Move to ...
26395         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26396         * elf/tst-auditmod4a.c: Move to ...
26397         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26398         * elf/tst-auditmod4b.c: Move to ...
26399         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26400         * elf/tst-auditmod5a.c: Move to ...
26401         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26402         * elf/tst-auditmod5b.c: Move to ...
26403         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26404         * elf/tst-auditmod6a.c: Move to ...
26405         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26406         * elf/tst-auditmod6b.c: Move to ...
26407         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26408         * elf/tst-auditmod6c.c: Move to ...
26409         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26410         * elf/tst-auditmod7a.c: Move to ...
26411         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26412         * elf/tst-auditmod7b.c: Move to ...
26413         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26414
26415 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26416
26417         [BZ #15366]
26418         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26419         define unconditionally.
26420         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26421         define unconditionally.
26422         (INT8_C, INT16_C, etc.): Likewise.
26423
26424 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26425
26426         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26427         __ehdr_start with hidden visibility.
26428
26429         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26430
26431 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26432
26433         * math/libm-test.inc (cos_test): Use accurate hex constants.
26434         (sincost_test): Likewise.
26435
26436 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26437
26438         * math/libm-test.inc (catan_test): Add more tests.
26439         (catanh_test): Likewise.
26440
26441         * math/s_catanf.c (__catanf): Use suffixed floating-point
26442         constants.
26443         * math/s_catanhf.c (__catanhf): Likewise.
26444         * math/s_catanhl.c (__catanhl): Likewise.
26445         * math/s_catanl.c (__catanl): Likewise.
26446
26447         [BZ #15394]
26448         * math/s_catan.c (__catan): Calculate imaginary part of result
26449         with log1p not log unless computing log of number close to 0.
26450         * math/s_catanf.c (__catanf): Likewise.
26451         * math/s_catanl.c (__catanl): Likewise.
26452         * math/s_catanh.c (__catanh): Calculate real part of result with
26453         log1p not log unless computing log of number close to 0.
26454         * math/s_catanhf.c (__catanhf): Likewise.
26455         * math/s_catanhl.c (__catanhl): Likewise.
26456         * math/libm-test.inc (catan_test): Add more tests.
26457         (catanh_test): Likewise.
26458         * sysdeps/i386/fpu/libm-test-ulps: Update.
26459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26460
26461 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26462
26463         * benchtests/Makefile: Mention files in which fast and slow
26464         paths of math functions are implemented.
26465
26466 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26467
26468         * sysdeps/posix/timespec_get.c: New file.
26469
26470 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26471
26472         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26473         POWER.
26474         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26475         for POWER.
26476         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26477         powerpc/power5/fpu folders.
26478         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26479         * benchtests/Makefile: Add modf testcase.
26480         * benchtests/bench-modf.c: New file: Benchmark test for mo
26481
26482 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26483
26484         [BZ #14888]
26485         * time/Makefile (tests): Add tst-strptime-whitespace.
26486         * time/strptime_l.c (get_number): Use ISSPACE.
26487         (__strptime_internal): Likewise.
26488         * time/tst-strptime-whitespace.c: New test case.
26489
26490 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26491
26492         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26493         member.
26494         (_nss_files_init): Set it here.
26495
26496 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26497
26498         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26499         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26500         unsigned.
26501
26502 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26503
26504         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26505
26506 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26507
26508         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26509         size just once.
26510
26511 2013-04-21  David S. Miller  <davem@davemloft.net>
26512
26513         * po/ru.po: Update Russion translation from translation project.
26514
26515 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26516
26517         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26518         and setfsgid.
26519
26520 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26521
26522         * configure.in: Remove i386 configure warning. Remove i386 case.
26523         * configure: Regenerate.
26524         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26525         Add example to error message.
26526         * sysdeps/i386/configure: Regenerate.
26527
26528 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26529
26530         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26531         slowtan.
26532         * benchtests/cos-inputs: New file.
26533         * benchtests/slowcos-inputs: New file.
26534         * benchtests/slowcos.c: New file.
26535         * benchtests/slowtan-inputs: New file.
26536         * benchtests/slowtan.c: New file.
26537         * benchtests/tan-inputs: New file.
26538
26539 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26540
26541         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26542         considered kosher.
26543
26544 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26545
26546         * benchtests/Makefile: Include cppflags-iterator.mk to add
26547         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26548
26549         * Makefile.in (bench-clean): New target.
26550         * benchtests/Makefile (bench-clean): Likewise.
26551
26552 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26553
26554         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26555
26556 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26557
26558         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26559
26560 2013-04-15  Andreas Schwab  <schwab@suse.de>
26561
26562         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26563         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26564         * nscd/pwdcache.c (cache_addpw): Likewise.
26565         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26566         more than recsize.
26567
26568 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26569
26570         * benchtests/Makefile (bench): Write all output to
26571         bench-out.tmp together.
26572
26573 2013-04-15  Andreas Schwab  <schwab@suse.de>
26574
26575         * nscd/nscd.c (main): Don't fork again after closing files.
26576
26577 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26578
26579         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26580
26581         * benchtests/Rules (bench-deps): Collect dependencies into a
26582         single variable.  Add Makefile to dependencies.
26583         ($(objpfx)bench-%.c): Depend on bench-deps.
26584
26585 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26586             Xavier Roche  <roche+kml2@exalead.com>
26587
26588         [BZ #15361]
26589         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26590         just that it's a file descriptor.
26591         * manual/llio.texi (Synchronizing AIO Operations): Update description
26592         for EBADF error from aio_fsync.
26593
26594 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26595
26596         * Rules (bench): Move target definition...
26597         * benchtests/Makefile: ... here.
26598
26599 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26600
26601         * math/libm-test.inc (cos_test): Fix PI/2 test.
26602         (sincos_test): Likewise.
26603         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26604         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26605
26606 2013-04-11  Andreas Schwab  <schwab@suse.de>
26607
26608         [BZ #13988]
26609         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26610         accept exponent character only when digits were seen.
26611         * stdio-common/Makefile (tests): Add bug26.
26612         * stdio-common/bug26.c: New file.
26613
26614         [BZ #14293]
26615         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26616         non-freeable.
26617
26618 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26619
26620         * Makeconfig (rtld-prefix): Define built linker prefix.
26621         * Rules (run-bench): Use it.
26622         * math/Makefile (run-regen-ulps): Likewise.
26623
26624         * Rules (bench): Remove eval.
26625
26626 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26627             Roland McGrath  <roland@hack.frob.com>
26628             Ondrej Bilka  <neleai@seznam.cz>
26629
26630         [BZ #15346]
26631         * time/getdate.c: Include ctype.h and alloca.h.
26632         (__getdate_r): Trim leading and trailing spaces of input.
26633         * time/tst-getdate.c (tests): Add tests with leading and
26634         trailing spaces.
26635
26636 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26637
26638         [BZ #14280]
26639         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26640         when computing value.
26641
26642 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26643
26644         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26645         Use testrun.sh to run libm tests.
26646
26647         [BZ #15309]
26648         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26649
26650 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26651
26652         [BZ #15264]
26653         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26654
26655 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26656
26657         * Makefile.in (regen-ulps): New target.
26658         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26659         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26660         [ifneq (no,$(PERL)] (regen-ulps): New target.
26661         [ifeq (no,$(PERL)] (regen-ulps): New target.
26662         * math/libm-test.inc (ulps_file_name): Define.
26663         (output_dir): New variable.
26664         (options): Add "output-dir" option.
26665         (parse_opt): Handle 'o' case.
26666         (main): If output_dir is non-NULL use it as a prefix
26667         otherwise use "".
26668         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26669
26670 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26671
26672         [BZ #10060, #10062]
26673         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26674         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26675         fail configure if __sync_val_compare_and_swap is not inlined.
26676         * sysdeps/i386/configure: Regenerate.
26677         * configure.in: Build for i686 when configured for i386.
26678         * configure: Regenerate.
26679         * README: Remove i386 reference.
26680
26681 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26682
26683         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26684         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26685
26686 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26687
26688         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26689         (lmsnanval): New variables.
26690         (F): Add conversion tests.
26691         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26692         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26693
26694         * stdio-common/tstdiomisc.c (F): Properly collect individual
26695         tests' results.
26696
26697         [BZ #14686, #15336]
26698         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26699         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26700         Instead, use input NaN values or generate a qNaN by arithmetic
26701         operation.  Also fix bugs to comply with the standard.
26702         * math/libm-test.inc (remainder_test): Add more tests.
26703
26704         [BZ #15335, #15342]
26705         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26706         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26707         input NaN values or generate a qNaN by arithmetic operation.
26708
26709         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26710         unreachable code.
26711
26712         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26713         definitions.
26714
26715 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26716
26717         [BZ #14478]
26718         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26719         underflowed result.
26720         * math/s_cexpf.c (__cexpf): Likewise.
26721         * math/s_cexpl.c (__cexpl): Likewise.
26722         * math/libm-test.inc (cexp_test): Add more tests.
26723
26724 2013-04-03  Andreas Schwab  <schwab@suse.de>
26725
26726         [BZ #15330]
26727         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26728         order arrays from heap if bigger than alloca cutoff.
26729
26730 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26731
26732         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26733         (SNAN_TESTS_double): Refer to GCC PR56831.
26734         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26735         GCC PR56828.
26736
26737 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26738
26739         * Rules (bench): Move bench.out after the run is complete.
26740
26741         * Rules (bench): Echo currently running benchmark.
26742
26743         * benchtests/Makefile (bench): Add atan and slowatan.
26744         * benchtests/atan-inputs: New file.
26745         * benchtests/slowatan-inputs: New file.
26746         * benchtests/slowatan.c: New file.
26747
26748         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26749         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26750         its value.
26751
26752         [BZ #15305]
26753         * sysdeps/unix/sysv/linux/kernel-features.h
26754         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26755         __ASSUME_XFS_RESTRICTED_CHOWN.
26756         * sysdeps/unix/sysv/linux/pathconf.c
26757         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26758         Save and restore errno.
26759
26760 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
26761
26762         [BZ #15327]
26763         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26764         arguments using __kernel_casinh.
26765         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26766         arguments using __kernel_casinhf.
26767         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26768         arguments using __kernel_casinhl.
26769         * math/libm-test.inc (cacosh_test): Add more tests.
26770         * sysdeps/i386/fpu/libm-test-ulps: Update.
26771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26772
26773 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26774
26775         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26776         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26777
26778         * bench/Makefile (bench): Add sin and slowsin.
26779         * benchtests/sin-inputs: New file.
26780         * benchtests/slowsin-inputs: New file.
26781         * benchtests/slowsin.c: New file.
26782
26783         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26784         (bench): Add slowexp and slowpow.
26785         (exp-ITER): Increase iterations.
26786         (pow-ITER): Likewise.
26787         * benchtests/exp-inputs: Change input.
26788         * benchtests/pow-inputs: Likewise.
26789         * benchtests/slowexp-inputs: New file.
26790         * benchtests/slowexp.c: New file.
26791         * benchtests/slowpow-inputs: New file.
26792         * benchtests/slowpow.c: New file.
26793
26794 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26795
26796         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26797         instructions.
26798         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26799         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26800         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26801         * benchtests/Makefile: Add rint benchtest.
26802         * benchtests/rint-inputs: Input for rint benchtest.
26803
26804 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26805
26806         * Versions.def (libm): Add GLIBC_2.18.
26807         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26808         hidden libm prototypes.
26809         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26810         * math/Makefile (libm-calls): Add s_issignaling.
26811         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26812         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
26813         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26814         declaration.
26815         * math/math.h [__USE_GNU] (issignaling): New macro.
26816         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26817         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26818         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26819         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26820         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26821         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26822         * manual/arith.texi (issignaling): New section.
26823         * manual/libm-err-tab.pl (@all_functions): Update comment.
26824         * math/gen-libm-test.pl (parse_args): Apply special handling for
26825         issignaling.
26826         * math/libm-test.inc (print_float, issignaling_test): New
26827         functions.
26828         (check_float_internal): Add issignaling checks.
26829         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26830         default definition.
26831         * sysdeps/powerpc/math-tests.h: New file.
26832         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26833         tests.
26834         * math/test-snan.c (TEST_FUNC): Likewise.
26835
26836 2013-03-30  David S. Miller  <davem@davemloft.net>
26837
26838         * po/de.po: Update from translation team.
26839
26840 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
26841
26842         [BZ #10357]
26843         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26844         imaginary part less than 1.0 and real part less than 0.5
26845         specially.
26846         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26847         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26848         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26849         (cacos_test): Add more tests.
26850         (casin_test): Likewise.
26851         (casinh_test): Likewise.
26852         * sysdeps/i386/fpu/libm-test-ulps: Update.
26853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26854
26855 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26856
26857         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26858         ONE with its value.
26859
26860         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26861         (__pow_mp): Replace ONE and MONE with their values.
26862         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26863         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26864         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26865         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26866         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26867         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26868
26869         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26870
26871         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26872         (__pow_mp): Replace ZERO and MZERO with their values.
26873         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26874         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26875         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26876         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26877         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26878         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26879         (__sqr): Likewise.
26880
26881         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26882
26883         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26884
26885 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26886
26887         * include/stdlib.h [!SHARED] (__call_tls_dtors):
26888         Declare with __attribute__ ((weak)).
26889         * stdlib/exit.c (__libc_atexit) [!SHARED]:
26890         Call __call_tls_dtors only if it's not NULL.
26891
26892 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26893
26894         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26895         didn't do it already, then set _dl_phdr and _dl_phnum based on the
26896         magic __ehdr_start linker symbol if it's defined.
26897         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26898         them up here if it was already done.
26899
26900         * elf/dl-support.c (_dl_phdr): Make pointer to const.
26901         (_dl_aux_init): Use const in cast when setting it.
26902         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26903         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26904         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26905
26906         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26907         Declare them here.
26908         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26909         * csu/libc-tls.c: Nor here.
26910         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26911
26912         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26913         (__libc_message): Never call vsyslog.
26914
26915 2013-03-28  Alan Modra  <amodra@gmail.com>
26916
26917         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26918         Define as empty.
26919         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26920         Likewise.
26921
26922 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26923
26924         [BZ #15214]
26925         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26926         underflow.
26927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26928
26929 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26930
26931         [BZ #15304]
26932         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26933         Don't add gid passed as argument.
26934
26935         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26936
26937 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
26938
26939         [BZ #15307]
26940         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26941         imaginary part between 1.0 and 1.5 and real part less than 0.5
26942         specially.
26943         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26944         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26945         * math/libm-test.inc (cacos_test): Add more tests.
26946         (casin_test): Likewise.
26947         (casinh_test): Likewise.
26948         * sysdeps/i386/fpu/libm-test-ulps: Update.
26949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26950
26951 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26952
26953         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26954         constants.
26955         (norm): Likewise.
26956         (denorm): Likewise.
26957         (__dbl_mp): Likewise.
26958         (add_magnitudes): Likewise.
26959         (sub_magnitudes): Likewise.
26960         (__add): Likewise.
26961         (__sub): Likewise.
26962         (__mul): Likewise.
26963         (__sqr): Likewise.
26964         (__inv): Likewise.
26965         (__dvd): Likewise.
26966
26967         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26968         commented code.
26969         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26970         (__dubcos): Likewise.
26971         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26972         (__ieee754_acos): Likewise.
26973         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26974         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26975         (__exp1): Likewise.
26976         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26977         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26978         (log1): Likewise.
26979         (my_log2): Likewise.
26980         (checkint): Likewise.
26981         * sysdeps/ieee754/dbl-64/e_remainder.c
26982         (__ieee754_remainder): Likewise.
26983         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26984         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26985         (bsloww): Likewise.
26986         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26987
26988         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26989         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26990         MANTISSA_STORE_T to store computations on mantissa.  Use
26991         macros for rounding and division.
26992         (denorm): Likewise.
26993         (__dbl_mp): Likewise.
26994         (add_magnitudes): Likewise.
26995         (sub_magnitudes): Likewise.
26996         (__mul): Likewise.
26997         (__sqr): Likewise.
26998         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26999         powers of two in terms of TWOPOW macro.
27000         (mp_no): Make type of mantissa as MANTISSA_T.
27001         [!RADIXI]: Define RADIXI.
27002         [!TWO52]: Define TWO52.
27003         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27004
27005 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27006
27007         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27008         llroundl symbol when building for PPC32.
27009
27010 2013-03-24  Mark H Weaver  <mhw@netris.org>
27011
27012         * manual/arith.texi (Normalization Functions): Fix prototypes for
27013         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27014
27015 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27016
27017         [BZ #13889]
27018         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27019         high value to check if expl overflow.
27020         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27021         to check for underflow and overflow.
27022         * math/libm-test.inc: Add exp test.
27023
27024 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27025
27026         [BZ #11120]
27027         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27028         with NOT_IN_libc.
27029
27030 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27031
27032         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27033         symbol.
27034
27035 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27036
27037         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27038         wrap blocks consisting of several statements.
27039
27040         * sysdeps/generic/math-tests.h: New file.
27041         * sysdeps/i386/fpu/math-tests.h: Likewise.
27042         * math/test-snan.c: Include it.
27043         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27044
27045 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27046
27047         [BZ #15285]
27048         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27049         (__ieee754_j0l): Do not improve calculations using cos of twice
27050         input for inputs above LDBL_MAX / 2.0L.
27051         (__ieee754_y0l): Likewise.
27052         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27053         (__ieee754_j1l): Do not improve calculations using cos of twice
27054         input for inputs above LDBL_MAX / 2.0L.
27055         (__ieee754_y1l): Likewise.
27056         * math/libm-test.inc (j0_test): Add another test.
27057         (j1_test): Likewise.
27058         (y0_test): Likewise.
27059         (y1_test): Likewise.
27060         * sysdeps/i386/fpu/libm-test-ulps: Update.
27061
27062 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27063
27064         * Rules ($(objpfx)bench-%.c): Include code from a C source
27065         file.
27066
27067 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27068
27069         [BZ #15287]
27070         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27071         imaginary part 1.0 and real part less than 0.5 specially.
27072         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27073         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27074         * math/libm-test.inc (cacos_test): Add more tests.
27075         (casin_test): Likewise.
27076         (casinh_test): Likewise.
27077         * sysdeps/i386/fpu/libm-test-ulps: Update.
27078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27079
27080 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27081
27082         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27083         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27084
27085 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27086
27087         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27088         * config.make.in (config-cflags-sse4): Remove variable.
27089         (config-cflags-avx): Likewise.
27090         (config-cflags-sse2avx): Likewise.
27091         (config-cflags-novzeroupper): Likewise.
27092         (config-asflags-i686): Likewise.
27093         (have-mfma4): Likewise.
27094         (have-as-vis3): Likewise.
27095         (MIG): Likewise.
27096         * configure.in (MIG): Do not AC_SUBST.
27097         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27098         (libc_cv_cc_sse4): Do not AC_SUBST.
27099         (libc_cv_cc_avx): Likewise.
27100         (libc_cv_cc_sse2avx): Likewise.
27101         (libc_cv_cc_novzeroupper): Likewise.
27102         (libc_cv_cc_fma4): Likewise.
27103         (libc_cv_as_i686): Likewise.
27104         (libc_cv_sparc_as_vis3): Likewise.
27105         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27106         LIBC_CONFIG_VAR.
27107         (config-asflags-i686): Likewise.
27108         (config-cflags-avx): Likewise.
27109         (config-cflags-sse2avx): Likewise.
27110         (have-mfma4): Likewise.
27111         (config-cflags-novzeroupper): Likewise.
27112         * sysdeps/mach/configure.in (MIG): Likewise.
27113         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27114         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27115         LIBC_CONFIG_VAR.
27116         (config-cflags-avx): Likewise.
27117         (config-cflags-sse2avx): Likewise.
27118         (have-mfma4): Likewise.
27119         (config-cflags-novzeroupper): Likewise.
27120         * configure: Regenerated.
27121         * sysdeps/i386/configure: Likewise.
27122         * sysdeps/mach/configure: Likewise.
27123         * sysdeps/sparc/configure: Likewise.
27124         * sysdeps/x86_64/configure: Likewise.
27125
27126 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27127
27128         [BZ #14812]
27129         * locale/programs/localedef.c (options): Put N_ translation marker
27130         on argument names, not just descriptions.
27131
27132 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27133
27134         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27135
27136 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27137
27138         [BZ #14176]
27139         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27140
27141 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27142
27143         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27144         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27145         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27146         [!BEFORE_ABORT] (before_abort): New function.
27147         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27148         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27149         (writev_for_fatal): New function.
27150         (WRITEV_FOR_FATAL): New macro; call that.
27151         (backtrace_and_maps): New function.
27152         (BEFORE_ABORT): New macro; call that.
27153         (struct str_list): Type removed.
27154         (__libc_message, __libc_fatal): Functions removed.
27155         Include <sysdeps/posix/libc_fatal.c> instead.
27156
27157 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27158
27159         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27160         constants.
27161         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27162         double constants.
27163
27164 2013-03-19  Andreas Schwab  <schwab@suse.de>
27165
27166         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27167         * sysdeps/gnu/configure: Regenerate.
27168
27169         * configure.in: Substitute libc_cv_rtlddir.
27170         * configure: Regenerate.
27171         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27172         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27173         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27174         * elf/Makefile (install-others, CFLAGS-interp.c)
27175         (ldso_install, common-ldd-rewrite): Likewise.
27176         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27177         $(inst_slibdir)/$(rtld-installed-name).
27178         * scripts/rellns-sh: Add -p option.
27179         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27180         for source.
27181
27182 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27183
27184         * manual/nptl.texi: Renamed to ...
27185         * manual/threads.texi: ... this.
27186         * manual/Makefile (chapters): Update.
27187
27188 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27189
27190         [BZ #14812]
27191         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27192         on argument names, not just descriptions.
27193         * malloc/memusagestat.c (options): Likewise.
27194         * nss/getent.c (options): Likewise.
27195
27196 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27197
27198         [BZ #14812]
27199         * iconv/iconv_prog.c (options): Put N_ translation marker
27200         on argument names, not just descriptions.
27201         * iconv/iconvconfig.c (options): Likewise.
27202
27203 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27204
27205         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27206         implementation which is faster on all x86_64 architectures.
27207         Tested on AMD, Intel Nehalem, SNB, IVB.
27208         * sysdeps/x86_64/strnlen.S: Likewise.
27209
27210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27211         Remove all multiarch strlen and strnlen versions.
27212         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27213         Remove strlen and strnlen related parts.
27214
27215         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27216         Inline strlen part.
27217         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27218
27219         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27220         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27221         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27222         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27223         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27224         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27225
27226 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27227
27228         * manual/memory.texi (Malloc Tunable Parameters):
27229         Sort parameters alphabetically. Add comments for missing entries.
27230
27231 2013-03-17  David S. Miller  <davem@davemloft.net>
27232
27233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27234
27235 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27236
27237         [BZ #15283]
27238         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27239         for arguments at most half maximum finite value.
27240         * math/libm-test.inc (j0_test): Add more tests.
27241         (j1_test): Likewise.
27242         (y0_test): Likewise.
27243         (y1_test): Likewise.
27244         * sysdeps/i386/fpu/libm-test-ulps: Update.
27245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27246
27247         [BZ #14155]
27248         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27249         1 / x and functions P and Q for arguments above 0x1p256L.
27250         (__ieee754_y0l): Likewise.
27251         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27252         (__ieee754_y1l): Likewise.
27253         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27254         (j1_test): Likewise.
27255         (y0_test): Likewise.
27256         (y1_test): Likewise.
27257
27258 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27259
27260         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27261         variable.
27262
27263 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27264
27265         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27266         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27267         zero since it's initialized to EXEC_PAGESIZE.
27268
27269         * sysdeps/unix/sysv/linux/ldsodefs.h
27270         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27271         * sysdeps/generic/ldsodefs.h: ... here.
27272
27273 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27274
27275         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27276
27277         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27278         math/test-snan.c.
27279         * math/test-snan.c: Renamed from
27280         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27281         * math/Makefile (tests): Add test-snan.
27282         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27283         test-powerpc-snan.
27284
27285         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27286         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27287         functions.
27288         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27289         __builtin_nan family of functions.
27290         * math/libm-test.inc (initialize): Initialize qnan_value with
27291         __builtin_nan family of functions.
27292         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27293         Remove variables.
27294         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27295         Remove functions.
27296         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27297         storage class.  Initialize qNaN_var and sNaN_var with
27298         __builtin_nan and __builtin_nans families of functions,
27299         respectively.
27300
27301         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27302         (sqrt_test): Remove duplicate test with qNaN input.
27303         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27304         (round_test, signbit_test, significand_test): Note missing +/-Inf
27305         as well as qNaN tests.
27306
27307         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27308         qNaN_var.  Fix a few strings, too.
27309         * math/libm-test.inc (nan_value): Rename to qnan_value.
27310         * math/gen-libm-test.pl (%beautify): Adjust to that.
27311         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27312         * math/test-misc.c (main): Likewise.
27313         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27314         to __qnan_bytes, and __qnan_union, respectively.
27315         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27316         Likewise.
27317         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27318         and lqnanval, respectively.
27319         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27320         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27321         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27322         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27323
27324         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27325         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27326         doubles.
27327
27328         * math/test-misc.c (main): Fix copy'n'pastos.
27329         * misc/tst-efgcvt.c (special): Likewise.
27330
27331         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27332         Remove declarations.
27333
27334 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27335
27336         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27337         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27338         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27339         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27340
27341 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27342
27343         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27344         macro to return vdso values correctly in IFUNC implementations.
27345         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27346         Optimization by using IFUNC.
27347
27348 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27349             Richard Henderson  <rth@redhat.com>
27350             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27351
27352         * Makefile.in (bench): New target.
27353         * NEWS: Mention the benchmark framework.
27354         * Rules (bench): Likewise.
27355         (binaries-bench): Generate binaries for functions to
27356         benchmark.
27357         * benchtests/Makefile: New makefile for benchmark tests.
27358         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27359         programs.
27360         * benchtests/exp-inputs: New input file for EXP function.
27361         * benchtests/pow-inputs: New input file for POW function.
27362         * scripts/bench.pl: New script to generate source files for
27363         benchmark programs.
27364
27365 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27366
27367         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27368         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27369         computations on mantissa.  Use macros for rounding and
27370         division.
27371         (denorm): Likewise.
27372         (__dbl_mp): Likewise.
27373         (add_magnitudes): Likewise.
27374         (sub_magnitudes): Likewise.
27375         (__mul): Likewise.
27376         (__sqr): Likewise.
27377         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27378         powers of two in terms of TWOPOW macro.
27379         (mp_no): Make type of mantissa as MANTISSA_T.
27380         [!RADIXI]: Define RADIXI.
27381         [!TWO52]: Define TWO52.
27382         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27383
27384         * manual/nptl.texi (cindex): Modify threads to pthreads.
27385
27386 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27387
27388         * sysdeps/x86_64/preconfigure: Regenerated.
27389
27390 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27391
27392         [BZ #14155]
27393         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27394         0x1p28 and above.
27395         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27396         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27397         0x1p28 and above.
27398         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27399         * math/libm-test.inc (j0_test): Do not allow one spurious
27400         underflow exception.
27401         (y1_test): Likewise.
27402
27403 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27404
27405         * manual/Makefile (chapters): Add nptl.
27406         * manual/debug.texi (Debugging Support): Add link to Threads
27407         chapter.
27408         * manual/nptl.texi: New file.
27409
27410         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27411
27412 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27413
27414         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27415         for non-NULL pointer before the memory validity test. Pointed
27416         out by Holger Brunck <holger.brunck@keymile.com>.
27417
27418 2013-03-13  Andreas Schwab  <schwab@suse.de>
27419
27420         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27421         instead of .os.
27422
27423 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27424
27425         * timezone/zic.c: Update from tzcode 2013b.
27426
27427 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27428
27429         * manual/install.texi (Configuring and compiling):
27430         Mention i686 and i586.
27431         * INSTALL: Regenerate.
27432
27433 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27434
27435         * sysdeps/init_array/elf-init.c: New file.
27436         * csu/elf-init.c
27437         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27438         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27439
27440         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27441         __gmon_start__ as global, but as static with a .preinit_array pointer.
27442         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27443         * sysdeps/init_array/crti.S: New file, empty except for comments.
27444         * sysdeps/init_array/crtn.S: Likewise.
27445
27446 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27447
27448         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27449         definining bcopy.
27450         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27451         Remove Prefer_SSE_for_memop.
27452         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27453         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27454         HAS_PREFER_SSE_FOR_MEMOP.
27455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27456         memset-x86-64.
27457         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27458         Remove bzero, memset ifunc support.
27459         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27460         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27461         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27462         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27463
27464 2013-03-11  Andreas Schwab  <schwab@suse.de>
27465
27466         [BZ #15234]
27467         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27468         by SHLIB_COMPAT.
27469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27470         (GLIBC_2.16): Remove pthread_atfork.
27471
27472 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27473
27474         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27475         (ptestcases.h): Likewise.
27476
27477 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27478
27479         * Makeconfig ($(common-objpfx)config.status): Depend on
27480         sysdeps/*/preconfigure{,.in} too.
27481
27482 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27483
27484         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27485         (__free_hook): Use void * instead of __malloc_ptr_t.
27486         (__malloc_hook): Likewise.
27487         (__realloc_hook): Likewise.
27488         (__memalign_hook): Likewise.
27489         (__after_morecore_hook): Likewise.
27490         * malloc/arena.c (save_malloc_hook): Likewise.
27491         (save_free_hook): Likewise.
27492         * malloc/hooks.c (malloc_hook_ini): Likewise.
27493         (realloc_hook_ini): Likewise.
27494         (memalign_hook_ini): Likewise.
27495         * malloc/malloc.c (malloc_hook_ini): Likewise.
27496         (realloc_hook_ini): Likewise.
27497         (memalign_hook_ini): Likewise.
27498         (__free_hook): Likewise.
27499         (__malloc_hook): Likewise.
27500         (__realloc_hook): Likewise.
27501         (__memalign_hook): Likewise.
27502         (__libc_malloc): Likewise.
27503         (__libc_free): Likewise.
27504         (__libc_realloc): Likewise.
27505         (__libc_memalign): Likewise.
27506         (__libc_valloc): Likewise.
27507         (__libc_pvalloc): Likewise.
27508         (__libc_calloc): Likewise.
27509         (__posix_memalign): Likewise.
27510         * malloc/morecore.c (__sbrk): Likewise.
27511         (__default_morecore): Likewise.
27512
27513         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27514
27515         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27516         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27517         __malloc_ptrdiff_t.
27518
27519         * malloc/malloc.h (__malloc_size_t): Remove macro.
27520         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27521         __malloc_size_t.
27522         (old_memalign_hook): Likewise.
27523         (old_realloc_hook): Likewise.
27524         (struct hdr): Likewise.
27525         (flood): Likewise.
27526         (mallochook): Likewise.
27527         (memalignhook): Likewise.
27528         (reallochook): Likewise.
27529         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27530         (tr_old_realloc_hook): Likewise.
27531         (tr_old_memalign_hook): Likewise.
27532         (tr_mallochook): Likewise.
27533         (tr_reallochook): Likewise.
27534         (tr_memalignhook): Likewise.
27535
27536 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27537
27538         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27539         default_ldbl_pack and using as default implementation.
27540         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27541         implementation.
27542         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27543         redundant definition.
27544         (ldbl_insert_mantissa): Likewise.
27545         (ldbl_canonicalize): Likewise.
27546         (ldbl_nearbyint): Likewise.
27547         (ldbl_pack): Rename to ldbl_pack_ppc.
27548         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27549         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27550         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27551
27552 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27553
27554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27555         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27556         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27557         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27558         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27559         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27560         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27561         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27562
27563 2013-03-07  Andreas Jaeger  <aj@suse.de>
27564
27565         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27566         bits/mman-linux.h.
27567
27568 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27569
27570         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27571         Include mpa.h and declare __MPEXP.
27572         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27573         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27574         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27575         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27576         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27577         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27578         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27579
27580         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27581         (__slowpow): Use long double EXPL and LOGL functions to
27582         compute POW.
27583         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27584         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27585         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27586         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27587         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27588         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27589
27590         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27591         intermediate variable to calculate exponent.
27592         (__sqr): Likewise.
27593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27594         Likewise.
27595         (__sqr): Likewise.
27596
27597         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27598         [!NO__SQR]: Define __sqr.
27599         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27600         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27601         sysdeps/ieee754/dbl-64/mpa.c.
27602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27603
27604         [BZ #12723]
27605         * posix/Makefile (tests): Add tst-pathconf.
27606         * posix/tst-pathconf.c: New test case.
27607         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27608         _PC_PIPE_BUF.
27609         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27610
27611 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27612
27613         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27614
27615 2013-03-06  Andreas Jaeger  <aj@suse.de>
27616
27617         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27618         definition via __MAP_ANONYMOUS.
27619
27620         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27621         it's not part of Linux headers.
27622
27623         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27624         (MAP_HUGE_MASK): Define.
27625
27626         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27627         Define.
27628         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27629         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27630         Define.
27631         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27632         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27633         Define.
27634         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27635         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27636         Define.
27637         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27638
27639         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27640         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27641         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27642         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27643         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27644         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27645
27646         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27647         Handle f2fs.
27648
27649         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27650         Handle f2fs and efivarfs.
27651
27652         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27653         f2fs.
27654
27655         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27656         (EFIVARFS_MAGIC): Add.
27657         (F2FS_LINK_MAX): Add.
27658
27659 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27660
27661         * stdio-common/vfprintf.c: Replace __builtin_expect with
27662         __glibc_unlikely.
27663
27664 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27665
27666         [BZ #13550]
27667         * sysdeps/generic/bp-sym.h: Remove file.
27668         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27669         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27670         <bp-sym.h> and <bp-asm.h>.
27671         (__longjmp): Don't use BP_SYM.
27672         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27673         and <bp-asm.h>.
27674         (memcpy): Don't use BP_SYM.
27675         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27676         <bp-sym.h> and <bp-asm.h>.
27677         (memcpy): Don't use BP_SYM.
27678         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27679         <bp-asm.h>.
27680         (memcpy): Don't use BP_SYM.
27681         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27682         <bp-asm.h>.
27683         (memset): Don't use BP_SYM.
27684         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27685         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27686         (__bzero): Don't use BP_SYM.
27687         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27688         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27689         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27690         <bp-sym.h> and <bp-asm.h>.
27691         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27692         pointers.
27693         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27694         <bp-sym.h> and <bp-asm.h>.
27695         (memcpy): Don't use BP_SYM.
27696         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27697         <bp-sym.h> and <bp-asm.h>.
27698         (memset): Don't use BP_SYM.
27699         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27700         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27701         (__bzero): Don't use BP_SYM.
27702         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27703         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27704         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27705         <bp-sym.h> and <bp-asm.h>.
27706         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27707         pointers.
27708         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27709         <bp-sym.h> and <bp-asm.h>.
27710         (memcpy): Don't use BP_SYM.
27711         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27712         <bp-sym.h> and <bp-asm.h>.
27713         (memset): Don't use BP_SYM.
27714         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27715         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27716         (__bzero): Don't use BP_SYM.
27717         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27718         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27719         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27720         <bp-sym.h> and <bp-asm.h>.
27721         (__memchr): Don't use BP_SYM.
27722         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27723         <bp-sym.h> and <bp-asm.h>.
27724         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27725         pointers.
27726         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27727         <bp-sym.h> and <bp-asm.h>.
27728         (memcpy): Don't use BP_SYM.
27729         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27730         <bp-sym.h> and <bp-asm.h>.
27731         (__mempcpy): Don't use BP_SYM.
27732         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27733         <bp-sym.h> and <bp-asm.h>.
27734         (__memrchr): Don't use BP_SYM.
27735         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27736         <bp-sym.h> and <bp-asm.h>.
27737         (memset): Don't use BP_SYM.
27738         (__bzero): Likewise.
27739         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27740         <bp-sym.h> and <bp-asm.h>.
27741         (__rawmemchr): Don't use BP_SYM.
27742         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27743         <bp-sym.h> and <bp-asm.h>.
27744         (__STRCMP): Don't use BP_SYM.
27745         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27746         <bp-sym.h> and <bp-asm.h>.
27747         (strchr): Don't use BP_SYM.
27748         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27749         <bp-sym.h> and <bp-asm.h>.
27750         (__strchrnul): Don't use BP_SYM.
27751         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27752         <bp-sym.h> and <bp-asm.h>.
27753         (strlen): Don't use BP_SYM.
27754         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27755         <bp-sym.h> and <bp-asm.h>.
27756         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27757         pointers.
27758         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27759         <bp-sym.h> and <bp-asm.h>.
27760         (__strnlen): Don't use BP_SYM.
27761         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27762         <bp-sym.h> and <bp-asm.h>.
27763         (__GI__setjmp): Don't use BP_SYM.
27764         (_setjmp): Likewise.
27765         (__sigsetjmp): Likewise.
27766         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27767         (L(start_addresses)): Don't use BP_SYM.
27768         (_start): Likewise.
27769         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27770         <bp-asm.h>.
27771         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27772         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27773         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27774         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27775         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27776         <bp-asm.h>.
27777         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27778         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
27779         about bounded pointers.
27780         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27781         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27782         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27783         <bp-asm.h>.
27784         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27785         about bounded pointers.  Remove GKM FIXME comments.
27786         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27787         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27788         <bp-asm.h>.
27789         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27790         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
27791         Remove GKM FIXME comments.
27792         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27793         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27794         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27795         <bp-asm.h>.
27796         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27797         about bounded pointers.  Remove GKM FIXME comment.
27798         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27799         and <bp-asm.h>.
27800         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27801         pointers.
27802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27803         <bp-sym.h> and <bp-asm.h>.
27804         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27806         <bp-sym.h> and <bp-asm.h>.
27807         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27808         comment.
27809
27810 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27811
27812         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27813         call free(NULL).
27814
27815 2013-03-05  David S. Miller  <davem@davemloft.net>
27816
27817         * po/es.po: Update from translation team.
27818
27819 2013-03-05  Andreas Jaeger  <aj@suse.de>
27820
27821         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27822         <bits/mman-linux.h>.
27823         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27824         is fine.
27825         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27826         <bits/mman-linux.h> to end of file.
27827         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27828         is fine.
27829         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27830         <bits/mman-linux.h> to end of file.
27831         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27832         is fine.
27833         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27834         <bits/mman-linux.h> to end of file.
27835
27836         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27837         (MCL_CURRENT, MCL_FUTURE): Define here.
27838
27839 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27840
27841         [BZ #15232]
27842         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27843         attribute_hidden.
27844         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27845
27846 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27847
27848         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27849         fourth parameter needed for rt_sigprocmask syscall.
27850         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27851         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27852         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27853         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27854         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27855         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27856
27857 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
27858
27859         [BZ #13550]
27860         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27861         comment about bounded pointers.
27862         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27863         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27864
27865 2013-03-04  Andreas Jaeger  <aj@suse.de>
27866
27867         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27868         common definitions.
27869
27870         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27871         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27872         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27873         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27874         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27875         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27876
27877 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27878
27879         [BZ #15055]
27880         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27881         __ieee754_sqrl instead of __sqrl.
27882
27883 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
27884
27885         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27886         * sysdeps/powerpc/fpu_control.h: ... here.
27887         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27888         * sysdeps/powerpc/bits/fenvinline.h: ... here.
27889         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27890         * sysdeps/powerpc/bits/mathinline.h: ... here.
27891
27892 2013-03-01  Roland McGrath  <roland@hack.frob.com>
27893
27894         * elf/dl-hwcaps.c (_dl_important_hwcaps):
27895         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27896         to just [NEED_DL_SYSINFO_DSO].
27897         * elf/dl-support.c: Likewise.
27898         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27899         * elf/rtld.c (dl_main): Likewise.
27900         * elf/setup-vdso.h (setup_vdso): Likewise.
27901         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27902         * sysdeps/unix/sysv/linux/dl-sysdep.c
27903         (_dl_discover_osversion): Likewise.
27904
27905 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
27906
27907         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27908         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27909
27910 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27911
27912         * NEWS: Mention libm performance improvements and non-x86 PI
27913         futex support.
27914
27915         * csu/libc-start.c (__pthread_initialize_minimal): Change
27916         function arguments.
27917         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27918
27919 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
27920
27921         [BZ #13550]
27922         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27923         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27924         <bp-sym.h> and <bp-asm.h>.
27925         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27926         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27927         and <bp-asm.h>.
27928         (memcpy): Don't use BP_SYM.
27929         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27930         <bp-asm.h>.
27931         (__mpn_add_n): Don't use BP_SYM.
27932         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27933         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27934         and <bp-asm.h>.
27935         (__mpn_addmul_1): Don't use BP_SYM.
27936         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27937         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27938         <bp-sym.h>.
27939         (_setjmp): Don't use BP_SYM.
27940         (__novmx_setjmp): Likewise.
27941         (__GI__setjmp): Likewise.
27942         (__vmx_setjmp): Likewise.
27943         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27944         <bp-sym.h>.
27945         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27946         (__bzero): Don't use BP_SYM.
27947         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27948         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27949         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27950         <bp-sym.h> and <bp-asm.h>.
27951         (memcpy): Don't use BP_SYM.
27952         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27953         <bp-sym.h> and <bp-asm.h>.
27954         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27955         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27956         <bp-sym.h> and <bp-asm.h>.
27957         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27958         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27959         <bp-asm.h>.
27960         (__mpn_lshift): Don't use BP_SYM.
27961         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27962         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27963         <bp-asm.h>.
27964         (memset): Don't use BP_SYM.
27965         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27966         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27967         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27968         <bp-asm.h>.
27969         (__mpn_mul_1): Don't use BP_SYM.
27970         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27971         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27972         <bp-sym.h> and <bp-asm.h>.
27973         (memcmp): Don't use BP_SYM.
27974         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27975         <bp-sym.h> and <bp-asm.h>.
27976         (memcpy): Don't use BP_SYM.
27977         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27978         <bp-sym.h> and <bp-asm.h>.
27979         (memset): Don't use BP_SYM.
27980         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27981         <bp-sym.h> and <bp-asm.h>.
27982         (strncmp): Don't use BP_SYM.
27983         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27984         <bp-sym.h> and <bp-asm.h>.
27985         (memcpy): Don't use BP_SYM.
27986         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27987         <bp-sym.h> and <bp-asm.h>.
27988         (memset): Don't use BP_SYM.
27989         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27990         <bp-sym.h> and <bp-asm.h>.
27991         (__memchr): Don't use BP_SYM.
27992         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27993         <bp-sym.h> and <bp-asm.h>.
27994         (memcmp): Don't use BP_SYM.
27995         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27996         <bp-sym.h> and <bp-asm.h>.
27997         (memcpy): Don't use BP_SYM.
27998         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27999         <bp-sym.h> and <bp-asm.h>.
28000         (__mempcpy): Don't use BP_SYM.
28001         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28002         <bp-sym.h> and <bp-asm.h>.
28003         (__memrchr): Don't use BP_SYM.
28004         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28005         <bp-sym.h> and <bp-asm.h>.
28006         (memset): Don't use BP_SYM.
28007         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28008         <bp-sym.h> and <bp-asm.h>.
28009         (__rawmemchr): Don't use BP_SYM.
28010         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28011         <bp-sym.h> and <bp-asm.h>.
28012         (__STRCMP): Don't use BP_SYM.
28013         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28014         <bp-sym.h> and <bp-asm.h>.
28015         (strchr): Don't use BP_SYM.
28016         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28017         <bp-sym.h> and <bp-asm.h>.
28018         (__strchrnul): Don't use BP_SYM.
28019         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28020         <bp-sym.h> and <bp-asm.h>.
28021         (strlen): Don't use BP_SYM.
28022         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28023         <bp-sym.h> and <bp-asm.h>.
28024         (strncmp): Don't use BP_SYM.
28025         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28026         <bp-sym.h> and <bp-asm.h>.
28027         (__strnlen): Don't use BP_SYM.
28028         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28029         <bp-asm.h>.
28030         (__mpn_rshift): Don't use BP_SYM.
28031         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28032         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28033         <bp-sym.h> and <bp-asm.h>.
28034         (__sigsetjmp): Don't use BP_SYM.
28035         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28036         (L(start_addresses)): Don't use BP_SYM.
28037         (_start): Likewise.
28038         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28039         <bp-asm.h>.
28040         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28041         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28042         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28043         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28044         <bp-asm.h>.
28045         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28046         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28047         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28048         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28049         <bp-asm.h>.
28050         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28051         comments.
28052         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28053         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28054         <bp-asm.h>.
28055         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28056         FIXME comments.
28057         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28058         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28059         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28060         <bp-asm.h>.
28061         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28062         comment.
28063         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28064         and <bp-asm.h>.
28065         (strncmp): Don't use BP_SYM,
28066         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28067         <bp-asm.h>.
28068         (__mpn_sub_n): Don't use BP_SYM.
28069         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28070         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28071         and <bp-asm.h>.
28072         (__mpn_submul_1): Don't use BP_SYM.
28073         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28075         <bp-sym.h> and <bp-asm.h>.
28076         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28078         <bp-sym.h> and <bp-asm.h>.
28079         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28080         comment.
28081
28082 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28083
28084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28085         Use ZK to minimize writes to Z.
28086         (sub_magnitudes): Simplify code a bit.
28087         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28088         Use ZK to minimize writes to Z.
28089         (sub_magnitudes): Simplify code a bit.
28090
28091 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28092
28093         * csu/gmon-start.c: Add special exception to license text.
28094
28095 2013-02-27  Richard Henderson  <rth@redhat.com>
28096
28097         * scripts/config.guess: Update from config.git.
28098         * scripts/config.sub: Likewise.
28099
28100 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28101
28102         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28103
28104         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28105
28106         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28107
28108         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28109
28110         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28111
28112 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28113
28114         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28115         [$(build-shared = yes].
28116
28117 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28118
28119         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28120         (__mul): Reduce iterations for calculating mantissa.
28121
28122         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28123         MPTWO.
28124         (__mpranred): Likewise.
28125
28126         [BZ #15160]
28127         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28128         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28129
28130 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28131
28132         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28133         Define __attribute__.
28134
28135 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28136
28137         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28138         unused.
28139         * posix/regex_internal.h (__attribute): Remove.
28140         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28141         (re_string_context_at): Likewise.
28142         (bitset_not): Use __attribute__ and mark function as possibly
28143         unused.
28144         (bitset_merge): Likewise.
28145         (bitset_mask): Likewise.
28146         (re_string_char_size_at): Likewise.
28147         (re_string_wchar_at): Likewise.
28148         (re_string_elem_size_at): Likewise.
28149
28150 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28151
28152         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28153         code.
28154         (cc32): Likewise.
28155
28156         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28157         (__acr): Likewise.
28158         (__cpy): Likewise.
28159         (norm): Likewise.
28160         (denorm): Likewise.
28161         (__dbl_mp): Likewise.
28162         (add_magnitudes): Likewise.
28163         (sub_magnitudes): Likewise.
28164         (__mul): Likewise.
28165         (__inv): Likewise.
28166
28167         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28168         style.
28169
28170         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28171         style.
28172
28173         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28174         code.
28175
28176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28177         up changes with default code.
28178         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28179         Likewise.
28180
28181 2013-02-24  Allan McRae  <allan@archlinux.org>
28182
28183         * manual/socket.texi (The Internet Namespace): Order menu items
28184         to match that in the file.
28185
28186         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28187         node listing of the info page menu.
28188
28189 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28190
28191         [BZ #13550]
28192         * sysdeps/i386/bp-asm.h: Remove file.
28193         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28194         (PARMS): Do not use macros from bp-asm.h.
28195         (S1): Likewise.
28196         (S2): Likewise.
28197         (SIZE): Likewise.
28198         (__mpn_add_n): Do not use BP_SYM
28199         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28200         "bp-asm.h".
28201         (PARMS): Do not use macros from bp-asm.h.
28202         (S1): Likewise.
28203         (SIZE): Likewise.
28204         (__mpn_addmul_1): Do not use BP_SYM
28205         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28206         "bp-asm.h".
28207         (PARMS): Do not use macros from bp-asm.h.
28208         (SIGMSK): Likewise.
28209         (_setjmp): Likewise.  Do not use BP_SYM.
28210         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28211         "bp-asm.h".
28212         (PARMS): Do not use macros from bp-asm.h.
28213         (SIGMSK): Likewise.
28214         (setjmp): Likewise.  Do not use BP_SYM.
28215         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28216         "bp-asm.h".
28217         (PARMS): Do not use macros from bp-asm.h.
28218         (__frexp): Do not use BP_SYM.
28219         (frexp): Likewise.
28220         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28221         "bp-asm.h".
28222         (PARMS): Do not use macros from bp-asm.h.
28223         (__frexpf): Do not use BP_SYM.
28224         (frexpf): Likewise.
28225         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28226         "bp-asm.h".
28227         (PARMS): Do not use macros from bp-asm.h.
28228         (__frexpl): Do not use BP_SYM.
28229         (frexpl): Likewise.
28230         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28231         "bp-asm.h".
28232         (PARMS): Do not use macros from bp-asm.h.
28233         (__remquo): Do not use BP_SYM.
28234         (remquo): Likewise.
28235         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28236         "bp-asm.h".
28237         (PARMS): Do not use macros from bp-asm.h.
28238         (__remquof): Do not use BP_SYM.
28239         (remquof): Likewise.
28240         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28241         "bp-asm.h".
28242         (PARMS): Do not use macros from bp-asm.h.
28243         (__remquol): Do not use BP_SYM.
28244         (remquol): Likewise.
28245         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28246         "bp-asm.h".
28247         (PARMS): Do not use macros from bp-asm.h.
28248         (DEST): Likewise.
28249         (SRC): Likewise.
28250         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28251         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28252         "bp-asm.h".
28253         (PARMS): Do not use macros from bp-asm.h.
28254         (strlen): Do not use BP_SYM.
28255         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28256         "bp-asm.h".
28257         (PARMS): Do not use macros from bp-asm.h.
28258         (S1): Likewise.
28259         (S2): Likewise.
28260         (SIZE): Likewise.
28261         (__mpn_add_n): Do not use BP_SYM.
28262         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28263         "bp-asm.h".
28264         (PARMS): Do not use macros from bp-asm.h.
28265         (S1): Likewise.
28266         (SIZE): Likewise.
28267         (__mpn_addmul_1): Do not use BP_SYM.
28268         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28269         weak_alias.
28270         (bzero): Likewise.
28271         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28272         "bp-asm.h".
28273         (PARMS): Do not use macros from bp-asm.h.
28274         (S): Likewise.
28275         (SIZE): Likewise.
28276         (__mpn_lshift): Do not use BP_SYM.
28277         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28278         "bp-asm.h".
28279         (PARMS): Do not use macros from bp-asm.h.
28280         (DEST): Likewise.
28281         (SRC): Likewise.
28282         (LEN): Likewise.
28283         (memcpy): Likewise.  Do not use BP_SYM.
28284         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28285         libc_hidden_def and weak_alias.
28286         (mempcpy): Do not use BP_SYM in weak_alias.
28287         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28288         "bp-asm.h".
28289         (PARMS): Do not use macros from bp-asm.h.
28290         (DEST): Likewise.
28291         (LEN): Likewise.
28292         [!BZERO_P] (CHR): Likewise.
28293         (memset): Likewise.  Do not use BP_SYM.
28294         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28295         "bp-asm.h".
28296         (PARMS): Do not use macros from bp-asm.h.
28297         (S1): Likewise.
28298         (SIZE): Likewise.
28299         (__mpn_mul_1): Do not use BP_SYM.
28300         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28301         "bp-asm.h".
28302         (PARMS): Do not use macros from bp-asm.h.
28303         (S): Likewise.
28304         (SIZE): Likewise.
28305         (__mpn_rshift): Do not use BP_SYM.
28306         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28307         "bp-asm.h".
28308         (PARMS): Do not use macros from bp-asm.h.
28309         (STR): Likewise.
28310         (CHR): Likewise.
28311         (strchr): Likewise.  Do not use BP_SYM.
28312         (index): Do not use BP_SYM in weak_alias.
28313         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28314         "bp-asm.h".
28315         (PARMS): Do not use macros from bp-asm.h.
28316         (DEST): Likewise.
28317         (SRC): Likewise.
28318         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28319         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28320         "bp-asm.h".
28321         (PARMS): Do not use macros from bp-asm.h.
28322         (strlen): Do not use BP_SYM.
28323         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28324         "bp-asm.h".
28325         (PARMS): Do not use macros from bp-asm.h.
28326         (S1): Likewise.
28327         (S2): Likewise.
28328         (SIZE): Likewise.
28329         (__mpn_sub_n): Do not use BP_SYM.
28330         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28331         "bp-asm.h".
28332         (PARMS): Do not use macros from bp-asm.h.
28333         (S1): Likewise.
28334         (SIZE): Likewise.
28335         (__mpn_submul_1): Do not use BP_SYM.
28336         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28337         "bp-asm.h".
28338         (PARMS): Do not use macros from bp-asm.h.
28339         (S1): Likewise.
28340         (S2): Likewise.
28341         (SIZE): Likewise.
28342         (__mpn_add_n): Do not use BP_SYM.
28343         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28344         weak_alias.
28345         (bzero): Likewise.
28346         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28347         "bp-asm.h".
28348         (PARMS): Do not use macros from bp-asm.h.
28349         (BLK2): Likewise.
28350         (LEN): Likewise.
28351         (memcmp): Do not use BP_SYM.
28352         (bcmp): Do not use BP_SYM in weak_alias.
28353         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28354         "bp-asm.h".
28355         (PARMS): Do not use macros from bp-asm.h.
28356         (DEST): Likewise.
28357         (SRC): Likewise.
28358         (LEN): Likewise.
28359         (memcpy): Likewise.  Do not use BP_SYM.
28360         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28361         "bp-asm.h".
28362         (PARMS): Do not use macros from bp-asm.h.
28363         (DEST): Likewise.
28364         (SRC): Likewise.
28365         (LEN): Likewise.
28366         (memmove): Likewise.  Do not use BP_SYM.
28367         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28368         "bp-asm.h".
28369         (PARMS): Do not use macros from bp-asm.h.
28370         (DEST): Likewise.
28371         (SRC): Likewise.
28372         (LEN): Likewise.
28373         (__mempcpy): Likewise.  Do not use BP_SYM.
28374         (mempcpy): Do not use BP_SYM in weak_alias.
28375         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28376         "bp-asm.h".
28377         (PARMS): Do not use macros from bp-asm.h.
28378         (DEST): Likewise.
28379         (LEN): Likewise.
28380         [!BZERO_P] (CHR): Likewise.
28381         (memset): Likewise.  Do not use BP_SYM.
28382         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28383         "bp-asm.h".
28384         (PARMS): Do not use macros from bp-asm.h.
28385         (STR2): Likewise.
28386         (strcmp): Do not use BP_SYM.
28387         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28388         "bp-asm.h".
28389         (PARMS): Do not use macros from bp-asm.h.
28390         (STR): Likewise.
28391         (DELIM): Likewise.
28392         [USE_AS_STRTOK_R] (SAVE): Likewise.
28393         (FUNCTION): Likewise.  Do not use BP_SYM.
28394         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28395         aliases.
28396         (strtok_r): Likewise.
28397         (__GI___strtok_r): Likewise.
28398         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28399         (PARMS): Do not use macros from bp-asm.h.
28400         (S): Likewise.
28401         (SIZE): Likewise.
28402         (__mpn_lshift): Do not use BP_SYM.
28403         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28404         (PARMS): Do not use macros from bp-asm.h.
28405         (STR): Likewise.
28406         (CHR): Likewise.
28407         (__memchr): Do not use BP_SYM.
28408         (memchr): Do not use BP_SYM in weak_alias.
28409         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28410         (PARMS): Do not use macros from bp-asm.h.
28411         (BLK2): Likewise.
28412         (LEN): Likewise.
28413         (memcmp): Do not use BP_SYM.
28414         (bcmp): Do not use BP_SYM in weak_alias.
28415         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28416         (PARMS): Do not use macros from bp-asm.h.
28417         (S1): Likewise.
28418         (SIZE): Likewise.
28419         (__mpn_mul_1): Do not use BP_SYM.
28420         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28421         "bp-asm.h".
28422         (PARMS): Do not use macros from bp-asm.h.
28423         (STR): Likewise.
28424         (CHR): Likewise.
28425         (__rawmemchr): Do not use BP_SYM.
28426         (rawmemchr): Do not use BP_SYM in weak_alias.
28427         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28428         (PARMS): Do not use macros from bp-asm.h.
28429         (S): Likewise.
28430         (SIZE): Likewise.
28431         (__mpn_rshift): Do not use BP_SYM.
28432         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28433         (PARMS): Do not use macros from bp-asm.h.
28434         (SIGMSK): Likewise.
28435         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28436         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28437         (_start): Do not use BP_SYM.
28438         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28439         (PARMS): Do not use macros from bp-asm.h.
28440         (DEST): Likewise.
28441         (SRC): Likewise.
28442         (__stpcpy): Likewise.  Do not use BP_SYM.
28443         (stpcpy): Do not use BP_SYM in weak_alias.
28444         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28445         "bp-asm.h".
28446         (PARMS): Do not use macros from bp-asm.h.
28447         (DEST): Likewise.
28448         (SRC): Likewise.
28449         (LEN): Likewise.
28450         (__stpncpy): Likewise.  Do not use BP_SYM.
28451         (stpncpy): Do not use BP_SYM in weak_alias.
28452         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28453         (PARMS): Do not use macros from bp-asm.h.
28454         (STR): Likewise.
28455         (CHR): Likewise.
28456         (strchr): Likewise.  Do not use BP_SYM.
28457         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28458         "bp-asm.h".
28459         (PARMS): Do not use macros from bp-asm.h.
28460         (STR): Likewise.
28461         (CHR): Likewise.
28462         (__strchrnul): Likewise.  Do not use BP_SYM.
28463         (strchrnul): Do not use BP_SYM in weak_alias.
28464         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28465         "bp-asm.h".
28466         (PARMS): Do not use macros from bp-asm.h.
28467         (STOP): Likewise.
28468         (strcspn): Do not use BP_SYM.
28469         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28470         "bp-asm.h".
28471         (PARMS): Do not use macros from bp-asm.h.
28472         (STR): Likewise.
28473         (STOP): Likewise.
28474         (strpbrk): Likewise.  Do not use BP_SYM.
28475         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28476         "bp-asm.h".
28477         (PARMS): Do not use macros from bp-asm.h.
28478         (STR): Likewise.
28479         (CHR): Likewise.
28480         (strrchr): Likewise.  Do not use BP_SYM.
28481         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28482         (PARMS): Do not use macros from bp-asm.h.
28483         (SKIP): Likewise.
28484         (strspn): Do not use BP_SYM.
28485         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28486         (PARMS): Do not use macros from bp-asm.h.
28487         (STR): Likewise.
28488         (DELIM): Likewise.
28489         (SAVE): Likewise.
28490         (FUNCTION): Likewise.  Do not use BP_SYM.
28491         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28492         aliases.
28493         (strtok_r): Likewise.
28494         (__GI___strtok_r): Likewise.
28495         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28496         (PARMS): Do not use macros from bp-asm.h.
28497         (S1): Likewise.
28498         (S2): Likewise.
28499         (SIZE): Likewise.
28500         (__mpn_sub_n): Do not use BP_SYM.
28501         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28502         "bp-asm.h".
28503         (PARMS): Do not use macros from bp-asm.h.
28504         (S1): Likewise.
28505         (SIZE): Likewise.
28506         (__mpn_submul_1): Do not use BP_SYM.
28507         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28508         <bp-sym.h>.
28509         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28510         and <bp-asm.h>.
28511         (PARMS): Do not use macros from bp-asm.h.
28512         (FLAGS): Likewise.
28513         (PTID): Likewise.
28514         (TLS): Likewise.
28515         (CTID): Likewise.
28516         (__clone): Do not use BP_SYM.
28517         (clone): Do not use BP_SYM in weak_alias.
28518         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28519         and <bp-asm.h>.
28520         (PARMS): Do not use macros from bp-asm.h.
28521         (LEN): Likewise.
28522         (__mmap64): Do not use BP_SYM.
28523         (mmap64): Do not use BP_SYM in weak_alias.
28524         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28525         <bp-sym.h> and <bp-asm.h>.
28526         (PARMS): Do not use macros from bp-asm.h.
28527         (__posix_fadvise64_l64): Do not use BP_SYM.
28528         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28529         (PARMS): Do not use macros from bp-asm.h.
28530         (NSOPS): Likewise.
28531         (semtimedop): Do not use BP_SYM.
28532         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28533         and <bp-asm.h>.
28534
28535 2013-02-21  Allan McRae  <allan@archlinux.org>
28536
28537         * manual/message.texi (Charset conversion in gettext):
28538         Move @end statement to beginning of line.
28539
28540 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28541
28542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28543         static.
28544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28545         Likewise.
28546
28547         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28548         (denorm): Likewise.
28549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28551
28552 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28553
28554         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28555         tail-call to the resolved function if pltexit isn't needed.
28556
28557 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28558
28559         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28560         or Y being zero as being unlikely.
28561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28562         Likewise.
28563
28564 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28565
28566         * manual/nss.texi (System Databases and Name Service Switch):
28567         Remove frobnicate @pxref.
28568
28569 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28570
28571         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28572         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28573
28574 2013-02-20  Petr Machata  <pmachata@redhat.com>
28575
28576         * elf/elf.h (R_ARM_TARGET1): New macro.
28577         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28578         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28579         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28580         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28581         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28582         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28583         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28584         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28585         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28586         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28587         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28588         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28589         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28590         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28591         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28592         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28593         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28594         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28595         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28596         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28597         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28598         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28599         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28600         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28601         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28602         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28603         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28604         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28605         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28606         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28607         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28608         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28609         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28610         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28611         (R_ARM_THM_GOT_BREL12): Likewise.
28612         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28613         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28614         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28615         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28616         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28617         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28618         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28619         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28620         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28621
28622 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28623
28624         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28625         __attribute_used__ to __attribute__ ((unused)).
28626
28627 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28628
28629         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28630         powerpc mpa.c.
28631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28632         comment formatting.
28633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28634
28635 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28636
28637         [BZ #13550]
28638         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28639         Remove macro.
28640         (ENTER): Remove both macro definitions.
28641         (LEAVE): Likewise.
28642         (CHECK_BOUNDS_LOW): Likewise.
28643         (CHECK_BOUNDS_HIGH): Likewise.
28644         (CHECK_BOUNDS_BOTH): Likewise.
28645         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28646         (RETURN_BOUNDED_POINTER): Likewise.
28647         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28648         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28649         (POP_ERRNO_LOCATION_RETURN): Likewise.
28650         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28651         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28652         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28653         macros.
28654         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28655         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28656         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28657         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28658         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28659         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28660         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28661         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28662         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28663         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28664         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28665         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28666         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28667         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28668         removed macros.
28669         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28670         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28671         macros.
28672         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28673         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28674         * sysdeps/i386/i586/memset.S (memset): Likewise.
28675         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28676         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28677         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28678         macros.
28679         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28680         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28681         Change uses of L(2) to L(out).
28682         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28683         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28684         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28685         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28686         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28687         removed macros.
28688         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28689         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28690         macros.
28691         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28692         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28693         (RETURN): Do not use macro LEAVE.
28694         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28695         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28696         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28697         * sysdeps/i386/i686/memset.S (memset): Likewise.
28698         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28699         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28700         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28701         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28702         Likewise.
28703         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28704         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28705         L(1_2) and L(1_3) into L(1).
28706         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28707         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28708         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28709         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28710         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28711         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28712         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28713         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28714         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28715         macros.
28716         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28717         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28718         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28719         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28720         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28721         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28722         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28723         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28724         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28725         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28726         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28727         * sysdeps/i386/strspn.S (strspn): Likewise.
28728         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28729         conditional code.
28730         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28731         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28732         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28733         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28734         L(1_3) into L(1_1).
28735         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28736         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28737         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28738         macros.
28739         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28740
28741 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
28742
28743         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28744         macro.
28745
28746 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28747
28748         * math/atest-exp.c (exp_mpn): Remove ROUND.
28749         * math/atest-exp2.c (exp_mpn): Likewise.
28750         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28751
28752         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28753         * stdlib/tst-tls-atexit-lib.c: Likewise.
28754         * stdlib/tst-tls-atexit.c: Likewise.
28755
28756 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28757
28758         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28759         and __attribute_alloc_size__.
28760
28761 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28762
28763         * include/programs/xmalloc.h: Change __attribute_alloc_size to
28764         __attribute_alloc_size__.
28765         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28766         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28767
28768 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28769
28770         * include/programs/xmalloc.h: New file.
28771         * catgets/gencat.c: Include it.
28772         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28773         * elf/pldd.c: Likewise.
28774         * iconv/iconv_charmap.c: Likewise.
28775         * iconv/iconvconfig.c: Likewise.
28776         * iconv/strtab.c: Likewise.
28777         * locale/programs/locale.c: Likewise.
28778         * locale/programs/localedef.h: Likewise.
28779         * locale/programs/simple-hash.c: Likewise.
28780         * nscd/nscd.h: Likewise.
28781         * nss/makedb.c: Likewise.
28782         * sysdeps/generic/ldconfig.h: Likewise.
28783
28784 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28785
28786         * Versions.def: Add GLIBC_2.18.
28787         * include/link.h (struct link_map): New member l_tls_dtor_count.
28788         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28789         (__call_tls_dtors): Likewise.
28790         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28791         __cxa_thread_atexit_impl.
28792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28793         Likewise.
28794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28795         Likewise.
28796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28797         Likewise.
28798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28799         Likewise.
28800         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28802         Likewise.
28803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28804         Likewise.
28805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28807         Likewise.
28808         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28809         (tests): Add test case tst-tls-atexit.
28810         (modules-names): Add shared library for tst-tls-atexit.
28811         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28812         (GLIBC_PRIVATE): Add __call_tls_dtors.
28813         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28814         for libstdc++.
28815         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28816         * stdlib/tst-tls-atexit.c: New test case.
28817         * stdlib/tst-tls-atexit-lib.c: New test case.
28818
28819         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28820
28821         * elf/Versions (ld): Add _dl_find_dso_for_object.
28822         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28823         * elf/dl-open.c (_dl_find_dso_for_object): New function.
28824         (dl_open_worker): Use _dl_find_dso_for_object.
28825         * elf/dl-sym.c (do_sym): Likewise.
28826         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28827
28828 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28829
28830         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28831         Syntactic changes only.
28832         (_dl_runtime_profile): Do a tail-call to the resolved function.
28833
28834 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
28835
28836         [BZ #13550]
28837         * sysdeps/x86_64/bp-asm.h: Remove file.
28838         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28839         <bp-sym.h> and <bp-asm.h>.
28840         (__clone): Do not use BP_SYM.
28841         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28842         <bp-sym.h> and <bp-asm.h>.
28843         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28844         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28845         "bp-asm.h".
28846         (_setjmp): Do not use BP_SYM.
28847         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28848         "bp-asm.h".
28849         (setjmp): Do not use BP_SYM.
28850         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28851         libc_hidden_def.
28852         (mempcpy): Do not use BP_SYM in weak_alias.
28853         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28854         "bp-asm.h".
28855         (strchr): Do not use BP_SYM.
28856         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28857         "bp-asm.h".
28858         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28859         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28860         (_start): Do not use BP_SYM.
28861         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28862         "bp-asm.h".
28863         (strcat): Do not use BP_SYM.
28864         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28865         "bp-asm.h".
28866         (STRCMP): Do not use BP_SYM.
28867         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28868         "bp-asm.h".
28869         (STRCPY): Do not use BP_SYM.
28870         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28871         "bp-asm.h".
28872         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28873         "bp-asm.h".
28874         (FUNCTION): Do not use BP_SYM.
28875         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28876         weak_alias.
28877         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28878
28879 2013-02-17  Andreas Jaeger  <aj@suse.de>
28880
28881         * time/Versions: Sort entries.
28882         * string/Versions: Likewise.
28883         * resolv/Versions: Likewise.
28884         * posix/Versions: Likewise.
28885         * iconv/Versions: Likewise.
28886         * elf/Versions: Likewise.
28887         * wcsmbs/Versions: Likewise.
28888
28889 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28890
28891         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28892         loop termination condition.
28893
28894         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28895         variable to calculate EZ.
28896         (__sqr): Likewise.
28897
28898         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28899         the lower precision input.
28900
28901 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
28902
28903         [BZ #13550]
28904         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28905         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28906         (run-via-rtld-prefix): Do not handle %-bp tests.
28907         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28908         (all-object-suffixes): Remove .ob.
28909         (bppfx): Remove variable.
28910         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28911         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28912         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28913         [$(build-bounded) = yes] (libtype.ob): Likewise.
28914         * Makerules (elide-routines.ob): Remove variable.
28915         (do-tests-clean): Do not handle *-bp.out.
28916         (common-mostlyclean): Do not handle *-bp and *-bp.out.
28917         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28918         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28919         (tests): Do not include $(tests-bp.out).
28920         (xtests): Do not include $(xtests-bp.out).
28921         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28922         [$(build-bounded) = yes] ($(addprefix
28923         $(objpfx),$(binaries-bounded))): Remove rule.
28924         ($(objpfx)%-bp.out): Remove rule.
28925         * config.make.in (build-bounded): Remove variable.
28926         * crypt/Makefile [$(build-bounded) = yes]
28927         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28928         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28929         append to variable.
28930         [$(build-bounded) = yes] (install-lib): Likewise.
28931         [$(build-bounded) = yes] (generated): Likewise.
28932         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28933         Remove rule.
28934         * intl/Makefile [$(build-bounded) = yes]
28935         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28936         * math/Makefile [$(build-bounded) = yes]
28937         ($(tests:%=$(objpfx)%-bp): Likewise.
28938         * misc/Makefile [$(build-bounded) = yes]
28939         ($(objpfx)tst-tsearch-bp): Likewise.
28940         * nptl/Makeconfig (bounded-thread-library): Remove variable.
28941         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28942         Remove dependency.
28943         * string/Makefile (o-objects.ob): Remove variable.
28944         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28945         (CFLAGS-.ob): Remove variable.
28946         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28947         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28948         both definitions of variable.
28949         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28950         (ASFLAGS-.ob): Remove variable.
28951
28952 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
28953
28954         [BZ #13550]
28955         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28956         Remove __BOUNDED_POINTERS__ from condition.
28957         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28958         * string/bits/string2.h [!__NO_STRING_INLINES &&
28959         !__BOUNDED_POINTERS__]: Likewise.
28960         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28961         Likewise.
28962         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28963         Remove conditional code.
28964         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28965         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28966         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28967         condition.
28968
28969         [BZ #13550]
28970         * csu/libc-start.c: Do not include <bp-sym.h>.
28971         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28972         * elf/dl-open.c: Do not include <bp-sym.h>.
28973         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28974         * math/fegetenv.c: Do not include <bp-sym.h>.
28975         (fegetenv): Do not use BP_SYM in versioned symbols.
28976         * nptl/sysdeps/pthread/bits/libc-lockP.h
28977         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28978         <bp-sym.h>.
28979         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28980         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28981         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28982         (__pthread_mutex_destroy): Likewise.
28983         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28984         (__pthread_mutex_lock): Likewise.
28985         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28986         (__pthread_mutex_trylock): Likewise.
28987         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28988         (__pthread_mutex_unlock): Likewise.
28989         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28990         (__pthread_mutexattr_init): Likewise.
28991         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28992         (__pthread_mutexattr_destroy): Likewise.
28993         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28994         (__pthread_mutexattr_settype): Likewise.
28995         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28996         (__pthread_rwlock_init): Likewise.
28997         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28998         (__pthread_rwlock_destroy): Likewise.
28999         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29000         (__pthread_rwlock_rdlock): Likewise.
29001         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29002         (__pthread_rwlock_tryrdlock): Likewise.
29003         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29004         (__pthread_rwlock_wrlock): Likewise.
29005         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29006         (__pthread_rwlock_trywrlock): Likewise.
29007         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29008         (__pthread_rwlock_unlock): Likewise.
29009         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29010         (__pthread_key_create): Likewise.
29011         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29012         (__pthread_setspecific): Likewise.
29013         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29014         (__pthread_getspecific): Likewise.
29015         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29016         Likewise.
29017         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29018         (_pthread_cleanup_push_defer): Likewise.
29019         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29020         (_pthread_cleanup_pop_restore): Likewise.
29021         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29022         (pthread_setcancelstate): Likewise.
29023         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29024         <bp-sym.h>.
29025         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29026         (memchr): Do not use BP_SYM in weak_alias.
29027         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29028         (fegetenv): Do not use BP_SYM in versioned symbols.
29029         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29030         (fesetenv): Do not use BP_SYM in versioned symbols.
29031         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29032         (feupdateenv): Do not use BP_SYM in versioned symbols.
29033         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29034         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29035         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29036         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29037         (open64): Do not use BP_SYM in weak_alias.
29038         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29039         (fegetenv): Do not use BP_SYM in versioned symbols.
29040         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29041         (fesetenv): Do not use BP_SYM in versioned symbols.
29042         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29043         (feupdateenv): Do not use BP_SYM in versioned symbols.
29044         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29045         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29046         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29047         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29048         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29049         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29050         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29051         <bp-sym.h>.
29052         (__libc_start_main): Do not use BP_SYM.
29053
29054 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29055
29056         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29057         redundant return line.
29058         (norm): Likewise.
29059         (denorm): Likewise.
29060         (dbl_mp): Likewise.
29061         (sub_magnitudes): Likewise.
29062         (__add): Likewise.
29063         (__sub): Likewise.
29064         (__mul): Likewise.
29065         (__inv): Likewise.
29066         (__dvd): Likewise.
29067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29068         (norm): Likewise.
29069         (denorm): Likewise.
29070         (dbl_mp): Likewise.
29071         (sub_magnitudes): Likewise.
29072         (__add): Likewise.
29073         (__sub): Likewise.
29074         (__mul): Likewise.
29075         (__inv): Likewise.
29076         (__dvd): Likewise.
29077
29078         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29079         instead of __mul.
29080         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29081         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29082         (cc32): Likewise.
29083
29084         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29085         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29086         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29087         of __mul for squares.
29088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29089         function
29090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29091         Likewise.
29092         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29093         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29094
29095 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29096
29097         [BZ #13550]
29098         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29099         code.
29100         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29101         prototype or function definition.  Rename ubp_* variables and
29102         parameters.  Remove argv definitions conditional on
29103         [__BOUNDED_POINTERS__].
29104         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29105         * elf/dl-runtime.c (_dl_fixup): Likewise.
29106         * include/set-hooks.h (RUN_HOOK): Likewise.
29107         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29108         definition.
29109         * string/strcpy.c (strcpy): Do not use __unbounded.
29110         * sysdeps/generic/frame.h (struct layout): Likewise.
29111         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29112         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29113         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29114         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29115         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29116         (__backtrace): Likewise.
29117         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29118         use __ptrvalue.
29119         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29120         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29121         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29122         Likewise.
29123         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29124         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29125         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29126         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29127         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29128         Do not use __unbounded.
29129         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29130         Rename __unboundedrlimits parameter to rlimits in prototype.
29131         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29132         Do not use __unbounded.
29133         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29134         not use __ptrvalue.
29135         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29136         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29137         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29138         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29139         __ptrvalue or __unbounded.
29140         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29141         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29142         use __unbounded.
29143         (__new_msgctl): Do not use __ptrvalue.
29144         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29145         __unbounded.
29146         (__libc_msgrcv): Do not use __ptrvalue.
29147         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29148         startup_info): Do not use __unbounded.
29149         (__libc_start_main): Likewise.  Rename ubp_* variables and
29150         parameters.  Remove argv definitions conditional on
29151         [__BOUNDED_POINTERS__].
29152         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29153         __ptrvalue.
29154         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29155         use __unbounded.
29156         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29157         or __ptrvalue.
29158         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29159         use __unbounded.
29160         (__new_shmctl): Do not use __ptrvalue.
29161         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29162         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29163         Likewise.
29164         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29165         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29166         (__libc_sigaction): Likewise.
29167         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29168         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29169         Likewise.
29170         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29171
29172 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29173
29174         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29175
29176         * string/mempcpy.c: Implement by calling memcpy.
29177
29178 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29179
29180         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29181
29182         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29183         evaluation.
29184
29185         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29186         values in the mantissa.
29187
29188         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29189         minimize writes to Z.
29190         (sub_magnitudes): Simplify code a bit.
29191
29192 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29193
29194         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29195         from the message.  The linker prefixes all warnings with that already.
29196
29197 2013-02-12  Andreas Schwab  <schwab@suse.de>
29198
29199         [BZ #15078]
29200         * posix/regexec.c (extend_buffers): Add parameter min_len.
29201         (check_matching): Pass minimum needed length.
29202         (clean_state_log_if_needed): Likewise.
29203         (get_subexp): Likewise.
29204         * posix/Makefile (tests): Add bug-regex34.
29205         (bug-regex34-ENV): Define.
29206         * posix/bug-regex34.c: New file.
29207
29208         [BZ #11561]
29209         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29210         elements compare against the byte sequence of it, not its name.
29211         * posix/Makefile (tests): Add bug-regex35.
29212         (bug-regex35-ENV): Define.
29213         * posix/bug-regex35.c: New file.
29214
29215 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29216
29217         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29218         comment.
29219         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29220         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29221         (CHECK_EOL): Add undef.
29222
29223 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29224
29225         * bits/stdlib-bsearch.h: New file.
29226         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29227         * stdlib/stdlib.h: Likewise.
29228
29229 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29230
29231         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29232         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29233         declaration.
29234         * manual/search.texi (Array Search Function): Add missing const in
29235         lfind prototype.
29236         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29237         declaration to use rlim_t.
29238         (Basic Scheduling Functions): Remove erroneous const from
29239         sched_getparam prototype.  Remove erroneous * from
29240         sched_get_priority_max and sched_get_priority_min prototypes.
29241         (Resource Usage): Fix summary @comment on vtimes to refer to
29242         sys/vtimes.h rather than vtimes.h.
29243         Add missing *s in vtimes prototype.
29244         (Limits on Resources): Fix ulimit prototype to return long int.
29245         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29246         prototypes to use long int rather than double.
29247         (BSD Random): Fix initstate and setstate to use char *, not void *.
29248         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29249         prototype to make second argument 'struct aiocb64 *const[]'.
29250         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29251         (Status of AIO Operations): Remove erroneous const in aio_return and
29252         aio_return64 prototypes.
29253         (Synchronizing I/O): Fix sync prototype to return void.
29254         * manual/startup.texi (Suboptions): Remove an erroneous const in
29255         getsubopt prototype.
29256         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29257         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29258         use size_t rather than int.
29259         (Scanning All Users): Likewise for getpwent_r.
29260         (Setting Groups): Add missing const to setgroups prototype.
29261         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29262         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29263         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29264         'const void *' rather than 'const char *'.
29265         (Host Address Functions): Likewise for inet_ntop.
29266         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29267         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29268         ssize_t for return value.
29269         (Sending Data): Likewise for send, sendto, sendmsg.
29270         (Socket Option Functions): Add a missing const in setsockopt prototype.
29271         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29272         use wchar_t for the argument.
29273         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29274         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29275         take no arguments.
29276         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29277         double/float/long double for second argument.
29278         Fix return types of significand, significandf, significandl.
29279         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29280         argument in fchmod prototype.
29281         (File Owner): Use uid_t and gid_t in fchown prototype.
29282         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29283         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29284         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29285         use 'const struct dirent **' as argument types to CMP function pointer
29286         argument.
29287         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29288         (File Times): Fix summary magic @comment for struct utimbuf and utime
29289         to refer to utime.h, not time.h.
29290         * manual/string.texi (Argz Functions): Add missing const in
29291         argz_extract and argz_next prototypes.
29292         (Finding Tokens in a String): Likewise for basename.
29293         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29294         (Copying and Concatenation): Fix typo in wmemmove prototype.
29295         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29296         (Signal Stack): Remove erroneous const in sigstack prototype.
29297         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29298         prototype.
29299         (Simple Calendar Time): Likewise for stime.
29300         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29301         prototype.
29302         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29303         say sys/sysctl.h instead.
29304         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29305         and vsyslog prototypes.
29306
29307 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29308
29309         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29310         Remove.
29311
29312 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29313
29314         * misc/sys/mman.h: Fix typo in mremap comment.
29315
29316 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29317
29318         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29319         the '\0' terminator.
29320
29321 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29322
29323         [BZ #13550]
29324         * debug/segfault.c: Don't include <bp-checks.h>.
29325         * sysdeps/generic/bp-checks.h: Remove file.
29326         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29327         (__GETDENTS): Don't use CHECK_N.
29328         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29329         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29330         (__getgroups): Don't use CHECK_N.
29331         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29332         (setgroups): Don't use CHECK_N.
29333         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29334         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29335         (__libc_msgrcv): Don't use CHECK_N.
29336         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29337         (__libc_msgsnd): Don't use CHECK_N.
29338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29339         <bp-checks.h>.
29340         (__libc_pread): Don't use CHECK_N.
29341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29342         include <bp-checks.h>.
29343         (__libc_pread64): Don't use CHECK_N.
29344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29345         include <bp-checks.h>.
29346         (__libc_pwrite): Don't use CHECK_N.
29347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29348         include <bp-checks.h>.
29349         (__libc_pwrite64): Don't use CHECK_N.
29350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29351         <bp-checks.h>.
29352         (__libc_pread): Don't use CHECK_N.
29353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29354         include <bp-checks.h>.
29355         (__libc_pread64): Don't use CHECK_N.
29356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29357         include <bp-checks.h>.
29358         (__libc_pwrite): Don't use CHECK_N.
29359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29360         include <bp-checks.h>.
29361         (__libc_pwrite64): Don't use CHECK_N.
29362         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29363         (do_pread): Don't use CHECK_N.
29364         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29365         (do_pread64): Don't use CHECK_N.
29366         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29367         (do_pwrite): Don't use CHECK_N.
29368         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29369         (do_pwrite64): Don't use CHECK_N.
29370         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29371         (__libc_readv): Don't use CHECK_N.
29372         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29373         (semop): Don't use CHECK_N.
29374         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29375         <bp-checks.h>.
29376         (semtimedop): Don't use CHECK_N.
29377         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29378         (__libc_pread): Don't use CHECK_N.
29379         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29380         <bp-checks.h>.
29381         (__libc_pread64): Don't use CHECK_N.
29382         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29383         <bp-checks.h>.
29384         (__libc_pwrite): Don't use CHECK_N.
29385         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29386         <bp-checks.h>.
29387         (__libc_pwrite64): Don't use CHECK_N.
29388         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29389         <bp-checks.h>.
29390         (__libc_msgrcv): Don't use CHECK_N.
29391         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29392         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29393         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29394         (__libc_writev): Don't use CHECK_N.
29395
29396 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29397
29398         * string/strcpy.c: Removed unused variable.
29399
29400         * Makeconfig (+sysdep-includes): Define with := rather than =.
29401         Use an existing include/ subdir of each sysdeps dir before it.
29402
29403 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29404
29405         * nscd/connection.c (register_traced_file): Comment function.
29406         [HAVE_INOTIFY] (union __inev): Define.
29407         [HAVE_INOTIFY] (inotify_check_files): New function.
29408         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29409         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29410         clear_db_cache.
29411         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29412
29413 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29414
29415         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29416         loaded if not already and that a failure is permanent.
29417
29418 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29419
29420         [BZ #15006]
29421         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29422         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29423
29424 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29425
29426         [BZ #13550]
29427         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29428         (CHECK_1_NULL_OK): Likewise.
29429         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29430         (__fxstat): Do not use CHECK_1.
29431         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29432         <bp-checks.h>.
29433         (___fxstat64): Do not use CHECK_1.
29434         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29435         <bp-checks.h>.
29436         (__fxstatat): Do not use CHECK_1.
29437         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29438         <bp-checks.h>.
29439         (__fxstatat64): Do not use CHECK_1.
29440         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29441         <bp-checks.h>.
29442         (__fxstat): Do not use CHECK_1.
29443         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29444         <bp-checks.h>.
29445         (__fxstatat): Do not use CHECK_1.
29446         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29447         <bp-checks.h>.
29448         (__getresgid): Do not use CHECK_1.
29449         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29450         <bp-checks.h>.
29451         (__getresuid): Do not use CHECK_1.
29452         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29453         <bp-checks.h>.
29454         (__lxstat): Do not use CHECK_1.
29455         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29456         <bp-checks.h>.
29457         (__old_msgctl): Do not use CHECK_1.
29458         (__new_msgctl): Likewise.
29459         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29460         <bp-checks.h>.
29461         (__new_setrlimit): Do not use CHECK_1.
29462         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29463         <bp-checks.h>.
29464         (__old_shmctl): Do not use CHECK_1.
29465         (__new_shmctl): Likewise.
29466         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29467         <bp-checks.h>.
29468         (__xstat): Do not use CHECK_1.
29469         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29470         (__lxstat): Do not use CHECK_1.
29471         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29472         <bp-checks.h>.
29473         (___lxstat64): Do not use CHECK_1.
29474         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29475         (__old_msgctl): Do not use CHECK_1.
29476         (__new_msgctl): Likewise.
29477         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29478         <bp-checks.h>.
29479         (__gettimeofday): Do not use CHECK_1.
29480         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29481         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29482         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29483         <bp-checks.h>.
29484         (__gettimeofday): Do not use CHECK_1.
29485         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29486         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29487         (__new_shmctl): Do not use CHECK_1.
29488         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29489         <bp-checks.h>.
29490         (do_sigtimedwait): Do not use CHECK_1.
29491         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29492         <bp-checks.h>.
29493         (do_sigwaitinfo): Do not use CHECK_1.
29494         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29495         <bp-checks.h>.
29496         (msgctl): Do not use CHECK_1.
29497         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29498         <bp-checks.h>.
29499         (shmctl): Do not use CHECK_1.
29500         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29501         (ustat): Do not use CHECK_1.
29502         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29503         <bp-checks.h>.
29504         (__fxstat): Do not use CHECK_1.
29505         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29506         <bp-checks.h>.
29507         (__fxstatat): Do not use CHECK_1.
29508         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29509         <bp-checks.h>.
29510         (__lxstat): Do not use CHECK_1.
29511         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29512         <bp-checks.h>.
29513         (__xstat): Do not use CHECK_1.
29514         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29515         (__xstat): Do not use CHECK_1.
29516         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29517         (___xstat64): Do not use CHECK_1.
29518
29519         [BZ #13550]
29520         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29521         definitions.
29522         (CHECK_BOUNDS_HIGH): Likewise.
29523         * string/strcpy.c: Do not include <bp-checks.h>.
29524         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29525
29526 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29527
29528         * nscd/nscd-client.h (__nscd_drop_map_ref):
29529         Add __attribute__ ((unused)).
29530         * nis/nss-nisplus.h (niserr2nss): Likewise.
29531
29532         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29533         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29534
29535         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29536         Remove inline keyword.
29537         * include/rounding-mode.h (round_away): Likewise.
29538         * libio/wfileops.c (adjust_wide_data): Likewise.
29539         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29540         (__m128i_strloadu_tolower): Likewise.
29541         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29542         (__m128i_strloadu_tolower): Likewise.
29543         * time/mktime.c (ydhms_diff): Likewise.
29544         * locale/elem-hash.h (elem_hash): Likewise.
29545         * locale/setlocale.c (setdata): Likewise.
29546         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29547         (re_string_wchar_at): Likewise.
29548         (bitset_not, bitset_merge, bitset_mask): Likewise.
29549         [!(__GNUC__ > 3)] (inline): Remove macro.
29550         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29551         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29552         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29553         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29554         * string/memcmp.c (memcmp_bytes): Likewise.
29555         * locale/programs/locarchive.c (compute_hashval): Likewise.
29556         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29557         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29558         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29559         * nss/getent.c (print_rpc, print_protocols): Likewise.
29560         (print_passwd, print_group, print_aliases): Likewise.
29561         * nis/nss-nisplus.h (niserr2nss): Likewise.
29562         * nscd/connections.c (restart_p): Likewise.
29563         Change return type to bool.
29564
29565 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29566
29567         * Makeconfig (all-Depend-files): Add existing
29568         $(sorted-subdirs:=/Depend) files.
29569         (all-subdirs): Remove nss.
29570         * sysdeps/unix/inet/Subdirs: Add it here instead.
29571         * hesiod/Depend: New file.
29572
29573         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29574         instead of calling alloca.
29575
29576         * io/lseek.c (__lseek): Rename to __libc_lseek.
29577         Define __lseek as an alias.
29578
29579         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29580
29581 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29582
29583         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29584         else clause and remove check for non-standard endianness.
29585
29586 2013-02-04  David S. Miller  <davem@davemloft.net>
29587
29588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29589
29590 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29591
29592         [BZ #13550]
29593         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29594         (__ubp_memchr): Remove prototype.
29595         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29596         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29597         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29598         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29599         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29600         Remove alias.
29601         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29602         (__ubp_memchr): Likewise.
29603         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29604         (__ubp_memchr): Likewise.
29605         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29606         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29607         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29608         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29609         CHECK_STRING.
29610         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29611         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29612         (__getcwd): Do not use CHECK_STRING.
29613         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29614         <bp-checks.h>.
29615         (__real_chown): Do not use CHECK_STRING.
29616         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29617         <bp-checks.h>.
29618         (fchownat): Do not use CHECK_STRING.
29619         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29620         CHECK_STRING.
29621         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29622         <bp-checks.h>.
29623         (__lchown): Do not use CHECK_STRING.
29624         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29625         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29626         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29627         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29629         include <bp-checks.h>.
29630         (truncate64): Do not use CHECK_STRING.
29631         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29632         <bp-checks.h>.
29633         (__real_chown): Do not use CHECK_STRING.
29634         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29635         <bp-checks.h>.
29636         (__lchown): Do not use CHECK_STRING.
29637         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29638         <bp-checks.h>.
29639         (__chown): Do not use CHECK_STRING.
29640         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29641         <bp-checks.h>.
29642         (truncate64): Do not use CHECK_STRING.
29643         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29644         Likewise.
29645         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29646         (__xmknod): Do not use CHECK_STRING.
29647         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29648         <bp-checks.h>.
29649         (__xmknodat): Do not use CHECK_STRING.
29650         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29651         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29652
29653 2013-02-04  Andreas Schwab  <schwab@suse.de>
29654
29655         [BZ #14142]
29656         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29657         * include/netdb.h: Likewise for h_errno.
29658         * elf/tst-stackguard1.c: Include <tls.h>.
29659
29660 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29661
29662         * elf/link.h (struct link_map): Extend the l_addr comment.
29663         * include/link.h (struct link_map): Likewise.
29664
29665 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29666
29667         [BZ #13550]
29668         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29669         (BOUNDED_1): Remove macro.
29670         * debug/backtrace.c: Don't include <bp-checks.h>.
29671         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29672         (__backtrace): Likewise.
29673         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29674         <bp-checks.h>.
29675         (__backtrace): Don't use BOUNDED_1.
29676         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29677         <bp-checks.h>.
29678         (__backtrace): Don't use BOUNDED_1.
29679         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29680         (__backtrace): Don't use BOUNDED_1.
29681         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29682         (shmat): Don't use BOUNDED_N.
29683
29684 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29685
29686         [BZ #13550]
29687         * sysdeps/generic/bp-start.h: Remove file.
29688         * csu/libc-start.c: Don't include <bp-start.h>.
29689         (LIBC_START_MAIN): Set up __environ directly instead of using
29690         INIT_ARGV_and_ENVIRON.
29691         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29692         <bp-start.h>.
29693
29694         [BZ #13550]
29695         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29696         definitions.
29697         (CHECK_FCNTL): Likewise.
29698         (CHECK_N_PAGES): Likewise.
29699
29700         [BZ #13550]
29701         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29702         definitions.
29703         (CHECK_SIGSET_NULL_OK): Likewise.
29704         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29705         <bp-checks.h>.
29706         (sigpending): Don't use CHECK_SIGSET.
29707         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29708         <bp-checks.h>.
29709         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29710         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29711         <bp-checks.h>.
29712         (do_sigsuspend): Don't use CHECK_SIGSET.
29713         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29714         use CHECK_SIGSET.
29715         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29716         (do_sigwait): Don't use CHECK_SIGSET.
29717         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29718         use CHECK_SIGSET.
29719         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29720         include <bp-checks.h>.
29721         (sigpending): Don't use CHECK_SIGSET.
29722         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29723         include <bp-checks.h>.
29724         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29725         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29726         <bp-checks.h>.
29727         (sigpending): Don't use CHECK_SIGSET.
29728         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29729         <bp-checks.h>.
29730         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29731
29732         [BZ #13550]
29733         * sysdeps/generic/bp-semctl.h: Remove file.
29734         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29735         <bp-checks.h> and <bp-semctl.h>.
29736         (__old_semctl): Don't use CHECK_SEMCTL.
29737         (__new_semctl): Likewise.
29738         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29739         and <bp-semctl.h>.
29740         (__old_semctl): Don't use CHECK_SEMCTL.
29741         (__new_semctl): Likewise.
29742         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29743         <bp-checks.h> and <bp-semctl.h>.
29744         (__old_semctl): Don't use CHECK_SEMCTL.
29745         (__new_semctl): Likewise.
29746         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29747         <bp-checks.h> and <bp-semctl.h>.
29748         (semctl): Don't use CHECK_SEMCTL.
29749
29750         [BZ #13550]
29751         * Makerules (elide-bp-thunks): Remove variable.
29752         (elide-routines.oS): Don't use $(elide-bp-thunks).
29753         (elide-routines.os): Likewise.
29754         (elide-routines.o): Likewise.
29755         (elide-routines.op): Likewise.
29756         (elide-routines.og): Likewise.
29757         (objects): Don't use $(bp-thunks).
29758         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29759         include.
29760         (common-generated): Do not add s-proto-bp.d.
29761         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29762         (int): Likewise.
29763         (typ): Likewise.
29764         Do not generate makefile rules for bounded-pointer thunks.
29765         * sysdeps/generic/bp-thunks.h: Remove file.
29766         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29767         * sysdeps/unix/s-proto-bp.S: Likewise.
29768
29769         [BZ #15062]
29770         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29771         parts of result separately when argument is not close to line from
29772         -i to i and one part of argument is small.
29773         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29774         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29775         * math/libm-test.inc (cacos_test): Add more tests.
29776         (casin_test): Likewise.
29777         (casinh_test): Likewise.
29778         * sysdeps/i386/fpu/libm-test-ulps: Update.
29779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29780
29781 2013-01-31  David S. Miller  <davem@davemloft.net>
29782
29783         * po/de.po: Update from translation team.
29784
29785 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
29786
29787         * time/tzfile.c: Include stdint.h for SIZE_MAX.
29788
29789 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
29790
29791         * configure.in (_AC_PROG_CC_C89): New definition.
29792         * configure: Regenerate.
29793
29794         * configure.in (AC_PROG_CPP): New definition.
29795         * configure: Regenerate.
29796
29797 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29798
29799         * debug/tst-backtrace.h: New file.
29800         * debug/tst-backtrace2.c: Include tst-backtrace.h.
29801         (ret): Remove variable.
29802         (x): Likewise.
29803         (FAIL): Remove macro.
29804         (NO_INLINE): Likewise.
29805         (fn1): Use match function instead of strstr.
29806         * debug/tst-backtrace3.c: Include tst-backtrace.h.
29807         (ret): Remove variable.
29808         (x): Likewise.
29809         (FAIL): Remove macro.
29810         (NO_INLINE): Likewise.
29811         (fn): Use match function instead of strstr.
29812         * debug/tst-backtrace4.c: Include tst-backtrace.h.
29813         (ret): Remove variable.
29814         (x): Likewise.
29815         (FAIL): Remove macro.
29816         (NO_INLINE): Likewise.
29817         (handle_signal): Use match function instead of strstr.
29818         * debug/tst-backtrace5.c: Include tst-backtrace.h.
29819         (ret): Remove variable.
29820         (x): Likewise.
29821         (FAIL): Remove macro.
29822         (NO_INLINE): Likewise.
29823         (handle_signal): Use match function instead of strstr.
29824
29825 2013-01-23  Roland McGrath  <roland@hack.frob.com>
29826
29827         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29828
29829 2013-01-23  David S. Miller  <davem@davemloft.net>
29830
29831         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29832         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29833         argument of CAS if possible.
29834         * sysdeps/sparc/sparc64/bits/atomic.h
29835         (__arch_compare_and_exchange_val_32_acq): Likewise.
29836         (__arch_compare_and_exchange_val_64_acq): Likewise.
29837
29838 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
29839
29840         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29841         * sysdeps/posix/ulimit.c: ... this.
29842         Include <limits.h>.
29843         * sysdeps/unix/bsd/ulimit.c: Remove file.
29844
29845 2013-01-23  Adam Conrad  <adconrad@0c3.net>
29846
29847         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29848         (LDFLAGS-tst-array5): Likewise.
29849
29850 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29851
29852         [BZ #15036]
29853         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29854         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29855         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29856         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29857
29858 2013-01-21  David S. Miller  <davem@davemloft.net>
29859
29860         * sysdeps/sparc/backtrace.c: New file.
29861         * sysdeps/sparc/sparc32/backtrace.h: New file.
29862         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29863         * sysdeps/sparc/sparc64/backtrace.h: New file.
29864         * sysdeps/sparc/sparc64/backtrace.c: Delete.
29865         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29866         -funwind-tables.
29867
29868 2013-01-21  Andreas Schwab  <schwab@suse.de>
29869
29870         [BZ #15020]
29871         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29872         closed its stdout.
29873
29874 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
29875
29876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29877         "mpa2.h".
29878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29879
29880 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
29881             Mark Mitchell  <mark@codesourcery.com>
29882             Tom de Vries  <tom@codesourcery.com>
29883             Paul Pluzhnikov  <ppluzhnikov@google.com>
29884
29885         * debug/tst-backtrace2.c: New file.
29886         * debug/tst-backtrace3.c: Likewise.
29887         * debug/tst-backtrace4.c: Likewise.
29888         * debug/tst-backtrace5.c: Likewise.
29889         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29890         (CFLAGS-tst-backtrace3.c): Likewise.
29891         (CFLAGS-tst-backtrace4.c): Likewise.
29892         (CFLAGS-tst-backtrace5.c): Likewise.
29893         (LDFLAGS-tst-backtrace2): Likewise.
29894         (LDFLAGS-tst-backtrace3): Likewise.
29895         (LDFLAGS-tst-backtrace4): Likewise.
29896         (LDFLAGS-tst-backtrace5): Likewise.
29897         (tests): Add new tests tst-backtrace2, tst-backtrace3,
29898         tst-backtrace4 and tst-backtrace5.
29899
29900 2013-01-18  Anton Blanchard  <anton@samba.org>
29901             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29902
29903         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29904         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29905         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29906         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29908         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29909         "+r" and remove output regs list as redundant.  Add explicit inline
29910         asm to specify register of return val to work around compiler codegen
29911         bug.  Remove (int) cast on return value.  Add return type parameter to
29912         use in macro so that this macro does not truncate return value for
29913         64-bit values.
29914         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29915         pass to INTERNAL_VSYSCALL_NCS.
29916         (INLINE_VSYSCALL): Add 'long int' as return type to
29917         INTERNAL_VSYSCALL_NCS macro invocation.
29918         (INTERNAL_VSYSCALL): Add 'long int' as return type to
29919         INTERNAL_VSYSCALL_NCS macro invocation.
29920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29921
29922 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29923
29924         [BZ #14496]
29925         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29926         Fix application of SIMD FP exception mask.
29927
29928         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29929         mp_no from a power of two.
29930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29931         __mpexp_twomm1.  Use __pow_mp.
29932
29933         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29934         multiplication.
29935
29936 2013-01-17  David S. Miller  <davem@davemloft.net>
29937
29938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29939
29940 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29941
29942         [BZ #15023]
29943         * include/complex.h: Condition contents on [!_COMPLEX_H].
29944         (__kernel_casinhf): New prototype.
29945         (__kernel_casinh): Likewise.
29946         (__kernel_casinhl): Likewise.
29947         * math/Makefile (libm_calls): Add k_casinh.
29948         * math/k_casinh.c: New file.
29949         * math/k_casinhf.c: Likewise.
29950         * math/k_casinhl.c: Likewise.
29951         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29952         finite nonzero arguments.
29953         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29954         finite nonzero arguments.
29955         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29956         finite nonzero arguments.
29957         * math/s_casinh.c: Do not include <float.h>.
29958         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29959         * math/s_casinhf.c: Do not include <float.h>.
29960         (__casinhf): Move code for finite nonzero arguments to
29961         k_casinhf.c.
29962         * math/s_casinhl.c: Do not include <float.h>.
29963         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29964         redefine.
29965         (__casinhl): Move code for finite nonzero arguments to
29966         k_casinhl.c.
29967         * math/libm-test.inc (cacos_test): Add more tests.
29968         * sysdeps/i386/fpu/libm-test-ulps: Update.
29969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29970
29971 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
29972
29973         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29974         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29975         [!HAVE_MREMAP]: Remove [defined linux] case.
29976         * malloc/arena.c: Do not include <malloc-sysdep.h>.
29977
29978 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29979
29980         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29981
29982 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
29983
29984         * elf/elf.h (R_386_SIZE32): New relocation.
29985         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29986         R_386_SIZE32.
29987         (elf_machine_rela): Likewise.
29988         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29989         R_X86_64_SIZE64 and R_X86_64_SIZE32.
29990
29991 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29992
29993         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29994         (FP_FAST_FMA): Do not define.
29995         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29996         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29997         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29998         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29999         !_SOFT_FLOAT]: Likewise.
30000         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30001         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30002         value.
30003         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30004         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30005         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30006         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30007         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30008         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30009         file.
30010
30011 2013-01-16  Andreas Schwab  <schwab@suse.de>
30012
30013         [BZ #14327]
30014         * include/stdlib.h (__mktemp): Add declaration.
30015         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30016         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30017
30018 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30019
30020         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30021         definitions.
30022         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30023         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30024         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30025         definitions here.
30026         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30027         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30028         definitions.
30029         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30030         and ONE.
30031         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30032         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30033         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30034         definitions.
30035         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30036         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30037         definitions.
30038         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30039
30040         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30041
30042 2013-01-15  David S. Miller  <davem@davemloft.net>
30043
30044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30045         trunc{,f} to libm-sysdep_routes.
30046         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30048         file.
30049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30051         file.
30052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30053         file.
30054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30056         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30057         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30058         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30059         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30060         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30061         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30062
30063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30064         nearbyint{,f} to libm-sysdep_routes.
30065         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30067         New file.
30068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30069         file.
30070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30071         New file.
30072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30073         file.
30074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30076         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30077         file.
30078         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30079         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30080         file.
30081         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30082         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30083         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30084
30085         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30086         libc_feholdexcept and libc_fesetenv.
30087
30088 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30089
30090         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30091
30092 2013-01-14  David S. Miller  <davem@davemloft.net>
30093
30094         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30095         (SPARC_ASM_VIS2_IFUNC): Likewise.
30096         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30098         use of 'siam' instruction.
30099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30100         Likewise.
30101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30102         Likewise.
30103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30104         Likewise.
30105         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30106         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30107         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30110         file.
30111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30112         file.
30113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30114         file.
30115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30116         file.
30117         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30118         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30119         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30120         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30122         new VIS2 routines.
30123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30126         Likewise.
30127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30128         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30132         routines to libm-sysdep_routines.
30133         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30134
30135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30136         fdim/fdimf to libm-sysdep_routines.
30137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30138         file.
30139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30141         file.
30142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30145         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30146         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30147         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30148         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30149
30150 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30151
30152         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30153         to optimize copies.
30154
30155         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30158
30159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30160         local variable MPTWO.
30161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30162         Likewise.
30163
30164 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30165
30166         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30167         GLOB_NOESCAPE.
30168
30169 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30170
30171         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30172
30173 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30174
30175         * manual/pattern.texi (glob_t): Document gl_flags.
30176         (glob64_t): Likewise.
30177
30178 2013-01-11  David S. Miller  <davem@davemloft.net>
30179
30180         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30181         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30182         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30183         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30184         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30185         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30186         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30187         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30188         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30189         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30190         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30191         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30192         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30193
30194         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30195         sparc V9 rather than using V8 code.
30196         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30197         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30198
30199         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30200         Move to...
30201         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30202         Here.
30203
30204 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30205
30206         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30207         not in the main loop.
30208         * configure: Regenerated.
30209
30210 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30211
30212         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30213         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30214         to just #else.
30215         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30216         [!__GLIBC_HAVE_LONG_LONG] case.
30217         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30218         condition to just #else.
30219         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30220         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30221         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30222         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30223         unconditional.
30224         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30225         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30226         #elif condition to just #else.
30227         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30228         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30229         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30230         #elif condition to just #else.
30231
30232 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30233
30234         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30235         (EF_MIPS_ARCH_64): Fix value.
30236         (EF_MIPS_ARCH_32R2): New.
30237         (EF_MIPS_ARCH_64R2): New.
30238
30239 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30240
30241         * Makeconfig (+link-pie-before-libc): New.
30242         (+link-pie-after-libc): Likewise.
30243         (+link-pie-tests): Likewise.
30244         (+link-pie): Rewritten.
30245         (link-before-libc): Remove $(config-LDFLAGS).
30246         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30247         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30248         (config-LDFLAGS): Renamed to ...
30249         (rtld-LDFLAGS): This.
30250         (rtld-tests-LDFLAGS): New macro.
30251         (link-libc-rpath-link): Likewise.
30252         (link-libc-tests-rpath-link): Likewise.
30253         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30254         (link-libc): Prepand $(link-libc-rpath-link).
30255         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30256         (test-program-prefix): New macro.
30257         (test-via-rtld-prefix): Likewise.
30258         (test-program-cmd): Likewise.
30259         (host-test-program-cmd): Likewise.
30260         * Makefile ($(common-objpfx)testrun.sh): Replace
30261         $(run-program-prefix) with $(test-program-prefix).
30262         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30263         $(rtld-LDFLAGS).
30264         ($(common-objpfx)shlib.lds): Likewise.
30265         (build-module-helper): Likewise.
30266         ($(common-objpfx)format.lds): Likewise.
30267         * Rules (binaries-pie-tests): New.
30268         (binaries-pie-notests): Likewise.
30269         (binaries-pie): Rewritten.
30270         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30271         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30272         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30273         (make-test-out): Replace $(host-built-program-cmd) with
30274         $(host-test-program-cmd).
30275         * config.make.in (build-hardcoded-path-in-tests): New variable.
30276         * configure.in (--enable-hardcoded-path-in-tests): New configure
30277         option.
30278         (hardcoded_path_in_tests): New AC_SUBST.
30279         * configure: Regenerated.
30280         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30281         $(built-program-cmd) with $(test-program-cmd).
30282         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30283         (test_program_cmd): This.
30284         * elf/Makefile ($(objpfx)order.out): Run test with
30285         $(test-program-prefix).
30286         ($(objpfx)order2.out): Likewise.
30287         ($(objpfx)tst-initorder.out): Likewise.
30288         ($(objpfx)tst-initorder2.out): Likewise.
30289         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30290         $(test-program-cmd).
30291         ($(objpfx)tst-array1-static.out): Likewise.
30292         ($(objpfx)tst-array2.out): Likewise.
30293         ($(objpfx)tst-array3.out): Likewise.
30294         ($(objpfx)tst-array4.out): Likewise.
30295         ($(objpfx)tst-array5.out): Likewise.
30296         ($(objpfx)tst-array5-static.out): Likewise.
30297         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30298         $(test-program-cmd).
30299         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30300         $(run-program-prefix) with $(test-program-prefix).
30301         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30302         (test_program_prefix): This.
30303         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30304         $(run-program-prefix) with $(test-program-prefix).
30305         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30306         (test_program_prefix): This.
30307         * iconvdata/tst-tables.sh: Likewise.
30308         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30309         $(run-program-prefix) with $(test-program-prefix).
30310         ($(objpfx)tst-translit.out): Likewise.
30311         ($(objpfx)tst-gettext2.out): Likewise.
30312         ($(objpfx)tst-gettext4.out): Likewise.
30313         ($(objpfx)tst-gettext6.out): Likewise.
30314         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30315         (test_program_prefix): This.
30316         * intl/tst-gettext2.sh: Likewise.
30317         * intl/tst-gettext4.sh  Likewise.
30318         * intl/tst-gettext6.sh: Likewise.
30319         * intl/tst-translit.sh: Likewise.
30320         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30321         with $(test-program-cmd).
30322         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30323         $(run-program-prefix) with $(test-program-prefix).
30324         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30325         (test_program_prefix): This.
30326         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30327         $(run-program-prefix) with $(test-program-prefix).
30328         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30329         (test_program_prefix): This.
30330         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30331         * posix/Makefile ($(objpfx)globtest.out): Replace
30332         $(run-via-rtld-prefix) and $(test-wrapper) with
30333         $(test-program-prefix) and $(test-via-rtld-prefix).
30334         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30335         $(test-program-prefix).
30336         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30337         $(host-test-program-cmd).
30338         (tst-spawn-ARGS): Likewise.
30339         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30340         $(test-program-prefix).
30341         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30342         (test_via_rtld_prefix): This.
30343         (test_wrapper): Renamed to ...
30344         (test_program_prefix): This.
30345         (run_program_prefix): Replaced by test_program_prefix.
30346         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30347         (test_program_prefix): This.
30348         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30349         with $(host-test-program-cmd).
30350         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30351         $(run-program-prefix) with $(test-program-prefix).
30352         ($(objpfx)tst-printf.out): Likewise.
30353         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30354         $(test-program-cmd).
30355         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30356         (test_program_prefix): This.
30357         * stdio-common/tst-unbputc.sh: Likewise.
30358         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30359         $(run-program-prefix) with $(test-program-prefix).
30360         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30361         (test_program_prefix): This.
30362         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30363         $(built-program-cmd) with $(test-program-cmd).
30364
30365 2013-01-11  Andreas Jaeger  <aj@suse.de>
30366
30367         [BZ #15003]
30368         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30369         value. Sync with Linux 3.7.
30370
30371 2013-01-10  David S. Miller  <davem@davemloft.net>
30372
30373         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30374         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30375         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30376
30377 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30378
30379         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30380         never set.
30381         * configure: Regenerated.
30382
30383 2013-01-10  David S. Miller  <davem@davemloft.net>
30384
30385         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30386         sparc V9 rather than using V8 code.
30387         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30388         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30389
30390 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30391
30392         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30393         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30394         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30395         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30396         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30397         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30398         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30399         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30400         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30401         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30402         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30403         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30404         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30405         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30406         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30407         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30408         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30409         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30410         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30411         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30412         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30413         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30414         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30415         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30416         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30417         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30418         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30419
30420 2013-01-10  David S. Miller  <davem@davemloft.net>
30421
30422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30423
30424 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30425
30426         * posix/Makefile (tests-static): New variable.
30427         (tests): Add $(tests-static).
30428         (tst-exec-static-ARGS): New variable.
30429         (tst-spawn-static-ARGS): Likewise.
30430         * posix/tst-exec-static.c: New file.
30431         * posix/tst-spawn-static.c: Likewise.
30432         * posix/tst-exec.c: Support run directly.
30433         * posix/tst-spawn.c: Likewise.
30434
30435 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30436
30437         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30438         long.
30439         * math/bits/mathcalls.h (llrint): Likewise.
30440         (llround): Likewise.
30441         * stdlib/stdlib.h (struct drand48_data): Likewise.
30442         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30443         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30444         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30445         Likewise.
30446         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30447         Likewise.
30448         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30449         (elf_greg_t): Likewise.
30450         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30451         (__jmp_buf): Likewise.
30452         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30453         definitions.
30454         (llrint): Likewise, for all definitions.
30455         (llrintl): Likewise.
30456
30457         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30458         Remove [__GNUC__] condition.
30459         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30460         condition to just [__USE_ISOC99].
30461         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30462
30463 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30464
30465         [BZ #14200]
30466         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30467         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30468         defined.
30469         (_POSIX_V6_ILP32_OFF32): Likewise.
30470         (_XBS5_ILP32_OFF32): Likewise.
30471         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30472         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30473
30474 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30475
30476         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30477
30478         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30479         doubles __mpexp_twomm1.  Adjust usage.
30480         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30481         Remove.
30482
30483 2013-01-10  Andreas Schwab  <schwab@suse.de>
30484
30485         [BZ #14964]
30486         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30487         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30488
30489 2013-01-09  David S. Miller  <davem@davemloft.net>
30490
30491         [BZ #15003]
30492         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30493         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30494         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30495         (TCP_FASTOPEN): Define.
30496         (tcp_repair_opt): New structure.
30497         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30498         enum values.
30499         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30500         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30501         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30502         (tcp_cookie_transactions): New structure.
30503
30504 2013-01-09  Anton Blanchard  <anton@samba.org>
30505
30506         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30507         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30508         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30509         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30510
30511 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30512
30513         * include/features.h (__USE_ANSI): Remove.
30514
30515 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30516
30517         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30518
30519         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30520
30521 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30522
30523         * sysdeps/s390/fpu/libm-test-ulps: Update.
30524
30525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30526
30527         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30528         (__acr): Likewise.
30529         (__cpy): Likewise.
30530         (norm): Likewise.
30531         (denorm): Likewise.
30532         (__mp_dbl): Likewise.
30533         (__dbl_mp): Likewise.
30534         (add_magnitudes): Likewise.
30535         (sub_magnitudes): Likewise.
30536         (__add): Likewise.
30537         (__sub): Likewise.
30538         (__mul): Likewise.
30539         (__inv): Likewise.
30540         (__dvd): Likewise.
30541         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30542         (__acr): Likewise.
30543         (__cpy): Likewise.
30544         (norm): Likewise.
30545         (denorm): Likewise.
30546         (__mp_dbl): Likewise.
30547         (__dbl_mp): Likewise.
30548         (add_magnitudes): Likewise.
30549         (sub_magnitudes): Likewise.
30550         (__add): Likewise.
30551         (__sub): Likewise.
30552         (__mul): Likewise.
30553         (__inv): Likewise.
30554         (__dvd): Likewise.
30555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30556         (__acr): Likewise.
30557         (__cpy): Likewise.
30558         (norm): Likewise.
30559         (denorm): Likewise.
30560         (__mp_dbl): Likewise.
30561         (__dbl_mp): Likewise.
30562         (add_magnitudes): Likewise.
30563         (sub_magnitudes): Likewise.
30564         (__add): Likewise.
30565         (__sub): Likewise.
30566         (__mul): Likewise.
30567         (__inv): Likewise.
30568         (__dvd): Likewise.
30569
30570 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30571
30572         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30573         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30574         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30575         2 && __USE_EXTERN_INLINES]: Likewise.
30576
30577 2013-01-08  Andreas Jaeger  <aj@suse.de>
30578
30579         [BZ# 14985]
30580         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30581         Remove.
30582         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30583         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30584
30585 2013-01-07  Anton Blanchard  <anton@samba.org>
30586
30587         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30588         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30589         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30590         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30591         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30592         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30593         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30594         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30596         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30597         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30598         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30599         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30600         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30601         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30602         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30603         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30604         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30605         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30606         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30607         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30608         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30609         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30610         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30611         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30612         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30613         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30614         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30615         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30616         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30617         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30619         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30620         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30621         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30622         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30623         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30624         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30625         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30626         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30627         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30628         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30629         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30630
30631 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30632
30633         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30634         (__MALLOC_PMT): Likewise.
30635         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30636         [__GNUC__], only on [_LIBC].
30637         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30638         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30639         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30640         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30641         forward declaration.
30642         (realloc_hook_ini): Likewise.
30643         (memalign_hook_ini): Likewise.
30644         (__libc_memalign): Do not use __MALLOC_PMT in variable
30645         declaration.
30646         (__libc_valloc): Likewise.
30647         (__libc_pvalloc): Likewise.
30648         (__libc_calloc): Likewise.
30649         (__posix_memalign): Likewise.
30650
30651         [BZ #14996]
30652         * math/s_casinh.c: Include <float.h>.
30653         (__casinh): Do not do computation with squaring and square root
30654         for large arguments.
30655         * math/s_casinhf.c: Include <float.h>.
30656         (__casinhf): Do not do computation with squaring and square root
30657         for large arguments.
30658         * math/s_casinhl.c: Include <float.h>.
30659         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30660         (__casinhl): Do not do computation with squaring and square root
30661         for large arguments.
30662         * math/libm-test.inc (casin_test): Add more tests.
30663         (casinh_test): Likewise.
30664         * sysdeps/i386/fpu/libm-test-ulps: Update.
30665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30666
30667 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30668
30669         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30670         (__x86_64_raw_data_cache_size): Likewise.
30671         (__x86_64_data_cache_size_half): Likewise.
30672         (__x86_64_raw_data_cache_size_half): Likewise.
30673         (__x86_64_shared_cache_size): Likewise.
30674         (__x86_64_raw_shared_cache_size): Likewise.
30675         (__x86_64_shared_cache_size_half): Likewise.
30676         (__x86_64_raw_shared_cache_size_half): Likewise.
30677         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30678         to ...
30679         (__x86_data_cache_size): This.
30680         (__x86_64_raw_data_cache_size): Renamed to ...
30681         (__x86_raw_data_cache_size): This.
30682         (__x86_64_data_cache_size_half): Renamed to ...
30683         (__x86_data_cache_size_half): This.
30684         (__x86_64_raw_data_cache_size_half): Renamed to ...
30685         (__x86_raw_data_cache_size_half): This.
30686         (__x86_64_shared_cache_size): Renamed to ...
30687         (__x86_shared_cache_size): This.
30688         (__x86_64_raw_shared_cache_size): Renamed to ...
30689         (__x86_raw_shared_cache_size): This.
30690         (__x86_64_shared_cache_size_half): Renamed to ...
30691         (__x86_shared_cache_size_half): This.
30692         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30693         (__x86_raw_shared_cache_size_half): This.
30694         * sysdeps/x86_64/memcpy.S: Updated.
30695         * sysdeps/x86_64/memset.S: Likewise.
30696         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30697         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30698         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30699
30700 2013-01-04  David S. Miller  <davem@davemloft.net>
30701
30702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30703
30704 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30705
30706         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30707         1 to avoid redefinition warning.
30708         (__USE_GNU): Don't define.
30709         (init_signaling_nan): Protoize.
30710
30711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30712
30713 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30714
30715         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30717         (__cpymn): Likewise.
30718         (norm): Remove commented code.
30719         (denorm): Likewise.
30720         (__mp_dbl): Likewise.
30721         (__inv): Likewise.
30722         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30723         (__cpymn): Likewise.
30724         (norm): Remove commented code.
30725         (denorm): Likewise.
30726         (__mp_dbl): Likewise.
30727         (__inv): Likewise.
30728
30729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30730         mp_no value for 1.0 and 2.0.
30731         (norm): Use RADIXI instead of radixi.d.
30732         (denorm): Likewise.
30733         (__mul): Use 0.0 instead of zero.d.
30734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30735         mp_no value for 1.0 and 2.0.
30736         (norm): Use RADIXI instead of radixi.d.
30737         (denorm): Likewise.
30738         (__mul): Use 0.0 instead of zero.d.
30739
30740 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
30741
30742         [BZ #14994]
30743         * math/s_casinh.c (__casinh): Reduce finite argument to first
30744         quadrant then set signs of results at the end.
30745         * math/s_casinhf.c (__casinhf): Likewise.
30746         * math/s_casinhl.c (__casinhl): Likewise.
30747         * math/libm-test.inc (casin_test): Add more tests.
30748         (casinh_test): Likewise.
30749         * sysdeps/i386/fpu/libm-test-ulps: Update.
30750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30751
30752 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30753
30754         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30755
30756         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30757
30758         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30759         declarations.
30760         (denorm): Likewise.
30761         (__mp_dbl): Likewise.
30762         (__inv): Likewise.
30763
30764         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30765         and adjust the header comment.
30766
30767         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30768         variable name from declaration.
30769
30770 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
30771
30772         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30773         Initialize COMMON_CPUID_INDEX_7 element.
30774         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30775         (CPUID_RTM): Likewise.
30776         (HAS_RTM): Likewise.
30777         (COMMON_CPUID_INDEX_7): New enum.
30778
30779 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
30780
30781         [BZ #14981]
30782         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30783         size is zero, record memory as freed.
30784
30785 2013-01-03  Andreas Jaeger  <aj@suse.de>
30786
30787         * po/ia.po: Add new Interlingua translation.
30788
30789 2012-01-03  Allan McRae  <allan@archlinux.org>
30790
30791         * locale/programs/localedef.c: Fix description of '--posix' flag.
30792
30793 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
30794
30795         * NEWS: Update dates in second copyright notice.
30796         * README: Update copyright dates in example.
30797         * manual/libc.texinfo: Update copyright dates.
30798         * scripts/test-installation.pl: Update copyright date in --version
30799         output.
30800
30801         * hurd/ctty-input.c: Fix copyright notice formatting.
30802         * hurd/ctty-output.c: Likewise.
30803         * hurd/dtable.c: Likewise.
30804         * hurd/hurd-raise.c: Likewise.
30805         * hurd/hurdprio.c: Likewise.
30806         * hurd/msgportdemux.c: Likewise.
30807         * misc/sys/file.h: Likewise.
30808         * misc/sys/ioctl.h: Likewise.
30809         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30810         * sysdeps/mach/hurd/chdir.c: Likewise.
30811         * sysdeps/mach/hurd/fchdir.c: Likewise.
30812         * sysdeps/mach/hurd/rename.c: Likewise.
30813         * sysdeps/mach/hurd/rmdir.c: Likewise.
30814         * sysdeps/mach/hurd/seekdir.c: Likewise.
30815         * sysdeps/mach/hurd/setsid.c: Likewise.
30816         * sysdeps/posix/wait3.c: Likewise.
30817
30818         * All files with FSF copyright notices: Update copyright dates
30819         using scripts/update-copyrights.
30820         * intl/plural.c: Regenerated.
30821         * locale/programs/charmap-kw.h: Likewise.
30822         * locale/programs/locfile-kw.h: Likewise.
30823
30824 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30825
30826         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30827         four values.
30828
30829         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30830         calculation loop and add branch prediction.
30831
30832         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30833         check access beyond bounds of m1np.
30834
30835         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30836         MPTWO.
30837         (__inv): Remove local variable MPTWO to use the global
30838         constant.
30839         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30840         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30841         variable MPTWO.
30842         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30843         MP3HALFS static const.
30844
30845 2013-01-01  David S. Miller  <davem@davemloft.net>
30846
30847         * po/ca.po: Update from translation team.
30848
30849 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
30850
30851         * scripts/update-copyrights: New file.
30852         * Makeconfig: Reformat copyright notice.
30853         * ctype/ctype.h: Likewise.
30854         * debug/swprintf_chk.c: Likewise.
30855         * elf/dl-cache.c: Likewise.
30856         * elf/dl-debug.c: Likewise.
30857         * elf/dl-object.c: Likewise.
30858         * grp/initgroups.c: Likewise.
30859         * hurd/Makefile: Likewise.
30860         * hurd/hurd/signal.h: Likewise.
30861         * hurd/hurdfault.c: Likewise.
30862         * hurd/hurdioctl.c: Likewise.
30863         * hurd/hurdlookup.c: Likewise.
30864         * hurd/intr-msg.c: Likewise.
30865         * iconv/gconv_open.c: Likewise.
30866         * libio/swprintf.c: Likewise.
30867         * locale/lc-ctype.c: Likewise.
30868         * locale/nl_langinfo.c: Likewise.
30869         * mach/Machrules: Likewise.
30870         * mach/Makefile: Likewise.
30871         * malloc/obstack.h: Likewise.
30872         * manual/Makefile: Likewise.
30873         * manual/tsort.awk: Likewise.
30874         * misc/bits/stab.def: Likewise.
30875         * nis/nis_print_group_entry.c: Likewise.
30876         * nis/nis_table.c: Likewise.
30877         * nis/nss_compat/compat-pwd.c: Likewise.
30878         * nis/nss_compat/compat-spwd.c: Likewise.
30879         * po/Makefile: Likewise.
30880         * posix/fnmatch.c: Likewise.
30881         * posix/regex.h: Likewise.
30882         * resolv/Makefile: Likewise.
30883         * resolv/nss_dns/dns-network.c: Likewise.
30884         * resolv/res_hconf.c: Likewise.
30885         * scripts/gen-sorted.awk: Likewise.
30886         * soft-fp/soft-fp.h: Likewise.
30887         * stdio-common/printf.h: Likewise.
30888         * stdlib/monetary.h: Likewise.
30889         * stdlib/random.c: Likewise.
30890         * stdlib/random_r.c: Likewise.
30891         * sysdeps/generic/Makefile: Likewise.
30892         * sysdeps/gnu/Makefile: Likewise.
30893         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30894         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30895         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30896         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30897         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30898         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30899         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30900         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30901         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30902         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30903         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30904         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30905         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30906         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30907         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30908         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30909         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30910         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30911         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30912         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30913         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30914         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30915         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30916         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30917         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30918         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30919         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30920         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30921         * sysdeps/mach/hurd/errnos.awk: Likewise.
30922         * sysdeps/mach/hurd/fork.c: Likewise.
30923         * sysdeps/mach/hurd/getcwd.c: Likewise.
30924         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30925         * sysdeps/mach/hurd/mmap.c: Likewise.
30926         * sysdeps/mach/hurd/utimes.c: Likewise.
30927         * sysdeps/mach/hurd/xmknod.c: Likewise.
30928         * sysdeps/posix/profil.c: Likewise.
30929         * sysdeps/posix/readdir_r.c: Likewise.
30930         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30931         * sysdeps/powerpc/bits/setjmp.h: Likewise.
30932         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30933         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30935         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30936         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30937         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30939         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30940         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30941         * sysdeps/pthread/lio_listio.c: Likewise.
30942         * sysdeps/sparc/dl-procinfo.h: Likewise.
30943         * sysdeps/unix/i386/sysdep.S: Likewise.
30944         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30945         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30946         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30947         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30949         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30950         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30951         * sysdeps/unix/sysv/linux/speed.c: Likewise.
30952         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30953         * sysdeps/wordsize-32/divdi3.c: Likewise.
30954         * time/sys/time.h: Likewise.
30955         * wcsmbs/Makefile: Likewise.
30956
30957 2013-01-01  David S. Miller  <davem@davemloft.net>
30958
30959         * po/fr.po: Update from translation team.
30960
30961         * catgets/gencat.c: Update copyright year.
30962         * csu/version.c: Likewise.
30963         * debug/catchsegv.sh: Likewise.
30964         * debug/pcprofiledump.c: Likewise.
30965         * debug/xtrace.sh: Likewise.
30966         * elf/ldconfig.c: Likewise.
30967         * elf/ldd.bash.in: Likewise.
30968         * elf/pldd.c: Likewise.
30969         * elf/sotruss.ksh: Likewise.
30970         * elf/sprof.c: Likewise.
30971         * iconv/iconv_prog.c: Likewise.
30972         * iconv/iconvconfig.c: Likewise.
30973         * locale/programs/locale.c: Likewise.
30974         * locale/programs/localedef.c: Likewise.
30975         * login/programs/pt_chown.c: Likewise.
30976         * malloc/memusage.sh: Likewise.
30977         * malloc/memusagestat.c: Likewise.
30978         * malloc/mtrace.pl: Likewise.
30979         * nscd/nscd.c: Likewise.
30980         * nss/getent.c: Likewise.
30981         * nss/makedb.c: Likewise.
30982         * posix/getconf.c: Likewise.
30983
30984 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30985
30986         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30987         numbers.
30988
30989 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
30990
30991         * math/bits/mathcalls.h (modf): Use __nonnull.
30992
30993 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30994
30995         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30996         (split): Use macro CN instead of the bare value.
30997         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30998         could be used.
30999         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31000         instead of the bare value.
31001         (power1): Likewise.
31002
31003 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31004
31005         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31006         __ATAN_TWOM.
31007         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31008
31009         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31010         their values.
31011         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31012         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31013         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31014         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31015
31016 2012-12-28  Andreas Jaeger  <aj@suse.de>
31017
31018         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31019         values are from Linux 3.7.
31020
31021         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31022         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31023
31024 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31025
31026         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31027         TRUE case.
31028
31029         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31030         (norm): Likewise.
31031         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31032         variables with preprocessor constants.
31033         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31034         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31035         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31036
31037 2012-12-27  Bruno Haible  <bruno@clisp.org>
31038
31039         [BZ #14317]
31040         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31041         only if needed.
31042
31043 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31044
31045         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31046         and use variable directly.
31047         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31048
31049         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31050         MPONE.
31051         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31052         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31053         variable MPONE.
31054         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31055         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31056         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31057         include directive.  Remove local variable MPONE.
31058         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31059         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31060         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31061
31062 2012-12-25  David S. Miller  <davem@davemloft.net>
31063
31064         * version.h (RELEASE): Set to "development".
31065         (VERSION): Set to "2.17.90".
31066         * NEWS: Add 2.18 section.
31067
31068 2012-12-21  David S. Miller  <davem@davemloft.net>
31069
31070         * po/hr.po: Update from translation team.
31071
31072 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31073
31074         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31075
31076 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31077
31078         * NEWS:  Mention new memcpy for MIPS.
31079
31080 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31081
31082         * manual/contrib.texi (Contributors): Spelling correction.
31083
31084 2012-12-15  David S. Miller  <davem@davemloft.net>
31085
31086         * po/ru.po: Update from translation team.
31087
31088 2012-12-13  David S. Miller  <davem@davemloft.net>
31089
31090         * NEWS: Mention IFUNC testsuite enhancements.
31091
31092         * po/pl.po: Update from translation team.
31093         * po/bg.po: Likewise.
31094
31095         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31096         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31097
31098 2012-12-11  David S. Miller  <davem@davemloft.net>
31099
31100         * po/sv.po: Update from translation team.
31101
31102         * po/vi.po: Update from translation team.
31103
31104         * po/cs.po: Update from translation team.
31105
31106         * po/de.po: Update from translation team.
31107         * po/eo.po: Likewise.
31108         * po/nl.po: Likewise.
31109
31110 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31111
31112         [BZ #14246]
31113         * manual/argp.texi (Argp Helper Functions): Move node to follow
31114         Argp Parsing State.
31115
31116         [BZ #14872]
31117         * manual/conf.texi (Limits on File System Capacity): Mention if
31118         terminating null is included in the max size.
31119
31120 2012-12-10  Andreas Jaeger  <aj@suse.de>
31121
31122         * po/cs.po: Update from translation team.
31123
31124 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31125
31126         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31127         void pointer and cast to uintptr_t.
31128         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31129         path.
31130         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31131         * sysdeps/s390/s390-64/memset.S: Likewise.
31132
31133 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31134
31135         [BZ #14833]
31136         * menual/message.texi (Message Translation): Fix typos.
31137         (Helper programs for gettext): Likewise.
31138
31139 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31140
31141         [BZ #14898]
31142         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31143         Change to -1.
31144
31145 2012-12-07  David S. Miller  <davem@davemloft.net>
31146
31147         * po/libc.pot: Update.
31148
31149 2012-12-07  Richard Henderson  <rth@redhat.com>
31150
31151         [BZ #10114]
31152         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31153         normal/normal case to before the switch.
31154         (_FP_DIV): Likewise.
31155
31156 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31157             Mike Frysinger  <vapier@gentoo.org>
31158
31159         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31160         check for __NR_fadvise64_64.
31161
31162 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31163
31164         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31165         0, not just to plain "0" as a statement.
31166         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31167         with cw.
31168
31169 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31170
31171         * NEWS: Use sourceware.org in Bugzilla URL.
31172
31173 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31174
31175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31176         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31177
31178         * stdio-common/tst-put-error.c (do_test): Add newline to the
31179         padded test to ensure flush.
31180
31181 2012-12-05  Jeff Law  <law@redhat.com>
31182
31183         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31184
31185 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31186
31187         * README: Don't refer to ports add-on as distributed separately.
31188         Mention AArch64 in list of systems supported in the ports add-on.
31189
31190         * LICENSES: Add more non-FSF copyright and license notices.
31191
31192         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31193         ((unused)).
31194
31195         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31196
31197         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31198         10000 as width of padded output.
31199
31200 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31201
31202         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31203
31204         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31205         variable LX with __attribute__ ((unused)).
31206         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31207         Likewise.
31208         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31209         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31210         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31211         with __attribute__ ((unused)).
31212
31213 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31214
31215         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31216
31217 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31218
31219         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31220         (CFLAGS-nldbl-acos.c): New variable.
31221         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31222         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31223         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31224         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31225         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31226         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31227         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31228         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31229         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31230         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31231         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31232         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31233         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31234         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31235         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31236         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31237         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31238         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31239         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31240         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31241         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31242         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31243         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31244         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31245         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31246         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31247         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31248         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31249         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31250         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31251         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31252         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31253         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31254         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31255         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31256         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31257         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31258         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31259         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31260         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31261         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31262         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31263         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31264         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31265         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31266         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31267         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31268         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31269         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31270         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31271         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31272         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31273         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31274         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31275         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31276         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31277         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31278         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31279         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31280         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31281         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31282         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31283         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31284         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31285         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31286         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31287         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31288         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31289         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31290         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31291         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31292         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31293         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31294         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31295         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31296         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31297         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31298         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31299         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31300         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31301         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31302         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31303         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31304         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31305         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31306         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31307         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31308         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31309         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31310         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31311         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31312         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31313         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31314         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31315         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31316         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31317         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31318
31319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31320         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31321
31322         [BZ #14914]
31323         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31324         whole low double instead of just low 47 bits when splitting values
31325         into two parts.
31326
31327 2012-12-03  Allan McRae  <allan@archlinux.org>
31328
31329         * manual/stdio.texi (Predefined Printf Handlers): Remove
31330         @hsep and @vsep usage.
31331
31332 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31333
31334         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31335         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31336
31337 2012-12-03  Jeff Law  <law@redhat.com>
31338
31339         * time/sys/time.h (settimeofday): Do not mark TV argument
31340         as __nonnull.
31341
31342 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31343
31344         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31345         when currently writing and seek to current position when not.
31346         * libio/Makefile (tests): Remove bug-fclose1.
31347         * libio/bug-fclose1.c: Delete.
31348
31349 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31350
31351         * manual/arith.texi (feenableexcept): Fix typo.
31352         (fedisableexcept): Likewise.
31353
31354 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31355
31356         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31357         second, differently-typed declaration, rather than a cast.
31358
31359 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31360
31361         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31362         * include/rpc/svc.h: ... here.
31363
31364 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31365
31366         [BZ #13013]
31367         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31368         depending n and resplen2 to catch cases where answer
31369         equals answerp2.
31370
31371 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31372
31373         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31374         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31375
31376 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31377
31378         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31379
31380 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31381
31382         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31383
31384 2012-11-28  Jeff Law  <law@redhat.com>
31385
31386         [BZ #13761]
31387         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31388         dataset_temporary.  Track alloca usage into alloca_used.
31389         If dataset is large allocate and release it via malloc/free.
31390
31391 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31392
31393         [BZ #14197]
31394         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31395
31396 2012-11-28  David S. Miller  <davem@davemloft.net>
31397
31398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31399
31400 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31401
31402         [BZ #14803]
31403         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31404         of pi/2 rounded to nearest to 64 bits.
31405         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31406         nearest to 64 bits.
31407         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31408         bits.
31409
31410 2012-11-28  Jeff Law <law@redhat.com>
31411             Martin Osvald <mosvald@redhat.com>
31412
31413         [BZ #14889]
31414         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31415         * sunrpc/svc.c: Include time.h.
31416         (__svc_accept_failed): New function.
31417         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31418         any reason other than EINTR, call __svc_accept_failed.
31419         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31420         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31421
31422 2012-11-28  Andreas Schwab  <schwab@suse.de>
31423
31424         * scripts/abilist.awk: Also handle indirect functions in .opd
31425         section.
31426
31427 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31428
31429         [BZ #13881]
31430         * sysdeps/x86/fpu/powl_helper.c: New file.
31431         * sysdeps/x86/fpu/Makefile: Likewise.
31432         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31433         (p3): New object.
31434         (__ieee754_powl): Use __powl_helper for finite arguments except
31435         integer exponents below 8.
31436         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31437         (p3): New object.
31438         (__ieee754_powl): Use __powl_helper for finite arguments except
31439         integer exponents below 8.
31440         * math/libm-test.inc (pow_test): Add more tests and enable some
31441         previously disabled tests.
31442         * sysdeps/i386/fpu/libm-test-ulps: Update.
31443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31444
31445 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31446             Carlos O'Donell  <carlos_odonell@mentor.com>
31447
31448         * nss/makedb.c (is_prime): Assert that input is odd and greater
31449         than 4.  Note that fact in a comment too.
31450         (next_prime): Add 4 to input.
31451
31452 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31453
31454         [BZ #11741]
31455         * libio/Makefile (tests): Add test case tst-fwrite-error.
31456         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31457         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31458         * libio/tst-fwrite-error.c: New test case.
31459
31460 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31461
31462         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31463         before casting to void *.
31464         * include/libc-internal.h (__pointer_type): New macro.
31465         (__integer_if_pointer_type_sub): Likewise.
31466         (__integer_if_pointer_type): Likewise.
31467         (cast_to_integer): Likewise.
31468         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31469         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31470         before casting to atomic64_t.
31471         (atomic_exchange_acq): Likewise.
31472         (__arch_exchange_and_add_body): Likewise.
31473         (__arch_add_body): Likewise.
31474         (atomic_add_negative): Likewise.
31475         (atomic_add_zero): Likewise.
31476
31477 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31478
31479         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31480         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31481         (add_fdes): Likewise.
31482         (linear_search_fdes): Likewise.
31483         (binary_search_unencoded_fdes): Likewise.
31484
31485 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31486
31487         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31488
31489 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31490
31491         * configure.in: Autodetect C++ header directories.
31492         * configure: Regenerated.
31493
31494 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31495
31496         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31497
31498 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31499
31500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31501
31502 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31503
31504         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31505         LDBL_MANT_DIG == 106]: Disable some tests.
31506         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31507         Likewise.
31508         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31509         Likewise.
31510
31511         [BZ #14871]
31512         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31513         input for small inputs.  Return +/- pi/2 for large inputs.
31514         * math/libm-test.inc (atan_test): Add more tests.
31515
31516         * sysdeps/generic/unwind-dw2-fde-glibc.c
31517         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31518         __attribute__ ((unused)).
31519
31520         [BZ #14645]
31521         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31522         x * y if x and y are nonzero and z is zero.
31523
31524         [BZ #14811]
31525         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31526         nonzero exponents with absolute value below 0x1p-117 to +/-
31527         0x1p-117.
31528
31529         [BZ #14869]
31530         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31531         up arguments below 2**-450, not just those below 2**-500.
31532         * math/libm-test.inc (hypot_test): Add another test.
31533
31534         [BZ #14868]
31535         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31536         Return a+b for ratio over 2**120, not 2**60.
31537         * math/libm-test.inc (hypot_test): Add another test.
31538
31539         * math/libm-test.inc (clog_test): Use
31540         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31541         (clog10_test): Likewise.
31542
31543         [BZ #6778]
31544         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31545
31546 2012-11-22  Andreas Schwab  <schwab@suse.de>
31547
31548         * sysdeps/i386/fpu/libm-test-ulps: Update.
31549
31550 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31551
31552         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31553         printf output with newline.
31554
31555 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31556
31557         [BZ #14865]
31558         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31559         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31560         -z nodlopen, -z initfirst and -z execstack support.
31561         * configure: Regenerated.
31562
31563         * elf/elf.h (DF_1_NODIRECT): New macro.
31564         (DF_1_IGNMULDEF): Likewise.
31565         (DF_1_NOKSYMS): Likewise.
31566         (DF_1_NOHDR): Likewise.
31567         (DF_1_EDITED): Likewise.
31568         (DF_1_NORELOC): Likewise.
31569         (DF_1_SYMINTPOSE): Likewise.
31570         (DF_1_GLOBAUDIT): Likewise.
31571         (DF_1_SINGLETON): Likewise.
31572         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31573         DT_1_SUPPORTED_MASK bits.
31574         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31575
31576 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31577
31578         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31579
31580 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31581
31582         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31583         macro.
31584
31585         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31586         (sendmmsg): Move declarations...
31587         * socket/sys/socket.h: ... here.
31588         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31589         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31590         include it from...
31591         * socket/recvmmsg.c: ... this new file.
31592         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31593         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31594         definition of __sendmmsg hidden.
31595         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31596         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31597         Move ENOSYS stub into and include it from...
31598         * socket/sendmmsg.c: ... this new file.
31599         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31600         (sysdep_routines): Move recvmmsg and sendmmsg...
31601         * socket/Makefile (routines): ... here.
31602         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31603         (GLIBC_PRIVATE): Add __sendmmsg.
31604         * include/sys/socket.h (__sendmmsg): Add declarations.
31605         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31606         sendmmsg.
31607
31608 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31609
31610         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31611         variable I1 with __attribute__ ((unused)).
31612         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31613
31614 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31615
31616         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31617         DUMMY variables with __attribute__ ((unused)).
31618
31619         * bits/byteswap.h: Include <bits/types.h>.
31620         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31621
31622 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31623
31624         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31625         string_t.  Do not manually set errno.
31626         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31627         length with __strnlen.  Make sure to both set errno and return it on
31628         failure.
31629
31630 2012-11-19  David S. Miller  <davem@davemloft.net>
31631
31632         With help from Joseph Myers.
31633         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31634         very large arguments properly.
31635         * math/libm-test.inc (atan_test): New tests.
31636         (atan2_test): New tests.
31637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31639
31640 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31641
31642         [BZ #14856]
31643         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31644         Define to 3.
31645
31646         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31647         [POSIX] (EADDRNOTAVAIL): Likewise.
31648         [POSIX] (EAFNOSUPPORT): Likewise.
31649         [POSIX] (EALREADY): Likewise.
31650         [POSIX] (ECONNABORTED): Likewise.
31651         [POSIX] (ECONNREFUSED): Likewise.
31652         [POSIX] (ECONNRESET): Likewise.
31653         [POSIX] (EDESTADDRREQ): Likewise.
31654         [POSIX] (EDQUOT): Likewise.
31655         [POSIX] (EHOSTUNREACH): Likewise.
31656         [POSIX] (EIDRM): Likewise.
31657         [POSIX] (EISCONN): Likewise.
31658         [POSIX] (ELOOP): Likewise.
31659         [POSIX] (EMULTIHOP): Likewise.
31660         [POSIX] (ENETDOWN): Likewise.
31661         [POSIX] (ENETUNREACH): Likewise.
31662         [POSIX] (ENOBUFS): Likewise.
31663         [POSIX] (ENODATA): Likewise.
31664         [POSIX] (ENOLINK): Likewise.
31665         [POSIX] (ENOMSG): Likewise.
31666         [POSIX] (ENOPROTOOPT): Likewise.
31667         [POSIX] (ENOSR): Likewise.
31668         [POSIX] (ENOSTR): Likewise.
31669         [POSIX] (ENOTCONN): Likewise.
31670         [POSIX] (ENOTSOCK): Likewise.
31671         [POSIX] (EOPNOTSUPP): Likewise.
31672         [POSIX] (EOVERFLOW): Likewise.
31673         [POSIX] (EPROTO): Likewise.
31674         [POSIX] (EPROTONOSUPPORT): Likewise.
31675         [POSIX] (EPROTOTYPE): Likewise.
31676         [POSIX] (ESTALE): Likewise.
31677         [POSIX] (ETIME): Likewise.
31678         [POSIX] (ETXTBSY): Likewise.
31679         [POSIX] (EWOULDBLOCK): Likewise.
31680         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31681         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31682         [POSIX] (SEEK_CUR): Likewise.
31683         [POSIX] (SEEK_END): Likewise.
31684         [POSIX || UNIX98] (mode_t): Do not require.
31685         [POSIX] (off_t): Likewise.
31686         [POSIX] (pid_t): Likewise.
31687         [POSIX] (sys/stat.h): Do not allow header.
31688         [POSIX] (unistd.h): Likewise.
31689         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31690         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31691         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31692         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31693         require.
31694         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31695         sigevent): Specify elements.
31696         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31697         entry.
31698         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31699         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31700
31701         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31702         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31703         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31704         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31705         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31706         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31707         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31708         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31709         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31710         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31711         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31712         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31713         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31714         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31715         Likewise.
31716         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31717         Likewise.
31718         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31719         Likewise.
31720         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31721         Likewise.
31722         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31723         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31724         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31725         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31726         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31727         Specify lower bound on value.
31728         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31729         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31730         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31731         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31732         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31733         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31734         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31735         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31736         value.
31737         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31738         as optional.
31739         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31740         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31741         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31742         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31743         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31744         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31745         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31746         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31747         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31748         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31749         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31750         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31751         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31752         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31753         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31754         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31755         entry.
31756         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31757         optional.
31758         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31759         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31760         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31761         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31762         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31763         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31764         Likewise.
31765         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31766         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31767         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31768         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31769         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
31770         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31771         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31772         as optional.
31773         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31774         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31775         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31776         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31777         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31778         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31779         specify as optional.
31780         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31781         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31782         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31783         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31784         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31785         [XPG3] (NL_LANGMAX): Likewise.
31786         [POSIX || XPG3] (NL_MSGMAX): Likewise.
31787         [POSIX || XPG3] (NL_NMAX): Likewise.
31788         [POSIX || XPG3] (NL_SETMAX): Likewise.
31789         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31790         [XPG3] (NZERO): Likewise.
31791         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31792         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31793         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31794         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31795         (REG_ERANGE): Expect.
31796         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31797         optional-constant.
31798         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31799         Use (void) in prototype.
31800         [POSIX] (*_t): Allow.
31801         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31802         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31803         (WRDE_BADVAL): Expect.
31804
31805         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31806         expect.
31807         [XPG3 || XPG4] (O_RSYNC): Likewise.
31808         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31809         Likewise.
31810         [XPG3 || XPG4] (pthread_sigmask): Likewise.
31811         [XPG3 || XPG4] (sigqueue): Likewise.
31812         [XPG3 || XPG4] (sigtimedwait): Likewise.
31813         [XPG3 || XPG4] (sigwaitinfo): Likewise.
31814         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31815         [XPG3 || XPG4] (vsnprintf): Likewise.
31816         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31817         Likewise.
31818         [XPG3 || XPG4] (blksize_t): Likewise.
31819         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31820         Likewise.
31821         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31822         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31823         [XPG3 || XPG4] (struct itimerspec): Likewise.
31824         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31825         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31826         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31827         [XPG3 || XPG4] (clockid_t): Likewise.
31828         [XPG3 || XPG4] (timer_t): Likewise.
31829         [XPG3 || XPG4] (clock_getres): Likewise.
31830         [XPG3 || XPG4] (clock_gettime): Likewise.
31831         [XPG3 || XPG4] (clock_settime): Likewise.
31832         [XPG3 || XPG4] (nanosleep): Likewise.
31833         [XPG3 || XPG4] (timer_create): Likewise.
31834         [XPG3 || XPG4] (timer_delete): Likewise.
31835         [XPG3 || XPG4] (timer_gettime): Likewise.
31836         [XPG3 || XPG4] (timer_getoverrun): Likewise.
31837         [XPG3 || XPG4] (timer_settime): Likewise.
31838         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31839         [XPG3 || XPG4] (getlogin_r): Likewise.
31840         [XPG3 || XPG4] (pread): Likewise.
31841         [XPG3 || XPG4] (pthread_atfork): Likewise.
31842         [XPG3 || XPG4] (pwrite): Likewise.
31843
31844         [BZ #14835]
31845         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31846         <bits/siginfo.h>.
31847
31848 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31849
31850         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31851         finalizing MALLSTREAM.
31852
31853         * sysdeps/mach/hurd/syncfs.c: New file.
31854
31855 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31856
31857         [BZ #14719]
31858         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31859         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31860         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31861         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31862         (_nss_dns_gethostbyname4_r): Likewise.
31863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31864         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31865
31866 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
31867
31868         [BZ #13763]
31869         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31870
31871 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
31872
31873         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31874         * elf/cache.c (print_entry): Print ",AArch64" for
31875         FLAG_AARCH64_LIB64
31876
31877         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31878         * elf/cache.c (print_entry): Print ",hard-float" for
31879         FLAG_ARM_LIBHF.
31880
31881 2012-11-18  David S. Miller  <davem@davemloft.net>
31882
31883         With help from Joseph Myers.
31884         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31885         cutoff to 2**-13.
31886         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31887         cutoff to 2**-25.
31888         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31889         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31890         small.
31891         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31892         * math/libm-test.inc (y0_test): New tests.
31893         (y1_test): New tests.
31894         * sysdeps/i386/fpu/libm-test-ulps: Update.
31895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31897
31898 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
31899
31900         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31901         64-bit targets.
31902         * configure: Regenerated.
31903
31904 2012-11-17  David S. Miller  <davem@davemloft.net>
31905
31906         [BZ #14811]
31907         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31908         nonzero exponents with absolute value below 0x1p-128 to +/-
31909         0x1p-128.
31910
31911 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
31912
31913         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31914
31915         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31916
31917         * posix/getconf-speclist.c: New file.
31918         * posix/posix-envs.def: Likewise.
31919         * posix/confstr.c (START_ENV_GROUP): New macro.
31920         (END_ENV_GROUP): Likewise.
31921         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31922         (KNOWN_PRESENT_ENV_STRING): Likewise.
31923         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31924         (UNKNOWN_ENVIRONMENT): Likewise.
31925         (confstr): Include posix-envs.def instead of handling
31926         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31927         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31928         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31929         (END_ENV_GROUP): Likewise.
31930         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31931         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31932         (UNKNOWN_ENVIRONMENT): Likewise.
31933         (__sysconf): Include posix-envs.def instead of handling associated
31934         cases directly here.
31935         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31936         preprocessing getconf-speclist.c rather than running getconf or
31937         generating empty file.
31938
31939 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
31940
31941         * scripts/check-local-headers.sh: Ignore 'mach' headers.
31942
31943 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
31944
31945         [BZ #14672]
31946         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31947
31948 2012-11-16  David S. Miller  <davem@davemloft.net>
31949
31950         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31951         smaller than LDBL_EPSILON/2.0L, just return xm1.
31952
31953 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
31954
31955         * elf/tst-array1.c (init): Set constructor priority to 1000.
31956         (fini): Set destructor priority to 1000.
31957         * elf/tst-array2dep.c: Likewise.
31958
31959 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31960
31961         [BZ #11741]
31962         * libio/fileops.c (_IO_new_file_write): Correctly return error.
31963         (_IO_new_file_xsputn): Also return EOF if none of the input
31964         data was written when overflow failed.
31965         * libio/iopadn.c (_IO_padn): Likewise.
31966         * libio/iowpadn.c (_IO_wpadn): Likewise.
31967         * stdio-common/tst-put-error.c: Add copyright notice.
31968         (do_test): Add case for printing padded string.
31969         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31970         _IO_padn returned error.
31971         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31972         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31973         return EOF.
31974
31975 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31976
31977         * libio/libioP.h: Add comment note that the references to C++
31978         bits are now obsolete.
31979
31980 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31981
31982         * math/libm-test.inc (check_complex): Use asprintf.
31983
31984 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
31985
31986         * debug/pcprofiledump.c (print_version): Update copyright year.
31987         * malloc/memusagestat.c (print_version): Likewise.
31988
31989 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
31990
31991         [BZ #14831]
31992         * elf/Makefile (tests): Add tst-audit8.
31993         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31994         ($(objpfx)tst-audit8.out): New target.
31995         (tst-audit8-ENV): New variable.
31996         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31997         audit if l_reloc_result is NULL.
31998         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31999         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32000         * elf/tst-audit8.c: New file.
32001
32002 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32003
32004         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32005         * misc/Makefile (CFLAGS-select.c): Define.
32006         * posix/Makefile (CFLAGS-pause.c): Define.
32007
32008 2012-11-13  David S. Miller  <davem@davemloft.net>
32009
32010         * crypt/Makefile: Move test targets after toplevel Rules
32011         inclusion.  Grab any necessary sysdep routines when linking.
32012         * crypt/md5.c (md5_process_block): Remove define, we will always
32013         name it __md5_process_block.
32014         (md5_finish_ctx): Update md5_process_block call.
32015         (md5_stream): Likewise.
32016         (md5_process_bytes): Likewise.
32017         (md5_process_block): Rename to __md5_process_block and move to ...
32018         * crypt/md5-block.c: ... here.
32019         * crypt/sha256.c (sha256_process_block): Move to ...
32020         * crypt/sha256-block.c: ... here.
32021         * crypt/sha512.c (sha512_process_block): Move to ...
32022         * crypt/sha512-block.c: ... here.
32023         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32024         path.
32025         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32026         * sysdeps/sparc/sparc64/multiarch/Makefile
32027         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32028         crypt subdir.
32029         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32030         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32031         multiarch changes.
32032         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32033         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32034         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32035         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32036         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32037         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32038         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32039         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32040         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32041         file.
32042         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32043         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32044         file.
32045         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32046
32047 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32048
32049         * timezone/tzselect.ksh: Update from tzcode git revision
32050         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32051         * timezone/zdump.c: Likewise.
32052         * timezone/zic.c: Likewise.
32053         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32054         in TZVERSION setting, not $(PKGVERSION).
32055         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32056         REPORT_BUGS_TO settings.
32057
32058         [BZ #14838]
32059         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32060         macro.
32061
32062 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32063
32064         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32065         detection to immediately after _FP_ROUND().
32066         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32067         bits are 0.
32068
32069 2012-11-11  David S. Miller  <davem@davemloft.net>
32070
32071         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32072         inttypes.h
32073         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32074         __close rather than their public counterparts.
32075
32076 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32077
32078         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32079         file.
32080         [UNIX98] (sem_timedwait): Do not expect.
32081         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32082         [XPG4 || UNIX98] (sockatmark): Do not expect.
32083         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32084         (clock_getcpuclockid): Do not expect.
32085         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32086         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32087         Do not expect.
32088         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32089         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32090         [UNIX98] (vwscanf): Likewise.
32091         [UNIX98] (vswscanf): Likewise.
32092
32093 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32094
32095         * timezone/version.h: Remove file.
32096         * timezone/README: Do not refer to version.h.
32097         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32098         $(objpfx)version.h.
32099         ($(objpfx)zdump.o): Likewise.
32100         ($(objpfx)version.h): New target.
32101
32102         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32103         2012i.
32104         * timezone/README: Don't mention modification to tzselect.ksh.
32105         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32106         work on unmodified tzselect.ksh.  Substitute version numbers in
32107         tzselect.ksh.
32108
32109         * Makefile (format-me): Remove.
32110         (INSTALL): Adjust indentation.  Use commands directly instead of
32111         using $(format-me).
32112
32113         * aclocal.m4 (ACX_PKGVERSION): New macro.
32114         (ACX_BUGURL): Likewise.
32115         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32116         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32117         (REPORT_BUGS_TO): Likewise.
32118         * configure: Regenerated.
32119         * config.h.in (PKGVERSION): New macro.
32120         (REPORT_BUGS_TO): Likewise.
32121         * config.make.in (PKGVERSION): New variable.
32122         (PKGVERSION_TEXI): Likewise.
32123         (REPORT_BUGS_TO): Likewise.
32124         (REPORT_BUGS_TEXI): Likewise.
32125         * Makefile (format-me): Use -I$(common-objpfx)manual.
32126         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32127         ($(common-objpfx)manual/%): New target.
32128         (manual/%): Remove target.
32129         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32130         (print_version): Use PKGVERSION.
32131         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32132         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32133         and REPORT_BUGS_TO.
32134         ($(objpfx)xtrace): Likewise.
32135         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32136         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32137         (print_version): Use PKGVERSION.
32138         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32139         (do_version): Use PKGVERSION.
32140         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32141         REPORT_BUGS_TO.
32142         (common-ldd-rewrite): Likewise.
32143         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32144         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32145         (print_version): Use PKGVERSION.
32146         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32147         * elf/pldd.c (argp_program_bug_address): Remove variable.
32148         (more_help): New function.
32149         (argp): Use more_help.
32150         (print_version): Use PKGVERSION.
32151         * elf/sln.c (main): Use PKGVERSION.
32152         (usage): Use REPORT_BUGS_TO.
32153         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32154         (top level): Use PKGVERSION.
32155         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32156         (print_version): Use PKGVERSION.
32157         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32158         (print_version): Use PKGVERSION.
32159         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32160         (print_version): Use PKGVERSION.
32161         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32162         (print_version): Use PKGVERSION.
32163         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32164         (print_version): Use PKGVERSION.
32165         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32166         (print_version): Use PKGVERSION.
32167         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32168         and BUGURL.
32169         ($(objpfx)memusage): Likewise.
32170         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32171         (do_version): Use PKGVERSION.
32172         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32173         (print_version): Use PKGVERSION.
32174         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32175         ($PKGVERSION): New variable.
32176         ($REPORT_BUGS_TO): Likewise.
32177         (usage): Use $REPORT_BUGS_TO.
32178         (top level): Use $PKGVERSION.
32179         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32180         ($(objpfx)pkgvers.texi): New rule.
32181         ($(objpfx)stamp-pkgvers): Likewise.
32182         * manual/install.texi: Include pkgvers.texi.
32183         (--with-pkgversion): Document new configure option.
32184         (--with-bugurl): Likewise.
32185         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32186         than necessarily for this particular distribution.  Use
32187         REPORT_BUGS_TO for where to report bugs.
32188         * INSTALL: Regenerated.
32189         * manual/libc.texinfo: Include pkgvers.texi.
32190         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32191         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32192         (print_version): Use PKGVERSION.
32193         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32194         (print_version): Use PKGVERSION.
32195         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32196         (print_version): Use PKGVERSION.
32197         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32198         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32199         macro.
32200         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32201         (print_version): Use PKGVERSION.
32202         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32203         (print_version): Use PKGVERSION.
32204         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32205         and PKGVERSION.
32206
32207         * timezone/checktab.awk: Update from tzcode 2012i.
32208         * timezone/ialloc.c: Likewise.
32209         * timezone/private.h: Likewise.
32210         * timezone/scheck.c: Likewise.
32211         * timezone/tzfile.h: Likewise.
32212         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32213         (TZVERSION): Hardcode tzcode version number.
32214         * timezone/zdump.c: Update from tzcode 2012i.
32215         * timezone/zic.c: Likewise.
32216         * timezone/version.h: New file.
32217         * timezone/README: Describe version.h.  Update upstream location.
32218
32219         [BZ #14824]
32220         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32221         (mktemp): Enable declaration.
32222         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32223         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32224         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32225         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32226         Likewise.
32227         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32228         Likewise.
32229         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32230         Likewise.
32231         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32232         Likewise.
32233         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32234         Likewise.
32235         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32236         Likewise.
32237
32238         [BZ #14821]
32239         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32240         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32241         for copies of such integer values.
32242         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32243         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32244
32245 2012-11-09  Andreas Jaeger  <aj@suse.de>
32246
32247         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32248         definitions and declarations that are provided by
32249         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32250
32251 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32252
32253         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32254         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32255         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32256         definition.
32257
32258 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32259
32260         * elf/elf.h: Update comment before AArch64 relocations.
32261
32262 2012-11-07  David S. Miller  <davem@davemloft.net>
32263
32264         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32265         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32266         (__start_context): Declare.
32267         (__makecontext_ret): Delete.
32268         (__makecontext): Hook up __start_context instead of
32269         __makecontext_ret.
32270         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32271         (sysdep_routines): Add __start_context when in stdlib.
32272
32273 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32274
32275         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32276         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32277         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32278         hardcoded "nm".
32279         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32280         (READELF): New variable.  Use it instead of hardcoded "readelf".
32281
32282 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32283
32284         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32285         * sysdeps/x86/Makefile: Here.
32286         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32287         * sysdeps/x86/tst-xmmymm.sh: This.
32288
32289 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32290
32291         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32292         expectations.
32293         [UNIX98] (pthread_barrier_t): Do not expect.
32294         [UNIX98] (pthread_barrierattr_t): Likewise.
32295         [UNIX98] (pthread_spinlock_t): Likewise.
32296         [UNIX98] (pthread_barrier_destroy): Likewise.
32297         [UNIX98] (pthread_barrier_init): Likewise.
32298         [UNIX98] (pthread_barrier_wait): Likewise.
32299         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32300         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32301         [UNIX98] (pthread_barrierattr_init): Likewise.
32302         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32303         [UNIX98] (pthread_getcpuclockid): Likewise.
32304         [UNIX98] (pthread_mutex_timedlock): Likewise.
32305         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32306         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32307         [UNIX98] (pthread_sigmask): Likewise.
32308         [UNIX98] (pthread_spin_destroy): Likewise.
32309         [UNIX98] (pthread_spin_init): Likewise.
32310         [UNIX98] (pthread_spin_lock): Likewise.
32311         [UNIX98] (pthread_spin_trylock): Likewise.
32312         [UNIX98] (pthread_spin_unlock): Likewise.
32313         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32314         Do not expect.
32315         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32316         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32317         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32318         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32319         [XPG3 || XPG4] (pthread_key_t): Likewise.
32320         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32321         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32322         [XPG3 || XPG4] (pthread_once_t): Likewise.
32323         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32324         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32325         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32326         [XPG3 || XPG4] (pthread_t): Likewise.
32327
32328         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32329         not expect.
32330         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32331
32332         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32333         Change function return type to int.
32334
32335         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32336         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32337         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32338         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32339         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32340         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32341         [!POSIX] (posix_madvise): Likewise.
32342         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32343         && !UNIX98].
32344         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32345         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32346         (mode_t): Likewise.
32347         (posix_mem_offset): Likewise.
32348         (posix_typed_mem_get_info): Likewise.
32349         (posix_typed_mem_open): Likewise.
32350
32351         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32352         Change condition to [XOPEN2K8].
32353
32354         * conform/conformtest.pl: Preprocess allow-header data with -x c
32355         instead of from stdin.
32356         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32357         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32358         [C99-based standards] (cerfc): Likewise.
32359         [C99-based standards] (cexp2): Likewise.
32360         [C99-based standards] (cexpm1): Likewise.
32361         [C99-based standards] (clog10): Likewise.
32362         [C99-based standards] (clog1p): Likewise.
32363         [C99-based standards] (clog2): Likewise.
32364         [C99-based standards] (clgamma): Likewise.
32365         [C99-based standards] (ctgamma): Likewise.
32366         [C99-based standards] (cerff): Likewise.
32367         [C99-based standards] (cerfcf): Likewise.
32368         [C99-based standards] (cexp2f): Likewise.
32369         [C99-based standards] (cexpm1f): Likewise.
32370         [C99-based standards] (clog10f): Likewise.
32371         [C99-based standards] (clog1pf): Likewise.
32372         [C99-based standards] (clog2f): Likewise.
32373         [C99-based standards] (clgammaf): Likewise.
32374         [C99-based standards] (ctgammaf): Likewise.
32375         [C99-based standards] (cerfl): Likewise.
32376         [C99-based standards] (cerfcl): Likewise.
32377         [C99-based standards] (cexp2l): Likewise.
32378         [C99-based standards] (cexpm1l): Likewise.
32379         [C99-based standards] (clog10l): Likewise.
32380         [C99-based standards] (clog1pl): Likewise.
32381         [C99-based standards] (clog2l): Likewise.
32382         [C99-based standards] (clgammal): Likewise.
32383         [C99-based standards] (ctgammal): Likewise.
32384         * conform/data/inttypes.h-data [C99-based standards]: Include
32385         stdint.h-data.  Remove all expectations for stdint.h contents.
32386         [C99-based standards] (PRI*): Do not allow.
32387         [C99-based standards] (SCN*): Likewise.
32388         [C99-based standards] (*_t): Likewise.
32389         [C99-based-standards] (PRId8): Expect macro.
32390         [C99-based-standards] (PRIi8): Likewise.
32391         [C99-based-standards] (PRIo8): Likewise.
32392         [C99-based-standards] (PRIu8): Likewise.
32393         [C99-based-standards] (PRIx8): Likewise.
32394         [C99-based-standards] (PRIX8): Likewise.
32395         [C99-based-standards] (SCNd8): Likewise.
32396         [C99-based-standards] (SCNi8): Likewise.
32397         [C99-based-standards] (SCNo8): Likewise.
32398         [C99-based-standards] (SCNu8): Likewise.
32399         [C99-based-standards] (SCNx8): Likewise.
32400         [C99-based-standards] (PRIdLEAST8): Likewise.
32401         [C99-based-standards] (PRIiLEAST8): Likewise.
32402         [C99-based-standards] (PRIoLEAST8): Likewise.
32403         [C99-based-standards] (PRIuLEAST8): Likewise.
32404         [C99-based-standards] (PRIxLEAST8): Likewise.
32405         [C99-based-standards] (PRIXLEAST8): Likewise.
32406         [C99-based-standards] (SCNdLEAST8): Likewise.
32407         [C99-based-standards] (SCNiLEAST8): Likewise.
32408         [C99-based-standards] (SCNoLEAST8): Likewise.
32409         [C99-based-standards] (SCNuLEAST8): Likewise.
32410         [C99-based-standards] (SCNxLEAST8): Likewise.
32411         [C99-based-standards] (PRIdFAST8): Likewise.
32412         [C99-based-standards] (PRIiFAST8): Likewise.
32413         [C99-based-standards] (PRIoFAST8): Likewise.
32414         [C99-based-standards] (PRIuFAST8): Likewise.
32415         [C99-based-standards] (PRIxFAST8): Likewise.
32416         [C99-based-standards] (PRIXFAST8): Likewise.
32417         [C99-based-standards] (SCNdFAST8): Likewise.
32418         [C99-based-standards] (SCNiFAST8): Likewise.
32419         [C99-based-standards] (SCNoFAST8): Likewise.
32420         [C99-based-standards] (SCNuFAST8): Likewise.
32421         [C99-based-standards] (SCNxFAST8): Likewise.
32422         [C99-based-standards] (PRId16): Likewise.
32423         [C99-based-standards] (PRIi16): Likewise.
32424         [C99-based-standards] (PRIo16): Likewise.
32425         [C99-based-standards] (PRIu16): Likewise.
32426         [C99-based-standards] (PRIx16): Likewise.
32427         [C99-based-standards] (PRIX16): Likewise.
32428         [C99-based-standards] (SCNd16): Likewise.
32429         [C99-based-standards] (SCNi16): Likewise.
32430         [C99-based-standards] (SCNo16): Likewise.
32431         [C99-based-standards] (SCNu16): Likewise.
32432         [C99-based-standards] (SCNx16): Likewise.
32433         [C99-based-standards] (PRIdLEAST16): Likewise.
32434         [C99-based-standards] (PRIiLEAST16): Likewise.
32435         [C99-based-standards] (PRIoLEAST16): Likewise.
32436         [C99-based-standards] (PRIuLEAST16): Likewise.
32437         [C99-based-standards] (PRIxLEAST16): Likewise.
32438         [C99-based-standards] (PRIXLEAST16): Likewise.
32439         [C99-based-standards] (SCNdLEAST16): Likewise.
32440         [C99-based-standards] (SCNiLEAST16): Likewise.
32441         [C99-based-standards] (SCNoLEAST16): Likewise.
32442         [C99-based-standards] (SCNuLEAST16): Likewise.
32443         [C99-based-standards] (SCNxLEAST16): Likewise.
32444         [C99-based-standards] (PRIdFAST16): Likewise.
32445         [C99-based-standards] (PRIiFAST16): Likewise.
32446         [C99-based-standards] (PRIoFAST16): Likewise.
32447         [C99-based-standards] (PRIuFAST16): Likewise.
32448         [C99-based-standards] (PRIxFAST16): Likewise.
32449         [C99-based-standards] (PRIXFAST16): Likewise.
32450         [C99-based-standards] (SCNdFAST16): Likewise.
32451         [C99-based-standards] (SCNiFAST16): Likewise.
32452         [C99-based-standards] (SCNoFAST16): Likewise.
32453         [C99-based-standards] (SCNuFAST16): Likewise.
32454         [C99-based-standards] (SCNxFAST16): Likewise.
32455         [C99-based-standards] (PRId32): Likewise.
32456         [C99-based-standards] (PRIi32): Likewise.
32457         [C99-based-standards] (PRIo32): Likewise.
32458         [C99-based-standards] (PRIu32): Likewise.
32459         [C99-based-standards] (PRIx32): Likewise.
32460         [C99-based-standards] (PRIX32): Likewise.
32461         [C99-based-standards] (SCNd32): Likewise.
32462         [C99-based-standards] (SCNi32): Likewise.
32463         [C99-based-standards] (SCNo32): Likewise.
32464         [C99-based-standards] (SCNu32): Likewise.
32465         [C99-based-standards] (SCNx32): Likewise.
32466         [C99-based-standards] (PRIdLEAST32): Likewise.
32467         [C99-based-standards] (PRIiLEAST32): Likewise.
32468         [C99-based-standards] (PRIoLEAST32): Likewise.
32469         [C99-based-standards] (PRIuLEAST32): Likewise.
32470         [C99-based-standards] (PRIxLEAST32): Likewise.
32471         [C99-based-standards] (PRIXLEAST32): Likewise.
32472         [C99-based-standards] (SCNdLEAST32): Likewise.
32473         [C99-based-standards] (SCNiLEAST32): Likewise.
32474         [C99-based-standards] (SCNoLEAST32): Likewise.
32475         [C99-based-standards] (SCNuLEAST32): Likewise.
32476         [C99-based-standards] (SCNxLEAST32): Likewise.
32477         [C99-based-standards] (PRIdFAST32): Likewise.
32478         [C99-based-standards] (PRIiFAST32): Likewise.
32479         [C99-based-standards] (PRIoFAST32): Likewise.
32480         [C99-based-standards] (PRIuFAST32): Likewise.
32481         [C99-based-standards] (PRIxFAST32): Likewise.
32482         [C99-based-standards] (PRIXFAST32): Likewise.
32483         [C99-based-standards] (SCNdFAST32): Likewise.
32484         [C99-based-standards] (SCNiFAST32): Likewise.
32485         [C99-based-standards] (SCNoFAST32): Likewise.
32486         [C99-based-standards] (SCNuFAST32): Likewise.
32487         [C99-based-standards] (SCNxFAST32): Likewise.
32488         [C99-based-standards] (PRId64): Likewise.
32489         [C99-based-standards] (PRIi64): Likewise.
32490         [C99-based-standards] (PRIo64): Likewise.
32491         [C99-based-standards] (PRIu64): Likewise.
32492         [C99-based-standards] (PRIx64): Likewise.
32493         [C99-based-standards] (PRIX64): Likewise.
32494         [C99-based-standards] (SCNd64): Likewise.
32495         [C99-based-standards] (SCNi64): Likewise.
32496         [C99-based-standards] (SCNo64): Likewise.
32497         [C99-based-standards] (SCNu64): Likewise.
32498         [C99-based-standards] (SCNx64): Likewise.
32499         [C99-based-standards] (PRIdLEAST64): Likewise.
32500         [C99-based-standards] (PRIiLEAST64): Likewise.
32501         [C99-based-standards] (PRIoLEAST64): Likewise.
32502         [C99-based-standards] (PRIuLEAST64): Likewise.
32503         [C99-based-standards] (PRIxLEAST64): Likewise.
32504         [C99-based-standards] (PRIXLEAST64): Likewise.
32505         [C99-based-standards] (SCNdLEAST64): Likewise.
32506         [C99-based-standards] (SCNiLEAST64): Likewise.
32507         [C99-based-standards] (SCNoLEAST64): Likewise.
32508         [C99-based-standards] (SCNuLEAST64): Likewise.
32509         [C99-based-standards] (SCNxLEAST64): Likewise.
32510         [C99-based-standards] (PRIdFAST64): Likewise.
32511         [C99-based-standards] (PRIiFAST64): Likewise.
32512         [C99-based-standards] (PRIoFAST64): Likewise.
32513         [C99-based-standards] (PRIuFAST64): Likewise.
32514         [C99-based-standards] (PRIxFAST64): Likewise.
32515         [C99-based-standards] (PRIXFAST64): Likewise.
32516         [C99-based-standards] (SCNdFAST64): Likewise.
32517         [C99-based-standards] (SCNiFAST64): Likewise.
32518         [C99-based-standards] (SCNoFAST64): Likewise.
32519         [C99-based-standards] (SCNuFAST64): Likewise.
32520         [C99-based-standards] (SCNxFAST64): Likewise.
32521         [C99-based-standards] (PRIdMAX): Likewise.
32522         [C99-based-standards] (PRIiMAX): Likewise.
32523         [C99-based-standards] (PRIoMAX): Likewise.
32524         [C99-based-standards] (PRIuMAX): Likewise.
32525         [C99-based-standards] (PRIxMAX): Likewise.
32526         [C99-based-standards] (PRIXMAX): Likewise.
32527         [C99-based-standards] (SCNdMAX): Likewise.
32528         [C99-based-standards] (SCNiMAX): Likewise.
32529         [C99-based-standards] (SCNoMAX): Likewise.
32530         [C99-based-standards] (SCNuMAX): Likewise.
32531         [C99-based-standards] (SCNxMAX): Likewise.
32532         [C99-based-standards] (PRIdPTR): Likewise.
32533         [C99-based-standards] (PRIiPTR): Likewise.
32534         [C99-based-standards] (PRIoPTR): Likewise.
32535         [C99-based-standards] (PRIuPTR): Likewise.
32536         [C99-based-standards] (PRIxPTR): Likewise.
32537         [C99-based-standards] (PRIXPTR): Likewise.
32538         [C99-based-standards] (SCNdPTR): Likewise.
32539         [C99-based-standards] (SCNiPTR): Likewise.
32540         [C99-based-standards] (SCNoPTR): Likewise.
32541         [C99-based-standards] (SCNuPTR): Likewise.
32542         [C99-based-standards] (SCNxPTR): Likewise.
32543         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32544         allow.
32545         * conform/data/stdint.h-data: Update comments to clarify
32546         requirements.
32547         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32548         type.
32549         [C99-based standards] (INT8_MAX): Likewise.
32550         [C99-based standards] (INT16_MIN): Likewise.
32551         [C99-based standards] (INT16_MAX): Likewise.
32552         [C99-based standards] (INT32_MIN): Likewise.
32553         [C99-based standards] (INT32_MAX): Likewise.
32554         [C99-based standards] (INT64_MIN): Likewise.
32555         [C99-based standards] (INT64_MAX): Likewise.
32556         [C99-based standards] (UINT8_MAX): Likewise.
32557         [C99-based standards] (UINT16_MAX): Likewise.
32558         [C99-based standards] (UINT32_MAX): Likewise.
32559         [C99-based standards] (UINT64_MAX): Likewise.
32560         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32561         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32562         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32563         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32564         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32565         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32566         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32567         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32568         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32569         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32570         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32571         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32572         [C99-based standards] (INT_FAST8_MIN): Likewise.
32573         [C99-based standards] (INT_FAST8_MAX): Likewise.
32574         [C99-based standards] (INT_FAST16_MIN): Likewise.
32575         [C99-based standards] (INT_FAST16_MAX): Likewise.
32576         [C99-based standards] (INT_FAST32_MIN): Likewise.
32577         [C99-based standards] (INT_FAST32_MAX): Likewise.
32578         [C99-based standards] (INT_FAST64_MIN): Likewise.
32579         [C99-based standards] (INT_FAST64_MAX): Likewise.
32580         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32581         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32582         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32583         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32584         [C99-based standards] (INTPTR_MIN): Likewise.
32585         [C99-based standards] (INTPTR_MAX): Likewise.
32586         [C99-based standards] (UINTPTR_MAX): Likewise.
32587         [C99-based standards] (INTMAX_MIN): Likewise.
32588         [C99-based standards] (INTMAX_MAX): Likewise.
32589         [C99-based standards] (UINTMAX_MAX): Likewise.
32590         [C99-based standards] (PTRDIFF_MIN): Likewise.
32591         [C99-based standards] (PTRDIFF_MAX): Likewise.
32592         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32593         [C99-based standards] (SIZE_MAX): Likewise.
32594         [C99-based standards] (WCHAR_MAX): Likewise.
32595         [C99-based standards] (WINT_MAX): Likewise.
32596         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32597         constraint on value.
32598         [C99-based standards] (WCHAR_MIN): Likewise.
32599         [C99-based standards] (WINT_MIN): Likewise.
32600         [C99-based standards] (*_t): Allow.
32601         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32602         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32603         Include math.h-data and complex.h-data.  Remove all expectations
32604         of math.h and complex.h contents.
32605         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32606         at end of line.
32607         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32608         (struct tm): Expect tag.
32609         [C99-based-standards] (wcstof): Expect function.
32610         [C99-based-standards] (wcstold): Likewise.
32611         [C99-based-standards] (wcstoll): Likewise.
32612         [C99-based-standards] (wcstoull): Likewise.
32613         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32614         macro-int-constant.  Specify type.
32615         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32616         constraint on value.
32617         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32618         Specify type.
32619         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32620         Specify value.
32621         [ISO C standards]: Do not allow headers.
32622         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32623         wcs[abcdefghijklmnopqrstuvwxyz]*.
32624         [ISO C standards] (*_t): Do not allow.
32625         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32626         Expect function.
32627         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32628         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32629         Specify type.
32630         [ISO C standards]: Do not allow headers.
32631         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32632         is[abcdefghijklmnopqrstuvwxyz]*.
32633         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32634         to[abcdefghijklmnopqrstuvwxyz]*.
32635         [ISO C standards] (*_t): Do not allow.
32636         * conform/data/stdalign.h-data: New file.
32637         * conform/data/stdbool.h-data: Likewise.
32638         * conform/data/stdnoreturn.h-data: Likewise.
32639
32640 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32641
32642         [BZ #14815]
32643         * manual/filesys.texi (Directory Entries): Typo fix.
32644         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32645
32646 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32647
32648         * elf/elf.h (EM_AARCH64): New macro.
32649         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32650         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32651         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32652         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32653         (R_AARCH64_TLSDESC): Likewise.
32654         (NT_ARM_TLS): Likewise.
32655         (NT_ARM_HW_BREAK): Likewise.
32656         (NT_ARM_HW_WATCH): Likewise.
32657
32658 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32659
32660         [BZ #14811]
32661         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32662         (__ieee754_powl): Saturate nonzero exponents with absolute value
32663         below 0x1p-79 to +/- 0x1p-79.
32664         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32665         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32666         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32667         nonzero exponents with absolute value below 0x1p-32 to +/-
32668         0x1p-32.
32669         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32670         (__ieee754_powl): Saturate nonzero exponents with absolute value
32671         below 0x1p-79 to +/- 0x1p-79.
32672         * math/libm-test.inc (pow_test): Add more tests.
32673
32674 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32675
32676         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32677         _dl_s390_cap_flags with kernel. Increase string length.
32678         (_dl_s390_platforms): Add z196 and zEC12.
32679
32680 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32681
32682         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32683         Change XOPEN21K to XOPEN2K.
32684
32685 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32686
32687         * string/memmove.c: Use memcpy when possible.
32688
32689 2012-11-06  Andreas Jaeger  <aj@suse.de>
32690
32691         * po/eo.po: Update from translation team.
32692
32693 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32694
32695         [BZ #14793]
32696         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32697         exponent and small x and y exponents, scale x or y up.  Increase
32698         by 2 the exponent used in scaling up.
32699         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32700         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32701         * math/libm-test.inc (fma_test): Add more tests.
32702         (fma_test_towardzero): Likewise.
32703         (fma_test_downward): Likewise.
32704         (fma_test_upward): Likewise.
32705
32706 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32707
32708         [BZ #14805]
32709         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32710         fenv_t *.
32711
32712         [BZ #14801]
32713         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32714         namespace for names of struct fields.
32715         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32716         fenv_t fields.
32717         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32718         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32719
32720 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32721
32722         [BZ #3665]
32723         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32724
32725 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32726
32727         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32728         PTR_DEMANGLE.
32729
32730         [BZ #5246]
32731         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32732         PTR_DEMANGLE.
32733
32734 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32735
32736         [BZ #14797]
32737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32738         definitely overflow as x * y not x * y + z.
32739         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32740         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32741         * math/libm-test.inc (fma_test): Add more tests.
32742         (fma_test_towardzero): Likewise.
32743         (fma_test_downward): Likewise.
32744         (fma_test_upward): Likewise.
32745
32746 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32747
32748         [BZ #157]
32749
32750         * include/stub-tag.h: Remove file.
32751         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32752         '#include' of it.
32753         * manual/maint.texi (Porting): Don't reference it.
32754         * Makerules ($(objpfx)stubs): Likewise.
32755         * dirent/closedir.c: Don't include <stub-tag.h>.
32756         * dirent/dirfd.c: Likewise.
32757         * dirent/fdopendir.c: Likewise.
32758         * dirent/getdents.c: Likewise.
32759         * dirent/getdents64.c: Likewise.
32760         * dirent/opendir.c: Likewise.
32761         * dirent/readdir.c: Likewise.
32762         * dirent/readdir64.c: Likewise.
32763         * dirent/readdir64_r.c: Likewise.
32764         * dirent/readdir_r.c: Likewise.
32765         * dirent/rewinddir.c: Likewise.
32766         * dirent/seekdir.c: Likewise.
32767         * dirent/telldir.c: Likewise.
32768         * gmon/profil.c: Likewise.
32769         * grp/setgroups.c: Likewise.
32770         * inet/if_index.c: Likewise.
32771         * io/access.c: Likewise.
32772         * io/chdir.c: Likewise.
32773         * io/chmod.c: Likewise.
32774         * io/chown.c: Likewise.
32775         * io/close.c: Likewise.
32776         * io/dup.c: Likewise.
32777         * io/dup2.c: Likewise.
32778         * io/dup3.c: Likewise.
32779         * io/euidaccess.c: Likewise.
32780         * io/faccessat.c: Likewise.
32781         * io/fchdir.c: Likewise.
32782         * io/fchmod.c: Likewise.
32783         * io/fchmodat.c: Likewise.
32784         * io/fchown.c: Likewise.
32785         * io/fchownat.c: Likewise.
32786         * io/fcntl.c: Likewise.
32787         * io/flock.c: Likewise.
32788         * io/fstatfs.c: Likewise.
32789         * io/fstatfs64.c: Likewise.
32790         * io/fstatvfs.c: Likewise.
32791         * io/fstatvfs64.c: Likewise.
32792         * io/futimens.c: Likewise.
32793         * io/fxstat.c: Likewise.
32794         * io/fxstat64.c: Likewise.
32795         * io/fxstatat.c: Likewise.
32796         * io/fxstatat64.c: Likewise.
32797         * io/getcwd.c: Likewise.
32798         * io/isatty.c: Likewise.
32799         * io/lchmod.c: Likewise.
32800         * io/lchown.c: Likewise.
32801         * io/link.c: Likewise.
32802         * io/linkat.c: Likewise.
32803         * io/lseek.c: Likewise.
32804         * io/lseek64.c: Likewise.
32805         * io/lxstat64.c: Likewise.
32806         * io/mkdir.c: Likewise.
32807         * io/mkdirat.c: Likewise.
32808         * io/mkfifo.c: Likewise.
32809         * io/mkfifoat.c: Likewise.
32810         * io/open.c: Likewise.
32811         * io/open64.c: Likewise.
32812         * io/openat.c: Likewise.
32813         * io/openat64.c: Likewise.
32814         * io/pipe.c: Likewise.
32815         * io/pipe2.c: Likewise.
32816         * io/poll.c: Likewise.
32817         * io/posix_fadvise.c: Likewise.
32818         * io/posix_fadvise64.c: Likewise.
32819         * io/posix_fallocate.c: Likewise.
32820         * io/posix_fallocate64.c: Likewise.
32821         * io/read.c: Likewise.
32822         * io/readlink.c: Likewise.
32823         * io/readlinkat.c: Likewise.
32824         * io/rmdir.c: Likewise.
32825         * io/sendfile.c: Likewise.
32826         * io/sendfile64.c: Likewise.
32827         * io/statfs.c: Likewise.
32828         * io/statfs64.c: Likewise.
32829         * io/statvfs.c: Likewise.
32830         * io/statvfs64.c: Likewise.
32831         * io/symlink.c: Likewise.
32832         * io/symlinkat.c: Likewise.
32833         * io/ttyname.c: Likewise.
32834         * io/ttyname_r.c: Likewise.
32835         * io/umask.c: Likewise.
32836         * io/unlink.c: Likewise.
32837         * io/unlinkat.c: Likewise.
32838         * io/utime.c: Likewise.
32839         * io/utimensat.c: Likewise.
32840         * io/write.c: Likewise.
32841         * io/xmknod.c: Likewise.
32842         * io/xmknodat.c: Likewise.
32843         * io/xstat.c: Likewise.
32844         * io/xstat64.c: Likewise.
32845         * login/getpt.c: Likewise.
32846         * login/grantpt.c: Likewise.
32847         * login/unlockpt.c: Likewise.
32848         * math/e_acoshl.c: Likewise.
32849         * math/e_acosl.c: Likewise.
32850         * math/e_asinl.c: Likewise.
32851         * math/e_atan2l.c: Likewise.
32852         * math/e_atanhl.c: Likewise.
32853         * math/e_coshl.c: Likewise.
32854         * math/e_expl.c: Likewise.
32855         * math/e_fmodl.c: Likewise.
32856         * math/e_gammal_r.c: Likewise.
32857         * math/e_hypotl.c: Likewise.
32858         * math/e_j0l.c: Likewise.
32859         * math/e_j1l.c: Likewise.
32860         * math/e_jnl.c: Likewise.
32861         * math/e_lgammal_r.c: Likewise.
32862         * math/e_log10l.c: Likewise.
32863         * math/e_log2l.c: Likewise.
32864         * math/e_logl.c: Likewise.
32865         * math/e_powl.c: Likewise.
32866         * math/e_rem_pio2l.c: Likewise.
32867         * math/e_sinhl.c: Likewise.
32868         * math/e_sqrtl.c: Likewise.
32869         * math/fclrexcpt.c: Likewise.
32870         * math/fedisblxcpt.c: Likewise.
32871         * math/feenablxcpt.c: Likewise.
32872         * math/fegetenv.c: Likewise.
32873         * math/fegetexcept.c: Likewise.
32874         * math/fegetround.c: Likewise.
32875         * math/feholdexcpt.c: Likewise.
32876         * math/fesetenv.c: Likewise.
32877         * math/fesetround.c: Likewise.
32878         * math/feupdateenv.c: Likewise.
32879         * math/fgetexcptflg.c: Likewise.
32880         * math/fraiseexcpt.c: Likewise.
32881         * math/fsetexcptflg.c: Likewise.
32882         * math/ftestexcept.c: Likewise.
32883         * math/k_cosl.c: Likewise.
32884         * math/k_rem_pio2l.c: Likewise.
32885         * math/k_sinl.c: Likewise.
32886         * math/k_tanl.c: Likewise.
32887         * math/s_asinhl.c: Likewise.
32888         * math/s_atanl.c: Likewise.
32889         * math/s_cbrtl.c: Likewise.
32890         * math/s_erfl.c: Likewise.
32891         * math/s_expm1l.c: Likewise.
32892         * math/s_log1pl.c: Likewise.
32893         * math/s_tanhl.c: Likewise.
32894         * misc/acct.c: Likewise.
32895         * misc/brk.c: Likewise.
32896         * misc/chflags.c: Likewise.
32897         * misc/chroot.c: Likewise.
32898         * misc/fchflags.c: Likewise.
32899         * misc/fgetxattr.c: Likewise.
32900         * misc/flistxattr.c: Likewise.
32901         * misc/fremovexattr.c: Likewise.
32902         * misc/fsetxattr.c: Likewise.
32903         * misc/fsync.c: Likewise.
32904         * misc/ftruncate.c: Likewise.
32905         * misc/futimes.c: Likewise.
32906         * misc/futimesat.c: Likewise.
32907         * misc/getdomain.c: Likewise.
32908         * misc/getdtsz.c: Likewise.
32909         * misc/gethostid.c: Likewise.
32910         * misc/gethostname.c: Likewise.
32911         * misc/getloadavg.c: Likewise.
32912         * misc/getpagesize.c: Likewise.
32913         * misc/getsysstats.c: Likewise.
32914         * misc/getxattr.c: Likewise.
32915         * misc/gtty.c: Likewise.
32916         * misc/ioctl.c: Likewise.
32917         * misc/lgetxattr.c: Likewise.
32918         * misc/listxattr.c: Likewise.
32919         * misc/llistxattr.c: Likewise.
32920         * misc/lremovexattr.c: Likewise.
32921         * misc/lsetxattr.c: Likewise.
32922         * misc/lutimes.c: Likewise.
32923         * misc/madvise.c: Likewise.
32924         * misc/mincore.c: Likewise.
32925         * misc/mlock.c: Likewise.
32926         * misc/mlockall.c: Likewise.
32927         * misc/mmap.c: Likewise.
32928         * misc/mprotect.c: Likewise.
32929         * misc/msync.c: Likewise.
32930         * misc/munlock.c: Likewise.
32931         * misc/munlockall.c: Likewise.
32932         * misc/munmap.c: Likewise.
32933         * misc/preadv.c: Likewise.
32934         * misc/preadv64.c: Likewise.
32935         * misc/ptrace.c: Likewise.
32936         * misc/pwritev.c: Likewise.
32937         * misc/pwritev64.c: Likewise.
32938         * misc/readv.c: Likewise.
32939         * misc/reboot.c: Likewise.
32940         * misc/remap_file_pages.c: Likewise.
32941         * misc/removexattr.c: Likewise.
32942         * misc/revoke.c: Likewise.
32943         * misc/select.c: Likewise.
32944         * misc/setdomain.c: Likewise.
32945         * misc/setegid.c: Likewise.
32946         * misc/seteuid.c: Likewise.
32947         * misc/sethostid.c: Likewise.
32948         * misc/sethostname.c: Likewise.
32949         * misc/setregid.c: Likewise.
32950         * misc/setreuid.c: Likewise.
32951         * misc/setxattr.c: Likewise.
32952         * misc/sstk.c: Likewise.
32953         * misc/stty.c: Likewise.
32954         * misc/swapoff.c: Likewise.
32955         * misc/swapon.c: Likewise.
32956         * misc/sync.c: Likewise.
32957         * misc/syncfs.c: Likewise.
32958         * misc/syscall.c: Likewise.
32959         * misc/truncate.c: Likewise.
32960         * misc/ualarm.c: Likewise.
32961         * misc/usleep.c: Likewise.
32962         * misc/ustat.c: Likewise.
32963         * misc/utimes.c: Likewise.
32964         * misc/vhangup.c: Likewise.
32965         * misc/writev.c: Likewise.
32966         * posix/_exit.c: Likewise.
32967         * posix/alarm.c: Likewise.
32968         * posix/execve.c: Likewise.
32969         * posix/fexecve.c: Likewise.
32970         * posix/fork.c: Likewise.
32971         * posix/fpathconf.c: Likewise.
32972         * posix/getaddrinfo.c: Likewise.
32973         * posix/getegid.c: Likewise.
32974         * posix/geteuid.c: Likewise.
32975         * posix/getgid.c: Likewise.
32976         * posix/getgroups.c: Likewise.
32977         * posix/getlogin.c: Likewise.
32978         * posix/getlogin_r.c: Likewise.
32979         * posix/getpgid.c: Likewise.
32980         * posix/getpid.c: Likewise.
32981         * posix/getppid.c: Likewise.
32982         * posix/getresgid.c: Likewise.
32983         * posix/getresuid.c: Likewise.
32984         * posix/getsid.c: Likewise.
32985         * posix/getuid.c: Likewise.
32986         * posix/glob64.c: Likewise.
32987         * posix/nanosleep.c: Likewise.
32988         * posix/pathconf.c: Likewise.
32989         * posix/pause.c: Likewise.
32990         * posix/posix_madvise.c: Likewise.
32991         * posix/pread.c: Likewise.
32992         * posix/pread64.c: Likewise.
32993         * posix/pwrite.c: Likewise.
32994         * posix/pwrite64.c: Likewise.
32995         * posix/sched_getaffinity.c: Likewise.
32996         * posix/sched_getp.c: Likewise.
32997         * posix/sched_gets.c: Likewise.
32998         * posix/sched_primax.c: Likewise.
32999         * posix/sched_primin.c: Likewise.
33000         * posix/sched_rr_gi.c: Likewise.
33001         * posix/sched_setaffinity.c: Likewise.
33002         * posix/sched_setp.c: Likewise.
33003         * posix/sched_sets.c: Likewise.
33004         * posix/sched_yield.c: Likewise.
33005         * posix/setgid.c: Likewise.
33006         * posix/setlogin.c: Likewise.
33007         * posix/setpgid.c: Likewise.
33008         * posix/setresgid.c: Likewise.
33009         * posix/setresuid.c: Likewise.
33010         * posix/setsid.c: Likewise.
33011         * posix/setuid.c: Likewise.
33012         * posix/sleep.c: Likewise.
33013         * posix/spawni.c: Likewise.
33014         * posix/sysconf.c: Likewise.
33015         * posix/times.c: Likewise.
33016         * posix/wait.c: Likewise.
33017         * posix/wait3.c: Likewise.
33018         * posix/wait4.c: Likewise.
33019         * posix/waitpid.c: Likewise.
33020         * resolv/gai_sigqueue.c: Likewise.
33021         * resource/getpriority.c: Likewise.
33022         * resource/getrlimit.c: Likewise.
33023         * resource/getrusage.c: Likewise.
33024         * resource/nice.c: Likewise.
33025         * resource/setpriority.c: Likewise.
33026         * resource/setrlimit.c: Likewise.
33027         * resource/ulimit.c: Likewise.
33028         * rt/aio_cancel.c: Likewise.
33029         * rt/aio_fsync.c: Likewise.
33030         * rt/aio_read.c: Likewise.
33031         * rt/aio_sigqueue.c: Likewise.
33032         * rt/aio_suspend.c: Likewise.
33033         * rt/aio_write.c: Likewise.
33034         * rt/clock_getres.c: Likewise.
33035         * rt/clock_gettime.c: Likewise.
33036         * rt/clock_nanosleep.c: Likewise.
33037         * rt/clock_settime.c: Likewise.
33038         * rt/lio_listio.c: Likewise.
33039         * rt/mq_close.c: Likewise.
33040         * rt/mq_getattr.c: Likewise.
33041         * rt/mq_notify.c: Likewise.
33042         * rt/mq_open.c: Likewise.
33043         * rt/mq_receive.c: Likewise.
33044         * rt/mq_send.c: Likewise.
33045         * rt/mq_setattr.c: Likewise.
33046         * rt/mq_timedreceive.c: Likewise.
33047         * rt/mq_timedsend.c: Likewise.
33048         * rt/mq_unlink.c: Likewise.
33049         * rt/shm_open.c: Likewise.
33050         * rt/shm_unlink.c: Likewise.
33051         * rt/timer_create.c: Likewise.
33052         * rt/timer_delete.c: Likewise.
33053         * rt/timer_getoverr.c: Likewise.
33054         * rt/timer_gettime.c: Likewise.
33055         * rt/timer_settime.c: Likewise.
33056         * setjmp/__longjmp.c: Likewise.
33057         * setjmp/setjmp.c: Likewise.
33058         * signal/kill.c: Likewise.
33059         * signal/killpg.c: Likewise.
33060         * signal/raise.c: Likewise.
33061         * signal/sigaction.c: Likewise.
33062         * signal/sigaltstack.c: Likewise.
33063         * signal/sigblock.c: Likewise.
33064         * signal/sigignore.c: Likewise.
33065         * signal/sigintr.c: Likewise.
33066         * signal/signal.c: Likewise.
33067         * signal/sigpause.c: Likewise.
33068         * signal/sigpending.c: Likewise.
33069         * signal/sigqueue.c: Likewise.
33070         * signal/sigreturn.c: Likewise.
33071         * signal/sigset.c: Likewise.
33072         * signal/sigsetmask.c: Likewise.
33073         * signal/sigstack.c: Likewise.
33074         * signal/sigsuspend.c: Likewise.
33075         * signal/sigtimedwait.c: Likewise.
33076         * signal/sigvec.c: Likewise.
33077         * signal/sigwait.c: Likewise.
33078         * signal/sigwaitinfo.c: Likewise.
33079         * signal/sysv_signal.c: Likewise.
33080         * socket/accept.c: Likewise.
33081         * socket/accept4.c: Likewise.
33082         * socket/bind.c: Likewise.
33083         * socket/connect.c: Likewise.
33084         * socket/getpeername.c: Likewise.
33085         * socket/getsockname.c: Likewise.
33086         * socket/getsockopt.c: Likewise.
33087         * socket/isfdtype.c: Likewise.
33088         * socket/listen.c: Likewise.
33089         * socket/recv.c: Likewise.
33090         * socket/recvfrom.c: Likewise.
33091         * socket/recvmsg.c: Likewise.
33092         * socket/send.c: Likewise.
33093         * socket/sendmsg.c: Likewise.
33094         * socket/sendto.c: Likewise.
33095         * socket/setsockopt.c: Likewise.
33096         * socket/shutdown.c: Likewise.
33097         * socket/sockatmark.c: Likewise.
33098         * socket/socket.c: Likewise.
33099         * socket/socketpair.c: Likewise.
33100         * stdio-common/ctermid.c: Likewise.
33101         * stdio-common/cuserid.c: Likewise.
33102         * stdio-common/remove.c: Likewise.
33103         * stdio-common/rename.c: Likewise.
33104         * stdio-common/renameat.c: Likewise.
33105         * stdio-common/tempname.c: Likewise.
33106         * stdlib/getcontext.c: Likewise.
33107         * stdlib/makecontext.c: Likewise.
33108         * stdlib/setcontext.c: Likewise.
33109         * stdlib/swapcontext.c: Likewise.
33110         * stdlib/system.c: Likewise.
33111         * streams/fattach.c: Likewise.
33112         * streams/fdetach.c: Likewise.
33113         * streams/getmsg.c: Likewise.
33114         * streams/getpmsg.c: Likewise.
33115         * streams/putmsg.c: Likewise.
33116         * streams/putpmsg.c: Likewise.
33117         * sysdeps/unix/bsd/getpt.c: Likewise.
33118         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33119         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33120         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33122         Likewise.
33123         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33124         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33125         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33126         * sysvipc/msgctl.c: Likewise.
33127         * sysvipc/msgget.c: Likewise.
33128         * sysvipc/msgrcv.c: Likewise.
33129         * sysvipc/msgsnd.c: Likewise.
33130         * sysvipc/semctl.c: Likewise.
33131         * sysvipc/semget.c: Likewise.
33132         * sysvipc/semop.c: Likewise.
33133         * sysvipc/semtimedop.c: Likewise.
33134         * sysvipc/shmat.c: Likewise.
33135         * sysvipc/shmctl.c: Likewise.
33136         * sysvipc/shmdt.c: Likewise.
33137         * sysvipc/shmget.c: Likewise.
33138         * termios/tcdrain.c: Likewise.
33139         * termios/tcflow.c: Likewise.
33140         * termios/tcflush.c: Likewise.
33141         * termios/tcgetattr.c: Likewise.
33142         * termios/tcgetpgrp.c: Likewise.
33143         * termios/tcsendbrk.c: Likewise.
33144         * termios/tcsetattr.c: Likewise.
33145         * termios/tcsetpgrp.c: Likewise.
33146         * time/adjtime.c: Likewise.
33147         * time/clock.c: Likewise.
33148         * time/getitimer.c: Likewise.
33149         * time/gettimeofday.c: Likewise.
33150         * time/setitimer.c: Likewise.
33151         * time/settimeofday.c: Likewise.
33152         * time/stime.c: Likewise.
33153         * time/time.c: Likewise.
33154
33155 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33156
33157         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33158         /usr/old/bin.
33159
33160         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33161         instead of spaces.
33162         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33163
33164 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33165
33166         [BZ #14796]
33167         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33168         FE_TONEAREST before applying Dekker multiplication and Knuth
33169         addition.  Clear inexact exceptions and check for exact zero
33170         results afterwards.
33171         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33172         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33173         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33174         * math/libm-test.inc (fma_test): Add more tests.
33175         (fma_test_towardzero): Likewise.
33176         (fma_test_downward): Likewise.
33177         (fma_test_upward): Likewise.
33178         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33179         function.
33180         (libc_fesetround): New macro.
33181         (libc_fesetroundf): Likewise.
33182         (libc_fesetroundl): Likewise.
33183         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33184         function.
33185         (libc_fesetround_387): Likewise.
33186         (libc_fesetroundf): New macro.
33187         (libc_fesetround): Likewise.
33188         (libc_fesetroundl): Likewise.
33189         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33190         function.
33191         (libc_fesetroundf): New macro.
33192         (libc_fesetround): Likewise.
33193         (libc_fesetroundl): Likewise.
33194         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33195         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33196         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33197         libm_hidden_ver.
33198         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33199         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33200         libm_hidden_def.
33201         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33202         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33203         libm_hidden_ver.
33204         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33205         libm_hidden_def.
33206
33207         [BZ #3439]
33208         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33209         integer constant usable in #if and use that to give value to enum
33210         constant.
33211         (FE_DIVBYZERO): Likewise.
33212         (FE_UNDERFLOW): Likewise.
33213         (FE_OVERFLOW): Likewise.
33214         (FE_INVALID): Likewise.
33215         (FE_INVALID_SNAN): Likewise.
33216         (FE_INVALID_ISI): Likewise.
33217         (FE_INVALID_IDI): Likewise.
33218         (FE_INVALID_ZDZ): Likewise.
33219         (FE_INVALID_IMZ): Likewise.
33220         (FE_INVALID_COMPARE): Likewise.
33221         (FE_INVALID_SOFTWARE): Likewise.
33222         (FE_INVALID_SQRT): Likewise.
33223         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33224         (FE_TONEAREST): Likewise.
33225         (FE_TOWARDZERO): Likewise.
33226         (FE_UPWARD): Likewise.
33227         (FE_DOWNWARD): Likewise.
33228         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33229         (FE_DIVBYZERO): Likewise.
33230         (FE_OVERFLOW): Likewise.
33231         (FE_UNDERFLOW): Likewise.
33232         (FE_INEXACT): Likewise.
33233         (FE_TONEAREST): Likewise.
33234         (FE_DOWNWARD): Likewise.
33235         (FE_UPWARD): Likewise.
33236         (FE_TOWARDZERO): Likewise.
33237         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33238         (FE_UNDERFLOW): Likewise.
33239         (FE_OVERFLOW): Likewise.
33240         (FE_DIVBYZERO): Likewise.
33241         (FE_INVALID): Likewise.
33242         (FE_TONEAREST): Likewise.
33243         (FE_TOWARDZERO): Likewise.
33244         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33245         (FE_OVERFLOW): Likewise.
33246         (FE_UNDERFLOW): Likewise.
33247         (FE_DIVBYZERO): Likewise.
33248         (FE_INEXACT): Likewise.
33249         (FE_TONEAREST): Likewise.
33250         (FE_TOWARDZERO): Likewise.
33251         (FE_UPWARD): Likewise.
33252         (FE_DOWNWARD): Likewise.
33253         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33254         (FE_DIVBYZERO): Likewise.
33255         (FE_OVERFLOW): Likewise.
33256         (FE_UNDERFLOW): Likewise.
33257         (FE_INEXACT): Likewise.
33258         (FE_TONEAREST): Likewise.
33259         (FE_DOWNWARD): Likewise.
33260         (FE_UPWARD): Likewise.
33261         (FE_TOWARDZERO): Likewise.
33262
33263 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33264
33265         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33266
33267 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33268
33269         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33270         commands.  Quote $PWD.
33271         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33272         -x" by "export".
33273         (remove_newlines): Remove.
33274
33275 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33276
33277         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33278         * stdlib/stdlib.h (atof): Moved to ...
33279         * include/bits/stdlib-float.h: Here.  New file.
33280         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33281         * stdlib/bits/stdlib-float.h: New file.
33282         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33283         -mno-sse -mno-mmx.
33284         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33285         <xmmintrin.h>.
33286
33287 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33288
33289         * conform/conformtest.pl (@headers): Add fenv.h.
33290         * conform/data/fenv.h-data: New file.
33291         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33292         include of <math/fenv.h>.
33293
33294         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33295         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33296         && !UNIX98].  Enables tests for XOPEN2K8.
33297         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33298         POSIX2008]: Likewise.
33299
33300         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33301         (struct rusage): Do not expect type or its members.
33302
33303         [BZ #3439]
33304         * math/math.h (FP_NAN): Define macro to integer constant usable in
33305         #if and use that to give value to enum constant.
33306         (FP_INFINITE): Likewise.
33307         (FP_ZERO): Likewise.
33308         (FP_SUBNORMAL): Likewise.
33309         (FP_NORMAL): Likewise.
33310
33311 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33312
33313         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33314         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33315         arguments.
33316
33317 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33318
33319         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33320         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33321         autoconf-time if not.
33322         * configure.in: Remove AC_PREREQ.
33323
33324 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33325
33326         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33327         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33328         of the internal implementation.
33329
33330 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33331
33332         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33333         except include of <misc/sys/syslog.h>.
33334
33335 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33336
33337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33338         function returns with a NULL context exit with zero.
33339
33340 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33341
33342         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33343
33344 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33345
33346         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33347         (run_program_cmd): This.
33348         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33349         (tst_langinfo): New variable.  Use it.
33350
33351 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33352
33353         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33354         floating point opcodes.
33355
33356 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33357
33358         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33359         variable.
33360
33361         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33362
33363         * sysdeps/mach/hurd/powerpc: Remove directory.
33364         * sysdeps/mach/powerpc: Likewise.
33365
33366 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33367
33368         * scripts/check-local-headers.sh: Ignore c++ headers.
33369
33370 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33371
33372         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33373         __libc_cleanup_region_start argument.
33374
33375 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33376
33377         [BZ #14784]
33378         [BZ #14785]
33379         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33380         x * y using scaling, not as x * y + z.
33381         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33382         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33383         * math/libm-test.inc (fma_test): Add more tests.
33384         (fma_test_towardzero): Likewise.
33385         (fma_test_downward): Likewise.
33386         (fma_test_upward): Likewise.
33387
33388 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33389
33390         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33391
33392 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33393
33394         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33395         New variable.
33396
33397 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33398
33399         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33400
33401 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33402
33403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33404         Fix sort order.
33405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33406         Likewise.
33407
33408 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33409
33410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33411         Fix the order of the list for glibc 2.17.
33412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33413         Likewise.
33414
33415 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33416
33417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33418
33419 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33420
33421         [BZ #14610]
33422         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33423         for low part of x being zero before using __atanl (y).
33424         * math/libm-test.inc (atan2_test): Add another test.
33425
33426         * manual/install.texi (Configuring and compiling): Document
33427         general use of test-wrapper and test-wrapper-env.
33428         * INSTALL: Regenerated.
33429
33430         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33431         (__fma): Do not extract and scale down low bits on after-rounding
33432         systems when result rounded to normal precision would have normal
33433         exponent.
33434         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33435         (__fmal): Do not extract and scale down low bits on after-rounding
33436         systems when result rounded to normal precision would have normal
33437         exponent.
33438         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33439         (__fmal): Do not extract and scale down low bits on after-rounding
33440         systems when result rounded to normal precision would have normal
33441         exponent.
33442         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33443         macro.
33444         (fma_test): Add more tests.
33445         (fma_test_towardzero): Likewise.
33446         (fma_test_downward): Likewise.
33447         (fma_test_upward): Likewise.
33448
33449 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33450
33451         * sysdeps/i386/tininess.h: Renamed to ...
33452         * sysdeps/x86/tininess.h: This.
33453         * sysdeps/x86_64/tininess.h: Removed.
33454
33455 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33456
33457         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33458         input.  Use $(build-program-cmd).
33459         ($(objpfx)tst-array1-static.out): Likewise.
33460         ($(objpfx)tst-array2.out): Likewise.
33461         ($(objpfx)tst-array3.out): Likewise.
33462         ($(objpfx)tst-array4.out): Likewise.
33463         ($(objpfx)tst-array5.out): Likewise.
33464         ($(objpfx)tst-array5-static.out): Likewise.
33465
33466 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33467
33468         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33469         if defined.
33470
33471         * nss/nsswitch.h (nss_interface_function): Provide new
33472         macro for use with NSS functions.
33473         * grp/initgroups.c: Use new macro.
33474         * nss/getXXbyYY.c: Likewise.
33475         * nss/getXXbyYY_r.c: Likewise.
33476         * nss/getXXent.c: Likewise.
33477         * nss/getXXent_r.c: Likewise.
33478         * sysdeps/posix/getaddrinfo.c: Likewise.
33479
33480 2012-10-30  Andreas Jaeger  <aj@suse.de>
33481
33482         * po/ru.po: Update Russion translation from translation project.
33483
33484 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33485
33486         [BZ #14152]
33487         [BZ #14783]
33488         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33489         result and shift together with sticky bit instead of replicating
33490         round-to-nearest rounding.
33491         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33492         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33493         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33494         missing underflow exceptions.
33495         (fma_test_towardzero): Add more tests.
33496         (fma_test_downward): Likewise.
33497         (fma_test_upward): Likewise.
33498
33499         [BZ #14047]
33500         * sysdeps/generic/tininess.h: New file.
33501         * sysdeps/i386/tininess.h: Likewise.
33502         * sysdeps/sh/tininess.h: Likewise.
33503         * sysdeps/x86_64/tininess.h: Likewise.
33504         * stdlib/tst-strtod-underflow.c: Likewise.
33505         * stdlib/tst-tininess.c: Likewise.
33506         * stdlib/strtod_l.c: Include <tininess.h>.
33507         (round_and_return): Do not set errno for exact underflow cases.
33508         Force an underflow exception when setting errno for underflow.
33509         Determine underflow based on rounding to normal precision if
33510         TININESS_AFTER_ROUNDING.
33511         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33512         ERANGE for exact underflow cases.
33513         * stdlib/Makefile (tests): Add tst-tininess and
33514         tst-strtod-underflow.
33515         ($(objpfx)tst-tininess): Use $(link-libm).
33516         ($(objpfx)tst-strtod-underflow): Likewise.
33517
33518 2012-10-30  Andreas Jaeger  <aj@suse.de>
33519
33520         [BZ#14767]
33521         * elf/Makefile (tests): Remove conditional for have-initfini-array
33522         since this is now always required and the variable does not exist
33523         anymore.
33524         (tests-static): Likewise.
33525         (modules-names): Likewise.
33526
33527         * po/eo.po: Add Esperanto translation from translation project.
33528
33529         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33530         merged with constructor/destructor.
33531         (init_array): Likewise.
33532         * elf/tst-array2dep.c (fini_array): Likewise.
33533         (init_array): Likewise.
33534
33535 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33536
33537         * manual/message.texi: Delete @cartouche tags.
33538
33539 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33540
33541         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33542         EOPNOTSUPP.
33543         * sysdeps/mach/hurd/fsync.c: Likewise.
33544
33545         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33546         [_POSIX_REALTIME_SIGNALS]: Change condition to
33547         [_POSIX_REALTIME_SIGNALS > 0].
33548
33549 2012-10-27  Andreas Jaeger  <aj@suse.de>
33550
33551         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33552         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33553         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33554         [__WORDSIZE != 64]: Likewise.
33555
33556 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33557
33558         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33559         *  iconvdata/tst-tables.sh: Likewise.
33560
33561 2012-10-25  David S. Miller  <davem@davemloft.net>
33562
33563         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33564         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33565         of strtoull.
33566
33567         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33568         ifunc-impl-list.c
33569         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33570         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33571         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33572         file.
33573
33574 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33575
33576         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33577         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33578         __getdirentries.
33579
33580 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33581             Jim Blandy  <jimb@codesourcery.com>
33582
33583         * scripts/cross-test-ssh.sh: New file.
33584         * manual/install.texi (Configuring and compiling): Document use of
33585         cross-test-ssh.sh.
33586         * INSTALL: Regenerated.
33587
33588 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33589
33590         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33591         EOPNOTSUPP.
33592
33593 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33594
33595         * Makeconfig (run-program-prefix): Fix comment.
33596
33597 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33598             Jim Blandy  <jimb@codesourcery.com>
33599
33600         * Makeconfig (test-wrapper): New variable,
33601         (test-wrapper-env): Likewise.
33602         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33603         (run-built-tests): Define to yes.
33604         (run-program-prefix): Use $(test-wrapper).
33605         (built-program-cmd): Likewise.
33606         * Rules (make-test-out): Use $(test-wrapper-env) and
33607         $(host-built-program-cmd).
33608         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33609         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33610         tst-pathopt.sh.
33611         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33612         $(test-wrapper-env) to tst-rtld-load-self.sh.
33613         ($(objpfx)order2.out): Use $(test-wrapper).
33614         ($(objpfx)tst-initorder.out): Likewise.
33615         ($(objpfx)tst-initorder2.out): Likewise.
33616         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33617         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33618         (test_wrapper_env): New variable.  Use it to run ld.so.
33619         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33620         Use it to run ld.so.
33621         (test_wrapper_env): Likewise.
33622         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33623         $(test-wrapper) to run-iconv-test.sh.
33624         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33625         (ICONV): Use $test_wrapper.
33626         * posix/Makefile ($(objpfx)globtest.out): Pass
33627         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33628         globtest.sh, not $(run-program-prefix).
33629         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33630         (test_wrapper): Likewise.
33631         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33632         set together with run_via_rtld_prefix.
33633         (run_program_prefix): Define in terms of test_wrapper and
33634         run_via_rtld_prefix.
33635
33636 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33637
33638         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33639         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33640         Targets removed.
33641
33642         [BZ #14743]
33643         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33644         Declare __clock_getres, __clock_gettime, __clock_settime,
33645         __clock_nanosleep, and __clock_getcpuclockid.
33646         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33647         Remove librt_hidden_def (clock_gettime).
33648         * sysdeps/unix/clock_gettime.c: Likewise.
33649         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33650         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33651         * rt/clock_getres.c: Define __clock_getres as an alias.
33652         * sysdeps/posix/clock_getres.c: Likewise.
33653         * rt/clock_settime.c: Define __clock_settime as an alias.
33654         * sysdeps/unix/clock_settime.c: Likewise.
33655         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33656         * sysdeps/unix/clock_nanosleep.c: Likewise.
33657         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33658         * rt/clock-compat.c: New file.
33659         * rt/Makefile (librt-routines): Add clock-compat and move
33660         $(clock-routines) to ...
33661         (routines): ... here, new variable.
33662         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33663         Don't add get_clockfreq here.
33664         * rt/Versions (libc: GLIBC_2.17): New version set.
33665         Add clock_* symbols here.
33666         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33667         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33668         (GLIBC_2.17): Add clock_* symbols.
33669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33671         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33673         Likewise.
33674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33675         Likewise.
33676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33680         * NEWS: Mention the move.
33681
33682         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33683         Use __open, __read, __close rather than their public counterparts.
33684         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33685         (__get_clockfreq_via_cpuinfo): Likewise.
33686         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33687         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33688
33689         * config.h.in (HAVE_IFUNC): New #undef.
33690         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33691         was successful.
33692         * configure: Regenerated.
33693
33694 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33695
33696         * configure.in: Move READELF check to start of file.
33697         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33698         libc_cv_asm_gnu_indirect_function in the process.
33699         * configure: Regenerated.
33700
33701 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33702
33703         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33704         send the output to /dev/null.
33705         (libc_cv_cc_with_libunwind): Likewise.
33706         (libc_cv_as_noexecstack): Likewise.
33707         * configure: Regenerate.
33708
33709 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33710
33711         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33712
33713         * posix/globtest.sh (TMPDIR): Do not set.
33714         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33715         (testout): Likewise.
33716
33717 2012-10-24  Andreas Jaeger  <aj@suse.de>
33718
33719         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33720         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33721         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33722         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33723         posix_fadvise64, posix_fallocate64.
33724
33725         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33726         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33727         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33728         Likewise.
33729         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33730         Likewise.
33731         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33732
33733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33734         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33735         <bits/fcntl-linux.h>.
33736         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33737
33738         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33739         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33740         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33741         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33742         [__WORDSIZE != 64]: Likewise.
33743
33744 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33745
33746         * Makeconfig (run-built-tests): New variable.
33747         * Rules [$(cross-compiling) = yes]: Change condition to
33748         [$(run-built-tests) = no].
33749         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33750         to [$(run-built-tests) = yes].
33751         * elf/Makefile [$(cross-compiling) = no]: Likewise
33752         * grp/Makefile [$(cross-compiling) = no]: Likewise.
33753         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33754         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33755         * intl/Makefile [$(cross-compiling) = no]: Likewise.
33756         * io/Makefile [$(cross-compiling) = no]: Likewise.
33757         * libio/Makefile [$(cross-compiling) = no]: Likewise.
33758         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33759         * misc/Makefile [$(cross-compiling) = no]: Likewise.
33760         * posix/Makefile [$(cross-compiling) = no]: Likewise.
33761         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33762         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33763         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33764         * string/Makefile [$(cross-compiling) = no]: Likewise.
33765
33766         * posix/Makefile ($(objpfx)globtest.out): Pass
33767         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33768         $(rtld-installed-name).
33769         * posix/globtest.sh (elf_objpfx): Remove variable.
33770         (rtld_installed_name): Likewise.
33771         (library_path): Likewise.
33772         (run_program_prefix): New variable.  Use for running globtest
33773         binary.
33774
33775 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
33776             Joseph Myers  <joseph@codesourcery.com>
33777
33778         * Makeconfig (host-built-program-cmd): New variable.
33779         * elf/Makefile (tst-stackguard1-ARGS): Use
33780         $(host-built-program-cmd).
33781         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33782         (tst-spawn-ARGS): Likewise.
33783         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33784
33785 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33786             Jim Blandy  <jimb@codesourcery.com>
33787
33788         * Makeconfig (run-via-rtld-prefix): New variable.
33789         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33790         (built-program-cmd): Likewise.
33791
33792 2012-10-22  Andreas Jaeger  <aj@suse.de>
33793
33794         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33795         __O_RSYNC if it exists, otherwise to O_SYNC.
33796
33797 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
33798             Joseph Myers  <joseph@codesourcery.com>
33799
33800         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33801         /dev/null.
33802         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33803         from /dev/null
33804         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33805         /dev/null.
33806
33807 2012-10-22  Andreas Jaeger  <aj@suse.de>
33808
33809         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33810         Define always.
33811         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33812
33813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33814         bits/fcntl-linux.h.
33815
33816         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33817         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33818
33819         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33820         to __O_LARGEFILE.
33821         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33822         to __O_LARGEFILE.
33823
33824 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
33825             Joseph Myers  <joseph@codesourcery.com>
33826
33827         * config.make.in (NM): New variable.
33828
33829 2012-10-21  Andreas Jaeger  <aj@suse.de>
33830
33831         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33832         definitions and declarations that are provided by
33833         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33834
33835 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33836
33837         [BZ #14683]
33838         * elf/Makefile (tests-static): Add tst-leaks1-static.
33839         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33840         ($(objpfx)tst-leaks1-static): New rule.
33841         ($(objpfx)tst-leaks1-static-mem): Likewise.
33842         (tst-leaks1-static-ENV): New macro.
33843         * elf/dl-open.c (dl_open_worker): Check the main application
33844         only if SHARED is defined.
33845         * elf/tst-leaks1-static.c: New file.
33846
33847 2012-10-20  Andreas Jaeger  <aj@suse.de>
33848
33849         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33850         generic values for Linux.
33851         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33852         and declarations that are provided by <bits/fcntl-linux.h> and
33853         include <bits/fcntl-linux.h>.
33854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33855         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33856
33857 2012-10-20  Roland McGrath  <roland@hack.frob.com>
33858
33859         * io/fcntl.h: Move include of <bits/types.h> to the top and
33860         include it unconditionally.
33861
33862 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33863
33864         * wcsmbs/Makefile (tests-ifunc): New variable.
33865         (tests): Add $(tests-ifunc).
33866         * wcsmbs/test-wcschr-ifunc.c: New file.
33867         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33868         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33869         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33870         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33871         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33872
33873         * string/Makefile (tests-ifunc): New variable.
33874         (tests): Add $(tests-ifunc).
33875         * string/test-memccpy.c (TEST_NAME): New macro.
33876         * string/test-memchr.c (TEST_NAME): Likewise.
33877         * string/test-memcmp.c (TEST_NAME): Likewise.
33878         * string/test-memcpy.c (TEST_NAME): Likewise.
33879         * string/test-memmem.c (TEST_NAME): Likewise.
33880         * string/test-memmove.c (TEST_NAME): Likewise.
33881         * string/test-memset.c (TEST_NAME): Likewise.
33882         * string/test-rawmemchr.c (TEST_NAME): Likewise.
33883         * string/test-stpcpy.c (TEST_NAME): Likewise.
33884         * string/test-stpncpy.c (TEST_NAME): Likewise.
33885         * string/test-strcasecmp.c (TEST_NAME): Likewise.
33886         * string/test-strcasestr.c (TEST_NAME): Likewise.
33887         * string/test-strcat.c (TEST_NAME): Likewise.
33888         * string/test-strchr.c (TEST_NAME): Likewise.
33889         * string/test-strcmp.c(TEST_NAME): Likewise.
33890         * string/test-strcpy.c (TEST_NAME): Likewise.
33891         * string/test-strcspn.c (TEST_NAME): Likewise.
33892         * string/test-strlen.c (TEST_NAME): Likewise.
33893         * string/test-strncasecmp.c (TEST_NAME): Likewise.
33894         * string/test-strncmp.c (TEST_NAME): Likewise.
33895         * string/test-strncpy.c (TEST_NAME): Likewise.
33896         * string/test-strnlen.c (TEST_NAME): Likewise.
33897         * string/test-strpbrk.c (TEST_NAME): Likewise.
33898         * string/test-strrchr.c (TEST_NAME): Likewise.
33899         * string/test-strspn.c (TEST_NAME): Likewise.
33900         * string/test-strstr.c (TEST_NAME): Likewise.
33901         * string/test-bcopy-ifunc.c: New file.
33902         * string/test-bzero-ifunc.c: Likewise.
33903         * string/test-memccpy-ifunc.c: Likewise.
33904         * string/test-memchr-ifunc.c: Likewise.
33905         * string/test-memcmp-ifunc.c: Likewise.
33906         * string/test-memcpy-ifunc.c: Likewise.
33907         * string/test-memmem-ifunc.c: Likewise.
33908         * string/test-memmove-ifunc.c: Likewise.
33909         * string/test-mempcpy-ifunc.c: Likewise.
33910         * string/test-memset-ifunc.c: Likewise.
33911         * string/test-rawmemchr-ifunc.c: Likewise.
33912         * string/test-stpcpy-ifunc.c: Likewise.
33913         * string/test-stpncpy-ifunc.c: Likewise.
33914         * string/test-strcasecmp-ifunc.c: Likewise.
33915         * string/test-strcasestr-ifunc.c: Likewise.
33916         * string/test-strcat-ifunc.c: Likewise.
33917         * string/test-strchr-ifunc.c: Likewise.
33918         * string/test-strchrnul-ifunc.c: Likewise.
33919         * string/test-strcmp-ifunc.c: Likewise.
33920         * string/test-strcpy-ifunc.c: Likewise.
33921         * string/test-strcspn-ifunc.c: Likewise.
33922         * string/test-strlen-ifunc.c: Likewise.
33923         * string/test-strncasecmp-ifunc.c: Likewise.
33924         * string/test-strncat-ifunc.c: Likewise.
33925         * string/test-strncmp-ifunc.c: Likewise.
33926         * string/test-strncpy-ifunc.c: Likewise.
33927         * string/test-strnlen-ifunc.c: Likewise.
33928         * string/test-strpbrk-ifunc.c: Likewise.
33929         * string/test-strrchr-ifunc.c: Likewise.
33930         * string/test-strspn-ifunc.c: Likewise.
33931         * string/test-strstr-ifunc.c: Likewise.
33932
33933         * debug/Makefile (tests-ifunc): New variable.
33934         (tests): Add $(tests-ifunc).
33935         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33936         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33937         * debug/test-stpcpy_chk-ifunc.c: New file.
33938         * debug/test-strcpy_chk-ifunc.c: Likewise.
33939
33940 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33941
33942         [BZ #13601]
33943         * elf/dl-load.c (open_verify): Retry read if the entire ELF
33944         header is not read in.
33945
33946 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
33947
33948         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
33949         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
33950         directly.  Pass built executable to script as
33951         $(built-program-cmd).
33952         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
33953         $testprogram without using LD_LIBRARY_PATH and $ldso.
33954
33955         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33956         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33957         $(rtld-installed-name).
33958         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33959         (rtld_installed_name): Likewise.
33960         (library_path): Likewise.
33961         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
33962         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33963         $(run-program-prefix) to tst-tables.sh.
33964         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
33965         it to run tst-table-from and tst-table-to.
33966         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33967         Pass it to tst-table.sh.
33968         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33969         $(run-program-prefix) to tst-gettext.sh.
33970         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33971         tst-translit.sh.
33972         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33973         tst-gettext2.sh.
33974         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
33975         to run tst-gettext.
33976         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
33977         to run tst-gettext2.
33978         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
33979         to run tst-translit.
33980         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33981         $(run-program-prefix) to tst-mtrace.sh.
33982         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
33983         to run tst-mtrace.
33984         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33985         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33986         $(rtld-installed-name).
33987         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33988         (rtld_installed_name): Likewise.
33989         (run_program_prefix): New variable.  Use it to run wordexp-test.
33990
33991         * Makeconfig (ARCH): Remove all definitions.
33992         (machine): Likewise.
33993         [ARCH]: Remove conditional code.
33994         [!objdir]: Give error.
33995         [!objdir] (objpfx): Remove.
33996         [!objdir] (common-objpfx): Likewise.
33997         [!objdir] (common-objdir): Likewise.
33998         * configure.in (config_makefile): Remove.  Hardcode Makefile in
33999         AC_CONFIG_FILES call.
34000         * configure: Regenerated.
34001
34002         [BZ #13888]
34003         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34004         or TMPDIR.
34005         (testout): Likewise.
34006
34007         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34008         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34009         $(rtld-installed-name).
34010         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34011         (rtld_installed_name): Likwise.
34012         (runit): Remove function.
34013         (run_getconf): New variable,  Use it for running getconf binary.
34014
34015 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34016
34017         [BZ #14716]
34018         * string/test-memmem.c (check_result): New function.
34019         (do_one_test): Use it.
34020         (check1): New function.
34021         (test_main): Use it.
34022
34023 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34024
34025         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34026
34027 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34028
34029         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34030         (_G_LSEEK64): Likewise.
34031         (_G_MMAP64): Likewise.
34032         (_G_FSTAT64): Likewise.
34033         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34034         (_G_LSEEK64): Likewise.
34035         (_G_MMAP64): Likewise.
34036         (_G_FSTAT64): Likewise.
34037         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34038         unconditional.  Call __mmap64 directly.
34039         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34040         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34041         __lseek64 directly.
34042         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34043         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34044         __mmap64 directly.
34045         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34046         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34047         __lseek64 directly.
34048         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34049         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34050         __lseek64 directly.
34051         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34052         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34053         __lseek64 directly.
34054         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34055         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34056         __fxstat64 directly.
34057         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34058         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34059         unconditional.
34060         (freopen64) [!_G_OPEN64]: Remove conditional code.
34061         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34062         unconditional.
34063         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34064         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34065         unconditional.
34066         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34067         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34068         unconditional.
34069         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34070         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34071         unconditional.
34072         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34073         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34074         unconditional.
34075         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34076         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34077         unconditional.
34078         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34079         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34080         unconditional.
34081         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34082
34083 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34084
34085         [BZ #12140]
34086         * manual/memory.texi (Malloc Tunable Parameters): Add note
34087         about free list pointers overwriting some perturb bytes.
34088         Wording suggested by Roland McGrath.
34089
34090 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34091
34092         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34093         (lgamma_test): Likewise.
34094         (tgamma_test): Likewise.
34095
34096 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34097
34098         [BZ #14700]
34099         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34100         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34101
34102 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34103
34104         * NEWS: Mention BZ #14716.
34105         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34106         when removing AVAILABLE1_USES_J macro.
34107
34108 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34109
34110         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34111         (__bswap_64): __uint64_t for unsigned 64-bit int.
34112
34113 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34114
34115         * include/string.h (memmem): Declare libc hidden alias.
34116         * string/memmem.c (memmem): Define libc hidden alias.
34117         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34118         __read, __close instead of open, read, close.
34119
34120 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34121
34122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34123         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34124         global and hidden.
34125         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34126         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34127         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34128         Likewise.
34129         (__rawmemchr_sse2): Likewise.
34130         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34131         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34132         (__strchr_sse2): Likewise.
34133         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34134         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34135         (__strcasecmp_sse2): Likewise.
34136         (__strncasecmp_sse2): Likewise.
34137         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34138         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34139         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34140         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34141         (__strrchr_sse2): Likewise.
34142         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34143         ifunc-impl-list.c.
34144         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34145         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34146         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34147         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34148         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34149         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34150         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34151         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34152         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34153         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34154         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34155         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34156         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34157         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34158         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34159         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34160         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34161         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34162         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34163         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34164         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34165         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34166         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34167         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34168         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34169         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34170         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34171         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34172         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34173         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34174
34175         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34176         global and hidden.
34177         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34178         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34179         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34180         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34181         Likewise.
34182         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34183         Likewise.
34184         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34185         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34186         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34187         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34188         ifunc-impl-list.c.
34189         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34190         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34191         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34192         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34193         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34194         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34195         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34196         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34197         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34198         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34199         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34200         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34201         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34202         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34203         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34204         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34205         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34206         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34207         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34208         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34209         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34210         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34211         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34212         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34213         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34214         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34215         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34216         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34217         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34218         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34219         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34220         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34221         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34222         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34223         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34224         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34225         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34226         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34227         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34228         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34229         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34230
34231         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34232         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34233         * include/ifunc-impl-list.h: New file.
34234         * misc/ifunc-impl-list.c: Likewise.
34235         * misc/Makefile (routines): Add ifunc-impl-list.
34236         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34237         * string/test-string.h: Include <ifunc-impl-list.h>.
34238         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34239         TEST_NAME]: New variables.
34240         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34241         are defined.
34242         (test_init): Call __libc_ifunc_impl_list to initialize
34243         func_list if TEST_IFUNC and TEST_NAME are defined.
34244
34245         * string/Makefile (strop-tests): Add bcopy and bzero.
34246         * string/test-bcopy.c: New file.
34247         * string/test-bzero.c: Likewise.
34248         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34249         defined.
34250         * string/test-memset.c: Support bzero test if TEST_BZERO is
34251         defined.
34252         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34253         __libc_memmove.
34254         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34255         __libc_memset.
34256         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34257         of memset.
34258
34259 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34260
34261         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34262         * configure: Regenerated.
34263
34264         * Makeconfig (+link-static-before-libc): Don't include
34265         $(link-static-libc).
34266
34267         * libio/libio.h (_IO_pos_t): Remove.
34268
34269 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34270
34271         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34272         McGrath.
34273
34274 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34275
34276         * crypt/crypt-entry.c: Include fips-private.h.
34277         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34278         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34279         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34280         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34281
34282 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34283
34284         * crypt/crypt-private.h: Include stdbool.h.
34285         (_ufc_setup_salt_r): Return bool.
34286         * crypt/crypt-entry.c: Include errno.h.
34287         (__crypt_r): Return NULL with EINVAL for bad salt.
34288         * crypt/crypt_util.c (bad_for_salt): New.
34289         (_ufc_setup_salt_r): Check that salt is long enough and within
34290         the specified alphabet.
34291         * crypt/badsalttest.c: New file.
34292         * crypt/Makefile (tests): Add it.
34293         ($(objpfx)badsalttest): New.
34294
34295 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34296
34297         * NEWS: Add entry for BZ #14602.
34298
34299 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34300
34301         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34302         type-generic.
34303         * math/libm-test.inc: Update comment listing what functions and
34304         macros are tested.
34305         (isgreater_test): New function.
34306         (isgreaterequal_test): Likewise.
34307         (isless_test): Likewise.
34308         (islessequal_test): Likewise.
34309         (islessgreater_test): Likewise.
34310         (isunordered_test): Likewise.
34311         (main): Call the new functions.
34312
34313 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34314
34315         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34316         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34317         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34318         * sysdeps/i386/configure: Regenerated.
34319         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34320         * sysdeps/mach/configure: Regenerated.
34321         * sysdeps/mach/hurd/configure: Regenerated.
34322         * sysdeps/powerpc/configure: Regenerated.
34323         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34324         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34325         * sysdeps/s390/s390-32/configure: Regenerated.
34326         * sysdeps/s390/s390-64/configure: Regenerated.
34327         * sysdeps/sh/configure: Regenerated.
34328         * sysdeps/sparc/configure: Regenerated.
34329         * sysdeps/unix/sysv/linux/configure: Regenerated.
34330         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34331         * sysdeps/x86_64/configure: Regenerated.
34332
34333         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34334         defined.  Don't check if MAP is NULL.
34335
34336 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34337
34338         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34339         (_G_stat64): Likewise.
34340         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34341         (_G_stat64): Likewise.
34342         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34343         instead of struct _G_stat64.
34344         * libio/fileops.c (mmap_remap_check): Likewise.
34345         (decide_maybe_mmap): Likewise.
34346         (_IO_new_file_seekoff): Likewise.
34347         (_IO_file_stat): Likewise.
34348         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34349         _G_off64_t.
34350         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34351         instead of struct _G_stat64.
34352         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34353
34354 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34355
34356         [BZ #14602]
34357         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34358         Replace with ...
34359         (CHECK_EOL): New macro.
34360         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34361         CHECK_EOL.
34362         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34363         Replace with CHECK_EOL.
34364         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34365         Replace with CHECK_EOL.
34366
34367 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34368
34369         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34370         type-generic.
34371         * math/libm-test.inc: Update comment listing what functions and
34372         macros are tested.
34373         (finite_test): New function.
34374         (isinf_test): Likewise.
34375         (isnan_test): Likewise.
34376         (fpclassify_test): Test subnormal input.
34377         (isfinite_test): Likewise.
34378         (isnormal_test): Likewise.
34379         (main): Call the new functions.
34380
34381 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34382
34383         [BZ #14660]
34384         * Makerules (%.dynsym): Force C locale when running
34385         $(OBJDUMP) --dynamic-syms.
34386
34387 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34388
34389         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34390         <stdint.h>.
34391
34392 2012-10-06  David S. Miller  <davem@davemloft.net>
34393
34394         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34395         upper 32-bits of the length value in %o2 since we use branch-on-register
34396         tests which consider the entire 64-bit register.
34397
34398 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34399
34400         * string/test-strstr.c (check2): Add a test for page boundary.
34401
34402 2012-10-05  David S. Miller  <davem@davemloft.net>
34403
34404         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34405         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34406         file.
34407         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34408         sysdep_routines.
34409         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34410         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34411         and bzero when HWCAP_SPARC_CRYPTO is present.
34412
34413 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34414
34415         [BZ #14602]
34416         * string/test-strstr.c (check2): New function.
34417         (test_main): Call check2.
34418
34419         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34420         and bug-strchr1.
34421         * string/bug-strcasestr1.c (do_test): Moved to ...
34422         * string/test-strcasestr.c (check1): Here.  New function.
34423         (do_one_test): Break out result checking code into ...
34424         (check_result): This.  New function.
34425         (do_one_test): Call check_result.
34426         (test_main): Call check1.
34427         * string/bug-strchr1.c (do_test): Moved to ...
34428         * string/test-strchr.c (check1): Here.  New function.
34429         (do_one_test): Break out result checking code into ...
34430         (check_result): This.  New function.
34431         (do_one_test): Call check_result.
34432         (test_main): Call check1.
34433         * string/bug-strstr1.c (main): Moved to ...
34434         * string/test-strstr.c (check1): Here.  New function.
34435         (do_one_test): Break out result checking code into ...
34436         (check_result): This.  New function.
34437         (do_one_test): Call check_result.
34438         (test_main): Call check1.
34439         * string/bug-strcasestr1.c: Removed.
34440         * string/bug-strchr1.c: Likewise.
34441         * string/bug-strstr1.c: Likewise.
34442
34443         * elf/Makefile (dl-routines): Add hwcaps.
34444         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34445         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34446         (_dl_important_hwcaps): Moved to ...
34447         * elf/dl-hwcaps.c: Here.  New file.
34448         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34449
34450         [BZ #14557]
34451         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34452         if IS_IN_rtld isn't defined.
34453
34454         * elf/dl-support.c (_dl_sysinfo_map): New.
34455         Include "get-dynamic-info.h" and "setup-vdso.h".
34456         (_dl_non_dynamic_init): Call setup_vdso.
34457         * elf/dynamic-link.h: Don't include <assert.h>.
34458         (elf_get_dynamic_info): Moved to ...
34459         * elf/get-dynamic-info.h: Here.  New file.
34460         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34461         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34462         * elf/setup-vdso.h: Here.  New file.
34463         * elf/rtld.c: Include "setup-vdso.h".
34464         (dl_main): Call setup_vdso.
34465
34466 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34467
34468         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34469         creal in comment listing functions tested.  List finite, isinf,
34470         isnan, isless, islessequal, isgreater, isgreaterequal,
34471         islessgreater, isunordered, lgamma_r and pow10 as functions and
34472         macros not tested.  Mention which functions not tested are aliases
34473         for other functions.  Fix typo.  Note that signs of NaNs are not
34474         tested.
34475
34476         * scripts/config.guess: Update from config.git.
34477         * scripts/config.sub: Likewise.
34478
34479 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34480
34481         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34482         * misc/madvise.c (madvise): Renamed to __madvise.
34483         Make madvise a weak alias.
34484         * include/sys/mman.h: Declare __madvise.
34485         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34486         * sysdeps/unix/syscalls.list
34487         (madvise): Make __madvise the strong name, and madvise a weak alias.
34488         * sysdeps/unix/sysv/linux/syscalls.list
34489         (madvise, mmap): Remove redundant entries.
34490         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34491         * malloc/malloc.c (mtrim): Likewise.
34492         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34493
34494 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34495
34496         * sysdeps/mach/hurd/dl-cache.c: File removed.
34497         * config.h.in (USE_LDCONFIG): New #undef.
34498         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34499         * configure: Regenerated.
34500         * elf/Makefile (dl-routines): Add dl-cache only under
34501         [$(use-ldconfig) = yes].
34502         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34503         cache on [USE_LDCONFIG].
34504         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34505         [USE_LDCONFIG].
34506         * elf/rtld.c (dl_main): Likewise.
34507
34508 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34509
34510         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34511         _SC_LEVEL4_CACHE_LINESIZE.
34512
34513 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34514
34515         * sysdeps/unix/bsd/confstr.h: File removed.
34516
34517 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34518
34519         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34520         sys/sdt-config.h.
34521
34522 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34523
34524         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34525         Make 'mapoff' field ElfW(Off) rather than off_t.
34526
34527 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34528
34529         * nscd/Makefile: Remove nscd-cflags and all its users.
34530         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34531         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34532
34533         [BZ #10631]
34534         * malloc.c (malloc_printerr): Clarify error message.
34535
34536 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34537
34538         [BZ #14648]
34539         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34540         Set bit_FMA_Usable if FMA is supported.
34541         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34542         macro.
34543         (bit_FMA4_Usable): Updated.
34544         (index_FMA_Usable): New macro.
34545         (CPUID_FMA): Likewise
34546         (HAS_FMA): Defined with bit_FMA_Usable.
34547
34548 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34549
34550         * bits/types.h (__swblk_t): Type removed.
34551         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34552         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34553         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34554         (__SWBLK_T_TYPE): Likewise.
34555         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34556         (__SWBLK_T_TYPE): Likewise.
34557         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34558         (__SWBLK_T_TYPE): Likewise.
34559         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34560         (__SWBLK_T_TYPE): Likewise.
34561
34562 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34563             Honza Horak <hhorak@redhat.com>
34564
34565         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34566         (xdr_mapname): Use YPMAXMAP as maxsize.
34567         (xdr_peername): Use YPMAXPEER as maxsize.
34568         (xdr_keydat): Use YPAXRECORD as maxsize.
34569         (xdr_valdat): Use YPMAXRECORD as maxsize.
34570
34571 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34572
34573         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34574
34575         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34576         * csu/init-first.c: ... here.
34577         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34578         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34579         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34580         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34581         * sysdeps/i386/init-first.c: File removed.
34582         * sysdeps/sh/init-first.c: File removed.
34583
34584 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34585
34586         [BZ #14645]
34587         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34588         if x * y might underflow to zero and z is zero.
34589         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34590         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34591         * math/libm-test.inc (min_subnorm_value): New variable.
34592         (fma_test): Add more tests.
34593         (fma_test_towardzero): Likewise.
34594         (fma_test_downward): Likewise
34595         (fma_test_upward): Likewise.
34596         (initialize): Set min_subnorm_value.
34597
34598 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34599
34600         [BZ #14638]
34601         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34602         0 + 0.
34603         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34604         mode for addition resulting in exact zero.
34605         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34607         exact 0 + 0.
34608         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34609         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34610         * math/libm-test.inc (fma_test): Add more tests.
34611         (fma_test_towardzero): New function.
34612         (fma_test_downward): Likewise.
34613         (fma_test_upward): Likewise.
34614         (main): Call the new functions.
34615
34616 2012-09-28  David S. Miller  <davem@davemloft.net>
34617
34618         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34619
34620 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34621
34622         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34623         instead of SIGALRM.
34624
34625         * sysdeps/gnu/_G_config.h: Moved to ...
34626         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34627         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34628         * sysdeps/generic/_G_config.h: ... here.
34629
34630         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34631
34632         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34633
34634         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34635         Conditionalize target on [libnss_test1.so-version].
34636
34637         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34638
34639         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34640         (elfobjdir): Move out of conditionals.
34641
34642         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34643         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34644         (__nss_lookup_function): Conditionalize label remove_from_tree on
34645         [!DO_STATIC_NSS || SHARED], matching its only use.
34646
34647 2012-09-28  David S. Miller  <davem@davemloft.net>
34648
34649         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34650         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34651         file.
34652         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34653         sysdep_routines.
34654         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34655         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34656         when HWCAP_SPARC_CRYPTO is present.
34657
34658 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34659
34660         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34661
34662 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34663
34664         [BZ #6530]
34665         * stdio-common/vfprintf.c (process_string_arg): Revert
34666         2000-07-22 change.
34667
34668 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34669
34670         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34671         for testcase.
34672         * stdio-common/tst-sprintf.c: Include <locale.h>
34673         (main): Test sprintf's handling of incomplete multibyte
34674         characters.
34675
34676 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34677
34678         * elf/dl-runtime.c (VERSYMIDX): Removed.
34679         * elf/dl-version.c (VERSYMIDX): Likewise.
34680         * elf/do-rel.h (VERSYMIDX): Likewise.
34681         (VALIDX): Likewise.
34682         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34683         * elf/rtld.c (VALIDX): Likewise.
34684         (ADDRIDX): Likewise.
34685         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34686         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34687         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34688         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34689         (VALIDX): Likewise.
34690         (ADDRIDX): Likewise.
34691
34692 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34693
34694         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34695
34696 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34697
34698         [BZ #11438]
34699         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34700         to global scope.
34701         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34702         addresses are in the same scope as 192.0.2/24.
34703         * posix/gai.conf: Document new scope table defaults.
34704
34705 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34706
34707         [BZ #5298]
34708         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34709         for ftell.  Compute offsets from write pointers instead.
34710         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34711
34712 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34713
34714         [BZ #14543]
34715         * libio/Makefile (tests): New test case tst-fseek.
34716         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34717         combination works in wide mode.
34718         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34719         state when the external buffer state changes.
34720
34721 2012-09-27  David S. Miller  <davem@davemloft.net>
34722
34723         [BZ #14376]
34724         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34725         pass reloc->r_addend in as the 'high' argument to
34726         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34727
34728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34729
34730 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34731
34732         * rt/tst-aio2.c: Include <pthread.h>.
34733         * rt/tst-aio3.c: Likewise.
34734
34735 2012-09-27  Steve Ellcey  <sellcey@mips.com>
34736
34737         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34738
34739 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
34740
34741         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34742         contents on [SHARED].
34743
34744 2012-09-26  Marek Polacek  <polacek@redhat.com>
34745
34746         [BZ #14530]
34747         [BZ #13741]
34748         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34749         for C++ and GCC <4.3 as well as for non GCC compilers.
34750
34751 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34752
34753         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34754
34755 2012-09-25  Roland McGrath  <roland@hack.frob.com>
34756
34757         * Makefile.in (all, install): Declare with .PHONY.
34758         Reported by Michael Hope <michael.hope@linaro.org>.
34759
34760 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34761
34762         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34763         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34764         system header.
34765         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34766         Likewise.
34767         (sydep_routines): Add the new and the internal functions.
34768         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34769         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34771         (GLIBC_2.17): Add the new function.
34772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34773         (GLIBC_2.17): Likewise.
34774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34775         (GLIBC_2.17): Likewise.
34776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34777         (GLIBC_2.17): Likewise.
34778         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34779
34780 2012-09-25  Alan Modra  <amodra@gmail.com>
34781
34782         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34783         Add release barrier before setting once_control to say
34784         initialisation is done.  Add hints on lwarx.  Use macro in
34785         place of isync.
34786         (clear_once_control): Add release barrier.
34787
34788 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34789
34790         [BZ #13629]
34791         * math/s_clog.c (__clog): Handle more values close to |z| = 1
34792         specially.
34793         * math/s_clog10.c (__clog10): Likewise.
34794         * math/s_clog10f.c (__clog10f): Likewise.
34795         * math/s_clog10l.c (__clog10l): Likewise.
34796         * math/s_clogf.c (__clogf): Likewise.
34797         * math/s_clogl.c (__clogl): Likewise.
34798         * math/Makefile (libm-calls): Add x2y2m1.
34799         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34800         (__x2y2m1): Likewise.
34801         (__x2y2m1l): Likewise.
34802         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34803         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34804         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34805         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34806         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34807         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34808         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34809         * sysdeps/i386/fpu/libm-test-ulps: Update.
34810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34811
34812         [BZ #14621]
34813         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34814         int as type of variable DEPTH.
34815         (glob): Use size_t instead of int as type of variables NEWCOUNT
34816         and OLD_PATHC.
34817
34818 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34819
34820         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34821         Add s_sincosf-sse2.
34822         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34823         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34824         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34825         macros for using routine as __sincosf_ia32.
34826         Use macro for function declaration and weak_alias.
34827         * sysdeps/i386/fpu/libm-test-ulps: Update.
34828
34829         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34830         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34831
34832         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34833         subnormal argument.
34834         * math/s_cexpf.c (__cexpf): Likewise.
34835         * math/s_csinf.c (__csinf): Likewise.
34836         * math/s_csinhf.c (__csinhf): Likewise.
34837         * math/s_ctanf.c (__ctanf): Likewise.
34838         * math/s_ctanhf.c (__ctanhf): Likewise.
34839         * math/s_ccosh.c (__ccoshf): Likewise.
34840         * math/s_cexp.c (__cexpl): Likewise.
34841         * math/s_csin.c (__csin): Likewise.
34842         * math/s_csinh.c (__csinh): Likewise.
34843         * math/s_ctan.c (__ctan): Likewise.
34844         * math/s_ctanh.c (ctanh): Likewise.
34845         * math/s_ccoshl.c (__ccoshl): Likewise.
34846         * math/s_cexpl.c (__cexpl): Likewise.
34847         * math/s_csinl.c (__csinl): Likewise.
34848         * math/s_csinhl.c (__csinhl): Likewise.
34849         * math/s_ctanl.c (__ctanl): Likewise.
34850         * math/s_ctanhl.c (__ctanhl): Likewise.
34851
34852 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34853
34854         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34855         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34856         (_IO_off_t): Define to __off_t, not _G_off_t.
34857         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34858         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34859         (_IO_wint_t): Define to wint_t, not _G_wint_t.
34860         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34861         type of __dummy and __dummy2 fields.
34862         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34863         (_G_ssize_t): Likewise.
34864         (_G_off_t): Likewise.
34865         (_G_pid_t): Likewise.
34866         (_G_uid_t): Likewise.
34867         (_G_wchar_t): Likewise.
34868         (_G_wint_t): Likewise.
34869         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34870         (_G_ssize_t): Likewise.
34871         (_G_off_t): Likewise.
34872         (_G_pid_t): Likewise.
34873         (_G_uid_t): Likewise.
34874         (_G_wchar_t): Likewise.
34875         (_G_wint_t): Likewise.
34876         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34877         (_G_ssize_t): Likewise.
34878         (_G_off_t): Likewise.
34879         (_G_pid_t): Likewise.
34880         (_G_uid_t): Likewise.
34881         (_G_wchar_t): Likewise.
34882         (_G_wint_t): Likewise.
34883
34884 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34885
34886         * malloc/arena.c: Include malloc-sysdep.h.
34887         (shrink_heap): Use check_may_shrink_heap to decide if madvise
34888         is sufficient to shrink the heap or an unmap is needed.
34889         * sysdeps/generic/malloc-sysdep.h: New file.  Define
34890         new function check_may_shrink_heap.
34891         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
34892         new function check_may_shrink_heap.
34893
34894 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34895
34896         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34897         comments.
34898
34899 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
34900
34901         * catgets/test-gencat.sh: Add "set -e".
34902         * elf/tst-pathopt.sh: Likewise.
34903         * grp/tst_fgetgrent.sh: Likewise.
34904         * iconvdata/run-iconv-test.sh: Likewise.
34905         * intl/tst-gettext.sh: Likewise.
34906         * intl/tst-gettext2.sh: Likewise.
34907         * intl/tst-gettext4.sh: Likewise.
34908         * intl/tst-gettext6.sh: Likewise.
34909         * intl/tst-translit.sh: Likewise.
34910         * io/ftwtest-sh: Likewise.
34911         * libio/test-freopen.sh: Likewise.
34912         * malloc/tst-mtrace.sh: Likewise.
34913         * posix/globtest.sh: Likewise.
34914         * posix/tst-getconf.sh: Likewise.
34915         * posix/wordexp-tst.sh: Likewise.
34916         * stdio-common/tst-printf.sh: Likewise.
34917         * stdio-common/tst-unbputc.sh: Likewise.
34918         * stdlib/tst-fmtmsg.sh: Likewise.
34919         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34920         * catgets/Makefile: Do not specify -e option when running
34921         testsuite shell scripts.
34922         * elf/Makefile: Likewise.
34923         * grp/Makefile: Likewise.
34924         * iconvdata/Makefile: Likewise.
34925         * intl/Makefile: Likewise.
34926         * io/Makefile: Likewise.
34927         * libio/Makefile: Likewise.
34928         * malloc/Makefile: Likewise.
34929         * posix/Makefile: Likewise.
34930         * stdio-common/Makefile: Likewise.
34931         * stdlib/Makefile: Likewise.
34932         * sysdeps/x86_64/Makefile: Likewise.
34933
34934         * io/ftwtest-sh: Add copyright header.
34935         * posix/globtest.sh: Likewise.
34936         * posix/tst-getconf.sh: Likewise.
34937         * posix/wordexp-tst.sh: Likewise.
34938         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34939
34940 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
34941
34942         [BZ #13679]
34943         * Makeconfig (+link): Defined as $(+link-static) if
34944         $(build-shared) isn't yes.
34945         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34946         isn't yes.
34947         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34948
34949         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34950
34951         [BZ #14562]
34952         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34953         new chunk size with MALLOC_ALIGN_MASK.
34954
34955 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
34956
34957         [BZ #5044]
34958         * stdio-common/printf_fphex.c: Include <stdbool.h> and
34959         <rounding-mode.h>.
34960         (__printf_fphex): Determine rounding using get_rounding_mode and
34961         round_away.
34962         * stdio-common/tst-printf-round.c (struct hex_test): New
34963         structure.
34964         (hex_tests): New variable.
34965         (test_hex_in_one_mode): New function.
34966         (do_test): Also run tests for hex float output.
34967
34968 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
34969
34970         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34971         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34972         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34973         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34974         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34975         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34976         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34977         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34978
34979 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
34980
34981         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34982         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34983         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34984         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34985
34986 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
34987
34988         [BZ #14579]
34989         * elf/rtld.c (dl_main): Limit the check for self loading to normal
34990         mode only.
34991         * elf/tst-rtld-load-self.sh: New test.
34992         * elf/Makefile: Run it.
34993
34994 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
34995
34996         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34997         (tst-writev-ENV): Remove.
34998         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34999
35000 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35001
35002         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35003
35004 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35005
35006         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35007         unconditional.
35008         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35009         Likewise.
35010         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35011         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35012         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35013         Likewise.
35014
35015 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35016
35017         [BZ #14587]
35018         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35019         * config.make.in (have-cpp-asm-debuginfo): Removed.
35020         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35021         * configure: Regenerated.
35022
35023 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35024
35025         [BZ #5044]
35026         * stdio-common/printf_fp.c: Include <stdbool.h> and
35027         <rounding-mode.h>.
35028         (___printf_fp): Determine rounding using get_rounding_mode and
35029         round_away.
35030         * stdio-common/tst-printf-round.c: New file.
35031         * stdio-common/Makefile (tests): Add tst-printf-round.
35032         (link-libm): New variable.
35033         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35034
35035 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35036
35037         [BZ #14576]
35038         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35039         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35040         Likewise.
35041         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35042         Likewise.
35043
35044 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35045
35046         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35047         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35048         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35049         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35050
35051 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35052
35053         [BZ #14518]
35054         * include/rounding-mode.h: New file.
35055         * sysdeps/generic/get-rounding-mode.h: Likewise.
35056         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35057         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35058         (MAX_VALUE): New macro.
35059         (MIN_VALUE): Likewise.
35060         (overflow_value): New function.
35061         (underflow_value): Likewise.
35062         (round_and_return): Use overflow_value and underflow_value to
35063         determine return values in overflow and underflow cases.  Use
35064         round_away to determine rounding depending on rounding mode.
35065         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35066         determine return values in overflow and underflow cases.
35067         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35068         (struct test_results): New structure.
35069         (struct test): Use struct test_results to store expected results
35070         for all rounding modes.
35071         (TEST): Include expected results for all rounding modes.
35072         (test_in_one_mode): New function.
35073         (do_test): Use test_in_one_mode to compute and check results.
35074         Check results for all rounding modes.
35075         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35076         $(link-libm).
35077
35078 2012-12-09  Allan McRae  <allan@archlinux.org>
35079
35080         * sysdeps/i386/fpu/libm-test-ulps: Update
35081
35082 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35083
35084         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35085         (_G_int32_t): Likewise.
35086         (_G_uint16_t): Likewise.
35087         (_G_uint32_t): Likewise.
35088         (_G_HAVE_BOOL): Likewise.
35089         (_G_HAVE_ATEXIT): Likewise.
35090         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35091         (_G_HAVE_IO_FILE_OPEN): Likewise.
35092         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35093         (_G_int32_t): Likewise.
35094         (_G_uint16_t): Likewise.
35095         (_G_uint32_t): Likewise.
35096         (_G_HAVE_BOOL): Likewise.
35097         (_G_HAVE_ATEXIT): Likewise.
35098         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35099         (_G_HAVE_IO_FILE_OPEN): Likewise.
35100         * sysdeps/mach/hurd/_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
35109 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35110
35111         * csu/libc-tls.c: Update copyright years.
35112
35113 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35114
35115         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35116         [!_G_USING_THUNKS]: Remove conditional code.
35117         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35118         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35119
35120         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35121         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35122         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35123         (_G_VTABLE_LABEL_PREFIX): Likewise.
35124         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35125         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35126         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35127         (_G_VTABLE_LABEL_PREFIX): Likewise.
35128         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35129         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35130         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35131         (_G_VTABLE_LABEL_PREFIX): Likewise.
35132         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35133
35134 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35135
35136         * libio/Makefile: Include ../Makeconfig before tests.
35137         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35138         only if $(build-shared) is yes.
35139
35140         * iconv/gconv_db.c: Update copyright years.
35141
35142 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35143
35144         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35145         unwind info if defined PIC. Fix special cases description.
35146         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35147
35148         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35149         DP_HI_MASK entry.
35150         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35151
35152 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35153
35154         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35155
35156         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35157         is NULL.
35158
35159         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35160         (LDLIBS-tst-chk4): This.
35161         (LDFLAGS-tst-chk5): Renamed to ...
35162         (LDLIBS-tst-chk5): This.
35163         (LDFLAGS-tst-chk6): Renamed to ...
35164         (LDLIBS-tst-chk6): This.
35165         (LDFLAGS-tst-lfschk4): Renamed to ...
35166         (LDLIBS-tst-lfschk4): This.
35167         (LDFLAGS-tst-lfschk5): Renamed to ...
35168         (LDLIBS-tst-lfschk5): This.
35169         (LDFLAGS-tst-lfschk6): Renamed to ...
35170         (LDLIBS-tst-lfschk6): This.
35171
35172         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35173         on $(common-objpfx)soversions.mk.
35174
35175 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35176
35177         [BZ #10014]
35178         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35179         example host name.
35180
35181 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35182
35183         * malloc/arena.c (arena_get_retry): New function that gets
35184         another arena for the caller to try its request on.
35185         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35186         current arena cannot fulfill the request.
35187         (__libc_memalign): Likewise.
35188         (__libc_memalign): Likewise.
35189         (__libc_pvalloc): Likewise.
35190         (__libc_calloc): Likewise.
35191
35192 2012-09-05  John Tobey  <john.tobey@gmail.com>
35193
35194         [BZ #13542]
35195         * manual/arith.texi (Operations on Complex): Fix description
35196         of carg branch cut.
35197
35198 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35199
35200         [BZ #10014]
35201         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35202         host name.
35203
35204         [BZ #10038]
35205         * manual/memory.texi (Memory): Make order of menu items match
35206         order of sections.
35207
35208 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35209
35210         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35211         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35212         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35213
35214 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35215
35216         * csu/libc-tls.c (static_dtv): Renamed to ...
35217         (_dl_static_dtv): This.  Make it global.
35218         (_dl_initial_dtv): Removed.
35219         (__libc_setup_tls): Updated.
35220         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35221         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35222         DL_INITIAL_DTV.
35223
35224 2012-09-06  Petr Machata  <pmachata@redhat.com>
35225
35226         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35227         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35228         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35229         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35230
35231 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35232
35233         [BZ #14545]
35234         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35235         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35236         freeing dtv[-1].
35237
35238 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35239
35240         [BZ #14544]
35241         * Makeconfig (link-static-before-libc): Replace $(+prector)
35242         with $(+prectorT).
35243         (link-static-after-libc): Replace $(+postctor) with
35244         $(+postctorT).
35245         (link-bounded): Replace $(+prector)/$(+postctor) with
35246         $(+prectorT)/$(+postctorT).
35247         (+prectorT): New macro.
35248         (+postctorT): Likewise.
35249
35250 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35251
35252         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35253         (round_str): Handle values above the maximum for IBM long double
35254         as inexact.
35255         * stdlib/tst-strtod-round.c (tests): Regenerated.
35256
35257 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35258
35259         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35260         assembler flag.
35261         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35262         zarch_nohighgprs around the zarch optimized routines.
35263         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35264         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35265         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35266         for zarch.
35267
35268 2012-09-05  David S. Miller  <davem@davemloft.net>
35269
35270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35271
35272         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35273         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35274         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35275         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35276         entries.
35277
35278 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35279
35280         * malloc/arena.c: Fold copyright years.
35281         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35282
35283 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35284
35285         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35286
35287 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35288
35289         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35290
35291 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35292
35293         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35294         change internal state upon failure.
35295
35296 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35297
35298         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35299         * malloc/memusage.c (mmap): Likewise.
35300         (mmap64, mremap): Likewise.  Adjust name in comment.
35301
35302 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35303
35304         * libio/fileops.c: Fix typos in comments.
35305         * libio/oldfileops.c: Likewise.
35306         * libio/wfileops.c: Likewise.
35307
35308 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35309
35310         [BZ #1349]
35311         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35312         (tst-malloc-usable-ENV): Set environment for test case.
35313         * malloc/hooks.c (malloc_check_get_size): New function to get
35314         requested size.
35315         * malloc/malloc.c (musable): Use malloc_check_get_size.
35316         * malloc/tst-malloc-usable.c: New test case.
35317
35318 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35319
35320         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35321
35322 2012-09-05  Allan McRae  <allan@archlinux.org>
35323
35324         [BZ #13966]
35325         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35326         determine header location.
35327         * configure: Regenerated.
35328
35329 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35330
35331         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35332         float format.
35333         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35334         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35335         format.
35336         (test): Regenerate.
35337
35338 2012-09-04  David S. Miller  <davem@davemloft.net>
35339
35340         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35341         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35342         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35343
35344 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35345
35346         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35347         failures.
35348
35349         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35350
35351 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35352
35353         [BZ #9914]
35354         * libio/iogetdelim.c: Include <limits.h>.
35355         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35356         + len + 1 would overflow.
35357
35358 2012-09-03  Andreas Jaeger  <aj@suse.de>
35359
35360         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35361         * sysdeps/i386/fpu/libm-test-ulps: Update.
35362
35363 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35364
35365         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35366         Add s_sinf-sse2, s_conf-sse2.
35367
35368         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35369         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35370         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35371         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35372
35373         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35374         for using routine as __sinf_ia32.
35375         Use macro for function declaration and weak_alias.
35376         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35377         for using routine as __cosf_ia32.
35378         Use macro for function declaration and weak_alias.
35379
35380         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35381         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35382
35383         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35384         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35386
35387         * math/libm-test.inc (cos_test): Add more test cases.
35388         (sin_test): Likewise.
35389         (sincos_test): Likewise.
35390
35391 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35392
35393         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35394         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35395         hidden.
35396         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35397
35398 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35399
35400         [BZ #14538]
35401         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35402         first element of the GOT.
35403         (elf_machine_load_address): Return the difference between
35404         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35405
35406 2012-09-01  Allan McRae  <allan@archlinux.org>
35407
35408         [BZ #13412]
35409         * configure.in (AWK): Require gawk version 3.0 or later.
35410         * configure: Regenerated.
35411
35412 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35413
35414         * sysdeps/unix/sysv/linux/kernel-features.h
35415         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35416         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35417         [__NR_clock_getres]: Make code unconditional.
35418         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35419         (clock_getcpuclockid): Remove code left unreachable by removal of
35420         conditionals.
35421         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35422         code unconditional.
35423         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35424         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35425         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35426         Make code unconditional.
35427         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35428         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35429         * sysdeps/unix/sysv/linux/clock_settime.c
35430         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35431         conditional code.
35432         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35433         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35434
35435 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35436
35437         [BZ #14476]
35438         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35439         scripts/test-installation.pl.
35440
35441         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35442         and $ld_so_version if it is set.
35443
35444 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35445
35446         [BZ #14516]
35447         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35448         failure if reading from procfs failed.
35449         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35450
35451 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35452
35453         * sysdeps/unix/sysv/linux/kernel-features.h
35454         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35455         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35456         Remove conditional code.
35457         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35458         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35459         Remove conditional code.
35460         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35461         * sysdeps/unix/sysv/linux/i386/fxstat.c
35462         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35463         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35464         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35465         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35466         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35467         * sysdeps/unix/sysv/linux/i386/lxstat.c
35468         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35469         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35470         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35471         Remove conditional code.
35472         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35473         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35474         Remove conditional code.
35475         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35476         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35477         <kernel-features.h>.
35478         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35479         Remove.
35480         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35481         Remove conditional code.
35482         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35483         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35484         Remove conditional.
35485
35486 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35487
35488         [BZ #5400]
35489         * NEWS: Add fixed bug number.
35490
35491 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35492
35493         [BZ #14519]
35494         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35495         underflowing exponent in case of negative sign.
35496         * stdlib/tst-strtod-round-data: Add more tests.
35497         * stdlib/tst-strtod-round.c (tests): Regenerated.
35498
35499         [BZ #3479]
35500         * stdlib/strtod_l.c (NDIG): Remove.
35501         (HEXNDIG): Likewise.
35502         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35503         smallest representable value.
35504         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35505         lie within an exact representation of 1/2 ulp of the result.
35506         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35507         unconditionally.
35508         (TENS_P9_IDX): Define unconditionally.
35509         (TENS_P9_SIZE): Likewise.
35510         (TENS_P10_IDX): Likewise.
35511         (TENS_P10_SIZE): Likewise.
35512         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35513         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35514         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35515         entries for 10^2^13 and 10^2^14.
35516         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35517         (TENS_P13_IDX): Define.
35518         (TENS_P13_SIZE): Likewise.
35519         (TENS_P14_IDX): Likewise.
35520         (TENS_P14_SIZE): Likewise.
35521         (_fpioconst_pow10): Change array size to
35522         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35523         unconditional.
35524         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35525         1024]: Add entries for 10^2^13 and 10^2^14.
35526         [LAST_POW10 > _LAST_POW10]: Remove #error.
35527         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35528         (_fpioconst_pow10): Change array size to
35529         FPIOCONST_POW10_ARRAY_SIZE.
35530         * stdlib/gen-fpioconst.c: New file.
35531         * stdlib/gen-tst-strtod-round.c: Likewise.
35532         * stdlib/tst-strtod-round-data: Likewise.
35533         * stdlib/tst-strtod-round.c: Likewise.
35534         * stdlib/Makefile (tests): Add tst-strtod-round.
35535
35536         [BZ #14459]
35537         * stdlib/strtod_l.c: Include <stdint.h>.
35538         (NDEBUG): Do not define.
35539         (round_and_return): Change EXPONENT parameter to type intmax_t.
35540         Rearrange calculations to avoid internal overflow possibilities.
35541         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35542         Rearrange calculations to avoid internal overflow possibilities.
35543         Assert that number fits inside MPNSIZE limbs.
35544         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35545         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35546         calculations and add assertions to avoid internal overflow
35547         possibilities.  Add casts to avoid signed/unsigned operations.
35548         * stdlib/tst-strtod-overflow.c: New file.
35549         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35550
35551 2012-08-25  Marek Polacek  <polacek@redhat.com>
35552
35553         * time/time.h: Fix some typos in comments.
35554
35555 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35556
35557         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35558         * posix/tst-rfc3484-2.c: Likewise.
35559         * posix/tst-rfc3484-3.c: Likewise.
35560
35561 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35562
35563         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35564         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35565
35566 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35567
35568         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35569         #include of fxstatat64.c.
35570
35571 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35572
35573         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35574         * shadow/getspent_r.c: Likewise.
35575         * shadow/getspnam.c: Likewise.
35576         * shadow/getspnam_r.c: Likewise.
35577         * gshadow/getsgent.c: Likewise.
35578         * gshadow/getsgent_r.c: Likewise.
35579         * gshadow/getsgnam.c: Likewise.
35580         * gshadow/getsgnam_r.c: Likewise.
35581         * inet/getnetbyad.c: Likewise.
35582         * inet/getnetbyad_r.c: Likewise.
35583         * inet/getnetbynm.c: Likewise.
35584         * inet/getnetbynm_r.c: Likewise.
35585         * inet/getnetent.c: Likewise.
35586         * inet/getnetent_r.c: Likewise.
35587         * inet/getproto.c: Likewise.
35588         * inet/getproto_r.c: Likewise.
35589         * inet/getprtent.c: Likewise.
35590         * inet/getprtent_r.c: Likewise.
35591         * inet/getprtname.c: Likewise.
35592         * inet/getprtname_r.c: Likewise.
35593         * inet/getrpcbyname.c: Likewise.
35594         * inet/getrpcbyname_r.c: Likewise.
35595         * inet/getrpcbynumber.c: Likewise.
35596         * inet/getrpcbynumber_r.c: Likewise.
35597         * inet/getrpcent.c: Likewise.
35598         * inet/getrpcent_r.c: Likewise.
35599         * inet/getaliasent.c: Likewise.
35600         * inet/getaliasent_r.c: Likewise.
35601         * inet/getaliasname.c: Likewise.
35602         * inet/getaliasname_r.c: Likewise.
35603         * nscd/getgrgid_r.c: Likewise.
35604         * nscd/getgrnam_r.c: Likewise.
35605         * nscd/gethstbyad_r.c: Likewise.
35606         * nscd/gethstbynm3_r.c: Likewise.
35607         * nscd/getpwnam_r.c: Likewise.
35608         * nscd/getpwuid_r.c: Likewise.
35609         * nscd/getsrvbynm_r.c: Likewise.
35610         * nscd/getsrvbypt_r.c: Likewise.
35611         * nscd/gai.c: Likewise.
35612
35613         * configure.in (build_nscd): New substituted variable, set
35614         by --disable-build-nscd and defaults to $use_nscd.
35615         * configure: Regenerated.
35616         * config.make.in (build-nscd): New substituted variable.
35617         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35618         Change conditional to require [$(build-nscd) = yes] as well.
35619         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35620
35621         [BZ# 13696]
35622         * configure.in (use_nscd): New substituted variable, set by
35623         --disable-nscd.  If enabled, define USE_NSCD.
35624         * configure: Regenerated.
35625         * config.h.in: Add USE_NSCD.
35626         * config.make.in (use-nscd): New substituted variable.
35627         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35628         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35629         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35630         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35631         (CFLAGS-getgrnam_r.c): Likewise.
35632         (CFLAGS-initgroups.c): Likewise.
35633         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35634         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35635         Variables removed.
35636         * inet/getnetgrent_r.c
35637         (nscd_setnetgrent): New function, broken out of ...
35638         (setnetgrent): ... here.  Call it.
35639         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35640         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35641         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35642         * nscd/Makefile (routines, aux): Move definitions after include of
35643         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35644         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35645         Conditionalize on [USE_NSCD].
35646         (is_nscd, nscd_init_cb): Likewise.
35647         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35648         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35649         * nss/nss_db/db-init.c: Likewise.
35650         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35651         [USE_NSCD].
35652         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35653         (make_request): Use it.
35654         (cache_valid_p): New function.
35655         (__check_pf): Use it.
35656         * NEWS: Add item for --disable-nscd.
35657
35658 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35659
35660         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35661         to support sed >= 4.2.1-20-ga9bf076.
35662         * configure: Regenerated.
35663
35664 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35665
35666         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35667         Conditionalize whole body on [IREL].
35668
35669 2012-08-22  Jeff Law <law@redhat.com>
35670
35671         [BZ #14505]
35672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35673         if the family is PF_UNSPEC.
35674
35675 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35676
35677         * Makerules (lib-version): Rename from V.
35678         (install-lib-nosubdir): Change V to lib-version.
35679
35680 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35681
35682         [BZ #14252]
35683         * powerpc32/power6/wcschr.c: New file.
35684         * powerpc32/power6/wcscpy.c: New file.
35685         * powerpc32/power6/wcsrchr.c: New file.
35686         * powerpc64/power6/wcschr.c: New file.
35687         * powerpc64/power6/wcscpy.c: New file.
35688         * powerpc64/power6/wcsrchr.c: New file.
35689
35690 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35691
35692         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35693         (two_way_short_needle): Use it.
35694         * string/strstr.c (AVAILABLE1_USES_J): Define.
35695         * string/strcasestr.c: Likewise.
35696
35697         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35698         array references.
35699         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35700
35701         [BZ #11607]
35702         * NEWS: Add an entry.
35703         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35704         define their defaults.
35705         (two_way_short_needle): Detect end-of-string on-the-fly.
35706         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35707         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35708         * string/bug-strcasestr1.c: New test.
35709         * string/Makefile: Run it.
35710
35711 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35712
35713         [BZ #11607]
35714         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35715         the first character.
35716
35717 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35718
35719         * csu/elf-init.c (__libc_csu_irel): Function removed.
35720         * csu/libc-start.c (apply_irel): New function.
35721         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35722
35723 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35724
35725         * sysdeps/unix/sysv/linux/kernel-features.h
35726         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35727         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35728         <kernel-features.h>.
35729         [__NR_fadvise64_64]: Make code unconditional.
35730         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35731         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35732         !__NR_fadvise64_64)]: Likewise.
35733         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35734         !__NR_fadvise64_64))]: Likewise.
35735         [__NR_fadvise64]: Make code unconditional.
35736         [!__NR_fadvise64]: Remove conditional code.
35737         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35738         <kernel-features.h>.
35739         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35740         unconditional.
35741         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35742         conditional code.
35743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35744         not include <kernel-features.h>.
35745         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35746         unconditional.
35747         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35748         conditional code.
35749         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35750         include <kernel-features.h>.
35751         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35752         unconditional.
35753         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35754         conditional code.
35755
35756 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35757
35758         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35759         slight instruction rearrangements per scrollpipe analysis.
35760         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35761
35762 2012-08-20  Roland McGrath  <roland@hack.frob.com>
35763
35764         * manual/syslog.texi (syslog; vsyslog, closelog):
35765         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35766         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35767
35768         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35769         DSOCAPS to match condition on defining it.
35770
35771 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
35772
35773         * sysdeps/unix/sysv/linux/kernel-features.h
35774         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35776         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35777         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35779         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35780         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35782         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35783         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35784
35785         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35786         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35787
35788         * sysdeps/unix/sysv/linux/kernel-features.h
35789         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35790         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35791         unconditional.
35792         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35793         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35794         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35795         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35796         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35797         Make code unconditional.
35798         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35799         (__mmap64) [!__NR_mmap2]: Likewise.
35800         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35801         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35802         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35803         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35804         [__NR_mmap2]: Make code unconditional.
35805         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35806         (__mmap64) [!__NR_mmap2]: Likewise.
35807
35808 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35809
35810         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35811
35812 2012-08-18  Andreas Jaeger  <aj@suse.de>
35813
35814         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35815
35816 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35817
35818         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35819         * include/unistd.h (__have_sock_cloexec): Likewise.
35820         (__have_pipe2): Likewise.
35821         (__have_dup3): Likewise.
35822
35823 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35824
35825         [BZ #9685]
35826         * include/unistd.h (__have_pipe2): Change define into an extern int.
35827         (__have_dup3): Likewise.
35828         * socket/have_sock_cloexec.c: Include fcntl.h.
35829         (__have_pipe2): New variable.
35830         (__have_dup3): Likewise.
35831
35832 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
35833
35834         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35835
35836 2012-08-17  Marek Polacek  <polacek@redhat.com>
35837
35838         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35839         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35840
35841 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35842
35843         * configure.in: Add AC_SUBST for sysheaders.
35844         * configure: Regenerated.
35845         * config.make.in (sysheaders): New substituted variable.
35846
35847         * sysdeps/unix/mkfifo.c: Moved ...
35848         * sysdeps/posix/mkfifo.c: ... here.
35849         * sysdeps/unix/mkfifoat.c: Moved ...
35850         * sysdeps/posix/mkfifoat.c: ... here.
35851
35852         * sysdeps/unix/utime.c: Moved ...
35853         * sysdeps/posix/utime.c: ... here.
35854
35855         * sysdeps/unix/time.c: Moved ...
35856         * sysdeps/posix/time.c: ... here.
35857         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35858         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35859
35860         * sysdeps/unix/nice.c: Moved ...
35861         * sysdeps/posix/nice.c: ... here.
35862
35863         * sysdeps/unix/alarm.c: Moved ...
35864         * sysdeps/posix/alarm.c: ... here.
35865
35866         * intl/Makefile ($(codeset_mo)): Depend on the input file.
35867
35868 2012-08-17  Jeff Law <law@redhat.com>
35869
35870         * intl/Makefile (codeset_mo): New variable.
35871         ($(codeset_mo)): New target.
35872         (tst-codeset.out): Depend on that.  Remove explicit rule.
35873         (tst-gettext3.out, tst-gettext5.out): Likewise.
35874         (LOCPATH-ENV, tst-codeset-ENV): New variables.
35875         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35876         * intl/tst-codeset.sh: Remove.
35877         * intl/tst-gettext3.sh: Likewise.
35878         * intl/tst-gettext5.sh: Likewise.
35879
35880 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35881
35882         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
35883         * sysdeps/unix/syscalls.list: ... here.
35884
35885         * sysdeps/posix/getaddrinfo.c
35886         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35887         (gaiconf_init, gaiconf_reload): Use them.
35888         [!_STATBUF_ST_NSEC]
35889         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35890         Define using time_t rather than struct timespec.
35891
35892         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35893         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35894         Macros removed.
35895         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35896         [!NO_THREADS].
35897         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35898         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35899         Likewise.
35900
35901         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35902         __libc_cleanup_push argument.
35903
35904         * bits/param.h: New file.
35905         * misc/sys/param.h: New file.
35906         * include/sys/param.h: New file.
35907         * misc/Makefile (headers): Add bits/param.h.
35908         * sysdeps/generic/sys/param.h: File removed.
35909         * sysdeps/unix/sysv/linux/bits/param.h: New file.
35910         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35911         * sysdeps/mach/hurd/bits/param.h: New file.
35912         * sysdeps/mach/hurd/sys/param.h: File removed.
35913
35914         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35915         last change.
35916
35917         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35918         [_IO_MTSAFE_IO].
35919         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35920         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35921         New macros.
35922
35923         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35924         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35925         rather than -D_IO_MTSAFE_IO conditionally.
35926         * stdio-common/Makefile (CPPFLAGS): Likewise.
35927         * wcsmbs/Makefile (CPPFLAGS): Likewise.
35928         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35929         Use $(libio-mtsafe).
35930         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35931         of -D_IO_MTSAFE_IO.
35932         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35933         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35934         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35935         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35936         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35937         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35938         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35939         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35940         (CFLAGS-fread_u_chk.c): Likewise.
35941         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35942         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35943         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35944         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35945         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35946         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35947         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35948         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35949         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35950
35951         * libio/Makefile: Test [$(libc-reentrant) = yes]
35952         instead of [$(filter %REENTRANT, $(defines)) nonempty].
35953
35954         * Makeconfig
35955         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35956         * sysdeps/pthread/configure: File removed.
35957         * sysdeps/pthread/Makeconfig: New file.
35958         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35959         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35960
35961 2012-08-16  Gary Benson  <gbenson@redhat.com>
35962
35963         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35964         unmapping the first object in a namespace.
35965
35966 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35967
35968         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35969         (__internal_setnetgrent): ... this.  Add internal_function to
35970         definition.  Add libc_hidden_def.
35971         (setnetgrent): Update caller.
35972         (internal_endnetgrent): Renamed to ...
35973         (__internal_endnetgrent): ... this.  Add internal_function to
35974         definition.  Add libc_hidden_def.
35975         (endnetgrent): Update caller.
35976         (internal_getnetgrent_r): Renamed to ...
35977         (__internal_getnetgrent_r): ... this.  Add internal_function to
35978         definition.  Add libc_hidden_def.
35979         (__getnetgrent_r): Update caller.
35980         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
35981
35982 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
35983
35984         * stdlib/longlong.h: Update from GCC.
35985
35986 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35987
35988         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35989         on _QL, which is set by umul_ppmm but never used.
35990         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35991         variables, which are set by GMP macros but never used.
35992         * stdio-common/_itowa.c (_itowa): Likewise.
35993         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35994         * stdlib/mod_1.c (mpn_mod_1): Likewise.
35995
35996 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
35997
35998         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35999         struct La_sh_regs is not constant.
36000         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36001         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36002         and struct La_sparc64_regs are not constant.
36003
36004 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36005
36006         * sysdeps/unix/sysv/linux/kernel-features.h
36007         (__ASSUME_POSIX_TIMERS): Remove.
36008         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36009         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36010         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36011         Make code unconditional.
36012         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36013         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36014         Make code unconditional.
36015         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36016         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36017         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36018         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36019         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36020         Make code unconditional.
36021         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36022         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36023         (__libc_missing_posix_timers): Remove.
36024
36025 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36026
36027         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36028         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36029
36030         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36031
36032         * elf/dl-sym.c: Include <stdlib.h>.
36033
36034         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36035         constants, which avoids warnings in 32-bit builds.
36036
36037         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36038         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36039
36040         * misc/lseek.c: File moved to ...
36041         * io/lseek.c: ... here.
36042
36043         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36044
36045         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36046         shifting LEN more than 31 bits at once.
36047
36048 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36049
36050         [BZ #14195]
36051         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36052         segmentation fault for a case of two empty input strings.
36053         * string/test-strncasecmp.c (check1): Renamed to...
36054         (bz12205): ...this.
36055         (bz14195): Add new testcase for two empty input strings and N > 0.
36056         (test_main): Call new testcase, adapt for renamed function.
36057
36058 2012-08-15  Andreas Jaeger  <aj@suse.de>
36059
36060         [BZ #14090]
36061         * crypt/md5test2.c: New test, based on test supplied by Serge
36062         Belyshev <belyshev@depni.sinp.msu.ru>.
36063         * crypt/Makefile (xtests): Add md5test-giant..
36064         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36065
36066 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36067
36068         [BZ #14090]
36069         * crypt/md5.c (md5_process_block): Don't assume the buffer
36070         length is less than 2**32.
36071         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36072         length is less than 2**64.
36073
36074 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36075
36076         * string/str-two-way.h: Include <sys/param.h>.
36077         (MAX): Macro removed.
36078
36079         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36080         Move #define and #undef of memmove to just before and after
36081         including <string.h>.
36082
36083         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36084         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36085         and after including <string.h>.  Move declarations of
36086         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36087         to before #include "string/memmove.c".
36088
36089         * include/dirent.h: Declare __getdirentries.
36090
36091         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36092         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36093
36094 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36095
36096         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36097         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36098         * sysdeps/i386/configure: Regenerated.
36099         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36100         STABS_CURRENT_FILE, and STABS_FUN.
36101         (END): Remove call to STABS_FUN_END.
36102         (STABS_CURRENT_FILE1): Delete.
36103         (STABS_CURRENT_FILE): Likewise.
36104         (STABS_FUN): Likewise.
36105         (STABS_FUN_END): Likewise.
36106         (STABS_FUN2): Likewise.
36107         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36108         * sysdeps/x86_64/configure: Regenerated.
36109
36110 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36111
36112         * elf/dl-open.c: Include <atomic.h>.
36113         * elf/dl-lookup.c: Likewise.
36114
36115 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36116
36117         * sysdeps/unix/sysv/linux/kernel-features.h
36118         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36119         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36120         unconditionally.
36121         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36122         unconditionally.
36123         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36124         condition on __ASSUME_CLONE_THREAD_FLAGS.
36125
36126 2012-08-14  Andreas Jaeger  <aj@suse.de>
36127
36128         * sysdeps/i386/fpu/libm-test-ulps: Update.
36129
36130 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36131
36132         * include/atomic.h (atomic_exchange_and_add): Split into ...
36133         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36134         New atomic macros.
36135
36136 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36137
36138         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36139
36140 2012-08-13  Jeff Law <law@redhat.com>
36141
36142         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36143         null byte in the output string.
36144
36145 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36146
36147         * sysdeps/unix/sysv/linux/kernel-features.h
36148         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36149         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36150         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36151         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36152         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36153         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36154         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36155
36156 2012-08-09  Jeff Law <law@redhat.com>
36157
36158         [BZ #13939]
36159         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36160         When avoid_arena is set, don't retry in the that arena.  Pick the
36161         next one, whatever it might be.
36162         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36163         (arena_lock): Pass in new parameter to arena_get2.
36164         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36165         arena_get2.
36166         (__libc_malloc): Unify retrying after main arena failure with
36167         __libc_memalign version.
36168         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36169
36170 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36171
36172         [BZ #14166]
36173         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36174         to __redirect_strstr.
36175         (__strstr_sse42): Use typeof __redirect_strstr.
36176         (__strstr_ia32): Likewise.
36177         (__libc_strstr): New prototype.
36178         (strstr): Renamed to ...
36179         (__libc_strstr): This.
36180         (strstr): New strong alias of __libc_strstr.
36181         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36182         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36183         __redirect_time.
36184         Include <time.h>.
36185         (__libc_time): New prototype.
36186         (time_ifunc): Replace time with __libc_time.
36187         (time): New strong alias and hidden definition of __libc_time.
36188         (__GI_time): Remove strong alias.
36189         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36190         Include <stddef.h>.
36191         (memmove): Redefined to __redirect_memmove.
36192         (__memmove_sse2): Use typeof __redirect_memmove.
36193         (__memmove_ssse3): Likewise.
36194         (__memmove_ssse3_back): Likewise.
36195         (__libc_memmove): New prototype.
36196         (memmove): Renamed to ...
36197         (__libc_memmove): This.
36198         (memmove): New strong alias of __libc_memmove.
36199
36200 2012-08-08  Mark Salter  <msalter@redhat.com>
36201
36202         * elf/elf.h
36203         (R_MN10300_TLS_GD): Define.
36204         (R_MN10300_TLS_LD): Likewise.
36205         (R_MN10300_TLS_LDO): Likewise.
36206         (R_MN10300_TLS_GOTIE): Likewise.
36207         (R_MN10300_TLS_IE): Likewise.
36208         (R_MN10300_TLS_LE): Likewise.
36209         (R_MN10300_TLS_DTPMOD): Likewise.
36210         (R_MN10300_TLS_DTPOFF): Likewise.
36211         (R_MN10300_TLS_TPOFF): Likewise.
36212         (R_MN10300_SYM_DIFF): Likewise.
36213         (R_MN10300_ALIGN): Likewise.
36214         (R_MN10300_NUM): Update.
36215
36216 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36217
36218         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36219         Remove.
36220
36221 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36222
36223         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36224
36225         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36226         sysdeps/unix -> sysdeps/posix move.
36227         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36228
36229 2012-08-07      Allan McRae     <allan@archlinux.org>
36230
36231         [BZ #14303]
36232         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36233         (SUNOS_CPP): Likewise.
36234         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36235         not found.
36236         (open_input): Call CPP using execvp.
36237
36238 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36239
36240         * sysdeps/unix/sysv/linux/kernel-features.h
36241         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36242         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36243         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36244         (__ASSUME_WAITID_SYSCALL): Likewise.
36245         * sysdeps/unix/sysv/linux/dl-execstack.c
36246         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36247         code unconditional.
36248         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36249         conditional code.
36250         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36251         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36252         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36253         code.
36254         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36255         unconditional.
36256         [__ASSUME_WAITID_SYSCALL]: Likewise.
36257         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36258
36259 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36260
36261         * sysdeps/unix/closedir.c: Renamed to ...
36262         * sysdeps/posix/closedir.c: ... here.
36263         * sysdeps/unix/dirfd.c: Renamed to ...
36264         * sysdeps/posix/dirfd.c: ... here.
36265         * sysdeps/unix/dirstream.h: Renamed to ...
36266         * sysdeps/posix/dirstream.h: ... here.
36267         * sysdeps/unix/fdopendir.c: Renamed to ...
36268         * sysdeps/posix/fdopendir.c: ... here.
36269         * sysdeps/unix/opendir.c: Renamed to ...
36270         * sysdeps/posix/opendir.c: ... here.
36271         * sysdeps/unix/readdir.c: Renamed to ...
36272         * sysdeps/posix/readdir.c: ... here.
36273         * sysdeps/unix/readdir_r.c: Renamed to ...
36274         * sysdeps/posix/readdir_r.c: ... here.
36275         * sysdeps/unix/rewinddir.c: Renamed to ...
36276         * sysdeps/posix/rewinddir.c: ... here.
36277         * sysdeps/unix/seekdir.c: Renamed to ...
36278         * sysdeps/posix/seekdir.c: ... here.
36279         * sysdeps/unix/telldir.c: Renamed to ...
36280         * sysdeps/posix/telldir.c: ... here.
36281         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36282         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36283         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36284         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36285
36286         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36287         * bits/fcntl.h: ... here.
36288
36289         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36290         not 0.
36291         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36292         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36293         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36294         (struct flock): Move l_start, l_len to the beginning.
36295         Use __pid_t for l_pid.
36296         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36297         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36298         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36299         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36300         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36301         [__USE_LARGEFILE64] (struct flock64): New type.
36302         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36303
36304         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36305         * bits/dirent.h: ... here.
36306
36307         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36308         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36309
36310 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36311
36312         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36313         Change from 2.6.0 to 2.6.16.
36314         * sysdeps/unix/sysv/linux/configure: Regenerated.
36315         * sysdeps/unix/sysv/linux/kernel-features.h
36316         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36317         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36318         version.
36319         (__ASSUME_UTIMES): Likewise.
36320         (__ASSUME_CLONE_STOPPED): Remove.
36321         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36322         architectures, not kernel version.
36323         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36324         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36325         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36326         (__ASSUME_WAITID_SYSCALL): Likewise.
36327         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36328         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36329         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36330         refer to older versions.
36331
36332 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36333
36334         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36335         Define alphasort64 as an alias.
36336         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36337         Define versionsort64 as an alias.
36338         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36339         Define scandir64 as an alias.
36340         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36341         Define scandirat64 as an alias.
36342         * dirent/alphasort64.c (alphasort64):
36343         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36344         * dirent/versionsort64.c: Likewise.
36345         * dirent/scandir64.c: Likewise.
36346         * dirent/scandirat64.c: Likewise.
36347         * sysdeps/wordsize-64/alphasort.c: File removed.
36348         * sysdeps/wordsize-64/alphasort64.c: File removed.
36349         * sysdeps/wordsize-64/scandir.c: File removed.
36350         * sysdeps/wordsize-64/scandir64.c: File removed.
36351         * sysdeps/wordsize-64/scandirat.c: File removed.
36352         * sysdeps/wordsize-64/scandirat64.c: File removed.
36353         * sysdeps/wordsize-64/versionsort.c: File removed.
36354         * sysdeps/wordsize-64/versionsort64.c: File removed.
36355         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36356         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36357         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36358         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36359         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36360         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36361         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36362         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36363
36364         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36365         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36366         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36367         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36368         [defined __arch64__ || defined __sparcv9]
36369         (__INO_T_MATCHES_INO64_T): New macro.
36370         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36371         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36372         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36373         * sysdeps/unix/sysv/linux/bits/dirent.h
36374         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36375         (_DIRENT_MATCHES_DIRENT64): New macro.
36376
36377         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36378         Define lockf64 as an alias.
36379         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36380         Define fseeko64 as an alias.
36381         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36382         Define ftello64 as an alias.
36383         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36384         Define _IO_fgetpos64 and fgetpos64 as aliases.
36385         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36386         Define _IO_fsetpos64 and fsetpos64 as aliases.
36387         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36388         Conditionalize body on this.
36389         * libio/fseeko64.c: Likewise.
36390         * libio/ftello64.c: Likewise.
36391         * libio/iofgetpos64.c: Likewise.
36392         * libio/iofsetpos64.c: Likewise.
36393         * sysdeps/wordsize-64/lockf.c: File removed.
36394         * sysdeps/wordsize-64/lockf64.c: File removed.
36395         * sysdeps/wordsize-64/fseeko.c: File removed.
36396         * sysdeps/wordsize-64/fseeko64.c: File removed.
36397         * sysdeps/wordsize-64/ftello.c: File removed.
36398         * sysdeps/wordsize-64/ftello64.c: File removed.
36399         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36400         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36401         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36402         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36403         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36404         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36405         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36406         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36407         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36408         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36409         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36410         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36411         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36412         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36413
36414         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36415         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36416         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36417         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36418         [defined __arch64__ || defined __sparcv9]
36419         (__OFF_T_MATCHES_OFF64_T): New macro.
36420         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36421         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36422         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36423         (__OFF_T_MATCHES_OFF64_T): New macro.
36424
36425 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36426
36427         * stdlib/secure-getenv.c (__secure_getenv): Replace
36428         GLIBC_2_16 with GLIBC_2_17.
36429
36430 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36431
36432         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36433         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36434
36435 2012-08-03  David S. Miller  <davem@davemloft.net>
36436
36437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36438
36439 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36440
36441         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36442         Remove.
36443         (__ASSUME_CORRECT_SI_PID): Likewise.
36444         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36445         (__ASSUME_TMPFS_NAME): Likewise.
36446         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36447         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36448         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36449         (HAVE_AUX_SECURE): Make definition unconditional.
36450         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36451         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36452
36453 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36454
36455         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36456         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36457         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36458         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36459         __eloop_threshold instead of SYMLOOP_MAX.
36460
36461         * sysdeps/generic/eloop-threshold.h: New file.
36462         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36463         of MAXSYMLINKS.
36464         * elf/chroot_canon.c (chroot_canon): Likewise.
36465
36466 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36467
36468         [BZ #13717]
36469         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36470         Change to 2.6.0 everywhere.
36471         * sysdeps/unix/sysv/linux/configure: Regenerated.
36472         * sysdeps/unix/sysv/linux/kernel-features.h
36473         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36474         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36475         kernel versions.
36476         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36477         (__ASSUME_FUTEX_REQUEUE): Remove.
36478         (__ASSUME_STATFS64): Define unconditionally.
36479         (__ASSUME_AT_SECURE): Likewise.
36480         (__ASSUME_CORRECT_SI_PID): Likewise.
36481         (__ASSUME_TGKILL): Define without depending on kernel version for
36482         i386.
36483         (__ASSUME_UTIMES): Likewise.
36484         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36485         kernel version.
36486         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36487         (__ASSUME_TMPFS_NAME): Likewise.
36488         * README: Update reference to Linux kernel versions.
36489
36490 2012-08-02  Marek Polacek  <polacek@redhat.com>
36491
36492         [BZ# 14150]
36493         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36494         libc_cv_asm_type_prefix with %.
36495         * configure: Regenerated.
36496         * include/libc-symbols.h: Remove comment about
36497         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36498         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36499         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36500         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36501         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36502         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36503         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36504         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36505         * elf/tst-unique2mod1.c: Likewise.
36506         * elf/tst-unique1mod2.c: Likewise.
36507         * elf/tst-unique1mod1.c: Likewise.
36508         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36509         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36510         Replace ASM_TYPE_DIRECTIVE with .type.
36511         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36512         * sysdeps/i386/sysdep.h: Likewise.
36513         * sysdeps/x86_64/sysdep.h: Likewise.
36514         * sysdeps/sh/sysdep.h: Likewise.
36515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36516         Do not define ASM_TYPE_DIRECTIVE.
36517         * sysdeps/powerpc/sysdep.h: Likewise.
36518         * sysdeps/powerpc/powerpc32/sysdep.h:
36519         Replace ASM_TYPE_DIRECTIVE with .type.
36520         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36521         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36522         * sysdeps/i386/fpu/e_powf.S: Likewise.
36523         * sysdeps/i386/fpu/e_expl.S: Likewise.
36524         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36525         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36526         * sysdeps/i386/fpu/e_pow.S: Likewise.
36527         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36528         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36529         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36530         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36531         * sysdeps/i386/fpu/e_log2.S: Likewise.
36532         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36533         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36534         * sysdeps/i386/fpu/e_powl.S: Likewise.
36535         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36536         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36537         * sysdeps/i386/fpu/e_logl.S: Likewise.
36538         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36539         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36540         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36541         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36542         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36543         * sysdeps/i386/fpu/e_log.S: Likewise.
36544         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36545         * sysdeps/i386/fpu/e_logf.S: Likewise.
36546         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36547         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36548         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36549         * sysdeps/i386/fpu/e_log10.S: Likewise.
36550         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36551         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36552         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36553         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36554         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36555         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36556         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36557         * sysdeps/i386/i686/strtok.S: Likewise.
36558         * sysdeps/i386/i386-mcount.S: Likewise.
36559         * sysdeps/i386/strtok.S: Likewise.
36560         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36561         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36562         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36563         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36564         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36565         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36566         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36567         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36568         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36569         * sysdeps/x86_64/_mcount.S: Likewise.
36570         * sysdeps/x86_64/strtok.S: Likewise.
36571         * sysdeps/sh/_mcount.S: Likewise.
36572
36573 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36574
36575         * libio/iofopen.c: Include <fcntl.h>.
36576         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36577         (_IO_fopen64, fopen64): Define as aliases.
36578         * libio/iofopen64.c: Include <fcntl.h>.
36579         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36580         Conditionalize body on this.
36581         * sysdeps/wordsize-64/iofopen.c: File removed.
36582         * sysdeps/wordsize-64/iofopen64.c: File removed.
36583
36584 2012-08-01  Marek Polacek  <polacek@redhat.com>
36585
36586         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36587         Use dlfcn directly instead of a variable.
36588         (binfmt-subdir): Do not define.
36589         (dlfcn): Likewise.
36590
36591 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36592
36593         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36594         Remove all definitions.
36595         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36596         <kernel-features.h>.
36597         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36598         (miss_F_GETOWN_EX): Remove all definitions.
36599         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36600         macro definition.
36601         [!__ASSUME_FCNTL64]: Remove conditional code.
36602         [__ASSUME_FCNTL64]: Make code unconditional.
36603         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36604         <kernel-features.h>.
36605         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36606         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36607         (lockf64) [__NR_fcntl64]: Make code unconditional.
36608         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36609
36610         * sysdeps/unix/sysv/linux/kernel-features.h
36611         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36612         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36613         Make code unconditional.
36614         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36615         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36617         [__NR_vfork]: Make code unconditional.
36618         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36619         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36621         [__NR_vfork]: Make code unconditional.
36622         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36623         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36624
36625 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36626
36627         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36628         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36629
36630         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36631         Define mkstemp64 as an alias.
36632         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36633         Define mkstemps64 as an alias.
36634         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36635         Define mkostemp64 as an alias.
36636         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36637         Define mkostemps64 as an alias.
36638         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36639         Conditionalize body on this.
36640         * misc/mkostemp64.c: Likewise.
36641         * misc/mkostemps64.c: Likewise.
36642         * misc/mkstemps64.c: Likewise.
36643         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36644         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36645         * sysdeps/wordsize-64/mkostemp.c: File removed.
36646         * sysdeps/wordsize-64/mkstemp.c: File removed.
36647         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36648         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36649         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36650         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36651
36652         [BZ #14138]
36653         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36654         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36655         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36656         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36657
36658         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36659         compat_symbol macros from <shlib-compat.h> rather than the underlying
36660         default_symbol_version and symbol_version macros, so that DEFAULT
36661         lines in shlib-versions are respected.
36662         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36663
36664 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36665
36666         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36667         Declare with warn_unused_result.
36668         (setgid, setregid, setegid, setresgid): Likewise.
36669         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36670         Likewise.
36671         * WUR-REPORT: Remove set*id functions.
36672
36673 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36674
36675         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36676
36677 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36678
36679         [BZ #10191]
36680         * include/sys/socket.h (__libc_accept, __libc_accept4):
36681         Add attribute_hidden.
36682         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36683
36684         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36685         use of PTR_MANGLE.
36686         * inet/getnetgrent_r.c (setup): Likewise.
36687
36688         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36689
36690 2012-07-31  David S. Miller  <davem@davemloft.net>
36691
36692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36693
36694 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36695
36696         [BZ #13629]
36697         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36698         value between 1.0 and 2.0 and smaller part has absolute value less
36699         than 1.0.
36700         * math/s_clog10.c (__clog10): Likewise.
36701         * math/s_clog10f.c (__clog10f): Likewise.
36702         * math/s_clog10l.c (__clog10l): Likewise.
36703         * math/s_clogf.c (__clogf): Likewise.
36704         * math/s_clogl.c (__clogl): Likewise.
36705         * math/libm-test.inc (clog_test): Add more tests.
36706         (clog10_test): Likewise.
36707         * sysdeps/i386/fpu/libm-test-ulps: Update.
36708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36709
36710 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36711
36712         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36713         Exit with zero in case no suitable GID is found, and write a
36714         message to standard error.
36715
36716 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36717
36718         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36719         rather than to 1.
36720         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36721         (MAXPATHLEN): Removed.
36722         (NOGROUP, NODEV): New macros.
36723         (setbit, clrbit, isset, isclr): New macros.
36724         (howmany, roundup, powerof2): New macros.
36725         (DEV_BSIZE): New macro.
36726
36727         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36728         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36729
36730         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36731         definition on [!__NO_LONG_DOUBLE_MATH].
36732
36733         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36734         PTR_MANGLE and PTR_DEMANGLE.
36735
36736         * socket/accept4.c (accept4): Rename to __libc_accept4.
36737         Define accept4 as a weak alias.
36738
36739         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36740         on [_DIRENT_HAVE_D_TYPE].
36741         * io/ftw.c (ftw_dir): Likewise.
36742
36743         * io/xmknod.c (__xmknod): Don't check PATH for being null.
36744
36745         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36746
36747         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36748         Use the BSD numbers rather than the arbitrary ones we had.
36749         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36750         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36751         (SIGXCPU, SIGXFSZ): New macros.
36752         (_NSIG): Now 32.
36753
36754         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36755         initializer on [_LIBC_REENTRANT].
36756
36757         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36758         definitions inside [_POSIX_MAPPED_FILES].
36759
36760         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36761
36762         * dirent/opendir.c: Include <fcntl.h>.
36763
36764         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36765         (__libc_getspecific): Likewise.
36766         (__libc_key_create): Likewise.
36767
36768         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36769         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36770         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36771         (tmpfile64): Define as alias.
36772         * sysdeps/wordsize-64/tmpfile.c: File removed.
36773         * sysdeps/wordsize-64/tmpfile64.c: File removed.
36774         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36775         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36776
36777         * stdio-common/vfscanf.c: Include <stdbool.h>.
36778         * nss/makedb.c: Likewise.
36779         * stdio-common/_i18n_number.h: Likewise.
36780         * argp/argp-help.c: Likewise.
36781         * posix/wordexp.c: Likewise.
36782         * sysdeps/posix/spawni.c: Likewise.
36783         * nss/nss_files/files-initgroups.c: Likewise.
36784         * stdio-common/reg-modifier.c: Include <stdlib.h>.
36785         * nss/nss_files/files-initgroups.c: Likewise.
36786         * nss/nss_db/db-netgrp.c: Likewise.
36787         * nss/nss_db/db-initgroups.c: Likewise.
36788         * io/fchmodat.c: Include <sys/stat.h>.
36789
36790         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36791         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36792
36793         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36794         [HAVE_MMAP].
36795
36796         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36797         Add multiple inclusion protection.
36798
36799 2012-07-27  David S. Miller  <davem@davemloft.net>
36800
36801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36802
36803 2012-07-27  Gary Benson  <gbenson@redhat.com>
36804
36805         [BZ #14298]
36806         * elf/rtld.c: Include <stap-probe.h>.
36807         (dl_main): Added static probes "init_start" and "init_complete".
36808         * elf/dl-load.c: Include <stap-probe.h>.
36809         (lose): Take new parameter "nsid".
36810         Added static probe "map_failed".
36811         (_dl_map_object_from_fd): Pass namespace id to lose.
36812         Added static probe "map_start".
36813         (open_verify): Pass namespace id to lose.
36814         * elf/dl-open.c: Include <stap-probe.h>.
36815         (dl_open_worker) Added static probes "map_complete", "reloc_start"
36816         and "reloc_complete".
36817         * elf/dl-close.c: Include <stap-probe.h>.
36818         (_dl_close_worker): Added static probes "unmap_start" and
36819         "unmap_complete".
36820         * elf/rtld-debugger-interface.txt: New file documenting the above.
36821
36822 2012-07-26  Roland McGrath  <roland@hack.frob.com>
36823
36824         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36825         rather than a string variable.
36826         * sunrpc/rpc_main.c (h_output): Likewise.
36827         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36828
36829 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
36830
36831         * inet/check_native.c: New file.
36832
36833 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
36834
36835         [BZ #13629]
36836         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36837         if larger part has absolute value 1.0.
36838         * math/s_clog10.c (__clog10): Likewise.
36839         * math/s_clog10f.c (__clog10f): Likewise.
36840         * math/s_clog10l.c (__clog10l): Likewise.
36841         * math/s_clogf.c (__clogf): Likewise.
36842         * math/s_clogl.c (__clogl): Likewise.
36843         * math/libm-test.inc (clog_test): Add more tests.
36844         (clog10_test): Likewise.
36845         * sysdeps/i386/fpu/libm-test-ulps: Update.
36846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36847
36848         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36849         (pltexit): Likewise.
36850         (La_regs): Likewise.
36851         (La_retval): Likewise.
36852         (int_retval): Likewise.
36853         Update #error for removed macros to refer only to definitions in
36854         tst-audit.h.
36855         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36856         macro.
36857         (pltexit): Likewise.
36858         (La_regs): Likewise.
36859         (La_retval): Likewise.
36860         (int_retval): Likewise.
36861         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36862         macro.
36863         (pltexit): Likewise.
36864         (La_regs): Likewise.
36865         (La_retval): Likewise.
36866         (int_retval): Likewise.
36867         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36868         macro.
36869         (pltexit): Likewise.
36870         (La_regs): Likewise.
36871         (La_retval): Likewise.
36872         (int_retval): Likewise.
36873         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36874         macro.
36875         (pltexit): Likewise.
36876         (La_regs): Likewise.
36877         (La_retval): Likewise.
36878         (int_retval): Likewise.
36879         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36880         macro.
36881         (pltexit): Likewise.
36882         (La_regs): Likewise.
36883         (La_retval): Likewise.
36884         (int_retval): Likewise.
36885         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36886         macro.
36887         (pltexit): Likewise.
36888         (La_regs): Likewise.
36889         (La_retval): Likewise.
36890         (int_retval): Likewise.
36891         * sysdeps/generic/tst-audit.h: Update comment to refer only to
36892         macro definitions in tst-audit.h.
36893         * sysdeps/i386/tst-audit.h: New file.
36894         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36895         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36896         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36897         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36898         * sysdeps/sh/tst-audit.h: Likewise.
36899         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36900         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36901         * sysdeps/x86_64/tst-audit.h: Likewise.
36902
36903 2012-07-26  Andreas Jaeger  <aj@suse.de>
36904
36905         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36906         ptrace.
36907
36908         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36909         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36910         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36911         PTRACE_O_MASK.
36912         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36913         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36914         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36915
36916         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36917         value.
36918
36919         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36920         _sigsys.
36921         (si_call_addr, si_syscall, si_arch): Define new macro.
36922         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36923         _sigsys.
36924         (si_call_addr, si_syscall, si_arch): Define new marcro.
36925         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36926         _sigsys.
36927         (si_call_addr, si_syscall, si_arch): Define new macro.
36928         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36929         _sigsys.
36930         (si_call_addr, si_syscall, si_arch): Define new macro.
36931
36932 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36933
36934         [BZ #13717]
36935         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36936         Change to 2.4.21 where previously 2.4.1.
36937         * sysdeps/unix/sysv/linux/configure: Regenerated.
36938         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36939         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36940         Linux kernel version.
36941         (__ASSUME_STD_AUXV): Remove.
36942         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36943         kernel version.
36944         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36945         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36946         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36947         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36948         (__ASSUME_NETLINK_SUPPORT): Likewise.
36949         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36950         (__no_netlink_support): Remove conditional definition.
36951         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36952         Remove.
36953         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36954         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36955         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36956         (if_nameindex_ioctl): Remove.
36957         (if_nameindex_netlink): Do not handle __no_netlink_support.
36958         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36959         code.
36960         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36961         Remove conditional code.
36962         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36963         code.
36964         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36965         unconditional.
36966         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36967         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36968         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36969         Remove.
36970         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36971         [!__ASSUME_STD_AUXV]: Remove conditional code.
36972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36973         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36974         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36976         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36977         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36978         code.
36979         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36981         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36982         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36983         conditional code.
36984         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36986         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36987         code.
36988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36989         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36990         conditional code.
36991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36992         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36993         code unconditional.
36994         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36995         conditional code.
36996         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36997         unconditional.
36998         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36999         conditional code.
37000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37001         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37002         unconditional.
37003         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37004         conditional code.
37005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37006         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37007         code unconditional.
37008         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37009         conditional code.
37010         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37011         unconditional.
37012         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37013         conditional code.
37014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37015         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37016         code unconditional.
37017         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37018         conditional code.
37019         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37020         unconditional.
37021         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37022         conditional code.
37023
37024 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37025
37026         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37027         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37028         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37029         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37030         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37031         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37032         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37033         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37034         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37035         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37036         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37037         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37038         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37039         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37040         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37041         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37042         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37043         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37044         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37046         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37047         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37048         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37049
37050 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37051
37052         * Versions.def: Add GLIBC_2.17.
37053         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37054         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37055         Introduce __libc_secure_getenv.
37056         * stdlib/Versions (2.17): Add secure_getenv
37057         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37058         * stdlib/secure-getenv.c: Rename __secure_getenv to
37059         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37060         symbol __secure_getenv for GLIBC_2.0.
37061         * stdlib/tst-secure-getenv.c: New.
37062         * stdlib/Makefile (tests): Add testcase.
37063         * manual/startup.texi (Environment Access): Document
37064         secure_getenv.
37065         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37066         __libc_secure_getenv.
37067         * inet/ruserpass.c (ruserpass): Likewise.
37068         * malloc/mtrace.c (mtrace): Likewise.
37069         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37070         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37071         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37072         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37073         HAVE_SECURE_GETENV.
37074         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37075         __secure_getenv to __libc_secure_getenv.
37076         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37078         Likewise.
37079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37080         Likewise.
37081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37083         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37088
37089 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37090
37091         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37092         (struct La_i86_retval): Likewise.
37093         (struct La_x86_64_regs): Likewise.
37094         (struct La_x86_64_retval): Likewise.
37095         (struct La_x32_regs): Likewise.
37096         (struct La_x32_retval): Likewise.
37097         (struct La_ppc32_regs): Likewise.
37098         (struct La_ppc32_retval): Likewise.
37099         (struct La_ppc64_regs): Likewise.
37100         (struct La_ppc64_retval): Likewise.
37101         (struct La_sh_regs): Likewise.
37102         (struct La_sh_retval): Likewise.
37103         (struct La_s390_32_regs): Likewise.
37104         (struct La_s390_32_retval): Likewise.
37105         (struct La_s390_64_regs): Likewise.
37106         (struct La_s390_64_retval): Likewise.
37107         (struct La_sparc32_regs): Likewise.
37108         (struct La_sparc32_retval): Likewise.
37109         (struct La_sparc64_regs): Likewise.
37110         (struct La_sparc64_retval): Likewise.
37111         (struct audit_ifaces): Remove architecture-specific pltenter and
37112         pltexit members.
37113         * sysdeps/i386/ldsodefs.h: New file.
37114         * sysdeps/powerpc/ldsodefs.h: Likewise.
37115         * sysdeps/s390/ldsodefs.h: Likewise.
37116         * sysdeps/sh/ldsodefs.h: Likewise.
37117         * sysdeps/sparc/ldsodefs.h: Likewise.
37118         * sysdeps/x86_64/ldsodefs.h: Likewise.
37119
37120 2012-07-25  Marek Polacek  <polacek@redhat.com>
37121
37122         [BZ #6808]
37123         * math/libm-test.inc (yn_test): Add another test.
37124         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37125         to ERANGE when the result is +-Inf.
37126         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37127         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37128         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37129         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37130
37131 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37132
37133         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37134         equal to 0.
37135         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37136         clock_t.
37137         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37138
37139 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37140
37141         * configure.in <sysdeps resolving>: Correct printing
37142         Implies_before.
37143         * configure: Regenerate.
37144
37145 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37146
37147         * math/w_ilogb.c: Include <limits.h>.
37148         * math/w_ilogbl.c: Likewise.
37149
37150 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37151
37152         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37153         va_copy.  Document allowing for unavailable va_copy only as
37154         pre-C99 compatibility.
37155         * manual/string.texi (Copying and Concatenation): Use va_copy
37156         instead of __va_copy in concat example.
37157
37158 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37159
37160         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37161         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37162         it if not null.
37163
37164         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37165         with O_NOLINK passed to __file_name_lookup.
37166
37167         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37168         with O_NOLINK passed to __file_name_lookup.
37169
37170         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37171         negative N or less than NGIDS.
37172
37173         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37174         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37175         enough.  Use memcpy instead of strncpy.
37176
37177 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37178
37179         * elf/Makefile (check-data): Remove.
37180         (localplt.data): New vpath directive.
37181         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37182         instead of $(check-data).
37183         * scripts/data/localplt-generic.data: Move to ...
37184         * sysdeps/generic/localplt.data: ... here.
37185         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37186         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37187         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37189         ... here.
37190         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37192         ... here.
37193         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37195         ... here.
37196         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37198         ... here.
37199         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37201         ... here.
37202         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37204         ... here.
37205
37206 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37207
37208         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37209         PPC32 and PPC64 files.
37210         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37211         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37212
37213 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37214
37215         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37216         __makecontext_ret to ...
37217         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37218         ... here and call exit if uc_link is NULL.  New file.
37219         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37220         __makecontext_ret.S.
37221         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37222         __makecontext_ret to ...
37223         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37224         ... here and call exit if uc_link is NULL.  New file.
37225         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37226         __makecontext_ret.S.
37227
37228 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37229
37230         * elf/elf.h (R_390_IRELATIVE): New definition.
37231         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37232         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37233         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37234         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37235         (elf_machine_lazy_rel): Likewise.
37236         * sysdeps/s390/dl-irel.h: New file.
37237         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37238         * sysdeps/s390/s390-64/memset.S: New asm code.
37239         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37240         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37241         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37242         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37243         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37244         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37245         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37246         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37247         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37248         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37249         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37250         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37251         * sysdeps/s390/s390-32/memset.S: New asm code.
37252         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37253
37254 2012-07-17  Marek Polacek  <polacek@redhat.com>
37255
37256         [BZ #14349]
37257         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37258         * sysdeps/s390/s390-64/configure.in: Likewise.
37259         * sysdeps/sparc/configure.in: Likewise.
37260         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37261         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37262         * sysdeps/i386/configure.in: Likewise.
37263         * sysdeps/x86_64/configure.in: Likewise.
37264         * sysdeps/sh/configure.in: Likewise.
37265         * sysdeps/s390/s390-32/configure: Regenerated.
37266         * sysdeps/s390/s390-64/configure: Likewise.
37267         * sysdeps/x86_64/configure: Likewise.
37268         * sysdeps/sh/configure: Likewise.
37269         * sysdeps/powerpc/powerpc64/configure: Likewise.
37270         * sysdeps/powerpc/powerpc32/configure: Likewise.
37271         * sysdeps/sparc/configure: Likwise.
37272         * sysdeps/i386/configure: Likewise.
37273
37274         * elf/dl-open.c: Comment fixes.
37275
37276 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37277
37278         * Makefile [CXX] (check-data): Remove.
37279         [CXX] (c++-types.data): New vpath directive.
37280         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37281         vpath.  Do not allow for C++ type data being missing.
37282         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37283         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37284         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37285         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37286         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37287         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37288         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37290         ... here.
37291         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37293         ... here.
37294         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37296         ... here.
37297         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37299         ... here.
37300         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37302         ... here.
37303         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37305         ... here.
37306         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37308         ... here.
37309         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37311
37312         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37313         definitions to architecture-specific files.
37314         (TLS_IE): Likewise.
37315         (TLS_LD): Likewise.
37316         (TLS_GD): Likewise.
37317         * sysdeps/i386/tls-macros.h: New file.
37318         * sysdeps/powerpc/tls-macros.h: Likewise.
37319         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37320         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37321         * sysdeps/sh/tls-macros.h: Likewise.
37322         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37323         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37324         * sysdeps/x86_64/tls-macros.h: Likewise.
37325
37326 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37327
37328         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37329         zero value for regular exit case.
37330
37331         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37332         (__start_context): Preserve zero value for regular exit case.
37333
37334 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37335             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37336
37337         * manual/setjmp.texi (setcontext): Clarify normal process
37338         termination when uc_link is the null pointer.
37339         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37340         exit call.
37341
37342 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37343
37344         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37345         preprocessor.  Test for each exception mask separately.
37346
37347 2012-07-16  Andreas Jaeger  <aj@suse.de>
37348
37349         * po/ru.po: Update from translation team.
37350
37351 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37352
37353         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37354         equal to 0.
37355         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37356         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37357         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37358         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37359         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37360
37361 2012-07-13  Andreas Jaeger  <aj@suse.de>
37362
37363         * po/fr.po: Update from translation team.
37364
37365 2012-07-12  Marek Polacek  <polacek@redhat.com>
37366
37367         [BZ #14173]
37368         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37369         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37370         loop condition.
37371
37372 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37373
37374         [BZ #13717]
37375         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37376         Change to 2.4.1 where previously 2.4.0.
37377         * sysdeps/unix/sysv/linux/configure: Regenerated.
37378         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37379         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37380         version.
37381         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37382         (__ASSUME_AT_CLKTCK): Remove.
37383         (__ASSUME_AT_PAGESIZE): Likewise.
37384         (__ASSUME_AT_XID): Likewise.
37385         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37386         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37387         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37388         unconditionally.
37389         (HAVE_AUX_PAGESIZE): Likewise.
37390         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37391         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37392         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37393
37394 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37395
37396         [BZ #14307]
37397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37398         the temporary buffer used to invoke __gethostbyname2_r,
37399         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37400         host_data / struct gaih_addrtuple.
37401         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37402         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37403         header file nss/nsswitch.h.
37404         * nss/nsswitch.h (global scope): Add definition of implementation
37405         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37406         resolv/nss_dns/dns-host.c).
37407
37408 2012-07-11  Andreas Jaeger  <aj@suse.de>
37409
37410         * po/fr.po: Update from translation team.
37411
37412         * po/sv.po: Update from translation team
37413         * po/fr.po: Another update from translation team.
37414
37415 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37416
37417         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37418         for subnormals or multiply small sinh result by itself.
37419         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37421
37422 2012-07-11  David S. Miller  <davem@davemloft.net>
37423
37424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37425
37426 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37427
37428         [BZ #14347]
37429         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37430         (INTERNAL_MARK): Shift it here.
37431
37432 2012-07-10  Marek Polacek  <polacek@redhat.com>
37433
37434         [BZ #14151]
37435         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37436         libc_cv_asm_global_directive with .globl.
37437         * configure: Regenerated.
37438         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37439         with .globl.
37440         * sysdeps/i386/configure: Regenerated.
37441         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37442         with .globl.
37443         * sysdeps/x86_64/configure: Regenerated.
37444         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37445         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37446         * elf/tst-unique2mod2.c: Likewise.
37447         * elf/tst-unique2mod1.c: Likewise.
37448         * elf/tst-unique1mod2.c: Likewise.
37449         * elf/tst-unique1mod1.c: Likewise.
37450         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37451         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37452         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37453         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37454         * sysdeps/mach/sysdep.h: Likewise.
37455         * sysdeps/i386/sysdep.h: Likewise.
37456         * sysdeps/i386/i386-mcount.S: Likewise.
37457         * sysdeps/x86_64/_mcount.S: Likewise.
37458         * sysdeps/x86_64/sysdep.h: Likewise.
37459         * sysdeps/sh/_mcount.S: Likewise.
37460         * sysdeps/sh/sysdep.h: Likewise.
37461         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37462         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37463         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37464         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37465         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37466         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37467         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37468         * locale/localeinfo.h: Likewise.
37469         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37470         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37471
37472 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37473
37474         [BZ #14336]
37475         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37476         system".
37477         * manual/message.texi (The Uniforum approach): Likewise.
37478         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37479         (glibc iconv Implementation): Likewise.
37480
37481 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37482
37483         [BZ #14337]
37484         * math/s_clog.c (__clog): Avoid scaling a value down where that
37485         could result in underflow.
37486         * math/s_clog10.c (__clog10): Likewise.
37487         * math/s_clog10f.c (__clog10f): Likewise.
37488         * math/s_clog10l.c (__clog10l): Likewise.
37489         * math/s_clogf.c (__clogf): Likewise.
37490         * math/s_clogl.c (__clogl): Likewise.
37491         * math/libm-test.inc (clog_test): Add more tests.
37492         (clog10_test): Likewise.
37493         * sysdeps/i386/fpu/libm-test-ulps: Update.
37494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37495
37496 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37497
37498         [BZ #14283]
37499         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37500         by 7 not 8 to examine high bit of fractional part.
37501
37502         [BZ #14042]
37503         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37504         for call to __mcount_internal.
37505         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37506         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37507         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37508
37509 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37510
37511         [BZ #14154]
37512         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37513         approximation for values within 0x1p-13f of an odd multiple of
37514         pi/4.
37515         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37516         exception.  Add more tests.
37517         * sysdeps/i386/fpu/libm-test-ulps: Update.
37518
37519         [BZ #6778]
37520         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37521         inputs and return -1 for them.  Do not check for +Inf in case not
37522         reachable for +Inf.
37523         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37524         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37525         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37526         and return -1 for them.  Do not check for +Inf in case not
37527         reachable for +Inf.
37528         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37529         define.
37530         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37531         and return -1 for them.  Do not check for +Inf in case not
37532         reachable for +Inf.
37533         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37534         spurious underflow.
37535         * sysdeps/i386/fpu/libm-test-ulps: Update.
37536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37537
37538 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37539
37540         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37541
37542 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37543
37544         [BZ #14157]
37545         [BZ #14331]
37546         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37547         could result in spurious underflow.  Scale down values above
37548         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37549         * math/s_csqrtf.c (__csqrtf): Likewise.
37550         * math/s_csqrtl.c (__csqrtl): Likewise.
37551         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37552         spurious underflow.
37553         * sysdeps/i386/fpu/libm-test-ulps: Update.
37554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37555
37556 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37557
37558         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37559         xopen-msg.sed.
37560         * catgets/xopen-msg.awk: New file.
37561         * catgets/xopen-msg.sed: Removed.
37562
37563         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37564         po2text.sed.
37565         * intl/po2test.awk: New file.
37566         * intl/po2test.sed: Removed.
37567
37568 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37569
37570         [BZ #14328]
37571         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37572         or multiply small sinh result by itself.
37573         * math/s_ctanf.c (__ctanf): Likewise.
37574         * math/s_ctanh.c (__ctanh): Likewise.
37575         * math/s_ctanhf.c (__ctanhf): Likewise.
37576         * math/s_ctanhl.c (__ctanhl): Likewise.
37577         * math/s_ctanl.c (__ctanl): Likewise.
37578         * math/libm-test.inc (ctan_test_tonearest): New function.
37579         (ctan_test_towardzero): Likewise.
37580         (ctan_test_downward): Likewise.
37581         (ctan_test_upward): Likewise.
37582         (ctanh_test_tonearest): Likewise.
37583         (ctanh_test_towardzero): Likewise.
37584         (ctanh_test_downward): Likewise.
37585         (ctanh_test_upward): Likewise.
37586         (main): Call these new functions.
37587         * sysdeps/i386/fpu/libm-test-ulps: Update.
37588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37589
37590 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37591
37592         * .gitignore: Delete /ports entry.
37593
37594 2012-07-03  Andreas Jaeger  <aj@suse.de>
37595
37596         * po/bg.po: Update from translation team.
37597         * po/cs.po: Likewise.
37598         * po/de.po: Likewise.
37599         * po/hr.po: Likewise.
37600         * po/nl.pl: Likewise.
37601         * po/pl.po: Likewise.
37602         * po/vi.po: Likewise.
37603
37604 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37605
37606         * Makeconfig [!+link] (+link-before-libc): New variable.
37607         [!+link] (+link-after-libc): Likewise.
37608         [!+link] (+link-tests): Likewise.
37609         [!+link] (+link): Define in terms of $(+link-before-libc) and
37610         $(+link-after-libc).
37611         [!+link-static] (+link-static-before-libc): New variable.
37612         [!+link-static] (+link-static-after-libc): Likewise.
37613         [!+link-static] (+link-static-tests): Likewise.
37614         [!+link-static] (+link-static): Define in terms of
37615         $(+link-static-before-libc) and $(+link-static-after-libc).
37616         [build-shared] (link-libc-before-gnulib): New variable.
37617         [build-shared] (link-libc-tests): Likewise.
37618         [build-shared] (link-libc): Define in terms of
37619         $(link-libc-before-gnulib).
37620         [!build-shared] (link-libc-tests): New variable.
37621         (link-libc-static-tests): New variable.
37622         [!gnulib] (gnulib-arch): New variable.
37623         [!gnulib] (gnulib-tests): Likewise.
37624         [!gnulib] (static-gnulib-arch): Likewise.
37625         [!gnulib] (static-gnulib-tests): Likewise.
37626         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37627         Define with "=" instead of ":=".
37628         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37629         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37630         * Rules (binaries-all-notests): New variable.
37631         (binaries-all-tests): Likewise.
37632         (binaries-static-notests): Likewise.
37633         (binaries-static-tests): Likewise.
37634         (binaries-all): Define using $(binaries-all-notests) and
37635         $(binaries-all-tests).
37636         (binaries-static): Define using $(binaries-static-notests) and
37637         $(binaries-static-tests).
37638         (binaries-shared-tests): New variable.
37639         (binaries-shared-notests): Likewise.
37640         (binaries-shared): Remove variable.
37641         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37642         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37643         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37644         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37645         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37646         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37647         * elf/Makefile (sln-modules): New variable.
37648         (extra-objs): Add $(sln-modules:=.o).
37649         (ldconfig-modules): Add static-stubs.
37650         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37651         * elf/static-stubs.c: New file.
37652
37653         [BZ #14283]
37654         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37655         by 7 not 8 to examine high bit of fractional part.  Use volatile
37656         variables when splitting into final array of floats if
37657         __FLT_EVAL_METHOD__ != 0.
37658         * math/libm-test.inc (cos_test): Add another test.
37659         (sin_test): Likewise.
37660         * sysdeps/i386/fpu/libm-test-ulps: Update.
37661
37662         [BZ #14273]
37663         * math/libm-test.inc (cosh_test): Add more tests.
37664
37665         * version.h (RELEASE): Set to "development".
37666         (VERSION): Set to "2.16.90".
37667
37668 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37669
37670         * NEWS: Update copyright. Remove last-updated date.
37671         Mention math library bug fixes and timezone data changes.
37672         * README: Mention GNU/Hurd, x32, and HPPA support status.
37673
37674 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37675
37676         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37677
37678 2012-06-27  Andreas Jaeger  <aj@suse.de>
37679
37680         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37681
37682 2012-06-25  Andreas Jaeger  <aj@suse.de>
37683
37684         * sysdeps/s390/fpu/libm-test-ulps: Update.
37685
37686 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37687             Thomas Schwinge  <thomas@codesourcery.com>
37688
37689         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37690         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37691         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37692         fanotify_mark.
37693
37694 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37695
37696         * sysdeps/mach/start.c: Remove file.
37697         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37698         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37699         * sysdeps/sh/init-first.c: Likewise.
37700
37701         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37702         registers for frame unwinding purposes, add CFI directives.
37703         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37704         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37705         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37706         Likewise.
37707
37708         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37709         __fortify_fail returning.
37710         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37711
37712         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37713         sysdeps/sh/____longjmp_chk.S.
37714         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37715         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37716         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37717         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37718
37719         * sysdeps/sh/abort-instr.h: New file.
37720         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37721         process in case exit returns.
37722
37723         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37724         initialize the GOT register before use.
37725
37726         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37727         calculation of ARGC > 4.
37728
37729         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37730         meaningful names to some local labels.
37731
37732 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37733             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37734
37735         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37736         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37737         (__arch_compare_and_exchange_val_16_acq): Likewise.
37738         (__arch_compare_and_exchange_val_32_acq): Likewise.
37739         (atomic_exchange_and_add): Fix gUSA sequence.
37740         (atomic_add): Likewise.
37741         (atomic_add_negative): Likewise.
37742         (atomic_add_zero): Likewise.
37743         (atomic_bit_test_set): Likewise.
37744
37745 2012-06-22  Andreas Schwab  <schwab@redhat.com>
37746
37747         [BZ #13579]
37748         * include/link.h (struct link_map): Add l_free_initfini.
37749         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37750         l_initfini.
37751         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37752         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37753         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37754         set.
37755
37756 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
37757
37758         * configure.in: Use AC_LANG_SOURCE.
37759         * configure: Regenerate.
37760
37761 2012-06-22  Roland McGrath  <roland@hack.frob.com>
37762
37763         * configure.in (libc_cv_localstatedir): New substituted variable.
37764         * configure: Regenerated.
37765         * config.make.in (localstatedir): New variable, substituted from
37766         libc_cv_localstatedir.
37767         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37768         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37769         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37770         * sysdeps/gnu/configure: Regenerated.
37771
37772 2012-06-21  Jeff Law  <law@redhat.com>
37773
37774         [BZ #14277]
37775         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37776         free.  Simplify list management for _LIBC case.
37777
37778 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
37779
37780         [BZ #14273]
37781         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37782         Clear sign bit of 64-bit integer value before comparing against
37783         overflow value.
37784
37785         * sysdeps/mach/configure: Regenerated.
37786
37787 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
37788
37789         [BZ #14278]
37790         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37791
37792 2012-06-21  Jeff Law  <law@redhat.com>
37793
37794         [BZ #13882]
37795         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
37796         uint16_t for elements in the "seen" array to avoid char overflows.
37797         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37798         * elf/dl-open.c (dl_open_worker): Likewise.
37799
37800 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
37801
37802         * scripts/list-sources.sh: Scan PORTS for translations.
37803         * po/libc.pot: Regenerated.
37804
37805 2012-06-21  Andreas Jaeger  <aj@suse.de>
37806
37807         [BZ #12194]
37808         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37809         warning.
37810         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37811         * bits/byteswap-16.h (__bswap_16): Likewise.
37812         * bits/byteswap.h (__bswap_constant_16): Likewise.
37813
37814 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
37815
37816         [BZ #14117]
37817         * sysdeps/i386/fpu_control.h: Removed.
37818         * sysdeps/x86_64/fpu_control.h: Moved to ...
37819         * sysdeps/x86/fpu_control.h: Here.
37820
37821         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37822         (_FPU_SETCW): Likewise.
37823
37824 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
37825
37826         [BZ #14117]
37827         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37828         * sysdeps/x86/fpu/bits/mathinline.h: This.
37829         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37830
37831         [BZ #14050]
37832         [BZ #14117]
37833         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37834         functions if __x86_64__ is defined.
37835
37836 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
37837
37838         * string/endian.h: Add !__ASSEMBLER__ condition for including
37839         conversion interfaces.
37840
37841 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
37842
37843         [BZ #14241]
37844         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37845         of ABS(x) in calculating zero to negative powers other than odd
37846         integers.
37847         * math/libm-test.inc (pow_test): Add more tests.
37848
37849 2012-06-15  Andreas Jaeger  <aj@suse.de>
37850
37851         * manual/contrib.texi (Contributors): Update entry of Liubov
37852         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37853         Machado Filho.
37854
37855 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
37856
37857         * string/string.h: Add __wur to GNU version of strerror_r.
37858
37859 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
37860
37861         [BZ #14229]
37862         * string/Makefile (tests): Add tst-strtok_r.
37863         * string/tst-strtok_r.c: New file.
37864         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37865         RAX_LP/RDX_LP on SAVE_PTR.
37866
37867 2012-06-14  Roland McGrath  <roland@hack.frob.com>
37868
37869         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37870
37871 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
37872
37873         * libm_test.inc (csqrt_test): Allow more spurious underflow
37874         exceptions.
37875         (j0_test): Likewise.
37876         (j1_test): Likewise.
37877         (y0_test): Likewise.
37878         (y1_test): Likewise.
37879
37880 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
37881
37882         * po/Makefile (libc.pot): Use UTF-8 charset.
37883
37884 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
37885
37886         [BZ #14210]
37887         Suppress sign-conversion warning from FD_SET.
37888         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37889         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37890         not unsigned long int.
37891         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37892
37893 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
37894
37895         [BZ #14050]
37896         [BZ #14117]
37897         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37898         __extern_always_inline instead of __extern_inline.
37899         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37900         (__signbit): Likewise.
37901         (__signbitl): Support C++ namespace.
37902         (lrintf): New inline function.
37903         (lrint): Likewise.
37904         (llrintf): Likewise.
37905         (llrint): Likewise.
37906         (fmaxf): Likewise.
37907         (fmax): Likewise.
37908         (fminf): Likewise.
37909         (fmin): Likewise.
37910         (rint): Likewise.
37911         (rintf): Likewise.
37912         (ceil): Likewise.
37913         (ceilf): Likewise.
37914         (floor): Likewise.
37915         (floorf): Likewise.
37916         (nearbyint): Likewise.
37917         (nearbyintf): Likewise.
37918
37919 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
37920
37921         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37922         non-default versions.
37923
37924 2012-06-11  Roland McGrath  <roland@hack.frob.com>
37925
37926         [BZ #14218]
37927         * manual/argp.texi (Argp): Reword argp_parse description slightly.
37928
37929 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
37930
37931         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37932         (FE_UPWARD, FE_DOWNWARD): Don't define.
37933         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37934         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37935
37936         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37937         reading it.
37938         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37939         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37940
37941 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37942
37943         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37944         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37945         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37946         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37947
37948 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
37949
37950         [BZ #14117]
37951         * sysdeps/i386/fpu/bits/fenv.h: Removed.
37952         * sysdeps/i386/fpu/Implies: New file.
37953         * sysdeps/x86_64/fpu/Implies: Likewise.
37954         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37955         * sysdeps/x86/fpu/bits/fenv.h: This.
37956
37957         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37958         __SSE_MATH__.
37959
37960 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37961
37962         [BZ #14134]
37963         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37964         character 0xffff that matches the last element of the
37965         conversion table.
37966
37967 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37968
37969         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37970         fmodl commit.
37971
37972 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37973
37974         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37975         values higher than 25.6283.
37976
37977 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37978
37979         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37980         subnormal exponent extraction and add some __builtin_expect.
37981         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37982         Fix for subnormal mantissa calculation.
37983
37984 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
37985
37986         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37987         cpu2 is -1 and errno is not ENOSYS.
37988
37989 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
37990
37991         [BZ #14117]
37992         * sysdeps/i386/i486/bits/string.h: Renamed to ...
37993         * sysdeps/x86/bits/string.h: This.
37994         * sysdeps/x86_64/bits/string.h: Removed.
37995
37996         * sysdeps/i386/i486/bits/string.h: Define inline functions only
37997         if not compiling for x86-64, but compiling for >= i486.
37998
37999         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38000         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38001
38002         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38003         New macro from Linux kernel 3.4.0.
38004         (FP_XSTATE_MAGIC2): Likewise.
38005         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38006         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38007         (struct _fpx_sw_bytes): New struct.
38008         (struct _xsave_hdr): Likewise.
38009         (struct _ymmh_state): Likewise.
38010         (struct _xstate): Likewise.
38011
38012         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38013         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38014         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38015         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38016         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38017         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38018
38019         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38020         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38021         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38022         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38023         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38024         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38025
38026 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38027
38028         [BZ #13743]
38029         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38030         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38031         (sysdep_headers): Include sys/platform/ppc.h.
38032         * sysdeps/powerpc/test-gettimebase.c: Test for
38033         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38034         * manual/Makefile (appendices): Include platform.texi.
38035         * manual/contrib.texi (Contributors): Update @node pointers.
38036         * manual/maint.texi (Maintenance): Likewise.
38037         (Platform): New node.
38038         * manual/platform.texi: New file.  Document the new features.
38039
38040 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38041             Jakub Jelinek  <jakub@redhat.com>
38042
38043         [BZ #14188]
38044         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38045         where __builtin_expect is unavailable.
38046
38047 2012-06-03  David S. Miller  <davem@davemloft.net>
38048
38049         * stdlib/longlong.h: Updated from GCC.
38050
38051 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38052
38053         [BZ #14042]
38054         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38055         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38056         __mcount_internal.
38057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38058         (GLIBC_2.16): Likewise.
38059
38060 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38061
38062         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38063
38064 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38065
38066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38067         (default-abi): New variable.
38068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38069         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38070         variable.
38071         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38072         Likewise.
38073         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38074         Likewise.
38075         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38076         Likewise.
38077
38078         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38079         definition.  Document in comment.
38080
38081 2012-06-01  David S. Miller  <davem@davemloft.net>
38082
38083         * stdlib/longlong.h: Updated from GCC.
38084
38085 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38086
38087         [BZ #14117]
38088         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38089         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38090         sys/debugreg.h sys/io.h here.
38091         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38092         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38093         sys/io.h.
38094         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38095         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38096         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38097         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38098         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38099         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38100
38101         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38102         Define only if __x86_64__ is defined.
38103
38104 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38105
38106         [BZ #14048]
38107         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38108         Use int64_t for variable i.
38109         * math/libm-test.inc (fmod_test): Add more tests.
38110
38111         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38112         z computation is not scheduled after fetestexcept.
38113         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38114         Use math_force_eval instead of asm to ensure calculation scheduled
38115         before exception test.
38116         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38117         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38118
38119 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38120
38121         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38122         computation is not scheduled after fetestexcept.
38123
38124 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38125
38126         [BZ #14117]
38127         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38128         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38129
38130 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38131
38132         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38133         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38134
38135 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38136
38137         [BZ #14117]
38138         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38139         <bits/wordsize.h>.
38140         (__WCHAR_MIN): Support __WORDSIZE == 64.
38141         (__WCHAR_MAX): Likewise.
38142
38143         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38144         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38145
38146         [BZ #14183]
38147         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38148         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38149
38150         [BZ #14117]
38151         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38152         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38153
38154         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38155         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38156
38157         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38158         Defined to 1 if __x86_64__ isn't defined.
38159         (_STAT_VER_LINUX_OLD): New.
38160         (st_atime): Remove duplicate.
38161         (st_mtime): Likewise.
38162         (st_ctime): Likewise.
38163
38164 2012-05-31  David S. Miller  <davem@davemloft.net>
38165
38166         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38167         entries.
38168
38169 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38170
38171         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38172         gen-libm-test.pl.
38173
38174         [BZ #14132]
38175         * elf/dl-reloc.c: Include <_itoa.h>.
38176         (_dl_reloc_bad_type): Remove use of INTUSE.
38177         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38178         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38179         * stdio-common/psiginfo.c (psiginfo): Likewise.
38180         * stdio-common/psignal.c (psignal): Likewise.
38181         * string/strsignal.c (strsignal): Likewise.
38182         * include/signal.h (_sys_siglist): Declare hidden proto.
38183         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38184         INTVARDEF with libc_hidden_data_def.
38185         * stdio-common/itoa-udigits.c: Likewise.
38186         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38187         (_itoa_lower_digits_internal): Remove declaration.
38188         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38189         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38190         (_sys_sigabbrev_internal): Remove aliases.
38191         (_sys_siglist): Define hidden alias.
38192
38193 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38194
38195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38196         bits/sysctl.h.
38197
38198 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38199
38200         [BZ #14117]
38201         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38202         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38203
38204         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38205         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38206         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38207         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38208         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38209         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38210
38211         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38212         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38213         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38214
38215         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38216         with __addr.
38217         (insw): Likewise.
38218         (insl): Likewise.
38219         (outsb): Likewise.
38220         (outsw): Likewise.
38221         (outsl): Likewise.
38222
38223         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38224         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38225         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38226
38227         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38228         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38229         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38230         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38231         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38232         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38233
38234         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38235         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38236
38237         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38238         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38239
38240         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38241         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38242         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38243
38244         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38245         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38246         to ...
38247         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38248
38249         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38250         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38251         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38252
38253         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38254         for x86-64.
38255         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38256
38257 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38258
38259         * math/math.h (M_El): Use two more decimal places.
38260         (M_LOG2El): Likewise.
38261         (M_LOG10El): Likewise.
38262         (M_LN2l): Likewise.
38263         (M_LN10l): Likewise.
38264         (M_PIl): Likewise.
38265         (M_PI_2l): Likewise.
38266         (M_PI_4l): Likewise.
38267         (M_1_PIl): Likewise.
38268         (M_2_PIl): Likewise.
38269         (M_2_SQRTPIl): Likewise.
38270         (M_SQRT2l): Likewise.
38271         (M_SQRT1_2l): Likewise.
38272
38273 2012-05-31  David S. Miller  <davem@davemloft.net>
38274
38275         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38276         values between float registers.
38277         * sysdeps/sparc/sparc64/memset.S: Likewise.
38278         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38279
38280 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38281
38282         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38283         -D_FORTIFY_SOURCE=1.
38284         (CPPFLAGS-tst-longjmp_chk.c): Define.
38285         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38286         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38287         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38288         CFLAGS-tst-wchar-h.c.
38289
38290 2012-05-31  Marek Polacek  <polacek@redhat.com>
38291
38292         [BZ #14132]
38293         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38294         __endmntent_internal): Remove declaration.
38295         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38296         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38297         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38298
38299 2012-05-30  David S. Miller  <davem@davemloft.net>
38300
38301         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38302         (___Q_simulate_exceptions): Use real FP ops rather than writing
38303         into the %fsr.
38304         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38305         Likewise.
38306
38307 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38308
38309         [BZ #14117]
38310         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38311         * sysdeps/x86/bits/xtitypes.h: This.
38312
38313         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38314         * sysdeps/x86/bits/wordsize.h: This.
38315
38316         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38317         * sysdeps/x86/bits/huge_vall.h: This.
38318
38319         * sysdeps/i386/bits/select.h: Removed.
38320         * sysdeps/x86_64/bits/select.h: Renamed to ...
38321         * sysdeps/x86/bits/select.h: This.
38322
38323         * sysdeps/i386/bits/setjmp.h: Removed.
38324         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38325         * sysdeps/x86/bits/setjmp.h: This.
38326
38327         * sysdeps/i386/bits/mathdef.h: Removed.
38328         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38329         * sysdeps/x86/bits/mathdef.h: This.
38330
38331 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38332
38333         [BZ #14132]
38334         * include/sys/socket.h (__connect_internal)
38335         (__libc_sa_len_internal): Remove declaration.
38336         (__connect, __libc_sa_len): Declare hidden_proto.
38337         (SA_LEN): Remove use of INTUSE.
38338         * socket/connect.c: Add libc_hidden_def.
38339         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38340         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38341         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38342         alias.
38343         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38344         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38345         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38346         of adding _internal alias.
38347
38348 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38349
38350         [BZ #14117]
38351         * sysdeps/i386/bits/link.h: Removed.
38352         * sysdeps/i386/bits/linkmap.h: Likewise.
38353         * sysdeps/x86_64/bits/link.h: Renamed to ...
38354         * sysdeps/x86/bits/link.h: This.
38355         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38356         * sysdeps/x86/bits/linkmap.h: This.
38357
38358         * sysdeps/i386/bits/endian.h: Removed.
38359         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38360         * sysdeps/x86/bits/endian.h: This.
38361
38362         * sysdeps/i386/bits/byteswap.h: Removed.
38363         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38364         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38365         * sysdeps/x86/bits/byteswap.h: This.
38366         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38367         * sysdeps/x86/bits/byteswap-16.h: This.
38368         * sysdeps/i386/Implies: Add x86.
38369         * sysdeps/x86_64/Implies: Likewise.
38370
38371 2012-05-30  David S. Miller  <davem@davemloft.net>
38372
38373         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38374         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38375         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38376         (FP_TRAPPING_EXCEPTIONS): Define.
38377         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38378         (FP_TRAPPING_EXCEPTIONS): Define.
38379         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38380         subnormals only when inexact has been signalled or underflow
38381         exceptions are enabled.
38382         (_FP_PACK_CANONICAL): Likewise.
38383
38384 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38385
38386         [BZ #14183]
38387         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38388         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38389
38390 2012-05-30  Richard Henderson  <rth@twiddle.net>
38391
38392         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38393         with #ifndef NOT_IN_libc.
38394
38395         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38396         marked to avoid plt entry.
38397
38398 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38399
38400         [BZ #14112]
38401         * Makeconfig (default-abi): New macro.
38402         (abi-includes): Likewise.
38403         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38404         $(abi-$(default-abi)-lib-soname) for soname if defined.
38405         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38406         abi-variants.
38407         * Makefile (installed-stubs): Likewise.
38408         * include/stubs-biarch.h: Removed.
38409         * scripts/lib-names.awk: Only handle one library at a time.
38410         * scripts/soversions.awk: Remove WORDSIZE support.
38411         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38412         entries.
38413         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38414         Removed.
38415         (syscall-list-default-condition): Likewise.
38416         (syscall-list-default-condition): Likewise.
38417         (syscall-list-includes): Likewise.
38418         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38419         syscall-list-* with abi-*.  Handle undefined abi-variants.
38420         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38421         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38422         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38423         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38424         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38425         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38426         Removed.
38427         (syscall-list-32-options): Likewise.
38428         (syscall-list-32-condition): Likewise.
38429         (syscall-list-64-options): Likewise.
38430         (syscall-list-64-condition): Likewise.
38431         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38432         macro.
38433         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38434         Renamed to ...
38435         (abi-*): This.
38436         (abi-64-ld-soname): New macro.
38437         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38438         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38439         Renamed to ...
38440         (abi-*): This.
38441         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38442         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38443
38444 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38445
38446         * sysdeps/unix/sysv/linux/kernel-features.h
38447         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38448         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38449         include <kernel-features.h>.
38450         [!__NR_ftruncate64]: Remove conditional code.
38451         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38452         [__NR_ftruncate64]: Make code unconditional.
38453         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38454         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38455         include <kernel-features.h>.
38456         [!__NR_ftruncate64]: Remove conditional code.
38457         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38458         [__NR_ftruncate64]: Make code unconditional.
38459         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38461         include <kernel-features.h>.
38462         [!__NR_ftruncate64]: Remove conditional code.
38463         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38464         [__NR_ftruncate64]: Make code unconditional.
38465         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38467         include <kernel-features.h>.
38468         [!__NR_ftruncate64]: Remove conditional code.
38469         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38470         [__NR_ftruncate64]: Make code unconditional.
38471         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38472
38473         * configure.in (libc_cv_fpie): Weaken to a compile test using
38474         LIBC_TRY_CC_OPTION.
38475         * configure: Regenerated.
38476
38477 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38478
38479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38483         Refreshed.
38484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38490         Refreshed.
38491
38492 2012-05-27  David S. Miller  <davem@davemloft.net>
38493
38494         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38495         (___Q_zero): New.
38496         (__Q_simulate_exceptions): Return void.  Change to simulate
38497         exceptions by writing into the %fsr.
38498         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38499         (__Qp_handle_exceptions): Likewise.
38500         (numbers): Delete.
38501         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38502         __Qp_handle_exceptions.
38503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38504         __Qp_handle_exceptions.
38505         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38506         as unused and give dummy FP_RND_NEAREST initializer.
38507         (FP_INHIBIT_RESULTS): Define.
38508         (___Q_simulate_exceptions): Update declaration.
38509         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38510         formatting.
38511         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38512         as unused and give dummy FP_RND_NEAREST initializer.
38513         (__Qp_handle_exceptions): Update declaration.
38514         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38515         formatting.
38516
38517 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38518
38519         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38520         the temporary FPU control word.
38521         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38522         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38523         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38524         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38525         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38526         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38527         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38528         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38529         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38530         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38531         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38532
38533 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38534
38535         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38536         fields.
38537
38538 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38539
38540         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38541         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38542         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38543         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38544         Likewise.
38545         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38546         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38547         Likewise.
38548
38549 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38550
38551         * po/h.po: Update from translation team.
38552
38553 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38554
38555         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38556
38557         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38558         handling of denormals.
38559         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38560         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38561         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38562         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38563         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38565         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38566         Likewise.
38567
38568 2012-05-26  Marek Polacek  <polacek@redhat.com>
38569
38570         [BZ #14152]
38571         * math/libm-test.inc (fma_test): Don't always expect underflow
38572         exception.
38573
38574 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38575
38576         [BZ #12416]
38577         * elf/tst-execstack.c: Include stackinfo.h.
38578         (do_test): Adjust test case to ensure that pthread_getattr_np
38579         behaviour remains the same after marking stack executable.
38580
38581 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38582
38583         * sysdeps/unix/sysv/linux/kernel-features.h
38584         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38585         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38586         kernel-features.h.
38587         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38588         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38589         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38590         kernel-features.h.
38591         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38592         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38593
38594 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38595
38596         * configure.in: Define the default includes to being none.
38597         * configure: Regenerated.
38598
38599 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38600
38601         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38602         * sysdeps/x86_64/setjmp.S: Likewise.
38603         * sysdeps/i386/bsd-setjmp.S: Likewise.
38604         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38605         * sysdeps/i386/setjmp.S: Likewise.
38606         * sysdeps/i386/__longjmp.S: Likewise.
38607         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38608         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38609
38610         * include/stap-probe.h: New file.
38611         * configure.in: Handle --enable-systemtap.
38612         * configure: Regenerated.
38613         * config.h.in (USE_STAP_PROBE): New #undef.
38614         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38615         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38616         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38617
38618 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38619
38620         [BZ #13717]
38621         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38622         to 2.4.0 where earlier.
38623         * sysdeps/unix/sysv/linux/configure: Regenerated.
38624         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38625         <kernel-features.h>.
38626         [__ASSUME_32BITUIDS]: Make code unconditional.
38627         [!__ASSUME_32BITUIDS]: Remove conditional code.
38628         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38629         <kernel-features.h>.
38630         [__ASSUME_32BITUIDS]: Make code unconditional.
38631         [!__ASSUME_32BITUIDS]: Remove conditional code.
38632         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38633         [__ASSUME_32BITUIDS]: Make code unconditional.
38634         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38635         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38636         <kernel-features.h>.
38637         [__ASSUME_32BITUIDS]: Make code unconditional.
38638         [!__ASSUME_32BITUIDS]: Remove conditional code.
38639         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38640         <kernel-features.h>.
38641         [__ASSUME_32BITUIDS]: Make code unconditional.
38642         [!__ASSUME_32BITUIDS]: Remove conditional code.
38643         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38644         <kernel-features.h>.
38645         [__ASSUME_32BITUIDS]: Make code unconditional.
38646         [!__ASSUME_32BITUIDS]: Remove conditional code.
38647         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38648         <kernel-features.h>.
38649         [__ASSUME_32BITUIDS]: Make code unconditional.
38650         [!__ASSUME_32BITUIDS]: Remove conditional code.
38651         * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
38676         <kernel-features.h>.
38677         [__NR_setresgid] (__setresgid): Do not declare.
38678         [__ASSUME_32BITUIDS]: Make code unconditional.
38679         [!__ASSUME_32BITUIDS]: Remove conditional code.
38680         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38681         <kernel-features.h>.
38682         [__NR_setresuid] (__setresuid): Do not declare.
38683         [__ASSUME_32BITUIDS]: Make code unconditional.
38684         [!__ASSUME_32BITUIDS]: Remove conditional code.
38685         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38686         <kernel-features.h>.
38687         [__ASSUME_32BITUIDS]: Make code unconditional.
38688         [!__ASSUME_32BITUIDS]: Remove conditional code.
38689         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38690         <kernel-features.h>.
38691         [__ASSUME_32BITUIDS]: Make code unconditional.
38692         [!__ASSUME_32BITUIDS]: Remove conditional code.
38693         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38694         <kernel-features.h>.
38695         [__ASSUME_32BITUIDS]: Make code unconditional.
38696         [!__ASSUME_32BITUIDS]: Remove conditional code.
38697         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38698         <kernel-features.h>.
38699         [__ASSUME_32BITUIDS]: Make code unconditional.
38700         [!__ASSUME_32BITUIDS]: Remove conditional code.
38701         * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
38726         (__ASSUME_SETRESUID_SYSCALL): Remove.
38727         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38728         (__ASSUME_32BITUIDS): Likewise.
38729         (__ASSUME_LDT_WORKS): Likewise.
38730         (__ASSUME_O_DIRECTORY): Likewise.
38731         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38732         architecture but not kernel version.
38733         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38734         (__ASSUME_MMAP2_SYSCALL): Likewise.
38735         (__ASSUME_STAT64_SYSCALL): Likewise.
38736         (__ASSUME_IPC64): Likewise.
38737         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38738         <kernel-features.h>.
38739         [__ASSUME_32BITUIDS]: Make code unconditional.
38740         [!__ASSUME_32BITUIDS]: Remove conditional code.
38741         * sysdeps/unix/sysv/linux/opendir.c: Do not include
38742         <kernel-features.h>.
38743         [__ASSUME_O_DIRECTORY]: Make code unconditional.
38744         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38745         132096]: Remove conditional code.
38746         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38747         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38748         <kernel-features.h>.
38749         [__ASSUME_32BITUIDS]: Make code unconditional.
38750         [!__ASSUME_32BITUIDS]: Remove conditional code.
38751         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38752         <kernel-features.h>.
38753         [__ASSUME_32BITUIDS]: Make code unconditional.
38754         [!__ASSUME_32BITUIDS]: Remove conditional code.
38755         * sysdeps/unix/sysv/linux/setegid.c: Do not include
38756         <kernel-features.h>.
38757         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38758         unconditional.
38759         (__setresgid): Do not declare.
38760         [__ASSUME_32BITUIDS]: Make code unconditional.
38761         [!__ASSUME_32BITUIDS]: Remove conditional code.
38762         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38763         <kernel-features.h>.
38764         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38765         unconditional.
38766         (__setresuid): Do not declare.
38767         [__ASSUME_32BITUIDS]: Make code unconditional.
38768         [!__ASSUME_32BITUIDS]: Remove conditional code.
38769         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38770         <kernel-features.h>.
38771         [__ASSUME_32BITUIDS]: Make code unconditional.
38772         [!__ASSUME_32BITUIDS]: Remove conditional code.
38773         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38774         <kernel-features.h>.
38775         [__ASSUME_32BITUIDS]: Make code unconditional.
38776         [!__ASSUME_32BITUIDS]: Remove conditional code.
38777
38778 2012-05-25  Richard Henderson  <rth@twiddle.net>
38779
38780         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38781         dl_hwcap to ifunc resolver.
38782         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38783         elf_ifunc_invoke.
38784         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38785         dl_hwcap to ifunc resolver.
38786         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38787
38788 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38789
38790         [BZ #14153]
38791         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38792         for |x| <= 2**-26, not 2**-57.
38793         * math/libm-test.inc (acos_test): Do not allow spurious underflow
38794         exception.
38795
38796 2012-05-24  Jeff Law  <law@redhat.com>
38797
38798         * stdio-common/Makefile (tests): Add bug25.
38799         * stdio-common/bug25.c: New test.
38800
38801 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38802
38803         [BZ #13576]
38804         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38805         multiple of MALLOC_ALIGNMENT in size.
38806         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38807
38808 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38809
38810         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38811         Require >= 256.
38812         (FILENAME_MAX): Use macro-int-constant.
38813         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
38814         (_IOFBF): Use macro-int-constant.
38815         (_IOLBF): Likewise.
38816         (_IONBF): Likewise.
38817         (SEEK_CUR): Likewise.
38818         (SEEK_END): Likewise.
38819         (SEEK_SET): Likewise.
38820         (TMP_MAX): Likewise.
38821         (EOF): Use macro-int-constant.  Require < 0.
38822         (NULL): Use macro-constant.  Require == 0.
38823         (stdin): Require type to be FILE *.
38824         (stdout): Likewise.
38825         (stderr): Likewise.
38826         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38827         macro-int-constant.
38828         (EXIT_SUCCESS): Likewise.
38829         (NULL): Use macro-constant.  Require == 0.
38830         (RAND_MAX): Use macro-int-constant.
38831         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38832         [C99-based standards] (strtof): Require function.
38833         [C99-based standards] (strtold): Likewise.
38834         [C99-based standards] (strtoll): Likewise.
38835         [C99-based standards] (strtoull): Likewise.
38836         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38837         [ISO || ISO99 || ISO11] (limits.h): Likewise.
38838         [ISO || ISO99 || ISO11] (math.h): Likewise.
38839         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38840         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38841         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38842
38843 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
38844
38845         [BZ #14132]
38846         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38847         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38848         * intl/dgettext.c (DCGETTEXT): Likewise.
38849         * intl/gettext.c (DCGETTEXT): Likewise.
38850         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38851         * posix/regex_internal.h (gettext): Likewise.
38852         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38853         Remove declaration.
38854         * include/argz.h (__argz_count_internal)
38855         (__argz_stringify_internal): Remove declaration.
38856         (__argz_count, __argz_stringify): Declare hidden proto.
38857         * intl/dcgettext.c: Remove use of INTDEF.
38858         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38859         * string/argz-stringify.c: Likewise.
38860         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38861         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38862         Declare hidden proto.
38863         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38864         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38865         Declare hidden proto.
38866         * include/stdio.h (__asprintf_internal): Don't declare.
38867         (__asprintf): Don't define as macro.  Declare hidden proto.
38868         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38869         (__fsetlocking): Declare hidden proto.
38870         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38871         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38872         hidden proto.
38873         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38874         (_IO_setlinebuf): Remove use of INTUSE.
38875         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38876         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38877         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38878         Remove declaration.
38879         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38880         (_IO_do_flush): Remove use of INTUSE.
38881         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38882         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38883         (_IO_adjust_column, _IO_least_wmarker)
38884         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38885         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38886         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38887         (_IO_default_doallocate, _IO_wdefault_doallocate)
38888         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38889         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38890         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38891         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38892         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38893         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38894         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38895         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38896         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38897         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38898         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38899         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38900         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38901         proto.
38902         (_IO_flush_all_internal, _IO_adjust_column_internal)
38903         (_IO_default_uflow_internal, _IO_default_finish_internal)
38904         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38905         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38906         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38907         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38908         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38909         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38910         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38911         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38912         (_IO_file_close_internal, _IO_file_close_it_internal)
38913         (_IO_file_underflow_internal, _IO_file_overflow_internal)
38914         (_IO_file_init_internal, _IO_file_attach_internal)
38915         (_IO_file_fopen_internal, _IO_file_read_internal)
38916         (_IO_file_sync_internal, _IO_file_seek_internal)
38917         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38918         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38919         (_IO_str_underflow_internal, _IO_str_overflow_internal)
38920         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38921         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38922         (_IO_list_all_internal, _IO_link_in_internal)
38923         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38924         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38925         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38926         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38927         (_IO_do_write_internal, _IO_padn_internal)
38928         (_IO_getline_info_internal, _IO_getline_internal)
38929         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38930         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38931         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38932         (_IO_vfscanf_internal, _IO_vfprintf_internal)
38933         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38934         (_IO_init_internal, _IO_un_link_internal): Don't declare.
38935         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38936         with libc_hidden_ver, remove use of INTUSE.
38937         * libio/genops.c: Likewise.
38938         * libio/freopen.c: Likewise.
38939         * libio/freopen64.c: Likewise.
38940         * libio/iofclose.c: Likewise.
38941         * libio/iofdopen.c: Likewise.
38942         * libio/iofflush.c: Likewise.
38943         * libio/iofflush_u.c: Likewise.
38944         * libio/iofgets.c: Likewise.
38945         * libio/iofgets_u.c: Likewise.
38946         * libio/iofopen.c: Likewise.
38947         * libio/iofopncook.c: Likewise.
38948         * libio/iofread.c: Likewise.
38949         * libio/iofread_u.c: Likewise.
38950         * libio/ioftell.c: Likewise.
38951         * libio/iofwrite.c: Likewise.
38952         * libio/iogetline.c: Likewise.
38953         * libio/iogets.c: Likewise.
38954         * libio/iogetwline.c: Likewise.
38955         * libio/iopadn.c: Likewise.
38956         * libio/iopopen.c: Likewise.
38957         * libio/ioseekoff.c: Likewise.
38958         * libio/ioseekpos.c: Likewise.
38959         * libio/iosetbuffer.c: Likewise.
38960         * libio/iosetvbuf.c: Likewise.
38961         * libio/ioungetc.c: Likewise.
38962         * libio/ioungetwc.c: Likewise.
38963         * libio/iovdprintf.c: Likewise.
38964         * libio/iovsprintf.c: Likewise.
38965         * libio/iovsscanf.c: Likewise.
38966         * libio/memstream.c: Likewise.
38967         * libio/obprintf.c: Likewise.
38968         * libio/oldfileops.c: Likewise.
38969         * libio/oldiofclose.c: Likewise.
38970         * libio/oldiofdopen.c: Likewise.
38971         * libio/oldiofopen.c: Likewise.
38972         * libio/oldiopopen.c: Likewise.
38973         * libio/oldstdfiles.c: Likewise.
38974         * libio/putc.c: Likewise.
38975         * libio/setbuf.c: Likewise.
38976         * libio/setlinebuf.c: Likewise.
38977         * libio/stdfiles.c: Likewise.
38978         * libio/strops.c: Likewise.
38979         * libio/vasprintf.c: Likewise.
38980         * libio/vscanf.c: Likewise.
38981         * libio/vsnprintf.c: Likewise.
38982         * libio/vswprintf.c: Likewise.
38983         * libio/wfiledoalloc.c: Likewise.
38984         * libio/wfileops.c: Likewise.
38985         * libio/wgenops.c: Likewise.
38986         * libio/wmemstream.c: Likewise.
38987         * libio/wstrops.c: Likewise.
38988         * libio/__fpurge.c: Likewise.
38989         * libio/__fsetlocking.c: Likewise.
38990         * assert/assert.c: Likewise.
38991         * debug/fgets_chk.c: Likewise.
38992         * debug/fgets_u_chk.c: Likewise.
38993         * debug/fread_chk.c: Likewise.
38994         * debug/fread_u_chk.c: Likewise.
38995         * debug/gets_chk.c: Likewise.
38996         * debug/obprintf_chk.c: Likewise.
38997         * debug/vasprintf_chk.c: Likewise.
38998         * debug/vdprintf_chk.c: Likewise.
38999         * debug/vsnprintf_chk.c: Likewise.
39000         * debug/vsprintf_chk.c: Likewise.
39001         * malloc/mtrace.c: Likewise.
39002         * misc/error.c: Likewise.
39003         * misc/syslog.c: Likewise.
39004         * stdio-common/asprintf.c: Likewise.
39005         * stdio-common/fxprintf.c: Likewise.
39006         * stdio-common/getw.c: Likewise.
39007         * stdio-common/isoc99_fscanf.c: Likewise.
39008         * stdio-common/isoc99_scanf.c: Likewise.
39009         * stdio-common/isoc99_vfscanf.c: Likewise.
39010         * stdio-common/isoc99_vscanf.c: Likewise.
39011         * stdio-common/isoc99_vsscanf.c: Likewise.
39012         * stdio-common/printf-prs.c: Likewise.
39013         * stdio-common/printf_fp.c: Likewise.
39014         * stdio-common/printf_fphex.c: Likewise.
39015         * stdio-common/printf_size.c: Likewise.
39016         * stdio-common/putw.c: Likewise.
39017         * stdio-common/scanf.c: Likewise.
39018         * stdio-common/sprintf.c: Likewise.
39019         * stdio-common/tmpfile.c: Likewise.
39020         * stdio-common/vfprintf.c: Likewise.
39021         * stdio-common/vfscanf.c: Likewise.
39022         * stdlib/strfmon_l.c: Likewise.
39023         * sunrpc/openchild.c: Likewise.
39024         * sunrpc/xdr_stdio.c: Likewise.
39025         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39026         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39027
39028 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39029
39030         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39031
39032         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39033         in the third column, to generate for the shared library an IFUNC
39034         that uses _dl_vdso_vsym.
39035         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39036         * Makeconfig (object-suffixes-noshared): New variable.
39037
39038         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39039         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39040         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39041         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39042
39043         [BZ #14132]
39044         * include/sys/time.h (__gettimeofday): Remove macro.
39045         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39046         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39047         Remove INTDEF.
39048         (__gettimeofday): Add libc_hidden_def.
39049         (gettimeofday): Add libc_hidden_weak.
39050         * sysdeps/mach/gettimeofday.c: Likewise.
39051         * sysdeps/posix/gettimeofday.c: Likewise.
39052         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39053         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39054         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39055         (__gettimeofday_internal): Remove strong_alias.
39056         (__gettimeofday): Add libc_hidden_def.
39057         (gettimeofday): Add libc_hidden_weak.
39058         * sysdeps/unix/syscalls.list (gettimeofday):
39059         Remove __gettimeofday_internal alias.
39060
39061 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39062             H.J. Lu  <hongjiu.lu@intel.com>
39063
39064         [BZ #12495]
39065         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39066         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39067         (largebin_index_32_big): New.
39068         (largebin_index): Use it for 16-byte alignment.
39069         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39070         correction with front_misalign.
39071
39072 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39073
39074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39076         Likewise.
39077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39078         Likewise.
39079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39080         Likewise.
39081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39082         Likewise.
39083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39084         Likewise.
39085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39086         Likewise.
39087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39088         Likewise.
39089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39090         Likewise.
39091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39092         Likewise.
39093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39094         Likewise.
39095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39096         Likewise.
39097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39098         Likewise.
39099
39100         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39101         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39102
39103 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39104
39105         [BZ #10846]
39106         [BZ #14036]
39107         * math/libm-test.inc (exp_test): Add test from bug 14036.
39108         (pow_test): Add test from bug 10846.
39109
39110         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39111         and other flags.
39112         (special_function): Do not include flags in test name.
39113         (parse_args): Likewise.
39114         * sysdeps/i386/fpu/libm-test-ulps: Update.
39115         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39116         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39117         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39119
39120         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39121         exceptions.
39122         * math/libm-test.inc ("Philosophy"): Update comment about
39123         exception testing.
39124         (UNDERFLOW_EXCEPTION): New macro.
39125         (UNDERFLOW_EXCEPTION_OK): Likewise.
39126         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39127         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39128         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39129         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39130         (INVALID_EXCEPTION_OK): Update value.
39131         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39132         (OVERFLOW_EXCEPTION_OK): Likewise.
39133         (IGNORE_ZERO_INF_SIGN): Likewise.
39134         (test_exceptions): Handle underflow exceptions.
39135         (acos_test): Update for underflow exception expectations.
39136         (cexp_test): Likewise.
39137         (clog_test): Likewise.
39138         (clog10_test): Likewise.
39139         (csqrt_test): Likewise.
39140         (ctan_test): Likewise.
39141         (ctanh_test): Likewise.
39142         (exp_test): Likewise.
39143         (exp10_test): Likewise.
39144         (exp2_test): Likewise.
39145         (expm1_test): Likewise.
39146         (fma_test): Likewise.
39147         (j0_test): Likewise.
39148         (jn_test): Likewise.
39149         (nexttoward_test): Likewise.
39150         (pow_test): Likewise.
39151         (scalbn_test): Likewise.
39152         (scalbln_test): Likewise.
39153         (tan_test): Likewise.
39154         (y1_test): Likewise.
39155         * sysdeps/i386/fpu/libm-test-ulps: Update.
39156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39157
39158 2012-05-23  David S. Miller  <davem@davemloft.net>
39159
39160         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39161         (__libc_sigaction): Remove unused local variables.
39162
39163 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39164
39165         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39166
39167 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39168
39169         mktime: avoid signed integer overflow
39170         * time/mktime.c (__mktime_internal): Do not mishandle the case
39171         where diff == INT_MIN.
39172
39173         mktime: simplify computation of average
39174         * time/mktime.c (ranged_convert): Use new time_t_avg function
39175         instead of rolling our own (probably-slower) code.
39176
39177         mktime: do not assume signed right shift propagates sign bit
39178         * time/mktime.c (isdst_differ): New static function.
39179         (__mktime_internal): No need to normalize tm_isdst now.
39180         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39181         tm_isdst values.
39182
39183         mktime: merge another wrapv change from gnulib
39184         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39185         from some compilers.
39186
39187         mktime: remove incorrect attempt at unusual arithmetics
39188         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39189         The code didn't really work on such machines anyway.
39190         (TYPE_MINIMUM): Assume two's complement.
39191         (twos_complement_arithmetic): Verify that long_int and time_t
39192         are two's complement (or unsigned, in the latter case).
39193
39194         mktime: check signed shifts on long_int and time_t, too
39195         * time/mktime.c (SHR): Check that shifts work as desired
39196         on the types long_int and time_t too, as SHR is used on
39197         such types.
39198
39199         mktime: do not assume 'long' is wide enough
39200         * time/mktime.c (verify): Move decl up.
39201         (long_int): New type.
39202         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39203         to remove assumption in the code that 'long' is wide enough to
39204         store year values.  This assumption is not true on x32 and on
39205         some non-glibc platforms.
39206
39207         mktime: merge wrapv change from gnulib
39208         * time/mktime.c (WRAPV): New macro.
39209         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39210         (guess_time_tm, __mktime_internal): Do not assume that signed
39211         integer overflow wraps around; modern compilers generate code
39212         where this assumption is no longer valid.
39213
39214 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39215
39216         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39217         Replace "jmp L(pseudo_end)" with "ret".
39218         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39219         Likewise.
39220
39221 2012-05-23  Andreas Jaeger  <aj@suse.de>
39222
39223         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39224         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39225
39226 2012-05-23  Andreas Jaeger  <aj@suse.de>
39227             Maximilian Attems  <max@stro.at>
39228
39229         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39230         New macros.
39231
39232 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39233
39234         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39235         code so that pseudo_end is just ret and the stack pointer is
39236         correct also for static library in error case.
39237
39238 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39239
39240         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39241         move to syscalls.list.
39242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39246
39247         * manual/install.texi (Running make install): Do not mention Linux
39248         kernel version for which pt_chown is not needed.
39249         (Linux): Do not mention problems with nscd with 2.0 kernels.
39250         * INSTALL: Regenerated.
39251
39252 2012-05-23  Andreas Jaeger  <aj@suse.de>
39253
39254         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39255         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39256         macro.
39257         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39258         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39259         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39260         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39261         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39262         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39263         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39264         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39265         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39266         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39267         * sysdeps/unix/sysv/linux/bits/in.h
39268         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39269
39270 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39271
39272         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39273         (PREPARE_VERSION): Just use assert instead, it will be elided
39274         under [NDEBUG] anyway.
39275
39276 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39277
39278         * sysdeps/unix/sysv/linux/Makefile: Include
39279         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39280         (sysdep_routines): Remove sysctl.
39281         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39282         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39283         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39284         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39285         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39286
39287 2012-05-22  Andreas Jaeger  <aj@suse.de>
39288
39289         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39290         that pseudo_end is just ret and the stack pointer is correct also
39291         for static library in error case.
39292
39293 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39294
39295         [BZ #14122]
39296         * nss/nsswitch.c (defconfig_entries): New variable.
39297         (__nss_database_lookup): Don't leak defconfig entries.
39298         (nss_parse_service_list): Don't leak on error paths.
39299         (free_database_entries): New function.
39300         (free_defconfig): New function.
39301         (free_mem): Move common code to free_database_entries.
39302
39303 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39304
39305         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39306         Add arch_prctl.
39307         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39308
39309         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39310         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39311         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39312         New macro.
39313         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39314         (INTERNAL_SYSCALL_TYPES): Likewise.
39315         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39316         (LOAD_REGS_TYPES_[1-6]): Likewise.
39317         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39318         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39319
39320 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39321
39322         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39323         copysignl for GLIBC_2_0.
39324         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39325         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39326         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39327         logbl for GLIBC_2_0.
39328         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39329         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39330
39331 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39332
39333         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39334         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39335
39336         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39337         Use "neg %eax".
39338
39339         * time/mktime.c: Update copyright years.
39340
39341 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39342
39343         mktime: merge comment-quoting-style change from gnulib
39344         * time/mktime.c: Quote 'like this' in comments.
39345         The GNU coding standards suggest that we no longer quote `like this',
39346         as "`" and "'" are typically rendered asymmetrically nowadays.
39347         The typical gnulib style is to quote 'like this' when quoting
39348         code, and "like this" when quoting English.
39349
39350         * time/mktime.c (compile-command): Add "-I.".
39351
39352         mktime: merge mktime-internal.h change from gnulib
39353         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39354
39355         mktime: merge time_r change from gnulib
39356         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39357
39358         mktime: merge DEBUG change from gnulib
39359         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39360         case system <time.h> has a #define.
39361
39362         mktime: merge <sys/types.h> change from gnulib
39363         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39364         since <time.t> is now guaranteed to define time_t.
39365
39366         mktime: merge HAVE_CONFIG_H change from gnulib
39367         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39368
39369 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39370
39371         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39372         Use "neg %eax".
39373
39374         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39375         __rlim_t cast.
39376         (struct rusage): Use anonymous union to pad each field to
39377         __syscall_slong_t.
39378
39379 2012-05-21  David S. Miller  <davem@davemloft.net>
39380
39381         * Makefules (o-iterator): Remove .s cases.
39382         (compile-command.s): Delete.
39383         (COMPILE.s): Delete.
39384         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39385
39386 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39387
39388         * configure.in (libc_cv_predef_stack_protector): Only consider
39389         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39390         * configure: Regenerated.
39391
39392 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39393
39394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39395         New macro.  Use R*LP on int and pointer.
39396         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39397         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39398         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39399         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39400
39401         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39402         [__WORDSIZE_TIME64_COMPAT32] instead of
39403         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39404         (struct utmp): Likewise.
39405         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39406         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39407         Renamed to ...
39408         (__WORDSIZE_TIME64_COMPAT32): This.
39409         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39410         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39411         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39412         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39413         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39414         (__WORDSIZE_TIME64_COMPAT32): New macro.
39415
39416 2012-05-21  Andreas Jaeger  <aj@suse.de>
39417
39418         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39419         only if [SHARED]. Add prototype for __wcschr_ia32.
39420
39421 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39422
39423         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39424         of %rbp unmolested in the jmp_buf while mangling the low bits.
39425         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39426         unmolested high bits of %rbp while demangling the low bits.
39427         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39428
39429 2012-05-21  Andreas Jaeger  <aj@suse.de>
39430
39431         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39432         * sunrpc/svc_simple.c: Use it for registerrpc.
39433         * sunrpc/xcrypt.c: Use it for passwd2des.
39434
39435         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39436
39437 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39438
39439         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39440         Don't define if [__SYSCALL_WORDSIZE != 32].
39441         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39442         New macro.
39443
39444 2012-05-21  Bruno Haible  <bruno@clisp.org>
39445             Andreas Jaeger  <aj@suse.de>
39446
39447         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39448         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39449         inptr and inend for must_buffer_ch.
39450         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39451         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39452         * stdio-common/Makefile (tests): Remove bug15.
39453         (bug15-ENV): Remove macro.
39454         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39455         anymore.
39456
39457 2012-05-19  Andreas Jaeger  <aj@suse.de>
39458             Roland McGrath  <roland@hack.frob.com>
39459
39460         * manual/contrib.texi: Completely rewritten. It contains now an
39461         alphabetical list of contributors and their contributions.
39462
39463 2012-05-21  Richard Henderson  <rth@twiddle.net>
39464
39465         * misc/getauxval.c (__getauxval): Use unsigned long int.
39466         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39467         (getauxval): Use unsigned long int.
39468
39469 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39470
39471         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39472
39473 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39474
39475         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39476         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39477         __alignof__ (long double).
39478
39479 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39480
39481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39482
39483 2012-05-20  Richard Henderson  <rth@twiddle.net>
39484
39485         * misc/getauxval.c: New file.
39486         * misc/sys/auxv.h: New file.
39487         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39488         (routines): Add getauxval.
39489         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39490         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39491         * elf/dl-sysdep.c (_dl_auxv): Remove.
39492         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39493         * elf/dl-support.c (_dl_auxv): New variable.
39494         (_dl_aux_init): Initialize it.
39495         * manual/startup.texi (Auxiliary Vector): New node.
39496         * sysdeps/generic/bits/hwcap.h: New file.
39497         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39498         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39499         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39500         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39501         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39502         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39504         Update.
39505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39508         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39513
39514 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39515
39516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39517
39518 2012-05-19  David S. Miller  <davem@davemloft.net>
39519
39520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39521
39522 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39523
39524         [BZ #14123]
39525         * math/s_ccosh.c: Include <float.h>
39526         (__ccosh): Avoid internal overflow calculating sinh and cosh
39527         values before multiplying by sin and cos values.
39528         * math/s_ccoshf.c: Likewise.
39529         * math/s_ccoshl.c: Likewise.
39530         * math/s_csin.c: Likewise.
39531         * math/s_csinf.c: Likewise.
39532         * math/s_csinl.c: Likewise.
39533         * math/s_csinh.c: Likewise.
39534         * math/s_csinhf.c: Likewise.
39535         * math/s_csinhl.c: Likewise.
39536         * math/libm-test.inc (ccos_test): Add more tests.
39537         (ccosh_test): Likewise.
39538         (csin_test): Likewise.
39539         (csinh_test): Likewise.
39540         * sysdeps/i386/fpu/libm-test-ulps: Update.
39541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39542
39543 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39544
39545         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39546         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39547
39548         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39549
39550 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39551
39552         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39553         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39554         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39555         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39556         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39557         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39558         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39559         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39560         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39561         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39562         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39563         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39564         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39565         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39566         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39567         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39568         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39569         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39570         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39571         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39572         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39573         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39574         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39575         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39576         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39577         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39578         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39579         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39580         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39581         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39582         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39583
39584 2012-05-18  Andreas Jaeger  <aj@suse.de>
39585
39586         * csu/.gitignore: Delete.
39587
39588 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39589
39590         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39591         (timex): Use __syscall_slong_t.
39592
39593 2012-05-18  Andreas Jaeger  <aj@suse.de>
39594             Carlos O'Donell  <carlos_odonell@mentor.com>
39595
39596         * manual/install.texi (Configuring and compiling): Update
39597         description about files modified in the source directory.
39598         * INSTALL: Regenerated.
39599
39600 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39601
39602         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39603         value.  Use "or" to set return value to -1.
39604         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39605         negate return value.
39606
39607 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39608
39609         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39610         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39611         failure if the compiler has Graphite support disabled.
39612         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39613         Likewise.
39614         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39615         (CFLAGS-memmove.c): Likewise.
39616         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39617         Likewise.
39618
39619 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39620
39621         * sysdeps/x86_64/x32/_itoa.h: New file.
39622
39623         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39624         getdents system call only if kernel and user dirents have the
39625         same d_ino and d_off.
39626
39627         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39628         LLONG_MAX != LONG_MAX.
39629         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39630         (_fitoa_word): Likewise.
39631
39632         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39633         years.
39634         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39635         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39636         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39637
39638         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39639         include <bits/wordsize.h>.  Check __x86_64__ instead of
39640         __WORDSIZE.
39641         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39642         if __x86_64__ is defined.  Use anonymous union on fpstate.
39643
39644         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39645         anonymous union.
39646
39647 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39648
39649         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39650         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39651         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39652         Refer to _rtld_local_ro instead of _rtld_global_ro.
39653         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39654         Likewise.
39655         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39656         Likewise.
39657         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39658         Likewise.
39659         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39660         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39661         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39662
39663         * sysdeps/powerpc/powerpc32/dl-machine.c
39664         (__elf_machine_runtime_setup) [PROF]: Don't reference
39665         _dl_prof_resolve.
39666
39667 2012-05-18  Andreas Jaeger  <aj@suse.de>
39668
39669         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39670         function only available for GCCs before 3.4 since GCC 3.4
39671         introduced a builtin.
39672         (lrint): Likewise.
39673         (llrintf): Likewise.
39674         (llrint): Likewise.
39675         (fmaxf): Likewise.
39676         (fmax): Likewise.
39677         (fminf): Likewise.
39678         (fmin): Likewise.
39679         (rint): Likewise.
39680         (rintf): Likewise.
39681         (nearbyint): Likewise.
39682         (nearbyintf): Likewise.
39683         (ceil): Likewise.
39684         (ceilf): Likewise.
39685         (floor): Likewise.
39686         (floorf): Likewise.
39687
39688 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39689
39690         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39691         on both fields and cast pointer to __syscall_ulong_t.
39692
39693         * bits/types.h (__fsword_t): New type.
39694         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39695         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39696         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39697         (__FSWORD_T_TYPE): Likewise.
39698         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39699         (__FSWORD_T_TYPE): Likewise.
39700         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39701         (__FSWORD_T_TYPE): Likewise.
39702         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39703         (__FSWORD_T_TYPE): Likewise.
39704         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39705         __SWORD_TYPE with __fsword_t.
39706         (statfs64): Likewise.
39707
39708 2012-05-17  David S. Miller  <davem@davemloft.net>
39709
39710         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39711
39712 2012-05-17  Andreas Jaeger  <aj@suse.de>
39713
39714         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39715         warning.
39716
39717 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39718
39719         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39720
39721 2012-05-17  Andreas Jaeger  <aj@suse.de>
39722
39723         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39724         when it is used.
39725
39726 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39727
39728         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39729
39730 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39731
39732         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39733         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39734
39735 2012-05-17  Andreas Jaeger  <aj@suse.de>
39736             Carlos O'Donell  <carlos_odonell@mentor.com>
39737
39738         [BZ #14059]
39739         * sysdeps/x86_64/multiarch/init-arch.h
39740         (bit_YMM_Usable): Rename to...
39741         (bit_AVX_Usable): ... this.
39742         (bit_FMA4_Usable): New macro.
39743         (bit_XMM_state): New macro.
39744         (bit_YMM_state): New macro.
39745         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39746         [__ASSEMBLER__] (index_AVX_Usable): ... this.
39747         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39748         (CPUID_OSXSAVE): New macro.
39749         (CPUID_AVX): New macro.
39750         (CPUID_FMA4): New macro.
39751         (index_YMM_Usable): Rename to...
39752         (index_AVX_Usable): ... this.
39753         (HAS_AVX): Use HAS_ARCH_FEATURE.
39754         (HAS_FMA4): Likewise.
39755         (HAS_YMM_USABLE): Remove.
39756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39757         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39758         are present.
39759         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39760         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39761         * sysdeps/x86_64/multiarch/Makefile: Likewise.
39762         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39763         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39764
39765 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39766
39767         * math/libm-test.c: Support platforms without multiple rounding modes.
39768         * math/bug-nextafter.c: Support platforms without FP exceptions.
39769         * math/bug-nexttoward.c: Likewise.
39770         * math/test-fenv.c: Likewise.
39771         * math/test-misc.c: Likewise.
39772         * stdlib/bug-getcontext.c: Likewise.
39773
39774 2012-05-17  Andreas Jaeger  <aj@suse.de>
39775
39776         * manual/examples/search.c (critter_cmp): Change signature to
39777         avoid warnings.
39778         * manual/string.texi (Collation Functions): Likewise.
39779
39780 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39781
39782         * bits/types.h: Fold copyright years.
39783         * bits/typesizes.h: Likewise.
39784         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39785         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39786         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39787         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39788         * time/time.h: Likewise.
39789
39790 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
39791
39792         [BZ #208]
39793         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39794         in instead of returning them.  Return void.
39795         (__libc_mallinfo): Accumulate over all arenas.
39796         (__malloc_stats): Adjust for change in int_mallinfo interface.
39797
39798 2012-05-16  Roland McGrath  <roland@hack.frob.com>
39799
39800         [BZ #10375]
39801         * configure.in (NM): Add AC_CHECK_TOOL for it.
39802         (libc_extra_cflags): New substituted variable.
39803         Check for -fstack-protector being used implicitly.
39804         * configure: Regenerated.
39805         * config.make.in (config-extra-cflags): New variable,
39806         gets @libc_extra_cflags@.
39807         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39808
39809         [BZ #10375]
39810         * configure.in: Check for _FORTIFY_SOURCE being predefined.
39811         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39812         * configure: Regenerated.
39813         * config.make.in (CPPUNDEFS): New substituted variable.
39814         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39815         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39816         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39817
39818 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39819
39820         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39821         (mq_attr): Use __syscall_slong_t.
39822
39823 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39824
39825         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39826         Check __x86_64__ instead of __WORDSIZE.
39827         (_STAT_VER_LINUX): Likewise.
39828         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
39829         __syscall_ulong_t and __syscall_slong_t.
39830         (stat64): Likewise.
39831
39832 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39833
39834         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39835
39836 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39837
39838         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39839
39840 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39841
39842         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39843         __syscall_ulong_t.
39844
39845         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39846         include <bits/wordsize.h>.  Check __x86_64__ instead of
39847         __WORDSIZE.
39848         (greg_t): Use "__extension__ long long int" if __x86_64__ is
39849         defined.
39850         (mcontext_t): Replace "unsigned long" with "unsigned long long".
39851
39852         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39853         include <bits/wordsize.h>.  Check __x86_64__ instead of
39854         __WORDSIZE.
39855         (user_regs_struct): Use "__extension__ unsigned long long"
39856         instead of "unsigned long" if __x86_64__ is defined.
39857         (user): Likewise.  Pad after pointer field if __ILP32__ is
39858         defined.
39859
39860 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
39861
39862         * configure.in (makeinfo): Require version 4.5 or later.  Allow
39863         versions 5 to 9.
39864         * configure: Regenerated.
39865         * manual/install.texi (texinfo): Increase version requirement to
39866         4.5 or later.
39867         * INSTALL: Regenerated.
39868
39869         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39870
39871 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39872
39873         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39874
39875         * sysdeps/x86_64/x32/ffs.c: New file.
39876
39877         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39878         __syscall_ulong_t.
39879         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39880         defined.  Use __syscall_ulong_t.
39881         (shminfo): Use __syscall_ulong_t.
39882         (shm_info): Likewise.
39883
39884         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39885         __syscall_ulong_t.
39886
39887         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39888         <bits/wordsize.h>.
39889         (msgqnum_t): Use __syscall_ulong_t.
39890         (msglen_t): Likewise.
39891         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
39892         __syscall_ulong_t.
39893
39894         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39895         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39896
39897         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39898
39899         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39900         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39901
39902         * sysvipc/sys/msg.h (msgbuf): Replace long int with
39903         __syscall_slong_t.
39904
39905         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39906         include <bits/wordsize.h>.  Check __x86_64__ instead of
39907         __WORDSIZE.
39908
39909         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39910         "unsigned long long int" if __x86_64__ is defined.
39911         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39912
39913         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39914         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39915         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39916
39917         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39918         <stdint.h>.
39919         (GET_PC): Cast to uintptr_t first.
39920         (GET_FRAME): Likewise.
39921         (GET_STACK): Likewise.
39922
39923         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39924         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39925         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39926         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39927         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39928         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39929         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39930         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39931         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39932         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39933         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39934         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39935         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39936         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39937         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39938         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39939         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39940         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39941         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39942         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39943         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39944         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39945         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39946         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39947         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39948         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39949         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39950         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39951         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39952
39953 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
39954
39955         * Makerules (+depfiles): Also collect depfiles from .oS in
39956         $(extra-objs).
39957         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39958         .oS, $(libnldbl-routines)).
39959
39960         * Makerules (native-compile-mkdep-flags): Define.
39961         * sunrpc/Makefile (extra-objs): Add $(addprefix
39962         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39963         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39964         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
39965         calling $(make-target-directory).
39966
39967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39968
39969         * bits/types.h (__snseconds_t): Removed.
39970         * time/time.h (struct timespec): Replace __snseconds_t with
39971         __syscall_slong_t.
39972         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39973         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39974         Likewise.
39975         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39976         (__SNSECONDS_T_TYPE): Likewise.
39977         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39978         (__SNSECONDS_T_TYPE): Likewise.
39979         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39980         (__SNSECONDS_T_TYPE): Likewise.
39981
39982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39983
39984         * sysdeps/mach/hurd/bits/typesizes.h
39985         (__SYSCALL_SLONG_TYPE): New macro.
39986         (__SYSCALL_ULONG_TYPE): Likewise.
39987
39988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39989
39990         * bits/types.h (__syscall_slong_t): New type.
39991         (__syscall_ulong_t): Likewise.
39992
39993         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39994         (__SYSCALL_ULONG_TYPE): Likewise.
39995         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39996         (__SYSCALL_SLONG_TYPE): Likewise.
39997         (__SYSCALL_ULONG_TYPE): Likewise.
39998         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39999         (__SYSCALL_SLONG_TYPE): Likewise.
40000         (__SYSCALL_ULONG_TYPE): Likewise.
40001         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40002         (__SYSCALL_SLONG_TYPE): Likewise.
40003         (__SYSCALL_ULONG_TYPE): Likewise.
40004
40005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40006
40007         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40008         Add sigaltstack-offsets.sym.
40009         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40010         <sigaltstack-offsets.h>.
40011         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40012         longjmp_msg pointer.
40013         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40014         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40015         signal stack.
40016         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40017
40018 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40019
40020         * elf/stackguard-macros.h: Remove file.
40021         * sysdeps/generic/stackguard-macros.h: New file.
40022         * sysdeps/i386/stackguard-macros.h: Likewise.
40023         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40024         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40025         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40026         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40027         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40028         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40029         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40030         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40031         <elf/stackguard-macros.h>.
40032
40033         [BZ #14109]
40034         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40035         __aligned__ in attribute.
40036         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40037         (gregset_t): Likewise.
40038
40039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40040
40041         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40042         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40043         * sysdeps/x86_64/x32/Implies-after: New file.
40044
40045 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40046
40047         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40048         and access return value for _dl_profile_fixup.  Use R10_LP to
40049         load frame size.
40050
40051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40052
40053         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40054
40055 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40056
40057         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40058         * sysdeps/x86_64/x32/sysdep.h: New file.
40059
40060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40061
40062         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40063         * sysdeps/x86_64/setjmp.S: Likewise.
40064
40065 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40066
40067         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40068         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40069         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40070         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40071         remove unused global constant.
40072
40073 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40074
40075         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40076         include of <not-cancel.h>.
40077
40078 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40079
40080         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40081
40082 2012-05-15  Jeff Law  <law@redhat.com>
40083             Andreas Jaeger  <aj@suse.de>
40084
40085         [BZ #13594]
40086         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40087         out from...
40088         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40089         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40090         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40091         code changing __hst_map_handle.map.
40092
40093 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40094
40095         * configure.in (sysnames): Look for Implies-before and Implies-after
40096         files.
40097         * configure: Regenerated.
40098
40099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40100
40101         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40102         8-byte data alignment with LP_SIZE alignment.
40103
40104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40105
40106         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40107         into R10_LP.
40108
40109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40110
40111         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40112
40113 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40114
40115         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40116         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40117         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40118         Likewise.
40119         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40120
40121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40122
40123         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40124         (stackinfo_sub_sp): Likewise.
40125
40126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40127
40128         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40129         RAX_LP.
40130
40131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40132
40133         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40134         into R*_LP.
40135
40136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40137
40138         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40139         sizes into R*_LP.
40140
40141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40142
40143         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40144
40145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40146
40147         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40148         into R11_LP and load __x86_64_shared_cache_size_half into
40149         R8_LP.
40150
40151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40152
40153         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40154         R8_LP.
40155
40156 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40157
40158         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40159         logb for POWER7.
40160         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40161         logbf for POWER7.
40162         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40163         logbl for POWER7.
40164         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40165         powerpc32/power7/fpu/s_logb.c via #include.
40166         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40167         powerpc32/power7/fpu/s_logbf.c via #include.
40168         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40169         powerpc32/power7/fpu/s_logbl.c via #include.
40170
40171 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40172
40173         * README.libm: Remove file.
40174
40175 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40176
40177         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40178         count for x32.  Use R*_LP and omit operand-size suffix.
40179
40180 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40181
40182         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40183         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40184         * sysdeps/x86_64/x32/shlib-versions: New file.
40185
40186 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40187
40188         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40189         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40190         Use _dl_fatal_printf instead.
40191
40192 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40193
40194         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40195         set if not set by the user.  Do not allow for being unset.
40196         * sysdeps/unix/sysv/linux/configure: Regenerated.
40197
40198 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40199
40200         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40201         the `q' suffix from lea and replace .quad with ASM_ADDR.
40202
40203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40204
40205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40206         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40207         instead of $17.
40208         (PTR_DEMANGLE): Likewise.
40209
40210 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40211
40212         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40213         (LP_OP): Likewise.
40214         (ASM_ADDR): Likewise.
40215         (RAX_LP): Likewise.
40216         (RBP_LP): Likewise.
40217         (RBX_LP): Likewise.
40218         (RCX_LP): Likewise.
40219         (RDI_LP): Likewise.
40220         (RSI_LP): Likewise.
40221         (RSP_LP): Likewise.
40222         (R8_LP): Likewise.
40223         (R9_LP): Likewise.
40224         (R10_LP): Likewise.
40225         (R10_LP): Likewise.
40226         (R11_LP): Likewise.
40227         (R12_LP): Likewise.
40228         (R13_LP): Likewise.
40229         (R14_LP): Likewise.
40230         (R15_LP): Likewise.
40231
40232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40233
40234         * sysdeps/x86_64/x32/dl-machine.h: New file.
40235
40236 2012-05-14  Andreas Jaeger  <aj@suse.de>
40237
40238         * manual/Makefile (subdir): Remove export of subdir.
40239         (all): Remove target.
40240         (.PHONY): Remove all from list.
40241         (mkinstalldirs): Remove.
40242         (.PHONY): Remove installdirs from list.
40243         ($(inst_infodir)/libc.info): Use make-target-directory.
40244         (installdirs): Remove.
40245         (subdir_%): Remove.
40246         (glibc-targets): Remove.
40247         (lib): Remove.
40248         (stubs): Remove.
40249         ($(objpfx)stubs ../po/manual.pot): Remove.
40250         ($(objpfx)stamp%): Remove.
40251         (make-target-directory): Remove.
40252         (subdir_install): Remove.
40253         (routines): Remove.
40254         (aux): Remove.
40255         (sources): Remove.
40256         (objects): Remove.
40257         (headers): Remove.
40258
40259         [BZ #13750]
40260         * manual/.gitignore: Remove, it's not needed anymore.
40261         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40262         all files in it.
40263         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40264         directory.
40265         (texis): Renamed to $(objpfx)texis.
40266         (texis-path): New, contains path to generated files.
40267         (chapters.%): Use texis-path for complete path, add extra argument
40268         libc-texinfo.sh.
40269         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40270         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40271         (summary,texi, stamp-summary): Use complete path of
40272         files. Generate files in build dir.
40273         (dir-add.texi): Build in build dir.
40274         (libm-err.texi,stamp-libm-err): Likewise.
40275         (version.texi, stamp-version): Likewise.
40276         (.%c.texi): Likewise.
40277         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40278         (mostlyclean): Remove target.
40279         (realclean): Remove target.
40280         (generated): Add new variable with contents from mostlyclean and
40281         realclean, remove entries duplicated in common-mostlyclean, add
40282         stamp-libm-err and stamp-version.
40283         (generated-dirs): Add libc directory.
40284         ($(inst_infodir)/libc.info): Install files from build dir.
40285
40286         * manual/install.texi (Configuring and compiling): Adjust since
40287         the info files are not part of the tar ball anymore.
40288
40289 2012-05-14  Andreas Jaeger  <aj@suse.de>
40290
40291         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40292         variable.
40293
40294 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40295
40296         [BZ #13717]
40297         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40298         to 2.2.0 where earlier.
40299         * sysdeps/unix/sysv/linux/configure: Regenerated.
40300         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40301         Remove conditional code.
40302         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40303         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40304         Remove conditional code.
40305         [!__NR_lchown]: Likewise.
40306         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40307         [__NR_lchown]: Likewise.
40308         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40309         comment referencing __ASSUME_LCHOWN_SYSCALL.
40310         * sysdeps/unix/sysv/linux/i386/sigaction.c
40311         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40312         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40313         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40314         Remove conditional code.
40315         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40316         (__protocol_available): Remove #if 0 code.
40317         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40318         conditional code.
40319         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40320         * sysdeps/unix/sysv/linux/kernel-features.h
40321         (__ASSUME_GETCWD_SYSCALL): Don't define.
40322         (__ASSUME_REALTIME_SIGNALS): Likewise.
40323         (__ASSUME_PREAD_SYSCALL): Likewise.
40324         (__ASSUME_PWRITE_SYSCALL): Likewise.
40325         (__ASSUME_POLL_SYSCALL): Likewise.
40326         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40327         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40328         non-SPARC.
40329         (__ASSUME_SIOCGIFNAME): Don't define.
40330         (__ASSUME_MSG_NOSIGNAL): Likewise.
40331         (__ASSUME_SENDFILE): Define unconditionally.
40332         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40333         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40334         conditional code.
40335         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40336         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40337         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40338         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40339         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40340         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40341         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40343         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40344         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40346         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40347         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40349         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40350         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40352         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40353         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40355         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40356         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40358         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40359         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40361         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40362         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40364         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40365         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40366         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40367         Remove conditional code.
40368         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40369         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40370         Remove conditional code.
40371         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40372         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40373         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40374         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40375         Remove conditional code.
40376         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40377         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40378         Remove conditional code.
40379         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40380         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40381         Remove conditional code.
40382         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40383         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40384         Remove conditional code.
40385         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40386         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40387         Remove conditional code.
40388         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40389         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40390         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40391         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40392         * sysdeps/unix/sysv/linux/sigaction.c
40393         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40394         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40395         * sysdeps/unix/sysv/linux/sigpending.c
40396         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40397         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40398         * sysdeps/unix/sysv/linux/sigprocmask.c
40399         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40400         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40401         * sysdeps/unix/sysv/linux/sigsuspend.c
40402         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40403         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40404         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40405         (__libc_missing_rt_sigs): Remove.
40406         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40407         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40408         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40409         Remove conditional code.
40410         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40411         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40412         return 1.
40413         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40414         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40415         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40416         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40417
40418 2012-05-14  Andreas Jaeger  <aj@suse.de>
40419
40420         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40421         it's not used in glibc.
40422         (__coshm1): Likewise.
40423         (__acosh1p): Likewise.
40424         (__sgn): Likewise.
40425
40426         * manual/string.texi (Copying and Concatenation): Add missing
40427         variable in concat example.
40428         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40429
40430 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40431
40432         [BZ #14103]
40433         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40434         __builtin_clzl with __builtin_clzll.
40435
40436 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40437
40438         [BZ #14104]
40439         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40440         libc_freeres_ptr.
40441
40442 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40443
40444         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40445         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40446         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40447         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40448
40449 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40450
40451         * NEWS: Update ia64 info.
40452
40453 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40454
40455         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40456         used as bcopy.
40457
40458 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40459
40460         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40461         * sysdeps/unix/syscalls.list (dup3): Likewise.
40462         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40463         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40464
40465 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40466
40467         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40468         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40469
40470 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40471
40472         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40473         thread pointer.
40474         (TLS_IE): Use mov/add instead of movq/addq to load thread
40475         pointer.
40476         (TLS_GD_PREFIX): New.
40477         (TLS_GD): Use it.
40478
40479 2012-05-11  David S. Miller  <davem@davemloft.net>
40480
40481         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40482         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40483         (_FPU_SETCW): Likewise.
40484
40485 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40486
40487         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40488         is 32-byte aligned.
40489
40490 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40491
40492         [BZ #11837]
40493         * iconvdata/gb18030.c: Update tables.
40494         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40495         characters specially.
40496         (BODY for TO_LOOP): Add encoding of missing ranges.
40497
40498 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40499
40500         [BZ #13673]
40501         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40502         * sysdeps/mach/hurd/dup3.c: Likewise.
40503         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40504         * sysdeps/powerpc/memmove.c:: Likewise.
40505
40506 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40507
40508         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40509         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40510
40511 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40512
40513         * elf/elf.h (R_X86_64_RELATIVE64): New.
40514         (R_X86_64_NUM): Updated.
40515         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40516         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40517         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40518         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40519         tst-quad1pie tst-quad2pie
40520         (modules-names): Add tst-quadmod1 tst-quadmod2.
40521         ($(objpfx)tst-quad1): New dependency.
40522         ($(objpfx)tst-quad2): Likewise.
40523         ($(objpfx)tst-quad1pie): Likewise.
40524         ($(objpfx)tst-quad2pie): Likewise.
40525         * sysdeps/x86_64/tst-quad1.c: New file.
40526         * sysdeps/x86_64/tst-quad1pie.c: New file.
40527         * sysdeps/x86_64/tst-quad2.c: Likewise.
40528         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40529         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40530         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40531         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40532         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40533
40534 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40535
40536         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40537         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40538         * streams/stropts.h (t_scalar_t): Define type.
40539
40540         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40541         (_PATH_PRESERVE): Set to "/var/lib".
40542         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40543
40544         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40545         instead of int.
40546
40547         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40548         if __dir_mkfile succeeded.
40549
40550         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40551         checking for _hurd_dtablesize.  Unlock it right after having
40552         finished _hurd_dtable allocation.
40553
40554 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40555
40556         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40557         * sysdeps/mach/hurd/configure: Regenerated.
40558         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40559         special-casing to...
40560         * sysdeps/gnu/configure.in: ... this new file.
40561         * sysdeps/unix/sysv/linux/configure: Regenerated.
40562         * sysdeps/gnu/configure: New generated file.
40563
40564         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40565         for Linux: use nsec instead of usec, as well as:
40566         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40567         members of type struct timespec.
40568         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40569         New macros.
40570         (struct stat64): Likewise.
40571         (_STATBUF_ST_NSEC): New macro.
40572         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40573
40574         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40575         __strtoul_internal rather than strtoul.
40576
40577 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40578
40579         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40580         and reject them.
40581
40582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40583
40584         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40585         which preserves existing values.
40586         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40587
40588 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40589
40590         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40591         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40592         greater than FD_SETSIZE.
40593
40594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40595
40596         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40597         allocated, call __vm_protect to finish enabling the existing space, and
40598         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40599         allocate the remainder.
40600
40601 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40602
40603         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40604         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40605
40606 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40607
40608         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40609         sysdeps/mach/hurd/readlink.c.
40610
40611         * posix/tst-sysconf.c (posix_options): Only use
40612         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40613         _POSIX_SYNCHRONIZED_IO when they are defined
40614         * sysdeps/mach/hurd/bits/posix_opt.h:
40615         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40616         (_XOPEN_REALTIME): Undefine macro.
40617         (_XOPEN_REALTIME_THREADS): Undefine macro.
40618         (_XOPEN_SHM): Undefine macro.
40619         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40620         macro to -1.
40621         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40622         macro to -1.
40623         (_POSIX_ASYNC_IO): Undefine macro.
40624         (_POSIX_PRIORITIZED_IO): Undefine macro.
40625         (_POSIX_SPIN_LOCKS): Define macro to -1.
40626
40627         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40628         SA_NODEFER, SA_RESETHAND.
40629         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40630         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40631         F_DUPFD_CLOEXEC.
40632
40633 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40634
40635         * elf/Makefile (pldd-modules): Define unconditionally.
40636
40637 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40638
40639         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40640
40641 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40642
40643         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40644         Return ENOENT when name is empty.
40645         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40646
40647 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40648
40649         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40650
40651         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40652
40653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40654
40655         Fix mlock in all cases except non-readable pages.
40656         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40657         instead of VM_PROT_ALL as parameter to __vm_wire function.
40658
40659         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40660         (__mkdir): When path is `/', just fail with EEXIST.
40661         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40662
40663 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40664
40665         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40666         <sys/uio.h> (for writev).
40667         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40668         and <sys/param.h> (for MIN).
40669
40670 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40671
40672         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40673         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40674         if interrupted.
40675
40676 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40677
40678         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40679         Depend on against $(link-rpcuserlibs).
40680
40681 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40682
40683         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40684         (__libc_stack_end): Do not use attribute_relro.
40685         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40686         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40687         to libthread-provided value.
40688         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40689         attribute_relro.
40690
40691 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40692
40693         [BZ #3748]
40694         * bits/libc-lock.h (__libc_once_get): New macro.
40695         * sysdeps/mach/bits/libc-lock.h: Likewise.
40696         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40697         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40698         instead of using implementation details.
40699
40700         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40701         * libio/freopen.c: Likewise.
40702         * libio/freopen64.c: Likewise.
40703         * misc/syslog.c: Likewise.
40704         * nscd/connections.c: Likewise.
40705         * nscd/netgroupcache.c: Likewise.
40706         * sysdeps/posix/getcwd.c: Likewise.
40707
40708 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40709
40710         * math/w_ilogbf.c: Add #include <limits.h>.
40711
40712 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40713
40714         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40715         path instead of returning without unlocking.
40716
40717         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40718         immediate-write ioctls.
40719         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40720
40721 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40722
40723         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40724         __builtin_frame_address instead of making assumptions about the
40725         location of the return address relative to DATA.  Force early load of
40726         the return address.
40727         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40728         __builtin_frame_address.
40729
40730         dup3 for GNU Hurd.
40731         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40732         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40733         implement dup3 and do some further code clean-ups.
40734         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40735         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40736
40737 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40738
40739         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40740
40741         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40742         HURD_CRITICAL_END around holding _hurd_dtable_lock.
40743         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40744         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40745         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40746         d->port.lock.
40747
40748         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40749         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
40750         when handler == SIG_ERR, not when handler != SIG_ERR.
40751
40752 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40753
40754         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40755         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40756         definitions.
40757
40758         accept4 for GNU Hurd.
40759         * include/sys/socket.h (__libc_accept4): New prototype.
40760         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
40761         to implement __libc_accept4.
40762         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40763         __libc_accept4.
40764         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40765
40766         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40767         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40768         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40769         signal-defines.sym.
40770
40771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40772
40773         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40774
40775 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40776
40777         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40778         assertion on O_CLOEXEC flag.
40779         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40780         * hurd/intern-fd.c: Likewise.
40781         * hurd/port2fd.c: Likewise.
40782
40783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40784
40785         [BZ #3906]
40786         * bits/in.h (IPV6_PKTINFO): Define new macro.
40787         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40788
40789 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40790
40791         [BZ #13954]
40792         [BZ #13955]
40793         [BZ #13956]
40794         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40795         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40796         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40797         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40798         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40799         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40800         * math/libm-test.inc (logb_test) : Additional logb tests.
40801
40802 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
40803             Andreas Jaeger  <aj@suse.de>
40804
40805         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40806         * configure: Regenerated.
40807         * config.h.in (LINK_OBSOLETE_RPC): New macro.
40808         * config.make.in (link-obsolete-rpc): New substituted variable.
40809         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40810         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40811         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40812         (shared-only-routines): Don't set it under [link-obsolete-rpc],
40813         so that libc.a contains the symbols.
40814         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40815         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40816         * sunrpc/auth_none.c: Likewise.
40817         * sunrpc/auth_unix.c: Likewise.
40818         * sunrpc/authdes_prot.c: Likewise.
40819         * sunrpc/authuxprot.c: Likewise.
40820         * sunrpc/clnt_gen.c: Likewise.
40821         * sunrpc/clnt_perr.c: Likewise.
40822         * sunrpc/clnt_raw.c: Likewise.
40823         * sunrpc/clnt_simp.c: Likewise.
40824         * sunrpc/clnt_tcp.c: Likewise.
40825         * sunrpc/clnt_udp.c: Likewise.
40826         * sunrpc/clnt_unix.c: Likewise.
40827         * sunrpc/des_crypt.c: Likewise.
40828         * sunrpc/des_soft.c: Likewise.
40829         * sunrpc/get_myaddr.c: Likewise.
40830         * sunrpc/key_call.c: Likewise.
40831         * sunrpc/key_prot.c: Likewise.
40832         * sunrpc/netname.c: Likewise.
40833         * sunrpc/pm_getmaps.c: Likewise.
40834         * sunrpc/pm_getport.c: Likewise.
40835         * sunrpc/pmap_clnt.c: Likewise.
40836         * sunrpc/pmap_prot.c: Likewise.
40837         * sunrpc/pmap_prot2.c: Likewise.
40838         * sunrpc/pmap_rmt.c: Likewise.
40839         * sunrpc/publickey.c: Likewise.
40840         * sunrpc/rpc_cmsg.c: Likewise.
40841         * sunrpc/rpc_common.c: Likewise.
40842         * sunrpc/rpc_dtable.c: Likewise.
40843         * sunrpc/rpc_prot.c: Likewise.
40844         * sunrpc/rpc_thread.c: Likewise.
40845         * sunrpc/rtime.c: Likewise.
40846         * sunrpc/svc.c: Likewise.
40847         * sunrpc/svc_auth.c: Likewise.
40848         * sunrpc/svc_raw.c: Likewise.
40849         * sunrpc/svc_run.c: Likewise.
40850         * sunrpc/svc_tcp.c: Likewise.
40851         * sunrpc/svc_udp.c: Likewise.
40852         * sunrpc/svc_unix.c: Likewise.
40853         * sunrpc/svcauth_des.c: Likewise.
40854         * sunrpc/xcrypt.c: Likewise.
40855         * sunrpc/xdr.c: Likewise.
40856         * sunrpc/xdr_array.c: Likewise.
40857         * sunrpc/xdr_float.c: Likewise.
40858         * sunrpc/xdr_intXX_t.c: Likewise.
40859         * sunrpc/xdr_mem.c: Likewise.
40860         * sunrpc/xdr_rec.c: Likewise.
40861         * sunrpc/xdr_ref.c: Likewise.
40862         * sunrpc/xdr_sizeof.c: Likewise.
40863         * sunrpc/xdr_stdio.c: Likewise.
40864
40865 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40866
40867         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40868         change.  Update copyright years.
40869
40870 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40871
40872         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40873
40874 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
40875             Joseph Myers  <joseph@codesourcery.com>
40876             Paul Pluzhnikov  <ppluzhnikov@google.com>
40877
40878         [BZ #14012]
40879         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40880         requiring rpcgen.
40881         [cross-compiling] (extra-libs): Likewise.
40882         [cross-compiling] (extra-libs-others): Likewise.
40883         [cross-compiling] (librpcsvc-routines): Likewise.
40884         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40885         [cross-compiling] (omit-deps): Likewise.
40886         (sunrpc-CPPFLAGS): New variable.
40887         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40888         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40889         (cross-rpcgen-objs): New variable.
40890         (extra-objs): Append $(cross-rpcgen-objs).
40891         ($(cross-rpcgen-objs)): New rule.
40892         ($(objpfx)cross-rpcgen): Likewise.
40893         (rpcgen-cmd): Define to use $(built-program-file).  Expand
40894         comment.
40895         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40896         ($(objpfx)x%.stmp): Likewise.
40897         * sunrpc/proto.h [IS_IN_build] (_): Define.
40898         [IS_IN_build] (_libc_intl_domainname): Likewise.
40899
40900 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40901
40902         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40903         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40904         and R_X86_64_TPOFF64.
40905
40906 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40907
40908         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40909         sysdeps/unix/sysv/syscalls.list.
40910         (stime): Likewise.
40911         (utime): Likewise.
40912         * sysdeps/unix/sysv/syscalls.list: Remove file.
40913
40914 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
40915
40916         [BZ #3440]
40917         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40918         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40919         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40920         (__LC_IDENTIFICATION): Make these macros useful in #if
40921         expressions, as required by C99.
40922
40923 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
40924
40925         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40926         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
40927         after this.
40928
40929 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
40930
40931         * stdlib/longlong.h: Updated from GCC.
40932
40933 2012-05-09  Andreas Jaeger  <aj@suse.de>
40934
40935         * nscd/nscd.c (run_modes): Make named enum, reorder so that
40936         default is first entry.
40937         (run_mode): Set type.
40938         (main): Remove informal message about syslog.
40939         (options): Fix typo.
40940
40941         [BZ #14053]
40942         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40943         to asm.
40944         (lrint): Likewise.
40945         (llrintf): Likewise.
40946         (llrint): Likewise.
40947         (rint): Likewise.
40948         (rintf): Likewise.
40949         (nearbyint): Likewise.
40950         (nearbyintf): Likewise.
40951
40952 2012-05-09  Andreas Jaeger  <aj@suse.de>
40953             Pedro Alves  <palves@redhat.com>
40954
40955         * nscd/nscd.c (run_mode): Use enum.
40956         (main): Cleanup coding style issue.
40957
40958 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
40959             Andreas Jaeger  <aj@suse.de>
40960
40961         * nscd/nscd.c (go_background): Replaced with...
40962         (run_mode): ... this.
40963         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40964         (options): Add -F --foreground.
40965         (main): Implement it.
40966         (parse_opt): Parse it.
40967
40968 2012-05-09  Andreas Jaeger  <aj@suse.de>
40969
40970         [BZ #14083]
40971         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40972         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40973         -Wconversion warning.
40974         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40975         Likewise.
40976
40977 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
40978
40979         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
40980         == 0.
40981         (LC_ALL): Use macro-int-constant.
40982         (LC_COLLATE): Likewise.
40983         (LC_CTYPE): Likewise.
40984         (LC_MESSAGES): Likewise.
40985         (LC_MONETARY): Likewise.
40986         (LC_NUMERIC): Likewise.
40987         (LC_TIME): Likewise.
40988         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40989         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40990         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40991         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40992         Specify type.
40993         [C99-based standards] (float_t): Expect type.
40994         [C99-based standards] (double_t): Expect type.
40995         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
40996         type.
40997         [C99-based standards] (HUGE_VALL): Likewise.
40998         [C99-based standards] (INFINITY): Likewise.
40999         [C99-based standards] (NAN): Likewise.
41000         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41001         [C99-based standards] (FP_NAN): Likewise.
41002         [C99-based standards] (FP_NORMAL): Likewise.
41003         [C99-based standards] (FP_SUBNORMAL): Likewise.
41004         [C99-based standards] (FP_ZERO): Likewise.
41005         [C99-based standards] (FP_FAST_FMA): Use
41006         optional-macro-int-constant.  Specify type.  Require == 1.
41007         [C99-based standards] (FP_FAST_FMAF): Likewise.
41008         [C99-based standards] (FP_FAST_FMAL): Likewise.
41009         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41010         [C99-based standards] (FP_ILOGBNAN): Likewise.
41011         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41012         Specify type.
41013         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41014         [C99-based standards] (math_errhandling): Specify type.
41015         [ISO99 || ISO11] (signgam): Do not allow.
41016         [non-C99-based standards] (copysignf): Do not allow.
41017         [non-C99-based standards] (exp2f): Likewise.
41018         [non-C99-based standards] (log2f): Likewise.
41019         [non-C99-based standards] (modff): Allow.
41020         [non-C99-based standards] (erff): Do not allow.
41021         [non-C99-based standards] (erfcf): Likewise.
41022         [non-C99-based standards] (gammaf): Likewise.
41023         [non-C99-based standards] (hypotf): Likewise.
41024         [non-C99-based standards] (j0f): Likewise.
41025         [non-C99-based standards] (j1f): Likewise.
41026         [non-C99-based standards] (jnf): Likewise.
41027         [non-C99-based standards] (lgammaf): Likewise.
41028         [non-C99-based standards] (tgammaf): Likewise.
41029         [non-C99-based standards] (y0f): Likewise.
41030         [non-C99-based standards] (y1f): Likewise.
41031         [non-C99-based standards] (ynf): Likewise.
41032         [non-C99-based standards] (isnanf): Likewise.
41033         [non-C99-based standards] (acoshf): Likewise.
41034         [non-C99-based standards] (asinhf): Likewise.
41035         [non-C99-based standards] (atanhf): Likewise.
41036         [non-C99-based standards] (cbrtf): Likewise.
41037         [non-C99-based standards] (expm1f): Likewise.
41038         [non-C99-based standards] (ilogbf): Likewise.
41039         [non-C99-based standards] (log1pf): Likewise.
41040         [non-C99-based standards] (logbf): Likewise.
41041         [non-C99-based standards] (nextafterf): Likewise.
41042         [non-C99-based standards] (remainderf): Likewise.
41043         [non-C99-based standards] (rintf): Likewise.
41044         [non-C99-based standards] (scalbf): Likewise.
41045         [non-C99-based standards] (copysignl): Likewise.
41046         [non-C99-based standards] (exp2l): Likewise.
41047         [non-C99-based standards] (log2l): Likewise.
41048         [non-C99-based standards] (modfl): Allow.
41049         [non-C99-based standards] (erfl): Do not allow.
41050         [non-C99-based standards] (erfcl): Likewise.
41051         [non-C99-based standards] (gammal): Likewise.
41052         [non-C99-based standards] (hypotl): Likewise.
41053         [non-C99-based standards] (j0l): Likewise.
41054         [non-C99-based standards] (j1l): Likewise.
41055         [non-C99-based standards] (jnl): Likewise.
41056         [non-C99-based standards] (lgammal): Likewise.
41057         [non-C99-based standards] (tgammal): Likewise.
41058         [non-C99-based standards] (y0l): Likewise.
41059         [non-C99-based standards] (y1l): Likewise.
41060         [non-C99-based standards] (ynl): Likewise.
41061         [non-C99-based standards] (isnanl): Likewise.
41062         [non-C99-based standards] (acoshl): Likewise.
41063         [non-C99-based standards] (asinhl): Likewise.
41064         [non-C99-based standards] (atanhl): Likewise.
41065         [non-C99-based standards] (cbrtl): Likewise.
41066         [non-C99-based standards] (expm1l): Likewise.
41067         [non-C99-based standards] (ilogbl): Likewise.
41068         [non-C99-based standards] (log1pl): Likewise.
41069         [non-C99-based standards] (logbl): Likewise.
41070         [non-C99-based standards] (nextafterl): Likewise.
41071         [non-C99-based standards] (remainderl): Likewise.
41072         [non-C99-based standards] (rintl): Likewise.
41073         [non-C99-based standards] (scalbl): Likewise.
41074         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41075         [non-C99-based standards] (FP_*): Do not allow.
41076         [C99-based standards] (FP_*): Change to
41077         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41078         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41079         allow.
41080         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41081         (SIG_ERR): Likewise.
41082         [X/Open-based standards] (SIG_HOLD): Likewise.
41083         (SIG_IGN): Likewise.
41084         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41085         positive value.
41086         (SIGFPE): Likewise.
41087         (SIGILL): Likewise.
41088         (SIGINT): Likewise.
41089         (SIGSEGV): Likewise.
41090         (SIGTER): Likewise.
41091         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41092         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41093         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41094         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41095         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41096         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41097         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41098         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41099         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41100         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41101         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41102         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41103         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41104         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41105         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41106         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41107         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41108         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41109         [X/Open-based standards] (SIGTRAP): Likewise.
41110         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41111         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41112         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41113         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41114         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41115         allow.
41116
41117 2012-05-08  Ian Wienand  <ianw@vmware.com>
41118
41119         [BZ #14080]
41120         * time/tzset.c (__tzset_parse_tz): Update default rules for
41121         daylight time changes in the Energy Policy Act of 2005.
41122
41123 2012-05-09  Andreas Jaeger  <aj@suse.de>
41124
41125         [BZ #13983]
41126         * elf/ldconfig.c (parse_conf): Change string to make clear that
41127         ldconfig only issued a warning if ld.so.conf does not exist.
41128
41129 2012-05-08  David S. Miller  <davem@davemloft.net>
41130
41131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41132         movxtod instead of popping the value on the stack.
41133
41134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41135
41136 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41137
41138         * config.h.in: Add HAVE_ARM_PCS_VFP.
41139
41140 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41141
41142         [BZ #13979]
41143         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41144         checking but the checks are disabled for any reason.
41145
41146 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41147
41148         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41149         and ELF64_R_TYPE with ELFW(R_TYPE).
41150
41151 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41152
41153         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41154         (ulimit): Likewise.
41155
41156         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41157         (settimeofday): Likewise.
41158
41159 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41160
41161         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41162         a struct th_u2 inside the union, and move tu_block/tu_code into
41163         a new th_u3 union of tu_block/tu_code inside of that.  Move
41164         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41165         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41166         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41167         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41168         (th_stuff): Change to th_u1.tu_stuff.
41169         (th_data): Define.
41170         (th_msg): Change to th_u1.th_u2.tu_data.
41171
41172 2012-05-07  David S. Miller  <davem@davemloft.net>
41173
41174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41175
41176         [BZ #14074]
41177         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41178         (SETUP_PIC_REG): Use it.
41179         (SETUP_PIC_REG_LEAF): Use it.
41180
41181 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41182
41183         [BZ #13885]
41184         [BZ #13923]
41185         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41186         USE_AS_EXPM1L.
41187         (EXPL_FINITE): Likewise.
41188         (FLDLOG): Likewise.
41189         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41190         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41191         e_expl.S.
41192         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41193         USE_AS_EXPM1L.
41194         (EXPL_FINITE): Likewise.
41195         (FLDLOG): Likewise.
41196         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41197         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41198         e_expl.S.
41199         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41200         test of -max_value argument for long double.
41201         * sysdeps/i386/fpu/libm-test-ulps: Update.
41202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41203
41204 2012-05-06  David S. Miller  <davem@davemloft.net>
41205
41206         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41207         quad soft-float symbols whose references which are compiler
41208         generated.
41209         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41210
41211 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41212
41213         [BZ #13884]
41214         [BZ #13914]
41215         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41216         USE_AS_EXP10L.
41217         (EXPL_FINITE): Likewise.
41218         (FLDLOG): Likewise.
41219         (c0): Likewise.
41220         (c1): Likewise.
41221         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41222         Adjust comments for base varying.
41223         (__expl_finite): Change alias to EXPL_FINITE.
41224         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41225         e_expl.S.
41226         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41227         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41228         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41229         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41230         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41231         USE_AS_EXP10L.
41232         (EXPL_FINITE): Likewise.
41233         (FLDLOG): Likewise.
41234         (c0): Likewise.
41235         (c1): Likewise.
41236         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41237         Adjust comments for base varying.
41238         (__expl_finite): Change alias to EXPL_FINITE.
41239         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41240         tests for bugs.
41241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41242
41243         [BZ #14064]
41244         * math/libm-test.inc (check_float_internal): Correct ulp
41245         calculation for subnormal expected results.
41246
41247 2012-05-06  Andreas Jaeger  <aj@suse.de>
41248
41249         * Makeconfig (+math-flags): New, set to -frounding-math.
41250         (+cflags): Add +math-flags so that all of glibc gets compiled with
41251         it.
41252
41253         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41254
41255 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41256
41257         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41258         Disable one test.
41259
41260         [BZ #13787]
41261         [BZ #13922]
41262         [BZ #14036]
41263         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41264         (__ieee754_expl): Allow for and saturate large arguments.
41265         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41266         (u_threshold): Likewise.
41267         (__exp): Call __ieee754_exp before checking for overflow and
41268         underflow.
41269         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41270         (u_threshold): Likewise.
41271         (__expf): Call __ieee754_expf before checking for overflow and
41272         underflow.
41273         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41274         (u_threshold): Likewise.
41275         (__expl): Call __ieee754_expl before checking for overflow and
41276         underflow.
41277         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41278         (__ieee754_expl): Allow for and saturate large arguments.
41279         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41280         missing overflow exception on overflow.
41281         (expm1_test): Do not allow missing overflow exception on overflow.
41282
41283         * sysdeps/i386/fpu/e_expl.c: Move to ...
41284         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41285         rather than using inline asm.
41286         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41287         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41288         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41289
41290         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41291         (nice): Likewise.
41292         (poll): Likewise.
41293         (signal): Likewise.
41294         (time): Likewise.
41295         (times): Likewise.
41296
41297 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41298
41299         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41300         sysdeps/unix/common/syscalls.list.
41301         (fchmod): Likewise.
41302         (fchown): Likewise.
41303         (ftruncate): Likewise.
41304         (getrusage): Likewise.
41305         (gettimeofday): Likewise.
41306         (setpgid): Likewise.
41307         (setregid): Likewise.
41308         (setreuid): Likewise.
41309         (sigaction): Likewise.
41310         (truncate): Likewise.
41311         (vhangup): Likewise.
41312         * sysdeps/unix/common/syscalls.list: Remove file.
41313         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41314         * sysdeps/unix/sysv/linux/Implies: Likewise.
41315
41316 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41317
41318         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41320         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41321         Moved to ...
41322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41323         Here.
41324         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41325         to ...
41326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41327         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41328         to ...
41329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41330         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41331         to ...
41332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41333         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41334         to ...
41335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41336         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41337         to ...
41338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41339         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41340         to ...
41341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41342         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41343         to ...
41344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41345         Here.
41346         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41347         to ...
41348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41349         Here.
41350         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41351         to ...
41352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41353         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41354         Moved to ...
41355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41356         Here.
41357         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41358         to ...
41359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41360
41361 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41362
41363         * sysdeps/unix/common/bits/dirent.h: Remove file.
41364         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41365
41366         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41367         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41368         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41369         * sysdeps/unix/bsd/isatty.c: Likewise.
41370         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41371         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41372         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41373
41374 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41375
41376         [BZ #13563]
41377         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41378         long double comparison inaccuracies.
41379         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41381
41382 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41383
41384         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41385         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41386
41387 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41388
41389         [BZ #14049]
41390         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41391         nonzero digits before rounding a hex value.
41392         * stdlib/tst-strtod.c (tests): Add another test.
41393
41394 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41395
41396         * sysdeps/s390/fpu/libm-test-ulps: Update.
41397
41398 2012-05-03  Andreas Jaeger  <aj@suse.de>
41399
41400         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41401         does not get optimized out.
41402         (malloc_opt_barrier): New.
41403
41404 2012-05-03  Andreas Jaeger  <aj@suse.de>
41405             Roland McGrath  <roland@hack.frob.com>
41406
41407         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41408         intermediate file deletion.
41409         (generated): Add .symlist files.
41410
41411 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41412
41413         [BZ #13775]
41414         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41415         Redirect under this condition.
41416         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41417         [__USE_GNU] (__dprintf_chk): Not under this condition.
41418         [__USE_GNU] (__vdprintf_chk): Likewise.
41419         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41420         under this condition.
41421         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41422         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41423         [__USE_XOPEN2K8] (vdprintf): Likewise.
41424         [__USE_GNU] (__dprintf_chk): Not under this condition.
41425         [__USE_GNU] (__vdprintf_chk): Likewise.
41426         [__USE_GNU] (dprintf): Likewise.
41427         [__USE_GNU] (vdprintf): Likewise.
41428
41429 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41430
41431         * elf/Makefile (common-generated): Set this instead of generated for
41432         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41433         $(all-built-dso)-derived lists.
41434
41435 2012-05-03  Andreas Jaeger  <aj@suse.de>
41436
41437         * sysdeps/i386/fpu/libm-test-ulps: Update.
41438
41439         * FAQ: Removed.
41440         * FAQ.in: Likewise.
41441         * scripts/gen-FAQ.pl: Likewise.
41442         * manual/install.texi (Installation): Point to online location of
41443         FAQ.
41444         * Makefile (files-for-dist): Remove FAQ.
41445         (FAQ): Remove.
41446
41447 2012-05-02  Allan McRae  <allan@archlinux.org>
41448
41449         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41450         (LDFLAGS-reldepmod5.so): Likewise.
41451         (LDFLAGS-reldep6mod1.so): Likewise.
41452         (LDFLAGS-reldep6mod4.so): Likewise.
41453         (LDFLAGS-reldep8mod3.so): Likewise.
41454         (LDFLAGS-unload4mod1.so): Likewise.
41455         (LDFLAGS-unload4mod2.so): Likewise.
41456         (LDFLAGS-tst-initorder): Likewise.
41457         (LDFLAGS-tst-initordera2.so): Likewise.
41458         (LDFLAGS-tst-initordera3.so): Likewise.
41459         (LDFLAGS-tst-initordera4.so): Likewise.
41460         (LDFLAGS-tst-initorderb2.so): Likewise.
41461         (LDFLAGS-noload): Likewise.
41462         (LDFLAGS-next): Likewise.
41463         (LDFLAGS-order2mod1.so): Likewise.
41464         (LDFLAGS-order2mod2.so): Likewise.
41465         (LDFLAGS-tst-initorder2): Likewise.
41466         (LDFLAGS-tst-initorder2a.so): Likewise.
41467         (LDFLAGS-tst-initorder2b.so): Likewise.
41468         (LDFLAGS-tst-initorder2c.so): Likewise.
41469         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41470
41471 2012-05-02  David S. Miller  <davem@davemloft.net>
41472
41473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41474
41475 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41476
41477         [BZ #14055]
41478         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41479
41480 2012-05-02  Andreas Jaeger  <aj@suse.de>
41481
41482         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41483         since we manipulate rounding mode.
41484         (CPPFLAGS-test-idouble.c): Likewise.
41485         (CPPFLAGS-test-ifloat.c): Likewise.
41486         (CFLAGS-test-ldouble.c): Likewise.
41487         (CFLAGS-test-double.c): Likewise.
41488         (CFLAGS-test-float.c): Likewise.
41489         (CFLAGS-test-misc.c): Likewise.
41490         (CFLAGS-test-test-fenv.c): Likewise.
41491
41492 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41493
41494         [BZ #2550]
41495         [BZ #2570]
41496         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41497         comparisons to determine direction to adjust input.
41498
41499 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41500
41501         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41502         output to the target.
41503
41504         * scripts/localplt.awk: New file.
41505         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41506         (check-localplt-CFLAGS): Variable removed.
41507         ($(all-built-dso:=.jmprel)): New static pattern rule.
41508         (generated): Add those targets.
41509         (localplt-built-dso): New variable.
41510         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41511
41512         * elf/check-localplt.c: File removed.
41513
41514         * scripts/check-execstack.awk: New file.
41515         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41516         (check-execstack-CFLAGS): Variable removed.
41517         ($(objpfx)check-execstack.h): Target removed.
41518         ($(objpfx)execstack-default): New target.
41519         (generated): Add that instead of check-execstack.h.
41520         ($(all-built-dso:=.phdr)): New static pattern rule.
41521         (generated): Add those targets.
41522         * elf/check-execstack.c: File removed.
41523
41524         * scripts/check-textrel.awk: New file.
41525         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41526         (check-textrel-CFLAGS): Variable removed.
41527         (all-built-dso): Use := to define.o
41528         ($(all-built-dso:=.dyn)): New static pattern rule.
41529         (generated): Add those targets.
41530         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41531         * config.make.in (READELF): New substituted variable.
41532         * elf/check-textrel.c: File removed.
41533
41534 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41535
41536         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41537         allow.
41538         * conform/data/ctype.h-data [C99-based standards] (isblank):
41539         Expect function.
41540         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41541         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41542         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41543         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41544         Specify type.  Require positive value.
41545         (EILSEQ): Likewise.
41546         (ERANGE): Likewise.
41547         [ISO || POSIX] (EILSEQ): Do not expect.
41548         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41549         Specify type.  Require positive value.
41550         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41551         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41552         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41553         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41554         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41555         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41556         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41557         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41558         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41559         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41560         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41561         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41562         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41563         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41564         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41565         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41566         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41567         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41568         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41569         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41570         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41571         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41572         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41573         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41574         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41575         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41576         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41577         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41578         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41579         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41580         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41581         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41582         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41583         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41584         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41585         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41586         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41587         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41588         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41589         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41590         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41591         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41592         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41593         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41594         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41595         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41596         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41597         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41598         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41599         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41600         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41601         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41602         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41603         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41604         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41605         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41606         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41607         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41608         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41609         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41610         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41611         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41612         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41613         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41614         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41615         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41616         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41617         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41618         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41619         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41620         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41621         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41622         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41623         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41624         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41625         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41626         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41627         Require >= 2.
41628         (FLT_ROUNDS): Expect as macro, not constant.
41629         (FLT_MANT_DIG): Use macro-int-constant.
41630         (DBL_MANT_DIG): Likewise.
41631         (LDBL_MANT_DIG): Likewise.
41632         (FLT_DIG): Likewise.
41633         (DBL_DIG): Likewise.
41634         (LDBL_DIG): Likewise.
41635         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41636         (DBL_MIN_EXP): Likewise.
41637         (LDBL_MIN_EXP): Likewise.
41638         (FLT_MAX_EXP): Use macro-int-constant.
41639         (DBL_MAX_EXP): Likewise.
41640         (LDBL_MAX_EXP): Likewise.
41641         (FLT_MAX_10_EXP): Likewise.
41642         (DBL_MAX_10_EXP): Likewise.
41643         (LDBL_MAX_10_EXP): Likewise.
41644         (FLT_MAX): Use macro-constant.
41645         (DBL_MAX): Likewise.
41646         (LDBL_MAX): Likewise.
41647         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41648         (DBL_EPSILON): Likewise.
41649         (LDBL_EPSILON): Likewise.
41650         (FLT_MIN): Likewise.
41651         (DBL_MIN): Likewise.
41652         (LDBL_MIN): Likewise.
41653         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41654         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41655         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41656         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41657         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41658         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41659         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41660         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41661         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41662         [ISO11] (FLT_TRUE_MIN): Likewise.
41663         [ISO11] (LDBL_TRUE_MIN): Likewise.
41664         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41665         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41666         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41667         (SCHAR_MAX): Likewise.
41668         (UCHAR_MAX): Likewise.
41669         (CHAR_MIN): Likewise.
41670         (CHAR_MAX): Likewise.
41671         (MB_LEN_MAX): Use macro-int-constant.
41672         (SHRT_MIN): Use macro-int-constant.  Specify type.
41673         (SHRT_MAX): Likewise.
41674         (USHRT_MAX): Likewise.
41675         (INT_MAX): Likewise.
41676         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41677         bound negative.
41678         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41679         bound with "U".
41680         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41681         bound with "L".
41682         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41683         bound negative.  Suffix upper bound with "L".
41684         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41685         bound with "UL".
41686         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41687         Specify type.
41688         [C99-based standards] (LLONG_MAX): Likewise.
41689         [C99-based standards] (ULLONG_MAX): Likewise.
41690         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41691         == 0.
41692         [ISO11] (max_align_t): Require type.
41693         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41694
41695         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41696         from $CFLAGS, without defining away __attribute__ calls.
41697         (checknamespace): Use $CFLAGS_namespace.
41698
41699         * conform/conformtest.pl (@keywords): Only include C99 keywords
41700         for standards based on C99 or C11.
41701
41702         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41703         Disable tests.
41704         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41705         UNIX98]: Likewise.
41706
41707         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41708         usability of symbols in #if.
41709
41710         * conform/conformtest.pl: If macro or constant types start
41711         "promoted:", expect the symbol to be of the following type
41712         promoted by the integer promotions.
41713
41714         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41715         in one place.  Also handle "macro-constant".
41716
41717         * conform/conformtest.pl: Only accept expected macro values with
41718         "==".  Parse all "macro" lines in one place.
41719         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41720
41721         * conform/conformtest.pl: Handle braced types on "constant" lines
41722         instead of handling "typed-constant".
41723         * conform/data/signal.h-data: Use "constant" instead of
41724         "typed-constant".
41725
41726         * conform/conformtest.pl: Handle "optional-" at start of lines in
41727         one place rather than duplicating several cases.  Handle each
41728         format of "macro" line with initial "optional-".
41729
41730         * conform/conformtest.pl: Only accept expected constant or
41731         optional-constant values with "==".  Parse all "constant" lines in
41732         one place.  Parse all "optional-constant" lines in one place.
41733         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41734         * conform/data/fmtmsg.h-data: Likewise.
41735         * conform/data/netinet/in.h-data: Likewise.
41736         * conform/data/tar.h-data: Likewise.
41737         * conform/data/limits.h-data: Use "==" form on "constant" and
41738         "optional-constant" lines.
41739
41740         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41741         Use -std=c99 for XOPEN2K.
41742         (@knownproblems): Remove.
41743         (newtoken): Don't check %isknown.
41744
41745         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41746         Do not expect macro.
41747         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41748         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41749         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41750         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41751         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41752         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41753         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41754         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41755         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41756         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41757         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41758         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41759         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41760         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41761         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41762         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41763         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41764         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41765         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41766         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41767         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41768         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41769         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41770         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41771         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41772         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41773         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41774         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41775         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41776         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41777         [XPG3] (acosh): Likewise.
41778         [XPG3] (asinh): Likewise.
41779         [XPG3] (atanh): Likewise.
41780         [XPG3] (cbrt): Likewise.
41781         [XPG3] (expm1): Likewise.
41782         [XPG3] (ilogb): Likewise.
41783         [XPG3] (log1p): Likewise.
41784         [XPG3] (logb): Likewise.
41785         [XPG3] (nextafter): Likewise.
41786         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41787         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41788         [XPG3] (remainder): Likewise.
41789         [XPG3] (rint): Likewise.
41790         [XPG3 || XPG4 || UNIX98] (round): Likewise.
41791         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41792         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41793         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41794         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41795         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41796         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41797         [UNIX98 || XOPEN2K] (scalb): Expect.
41798         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41799         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41800         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41801         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41802         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41803         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41804         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41805         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41806         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41807         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41808         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41809         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41810         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41811         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41812         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41813         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41814         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41815         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41816         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41817         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41818         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41819         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41820         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41821         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41822         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41823         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41824         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41825         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41826         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41827         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41828         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41829         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41830         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41831         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41832         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41833         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41834         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41835         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41836         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41837         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41838         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41839         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41840         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41841         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41842         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41843         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41844         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41845         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41846         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41847         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41848         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41849         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41850         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41851         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41852         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41853         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41854         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41855         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41856         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41857         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41858         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41859         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41860         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41861         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41862         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41863         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41864         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41865         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41866         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41867         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41868         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41869         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41870         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41871         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41872         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41873         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41874         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41875         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41876         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41877         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41878         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41879         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41880         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41881         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41882         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41883         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41884         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41885         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41886         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41887         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41888         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41889         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41890         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41891         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41892         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41893         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41894         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41895         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41896         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41897         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41898         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41899         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41900         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41901         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41902         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41903         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41904         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41905         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41906         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41907         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41908         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41909         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41910         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41911         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41912         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41913         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41914         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41915         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41916         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41917         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41918         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41919         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41920         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41921         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41922         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41923         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41924         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41925         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41926         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41927         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41928         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41929         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41930         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41931         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41932         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41933         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41934         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41935
41936         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41937         _XOPEN_SOURCE_EXTENDED for XPG4.
41938
41939         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41940
41941         * Makeconfig (localtime): Remove variable.
41942         (inst_localtime-file): Likewise.
41943
41944 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41945
41946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41947         Update.
41948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41949         Update.
41950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41951         Update.
41952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41953         Update.
41954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41955         Update.
41956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41957         Update.
41958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41959         Update.
41960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41961         Update.
41962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41963         Update.
41964
41965 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41966
41967         [BZ #2550]
41968         [BZ #2570]
41969         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41970         comparisons to determine direction to adjust input.
41971         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41972         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41973         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41974         Likewise.
41975         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41976         Likewise.
41977         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41978         Likewise.
41979         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41980         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41981         Likewise.
41982         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41983         Likewise.
41984         * math/libm-test.inc (nexttoward_test): Add more tests.
41985
41986 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41987
41988         [BZ #14040]
41989         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41990         in version GLIBC_2.1, not GLIBC_2.0.
41991         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41992         Likewise.
41993
41994 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
41995
41996         [BZ #13942]
41997         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41998         (1 - x) * (1 + x).
41999         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42000         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42001         * math/libm-test.inc (acos_test): Add more tests.
42002         (asin_test): Likewise.
42003         * sysdeps/i386/fpu/libm-test-ulps: Update.
42004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42005
42006         [BZ #14034]
42007         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42008         of square root.
42009         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42010         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42011         * math/libm-test.inc (acos_test_tonearest): New function.
42012         (acos_test_towardzero): Likewise.
42013         (acos_test_downward): Likewise.
42014         (acos_test_upward): Likewise.
42015         (asin_test_tonearest): Likewise.
42016         (asin_test_towardzero): Likewise.
42017         (asin_test_downward): Likewise.
42018         (asin_test_upward): Likewise.
42019         (main): Call the new functions.
42020         * sysdeps/i386/fpu/libm-test-ulps: Update.
42021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42022
42023         [BZ #13884]
42024         [BZ #13924]
42025         * math/e_exp10.c: Include <float.h>.
42026         (__ieee754_exp10): Handle underflow here rather than multiplying
42027         large negative argument by M_LN10.
42028         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42029         of __ieee754_expf.
42030         * math/e_exp10l.c: Include <float.h>.
42031         (__ieee754_exp10l): Handle underflow here rather than multiplying
42032         large negative argument by M_LN10l.
42033         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42034         spurious overflow exception on underflow.
42035
42036 2012-04-29  Marek Polacek  <polacek@redhat.com>
42037
42038         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42039         (__fortify_function): New macro.
42040         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42041         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42042         __extern_always_inline.
42043         * libio/bits/stdio2.h: Likewise.
42044         * libio/bits/stdio.h: Likewise.
42045         * string/string.h: Likewise.
42046         * string/bits/string3.h: Likewise.
42047         * include/stdio.h: Likewise.
42048         * stdlib/bits/stdlib.h: Likewise.
42049         * stdlib/stdlib.h: Likewise.
42050         * rt/bits/mqueue2.h: Likewise.
42051         * rt/mqueue.h: Likewise.
42052         * posix/bits/unistd.h: Likewise.
42053         * posix/unistd.h: Likewise.
42054         * io/bits/poll2.h: Likewise.
42055         * io/bits/fcntl2.h: Likewise.
42056         * io/fcntl.h: Likewise.
42057         * io/sys/poll.h: Likewise.
42058         * misc/bits/syslog.h: Likewise.
42059         * misc/bits/syslog-ldbl.h: Likewise.
42060         * misc/sys/syslog.h: Likewise.
42061         * socket/bits/socket2.h: Likewise.
42062         * socket/sys/socket.h: Likewise.
42063         * debug/tst-chk1.c: Likewise.
42064         * wcsmbs/bits/wchar2.h: Likewise.
42065         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42066         * wcsmbs/wchar.h: Likewise.
42067
42068 2012-04-29  Andreas Jaeger  <aj@suse.de>
42069
42070         * Makerules (tests): Remove enable-check-abi protection.
42071         (check-abi-warn): Remove.
42072         (check-abi-%): Remove check-abi-warn usage.
42073
42074         * configure.in: Remove check-abi configure option.
42075         * configure: Regenerated.
42076         * config.make.in (enable-check-abi): Remove.
42077
42078 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42079
42080         [BZ #14033]
42081         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42082         double functions to double *_finite functions.
42083
42084         [BZ #13941]
42085         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42086         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42087         LDBL_MIN_EXP.
42088         * stdio-common/Makefile (tests): Add tst-sprintf3.
42089         * stdio-common/tst-sprintf3.c: New file.
42090
42091         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42092         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42093
42094 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42095
42096         * conform/conformtest.pl: Remove duplicate typed-constant
42097         handling.
42098
42099 2012-04-28  David S. Miller  <davem@davemloft.net>
42100
42101         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42102         (check-abi-%): Remove AWK script prerequisite and explicit
42103         abilist directory.
42104         (check-abi): Rewrite to just diff the symlist with the abilist.
42105         (config-tls, config-abi-config): Delete, no longer used.
42106         (update-abi-%): Remove AWK script and explicit abilist directory.
42107         (update-abi): Rewrite to simply compare and conditionally copy the
42108         symlist and the sysdep abilist file.  Remove update-abi-config
42109         checks.
42110         * abilist/ld.abilist: Remove.
42111         * abilist/libBrokenLocale.abilist: Remove.
42112         * abilist/libanl.abilist: Remove.
42113         * abilist/libcrypt.abilist: Remove.
42114         * abilist/libdl.abilist: Remove.
42115         * abilist/librt.abilist: Remove.
42116         * abilist/libthread_db.abilist: Remove.
42117         * abilist/libutil.abilist: Remove.
42118         * scripts/extract-abilist.awk: Remove.
42119         * scripts/merge-abilist.awk: Remove.
42120         * sysdeps/generic/libcidn.abilist: New file.
42121         * sysdeps/generic/libnss_compat.abilist: New file.
42122         * sysdeps/generic/libnss_db.abilist: New file.
42123         * sysdeps/generic/libnss_dns.abilist: New file.
42124         * sysdeps/generic/libnss_files.abilist: New file.
42125         * sysdeps/generic/libnss_hesiod.abilist: New file.
42126         * sysdeps/generic/libnss_nis.abilist: New file.
42127         * sysdeps/generic/libnss_nisplus.abilist: New file.
42128         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42129         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42130         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42131         file.
42132         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42133         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42134         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42135         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42136         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42137         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42138         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42139         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42140         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42141         file.
42142         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42143         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42144         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42145         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42146         file.
42147         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42148         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42149         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42150         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42151         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42152         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42153         file.
42154         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42155         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42156         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42157         file.
42158         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42159         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42160         New file.
42161         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42162         New file.
42163         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42164         New file.
42165         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42166         New file.
42167         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42168         New file.
42169         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42170         New file.
42171         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42172         New file.
42173         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42174         New file.
42175         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42176         New file.
42177         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42178         New file.
42179         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42180         New file.
42181         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42182         New file.
42183         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42184         New file.
42185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42186         file.
42187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42188         New file.
42189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42190         New file.
42191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42192         file.
42193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42194         New file.
42195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42196         New file.
42197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42198         file.
42199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42200         New file.
42201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42202         New file.
42203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42204         New file.
42205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42206         New file.
42207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42208         New file.
42209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42210         New file.
42211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42213         file.
42214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42215         New file.
42216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42217         file.
42218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42219         file.
42220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42221         file.
42222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42223         file.
42224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42225         file.
42226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42227         New file.
42228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42229         file.
42230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42231         file.
42232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42233         New file.
42234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42235         file.
42236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42238         file.
42239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42240         New file.
42241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42242         file.
42243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42244         file.
42245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42246         file.
42247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42248         file.
42249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42250         file.
42251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42252         New file.
42253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42254         file.
42255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42256         file.
42257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42258         New file.
42259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42260         file.
42261         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42262         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42263         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42264         file.
42265         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42266         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42267         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42268         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42269         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42270         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42271         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42272         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42273         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42274         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42277         file.
42278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42279         New file.
42280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42281         file.
42282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42283         file.
42284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42285         file.
42286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42287         file.
42288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42289         file.
42290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42291         New file.
42292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42293         New file.
42294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42295         file.
42296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42297         New file.
42298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42299         file.
42300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42302         file.
42303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42304         New file.
42305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42306         file.
42307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42308         file.
42309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42310         file.
42311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42312         file.
42313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42314         file.
42315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42316         New file.
42317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42318         New file.
42319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42320         file.
42321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42322         New file.
42323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42324         file.
42325
42326 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42327
42328         * conform/conformtest.pl: Fix typo in handling typed-constant from
42329         allow-header.
42330
42331 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42332
42333         * README: Cut down references to pre-2.6 Linux kernels and
42334         Linuxthreads.  Update lists of configurations in libc and ports
42335         and sort alphabetically.  Say "or newer" with Linux kernel version
42336         requirements.
42337
42338         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42339
42340 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42341
42342         [BZ #887]
42343         * math/libm-test.inc (logb_test_downward): New test to expose
42344         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42345         rounding mode.
42346
42347 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42348
42349         [BZ #14027]
42350         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42351         to be done.
42352         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42353         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42354
42355 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42356
42357         * sysdeps/unix/i386/brk.S: Remove file.
42358         * sysdeps/unix/i386/dl-brk.S: Likewise.
42359         * sysdeps/unix/i386/pipe.S: Likewise.
42360         * sysdeps/unix/i386/sigreturn.S: Likewise.
42361         * sysdeps/unix/i386/syscall.S: Likewise.
42362         * sysdeps/unix/i386/vfork.S: Likewise.
42363         * sysdeps/unix/i386/wait.S: Likewise.
42364
42365         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42366         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42367
42368         * configure.in (arm*-none*): Do not allow without
42369         --enable-hacker-mode.
42370         (netbsd*): Remove case setting base_os.
42371         (386bsd*): Likewise.
42372         (freebsd*): Likewise.
42373         (bsdi*): Likewise.
42374         (osf*): Likewise.
42375         (sunos*): Likewise.
42376         (ultrix*): Likewise.
42377         (newsos*): Likewise.
42378         (dynix*): Likewise.
42379         (*bsd*): Likewise.
42380         (sysv*): Likewise.
42381         (isc*): Likewise.
42382         (esix*): Likewise.
42383         (sco*): Likewise.
42384         (minix*): Likewise.
42385         (irix4*): Likewise.
42386         (irix6*): Likewise.
42387         (solaris[2-9]*): Likewise.
42388         (none): Likewise.
42389         * configure: Regenerated.
42390
42391 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42392
42393         [BZ #11521]
42394         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42395         overflow or cancellation in calculating denominator.
42396         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42397         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42398         down expression to avoid unexpected rounding in newer GCCs.
42399         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42400
42401 2012-04-26  David S. Miller  <davem@davemloft.net>
42402
42403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42404         long-double compat symbols.
42405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42418
42419 2012-04-25  David S. Miller  <davem@davemloft.net>
42420
42421         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42422         HWCAP_* values only after the memory barriers have been defined.
42423         (atomic_full_barrier): Define.
42424         (atomic_read_barrier): Define.
42425         (atomic_write_barrier): Define.
42426
42427 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42428
42429         * shlib-versions: Add libgcc_s version information.
42430         * sysdeps/generic/libgcc_s.h: Remove.
42431         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42432         libgcc_s.h.
42433         * sysdeps/gnu/unwind-resume.c: Likewise.
42434         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42435
42436 2012-04-25  David S. Miller  <davem@davemloft.net>
42437
42438         * sysdeps/unix/sparc/brk.S: Delete.
42439         * sysdeps/unix/sparc/dl-brk.S: Delete.
42440         * sysdeps/unix/sparc/pipe.S: Delete.
42441         * sysdeps/unix/sparc/sysdep.S: Delete.
42442         * sysdeps/unix/sparc/sysdep.h: Delete.
42443         * sysdeps/unix/sparc/vfork.S: Delete.
42444         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42445         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42446         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42447         (ret_ERRVAL, r0, r1, MOVE): Define.
42448         (JUMPTARGET): Remove.
42449         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42450         sysdeps/unix/sparc/sysdep.h
42451         (ENTRY, END): Remove.
42452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42453
42454 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42455
42456         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42457         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42458         -DIS_IN_build.
42459
42460         * timezone/README: Update upstream location and email address for
42461         tzcode and tzdata.
42462         * timezone/zdump.c: Update from tzcode 2012b.
42463         * timezone/zic.c: Likewise.
42464
42465         * configure.in (libc_cv_as_needed): Remove test.
42466         * configure: Regenerated.
42467         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42468         conditional definition.
42469         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42470         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42471         * config.make.in (have-as-needed): Remove variable.
42472
42473 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42474             Paul Pluzhnikov  <ppluzhnikov@google.com>
42475
42476         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42477         strings correctly.
42478
42479 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42480
42481         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42482         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42483         * sysdeps/sh/strlen.S: Likewise.
42484
42485 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42486
42487         * sysdeps/unix/fork.S: Remove file.
42488         * sysdeps/unix/i386/fork.S: Likewise.
42489         * sysdeps/unix/sparc/fork.S: Likewise.
42490
42491         * sysdeps/unix/system.c: Remove file.
42492         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42493
42494         * sysdeps/unix/getegid.S: Remove file.
42495         * sysdeps/unix/geteuid.S: Likewise.
42496
42497 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42498
42499         * scripts/check-localplt.awk: New file.
42500         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42501         of diff.
42502         * scripts/data/localplt-generic.data: Add a comment.
42503
42504         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42505         NODE when __dir_mkfile failed.
42506         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42507         Reported by Ludovic Courtès <ludo@gnu.org>.
42508
42509 2012-04-24  Andreas Jaeger  <aj@suse.de>
42510
42511         * Makerules (common-clean): Also remove gen-as-const-headers
42512         files.
42513
42514 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42515
42516         * Makerules (native-compile): Do not change working directory for
42517         build.  Use $(OUTPUT_OPTION) in command.
42518         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42519
42520 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42521
42522         [BZ #13886]
42523         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42524         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42525         * math/libm-test.inc (floor_test): Add more tests.
42526         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42527
42528 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42529
42530         * sysdeps/unix/getdents.c: Remove file.
42531         * sysdeps/unix/sysv/getdents.c: Likewise.
42532         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42533
42534         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42535         sysdeps/unix/mman/syscalls.list.
42536         (mmap): Likewise.
42537         (mprotect): Likewise.
42538         (msync): Likewise.
42539         (munmap): Likewise.
42540         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42541         * sysdeps/unix/mman/syscalls.list: Remove.
42542         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42543
42544         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42545         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42546         * configure: Regenerated.
42547         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42548         $(libgcc_s_suffix).
42549         * config.make.in (libgcc_s_suffix): Remove variable.
42550
42551 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42552
42553         * sysdeps/unix/sysv/gethostname.c: Move to ...
42554         * sysdeps/posix/gethostname.c: ... here.
42555
42556         * sysdeps/unix/execve.S: Remove file.
42557
42558         * sysdeps/unix/_exit.S: Remove file.
42559
42560 2012-04-23  Andreas Jaeger  <aj@suse.de>
42561
42562         [BZ #13739]
42563         * manual/Makefile: Remove make dist support, there's no
42564         need for a stand-alone documentation tar ball.
42565         (TEXI2DVI): Define always, it's not in Makeconfig.
42566         (dist): Removed.
42567         (tar-it): Removed.
42568         (edition): Removed.
42569         (glibc-doc-$(edition).tar): Removed
42570         (%.Z): Removed.
42571         (%.gz): Removed.
42572         (%.uu): Removed.
42573         (ETAGS): Remove, it's in Makeconfig.
42574         (move-if-change): Remove, it's in Makeconfig.
42575
42576 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42577
42578         [BZ #13970]
42579         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42580         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42581         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42582         (strtod_l, strtof_l, strtold_l): Remove __wur.
42583         It is not necessarily an error to ignore strtol's return value.
42584         One can reliably look at the stored endptr to decide whether
42585         the number had valid syntax.
42586
42587 2012-04-21  Andreas Jaeger  <aj@suse.de>
42588
42589         [BZ #13739]
42590         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42591
42592 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42593
42594         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42595         * sysdeps/unix/sysv/Versions: Remove file.
42596
42597 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42598
42599         [BZ #13927]
42600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42601
42602 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42603
42604         [BZ #7064]
42605         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42606         version from __vm86.
42607
42608 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42609
42610         * sysdeps/unix/common/lxstat.c: Remove file.
42611         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42612
42613         * sysdeps/unix/sysv/Makefile: Remove file.
42614
42615         * sysdeps/unix/sysv/direct.h: Remove file.
42616
42617         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42618         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42619         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42620         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42621         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42622         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42623         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42624
42625         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42626
42627         * sysdeps/unix/xmknod.c: Remove file.
42628         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42629
42630         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42631
42632         * sysdeps/unix/sysv/i386/time.S: Remove file.
42633
42634         * sysdeps/unix/fxstat.c: Remove file.
42635         * sysdeps/unix/xstat.c: Likewise.
42636         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42637
42638         * sysdeps/unix/sysv/sigaction.c: Remove file.
42639
42640         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42641         (sysdep_headers): Remove variable.
42642         [termio.h not in sysdep_headers] (generated): Likewise.
42643         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42644         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42645         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42646         * sysdeps/unix/sysv/tcflow.c: Likewise.
42647         * sysdeps/unix/sysv/tcflush.c: Likewise.
42648         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42649         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42650         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42651         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42652         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42653
42654         * sysdeps/unix/siglist.c: Remove file.
42655
42656         * sysdeps/unix/getppid.S: Remove file.
42657
42658         * sysdeps/unix/mkdir.c: Remove file.
42659         * sysdeps/unix/rmdir.c: Likewise.
42660
42661 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42662
42663         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42664         ERR_MAX value.
42665         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42666         errlist-compat value.
42667
42668 2012-04-18  David S. Miller  <davem@davemloft.net>
42669
42670         * sysdeps/generic/memcopy.h (reg_char): Delete.
42671         * debug/strcat_chk.c: Use char, not reg_char.
42672         * debug/strcpy_chk.c: Likewise.
42673         * debug/strncat_chk.c: Likewise.
42674         * debug/strncpy_chk.c: Likewise.
42675         * string/memchr.c: Likewise.
42676         * string/memrchr.c: Likewise.
42677         * string/rawmemchr.c: Likewise.
42678         * string/strcat.c: Likewise.
42679         * string/strchr.c: Likewise.
42680         * string/strchrnul.c: Likewise.
42681         * string/strcmp.c: Likewise.
42682         * string/strcpy.c: Likewise.
42683         * string/strncat.c: Likewise.
42684         * string/strncmp.c: Likewise.
42685         * string/strncpy.c: Likewise.
42686
42687 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42688
42689         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42690         __builtin_memcopy is called when src and dest ranges are known to not
42691         overlap.
42692
42693 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42694
42695         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42696         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42697         fwd_align_merge macro call.
42698         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42699         bwd_align_merge macro call.
42700         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42701
42702 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42703
42704         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42705         bwd_align_merge macros.
42706         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42707         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42708         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42709
42710 2012-04-18  David S. Miller  <davem@davemloft.net>
42711
42712         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42713
42714 2012-04-18  Andreas Jaeger  <aj@suse.de>
42715
42716         [BZ# 6794]
42717         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42718         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42719         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42720
42721         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42722         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42723         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42724
42725         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42726         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42727         Adjust for changed ldbl-128 files.
42728
42729         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42730         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42731         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42732
42733 2012-04-17  David S. Miller  <davem@davemloft.net>
42734
42735         * sysdeps/sparc/sparc32/memcopy.h: Delete.
42736
42737 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
42738
42739         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42740         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42741         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42742         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42743         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42744         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42745
42746 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42747
42748         [BZ #6794]
42749         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42750         * math/libm-test.inc: Add ilogb errno and exception tests.
42751         * math/w_ilogb.c: New file: ilogb wrapper.
42752         * math/w_ilogbf.c: New file: ilogbf wrapper.
42753         * math/w_ilogbl.c: New file: ilogbl wrapper.
42754         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42755         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42756         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42757         exception being thrown with 0.0 as argument.
42758         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42759         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42760         exception being thrown with 0.0 as argument.
42761         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42762         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42763         exception being thrown with 0.0 as argument.
42764         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42765         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42766         exception being thrown with 0.0 as argument.
42767         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42768         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42769         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42770         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42771         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42772         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42773         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42774         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42775         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42776
42777 2012-04-17  Petr Baudis  <pasky@ucw.cz>
42778
42779         * include/sys/uio.h: Change __vector to __iovec to avoid clash
42780         with altivec.
42781
42782 2012-04-16  Marek Polacek  <polacek@redhat.com>
42783
42784         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42785
42786 2012-04-16  Marek Polacek  <polacek@redhat.com>
42787
42788         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42789         operands of fdivp instruction.
42790
42791 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42792
42793         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42794         * elf/tst-auditmod3b.c: Likewise.
42795         * elf/tst-auditmod4b.c: Likewise.
42796         * elf/tst-auditmod5b.c: Likewise.
42797         * elf/tst-auditmod6b.c: Likewise.
42798         * elf/tst-auditmod6c.c: Likewise.
42799         * elf/tst-auditmod7b.c: Likewise.
42800         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42801         * sysdeps/x86_64/preconfigure.in: Likewise.
42802         * sysdeps/x86_64/preconfigure: Regenerated.
42803
42804 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42805
42806         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42807         __ILP32__.
42808
42809 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
42810
42811         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42812         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42813
42814 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
42815
42816         [BZ #13973]
42817         * locale/iso-639.def: Fix gl language name. Spotted by
42818         Yaron Shahrabani.
42819
42820 2012-04-12  Roland McGrath  <roland@hack.frob.com>
42821
42822         [BZ #2074]
42823         * libio/libio.h (__io_write_fn): Update comment.
42824
42825 2012-04-12  Petr Baudis  <pasky@ucw.cz>
42826
42827         [BZ #2074]
42828         * stdio.texi (Hook Functions): The user provided writer function
42829         is not allowed to return -1.
42830
42831 2012-04-11  David S. Miller  <davem@davemloft.net>
42832
42833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42834
42835 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
42836
42837         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42838         Add a leading slash to rtkaio.
42839
42840 2012-04-11  Jim Meyering  <meyering@redhat.com>
42841
42842         [BZ #11959]
42843         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42844         It is not necessarily an error to ignore fwrite's return
42845         value.  One can reliably use ferror to test for errors after
42846         the fact.
42847
42848 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42849
42850         * bits/types.h (__snseconds_t): New type.
42851         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42852
42853         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42854         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42855         (__SNSECONDS_T_TYPE): Likewise.
42856         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42857         (__SNSECONDS_T_TYPE): Likewise.
42858         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42859         (__SNSECONDS_T_TYPE): Likewise.
42860
42861 2012-04-10  Andreas Jaeger  <aj@suse.de>
42862
42863         [BZ #2636]
42864         * manual/time.texi (Processor Time): Return type of times is
42865         elapsed real time since an arbitrary point in the past.
42866         (CPU Time): Move CLK_TCK from here...
42867         (Processor Time): ...to here.  Correct description.
42868         * manual/conf.texi (Constants for Sysconf): Correct description of
42869         _SC_CLK_TCK.
42870
42871 2012-04-10  David S. Miller  <davem@davemloft.net>
42872
42873         [BZ #13967]
42874         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42875         where the is a gap between DT_REL(A) and DT_JMPREL.
42876
42877 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42878
42879         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42880         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42881         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42882
42883 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42884
42885         * elf/dl-support.c (_dl_inhibit_cache): New variable.
42886         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42887         (dl_main): Handle --inhibit-cache.
42888         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42889         _dl_inhibit_cache.
42890         * elf/dl-load.c (_dl_map_object): Use it.
42891         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42892
42893 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42894
42895         [BZ #13872]
42896         * sysdeps/i386/fpu/e_powl.S (p78): New object.
42897         (__ieee754_powl): Saturate large exponents rather than testing for
42898         overflow of y*log2(x).
42899         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42900         * math/libm-test.inc (pow_test): Do not permit spurious overflow
42901         exceptions.
42902
42903         [BZ #11521]
42904         * math/s_ctan.c: Include <float.h>.
42905         (__ctan): Avoid internal overflow or cancellation in calculating
42906         denominator.
42907         * math/s_ctanf.c: Likewise.
42908         * math/s_ctanl.c: Likewise.
42909         * math/s_ctanh.c: Likewise.
42910         * math/s_ctanhf.c: Likewise.
42911         * math/s_ctanhl.c: Likewise.
42912         * math/libm-test.inc (ctan_test): Add more tests.
42913         (ctanh_test): Likewise.
42914         * sysdeps/i386/fpu/libm-test-ulps: Update.
42915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42916
42917 2012-04-09  Andreas Jaeger  <aj@suse.de>
42918
42919         [BZ #6894]
42920         * manual/filesys.texi (Directory Entries): Mention that d_namlen
42921         is an optional BSD extension.
42922
42923         [BZ #10254]
42924         * manual/stdio.texi (Opening Streams): Document additional fopen
42925         parameters.
42926
42927 2012-04-09  Roland McGrath  <roland@hack.frob.com>
42928
42929         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42930         %eax without telling the compiler.
42931
42932 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
42933
42934         [BZ # 13963]
42935         * manual/install.texi: Use sourceware.org.
42936
42937 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42938
42939         [BZ #13873]
42940         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42941         (__ieee754_pow): Generate overflow and underflow using huge*huge
42942         and tiny*tiny rather than just returning constant infinity or zero
42943         for large exponents.
42944         * math/libm-test.inc (pow_test): Require overflow exceptions for
42945         applicable cases of large exponents.
42946
42947         [BZ #706]
42948         * sysdeps/i386/fpu/e_pow.S (p10): New object.
42949         (__ieee754_pow): Use iterative multiplication algorithm only for
42950         integer exponents with absolute value below 1024.  Check for odd
42951         integer exponents when using algorithm for real exponents.
42952         * math/libm-test.inc (pow_test): Add more tests.
42953         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42954
42955 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
42956
42957         [BZ #13705]
42958         * math/libm-test.inc (exp_test): Do not allow overflow exception
42959         on underflow test.
42960
42961 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
42962
42963         [BZ #13705]
42964         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42965         instead of __kernel_standard_f.
42966
42967 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
42968
42969         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42970         * sysdeps/x86_64/memset_chk.S: Likewise.
42971
42972 2012-04-08  Andreas Jaeger  <aj@suse.de>
42973
42974         [BZ #10153]
42975         * manual/startup.texi (Environment Access): Describe return value
42976         for putenv and setenv.
42977
42978         [BZ #6895]
42979         * manual/filesys.texi (Directory Entries): Add description for
42980         DT_LNK.
42981
42982         [BZ #6890]
42983         * manual/filesys.texi (Directory Entries): Clarify that it's file
42984         system not operating system in the description of DT_UNKNOWN.
42985
42986         [BZ #6578]
42987         * manual/syslog.texi (closelog): Fix reference, it's openlog.
42988
42989 2012-04-08  Stephen Compall  <s11@member.fsf.org>
42990
42991         [BZ #6649]
42992         * manual/llio.texi (Opening and Closing Files): Add cross
42993         reference to explain mode argument.
42994
42995 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
42996
42997         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42998         * sysdeps/x86_64/memset_chk.S: Likewise.
42999
43000 2012-04-07  David S. Miller  <davem@davemloft.net>
43001
43002         * elf/elf.h (R_SPARC_WDISP10): Define.
43003         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43004         R_SPARC_SIZE32.
43005         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43006         R_SPARC_SIZE64 and R_SPARC_H34.
43007
43008 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43009
43010         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43011         conditions and remove no longer applicable assertion.
43012
43013 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43014
43015         * bits/byteswap.h: Include <features.h>.
43016         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43017         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43018
43019 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43020
43021         * bits/byteswap.h (__bswap_16): Removed.
43022         Include <bits/byteswap-16.h> to get __bswap_16.
43023         * sysdeps/i386/bits/byteswap.h: Likewise.
43024         * sysdeps/s390/bits/byteswap.h: Likewise.
43025         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43026         * bits/byteswap-16.h: New file.
43027         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43028         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43029         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43030         * string/Makefile (headers): Add bits/byteswap-16.h.
43031
43032 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43033
43034         [BZ #13895]
43035         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43036         extra indirection.
43037         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43038         * nss/tst-nss-static.c: New.
43039
43040 2012-04-06  Robert Millan  <rmh@gnu.org>
43041
43042         [BZ #6486]
43043         * manual/llio.texi (File Position Primitive): lseek
43044         refers to WHENCE when it really means OFFSET.
43045
43046 2012-04-06  Andreas Jaeger  <aj@suse.de>
43047
43048         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43049         strncmp declarations.
43050
43051         * abilist/libc.abilist: Add __poll and __ppoll.
43052
43053 2012-04-05  David S. Miller  <davem@davemloft.net>
43054
43055         * scripts/check-local-headers.sh: Accept a host triplet in the
43056         path matched by the exclude regexp.
43057
43058         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43059         definition.
43060         * sysdeps/powerpc/powerpc32/dl-machine.h
43061         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43062         * sysdeps/s390/s390-32/dl-machine.h
43063         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43064         * sysdeps/sparc/sparc32/dl-machine.h
43065         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43066         * sysdeps/sparc/sparc64/dl-machine.h
43067         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43068
43069         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43070         lazy binding.
43071         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43072         undefined symbol errors.
43073
43074         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43075         DT_NEEDED entries.
43076
43077 2012-04-05  Michael Matz  <matz@suse.de>
43078
43079         [BZ #13592]
43080         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43081
43082 2012-04-05  Andreas Jaeger  <aj@suse.de>
43083
43084         [BZ #13908]
43085         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43086         comment.
43087
43088 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43089
43090         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43091         which ROUND is no valid rounding mode.
43092
43093 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43094
43095         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43096         read again.
43097         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43098
43099 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43100
43101         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43102         an exception using FPU order intentionally.
43103
43104 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43105
43106         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43107         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43108         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43109         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43110
43111 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43112
43113         [BZ #12340]
43114         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43115         EINVAL when BUFLEN is too smal.
43116
43117 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43118
43119         [BZ #13553]
43120         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43121         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43122
43123 2012-04-03  Andreas Jaeger  <aj@suse.de>
43124
43125         [BZ #13938]
43126         * manual/setjmp.texi (System V contexts): Fix sentence.
43127
43128         [BZ #13926]
43129         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43130         New macro for this case.
43131         [!__GNUC__] (__bswap_64): New inline function for this case.
43132         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43133         * bits/byteswap.h: Likewise.
43134         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43135         ull, guard with __GLIBC_HAVE_LONG_LONG.
43136
43137         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43138         __GLIBC_HAVE_LONG_LONG.
43139
43140         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43141         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43142
43143 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43144
43145         [BZ #13691]
43146         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43147         inptr and inend, rather than using last_ch.
43148
43149 2012-04-02  David S. Miller  <davem@davemloft.net>
43150
43151         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43152         * stdio-common/printf-parse.h (read_int): Change return type to
43153         'int', return -1 on INT_MAX overflow.
43154         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43155         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43156         overflows INT_MAX.  Check for overflow of in-format-string precision
43157         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43158         SIZE_MAX not INT_MAX for integer overflow test.
43159         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43160         skip the construct in the format string but do not record anything.
43161         * stdio-common/bug22.c: Adjust to test both width/prevision
43162         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43163         explicitly for proper errno values.
43164
43165 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43166
43167         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43168         CHAR_MAX.
43169         * string/test-strcmp.c [! WIDE]: Likewise.
43170         * time/tst-mktime2.c: Likewise for INT_MAX.
43171         * string/test-string.h: #include <sys/param.h> for MIN.
43172
43173         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43174         * sysdeps/i386/init-first.c (init): Likewise.
43175         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43176         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43177         * sysdeps/sh/init-first.c (init): Likewise.
43178
43179 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43180
43181         * po/ru.po: Update from translation team.
43182         * po/vi.po: Likewise.
43183
43184 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43185
43186         * resolv/nss_dns/dns-host.c: Merge copyright years.
43187
43188 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43189
43190         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43191         Optimize memcpy with prefetch if
43192         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43193         src, dst pointers have unequal 16 byte alignments.
43194
43195 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43196
43197         [BZ #13928]
43198         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43199         from a CNAME entry and return the minimum ttl for the query.
43200         (gaih_getanswer_slice): Likewise.
43201
43202 2012-03-30  Jeff Law  <law@redhat.com>
43203
43204         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43205         due to long keys.
43206         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43207         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43208
43209         * resolv/nss_dns/dns-host.c: Update copyright year.
43210
43211 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43212
43213         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43214         requests to save a system call.  Fix check that all bytes are sent.
43215
43216         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43217         comments for sendmmsg.
43218
43219 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43220
43221         [BZ #13691]
43222         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43223         with only 1 character between 0x0041 and 0x01b0.
43224         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43225         * wcsmbs/tst-mbsnrtowcs.c: New file.
43226
43227 2012-03-29  David S. Miller  <davem@davemloft.net>
43228
43229         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43230         small copies by hand.
43231
43232 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43233
43234         [BZ #13761]
43235         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43236         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43237         group memberships.
43238
43239 2012-03-28  David S. Miller  <davem@davemloft.net>
43240
43241         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43242         that branches into memcpy.
43243         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43244         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43245         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43246         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43247         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43248         bits.
43249         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43250         implementation too.
43251         * sysdeps/sparc/mempcpy.S: New file.
43252
43253         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43254         the IFUNC routine in the libc case.
43255         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43256
43257         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43258         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43259         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43260         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43261         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43262         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43263         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43264         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43265
43266         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43267         loop to 256 bytes instead of 64 bytes and fix test signedness.
43268
43269         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43270         * sysdeps/sparc/sparc32/Makefile: rather than here...
43271         * sysdeps/sparc/sparc64/Makefile: and here.
43272
43273 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43274
43275         * malloc/mallocbug.c: Avoid warnings about unused variables.
43276
43277 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43278
43279         [BZ #13760]
43280         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43281         in the right place. Discard and retry query if response is
43282         larger than input buffer size.
43283
43284 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43285
43286         [BZ #369]
43287         [BZ #2678]
43288         [BZ #3866]
43289         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43290         x for large integer exponent.
43291         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43292         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43293         sign of result as needed afterwards.
43294         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43295         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43296         result for underflowing pow the same as for overflow.
43297         (__kernel_standard_l): Handle powl overflow and underflow here
43298         rather than calling __kernel_standard.
43299         * math/libm-test.inc (pow_test): Add more tests.
43300
43301         [BZ #3868]
43302         [BZ #13879]
43303         [BZ #13910]
43304         [BZ #13911]
43305         [BZ #13912]
43306         [BZ #13913]
43307         [BZ #13915]
43308         [BZ #13916]
43309         [BZ #13917]
43310         [BZ #13918]
43311         [BZ #13919]
43312         [BZ #13920]
43313         [BZ #13921]
43314         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43315         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43316         (__kernel_standard_l): New function.
43317         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43318         __kernel_standard.
43319         * math/w_acosl.c (__acosl): Likewise.
43320         * math/w_asinl.c (__asinl): Likewise.
43321         * math/w_atan2l.c (__atan2l): Likewise.
43322         * math/w_atanhl.c (__atanhl): Likewise.
43323         * math/w_coshl.c (__coshl): Likewise.
43324         * math/w_exp10l.c (__exp10l): Likewise.
43325         * math/w_exp2l.c (__exp2l): Likewise.
43326         * math/w_fmodl.c (__fmodl): Likewise.
43327         * math/w_hypotl.c (__hypotl): Likewise.
43328         * math/w_j0l.c (__j0l, __y0l): Likewise.
43329         * math/w_j1l.c (__j1l, __y1l): Likewise.
43330         * math/w_jnl.c (__jnl, __ynl): Likewise.
43331         * math/w_lgammal.c (__lgammal): Likewise.
43332         * math/w_log10l.c (__log10l): Likewise.
43333         * math/w_log2l.c (__log2l): Likewise.
43334         * math/w_logl.c (__logl): Likewise.
43335         * math/w_powl.c (__powl): Likewise.
43336         * math/w_remainderl.c (__remainderl): Likewise.
43337         * math/w_scalbl.c (sysv_scalbl): Likewise.
43338         * math/w_sinhl.c (__sinhl): Likewise.
43339         * math/w_sqrtl.c (__sqrtl): Likewise.
43340         * math/w_tgammal.c (__tgammal): Likewise.
43341         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43342         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43343         * math/libm-test.inc (acos_test): Add more tests.
43344         (acosh_test): Likewise.
43345         (asin_test): Likewise.
43346         (atanh_test): Likewise.
43347         (exp_test): Likewise.
43348         (exp10_test): Likewise.
43349         (exp2_test): Likewise.
43350         (expm1_test): Likewise.
43351         (lgamma_test): Likewise.
43352         (log_test): Likewise.
43353         (log10_test): Likewise.
43354         (log1p_test): Likewise.
43355         (log2_test): Likewise.
43356         (pow_test): Do not allow some spurious overflow exceptions.
43357         (sqrt_test): Add more tests.
43358         (tgamma_test): Likewise.
43359         (y0_test): Likewise.
43360         (y1_test): Likewise.
43361         (yn_test): Likewise.
43362
43363 2012-03-27  Anton Blanchard  <anton@samba.org>
43364
43365         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43366         MAP_HUGETLB.
43367         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43368         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43369         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43370
43371 2012-03-27  David S. Miller  <davem@davemloft.net>
43372
43373         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43374
43375         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43376         have-as-vis3 check.
43377
43378 2012-03-27  Andreas Jaeger  <aj@suse.de>
43379
43380         * sysdeps/x86_64/elf/configure.in: Moved to ...
43381         * sysdeps/x86_64/configure.in: ... here.
43382         * sysdeps/x86_64/elf/start.S: Moved to ...
43383         * sysdeps/x86_64/start.S: ... here.
43384         * sysdeps/x86_64/elf/configure: Delete.
43385
43386         * sysdeps/x86_64/configure.in: Merge contents from
43387         sysdeps/i386/configure.in (without i686 check).
43388
43389         * sysdeps/i386/elf/Versions: Merge into ...
43390         * sysdeps/i386/Versions: ... this.
43391         * sysdeps/i386/elf/Versions: Delete file.
43392         * sysdeps/i386/elf/start.S: Moved to ...
43393         * sysdeps/i386/start.S: ...here.
43394         * sysdeps/i386/elf/configure.in: Merge into...
43395         * sysdeps/i386/configure.in: ...here.
43396         * sysdeps/i386/elf/configure.in: Delete file.
43397         * sysdeps/i386/elf/configure: Delete file.
43398
43399         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43400         * debug/backtracesyms.c: ... here.
43401         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43402         * debug/backtracesymsfd.c: ... here.
43403         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43404         * sysdeps/generic/ifunc-sel.h: ... here.
43405
43406         * sysdeps/unix/i386/start.c: Delete file.
43407         * sysdeps/unix/sparc/start.c: Delete file.
43408         * sysdeps/unix/start.c: Delete file.
43409
43410         * sysdeps/sh/elf/configure.in: Moved to ...
43411         * sysdeps/sh/configure.in: ... here.
43412         * sysdeps/sh/elf/start.S: Moved to ...
43413         * sysdeps/sh/start.S: ... here.
43414         * sysdeps/sh/elf/configure: Delete file.
43415
43416         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43417         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43418         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43419         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43420         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43421         * sysdeps/powerpc/powerpc64/start.S: here.
43422         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43423         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43424         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43425         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43426         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43427
43428         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43429         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43430         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43431         * sysdeps/powerpc/powerpc32/start.S: ... here.
43432         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43433         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43434         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43435
43436         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43437         * sysdeps/powerpc/ifunc-sel.h: ... here.
43438         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43439         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43440
43441         * sysdeps/sparc/elf/configure.in: Moved to ...
43442         * sysdeps/sparc/configure.in: ... here.
43443         * sysdeps/sparc/elf/configure: Delete file.
43444         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43445         * sysdeps/sparc/sparc32/start.S: ... here.
43446         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43447         * sysdeps/sparc/sparc64/start.S: ... here.
43448         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43449         * sysdeps/sparc/sparc32/Makefile: ... this.
43450         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43451         * sysdeps/sparc/sparc64/Makefile: ... this.
43452
43453         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43454         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43455         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43456         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43457         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43458         * sysdeps/s390/s390-32/setjmp.S: ... here.
43459         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43460         * sysdeps/s390/s390-32/configure.in: ... here.
43461         * sysdeps/s390/s390-32/elf/configure: Delete file.
43462         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43463         * sysdeps/s390/s390-32/start.S: ... here.
43464
43465         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43466         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43467         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43468         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43469         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43470         * sysdeps/s390/s390-64/setjmp.S: ... here.
43471         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43472         * sysdeps/s390/s390-64/configure.in: ... here
43473         * sysdeps/s390/s390-64/elf/configure: Delete file.
43474         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43475         * sysdeps/s390/s390-64/start.S: ... here.
43476         * sysdeps/s390/s390-64/elf/configure: Delete.
43477
43478         * configure.in: Remove support for elf directories in sysdeps.
43479
43480         * configure: Regenerated.
43481         * sysdeps/i386/configure: Regenerated.
43482         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43483         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43484         * sysdeps/s390/s390-32/configure: Regenerated.
43485         * sysdeps/s390/s390-64/configure: Regenerated.
43486         * sysdeps/sh/configure: Regenerated.
43487         * sysdeps/sparc/configure: Regenerated.
43488         * sysdeps/x86_64/configure: Regenerated.
43489
43490 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43491
43492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43493
43494         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43495         denormal result into account.
43496
43497 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43498
43499         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43500         Reported by Allan McRae <allan@archlinux.org>.
43501
43502 2012-03-23  Jeff Law  <law@redhat.com>
43503
43504         * nss/getnssent.c (__nss_getent): Fix typo.
43505
43506 2012-03-23  David S. Miller  <davem@davemloft.net>
43507
43508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43509
43510 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43511
43512         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43513         to pad to uint64_t for each field.
43514         (dl_tls_index): Replace unsigned long with uint64_t.
43515
43516 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43517         Paul Pluzhnikov  <ppluzhnikov@google.com>
43518
43519         [BZ #6528]
43520         * grp/Makefile (otherlibs): Don't set it.
43521         * inet/Makefile (otherlibs): Likewise.
43522         * login/Makefile (otherlibs): Likewise.
43523         * nscd/Makefile (otherlibs): Likewise.
43524         * posix/Makefile (otherlibs): Likewise.
43525         * pwd/Makefile (otherlibs): Likewise.
43526         * rt/Makefile (otherlibs): Likewise.
43527         * sunrpc/Makefile (otherlibs): Likewise.
43528         * nss/Makefile (otherlibs): Likewise.
43529         Add libnss_files to routines and static-only-routines.
43530         ($(objpfx)getent): Remove rule.
43531         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43532         static-only-routines.
43533
43534 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43535
43536         [BZ #13892]
43537         * math/s_cexp.c: Include <float.h>.
43538         (__cexp): Handle exp result overflowing not necessarily
43539         overflowing both real and imaginary parts of result.
43540         * math/s_cexpf.c: Likewise.
43541         * math/s_cexpl.c: Likewise.
43542         * math/libm-test.inc (cexp_test): Add more tests.
43543         * sysdeps/i386/fpu/libm-test-ulps: Update.
43544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43545
43546 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43547
43548         * include/link.h (ELFW): New macro.
43549         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43550         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43551
43552 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43553
43554         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43555         with uint64_t.
43556
43557 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43558
43559         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43560         declaration.
43561         (struct La_x32_retval): Likewise.
43562
43563 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43564
43565         * sysdeps/x86_64/preconfigure.in: New file.
43566         * sysdeps/x86_64/preconfigure: New generated file.
43567
43568 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43569
43570         [BZ #13824]
43571         * math/e_exp2l.c: Include <float.h>.
43572         (__ieee754_exp2l): Handle overflow and underflow cases
43573         separately.  Only pass fractional part of argument to
43574         __ieee754_expl.
43575         * math/libm-test.inc (exp2_test): Add more tests.
43576
43577         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43578         negating x to take absolute value.
43579         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43580         Likewise.
43581         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43582         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43583         Likewise.
43584         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43585         computing low part if x was negated.
43586         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43587
43588 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43589
43590         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43591         la_x32_gnu_pltexit.
43592         (pltexit): Cast int_retval to ptrdiff_t.
43593         * elf/tst-auditmod3b.c: Likewise.
43594         * elf/tst-auditmod4b.c: Likewise.
43595         * elf/tst-auditmod5b.c: Likewise.
43596         * elf/tst-auditmod6b.c: Likewise.
43597         * elf/tst-auditmod6c.c: Likewise.
43598         * elf/tst-auditmod7b.c: Likewise.
43599
43600         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43601         and x32_gnu_pltexit.
43602
43603         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43604         __ELF_NATIVE_CLASS.
43605         (La_x32_regs): New macro.
43606         (La_x32_retval): Likewise.
43607         (la_x32_gnu_pltenter): New function prototype.
43608         (la_x32_gnu_pltexit): Likewise.
43609
43610 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43611
43612         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43613         exponent.
43614
43615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43616
43617         * configure.in (libc_cv_cc_nofma): Check for option to disable
43618         generation of FMA instructions.
43619         * configure: Regenerate.
43620         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43621         * sysdeps/ieee754/dbl-64/Makefile: New file.
43622         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43623         Remove brandred-fma4.
43624         (CFLAGS-brandred-fma4.c): Remove.
43625         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43626         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43627         define.
43628         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43629         define.
43630
43631 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43632
43633         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43634         LLONG_MAX != LONG_MAX.
43635         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43636         (_fitoa_word): Likewise.
43637         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43638         LLONG_MAX != LONG_MAX.
43639         * stdio-common/_itowa.h: Include <_itoa.h>.
43640         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43641         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43642         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43643         only if not defined.
43644         (_ITOA_WORD_TYPE): Likewise.
43645         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43646         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43647
43648 2012-03-21  David S. Miller  <davem@davemloft.net>
43649
43650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43651
43652 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43653
43654         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43655         of x86_64 when setting libc_cv_slibdir, libdir and
43656         libc_cv_localedir.
43657         * sysdeps/unix/sysv/linux/configure: Regenerated.
43658
43659 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43660
43661         * manual/lang.texi (Old Varargs): Remove section.
43662         (How Variadic): Update menu.
43663         (va_start): Do not mention varargs.h.
43664
43665 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43666             Joseph Myers  <joseph@codesourcery.com>
43667
43668         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43669         link test.
43670         * configure: Regenerated.
43671
43672 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43673
43674         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43675         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43676         conformtest.pl
43677
43678 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43679
43680         * NOTES: Remove.
43681         * Makefile (files-for-dist): Remove NOTES.
43682         (NOTES): Remove rule.
43683         * README: Don't refer to NOTES.
43684         * manual/creature.texi: Don't include macros.texi.
43685         * manual/intro.texi (creature.texi): Remove comment referring to
43686         NOTES.
43687
43688         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43689         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43690         * configure: Regenerated.
43691         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43692         LIBC_TRY_CC_OPTION.
43693         (libc_cv_as_i686): Likewise.
43694         (libc_cv_cc_avx): Likewise.
43695         (libc_cv_cc_sse2avx): Likewise.
43696         (libc_cv_cc_fma4): Likewise.
43697         (libc_cv_cc_novzeroupper): Likewise.
43698         * sysdeps/i386/configure: Regenerated.
43699
43700         [BZ #13883]
43701         * sysdeps/i386/fpu/s_cexp.S: Remove.
43702         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43703         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43704         * math/libm-test.inc (cexp_test): Add more tests.
43705         * sysdeps/i386/fpu/libm-test-ulps: Update.
43706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43707
43708 2012-03-21  Allan McRae  <allan@archlinux.org>
43709
43710         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43711
43712 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43713
43714         [BZ #13871]
43715         * math/w_exp2.c: Do not include <float.h>.
43716         (o_threshold, u_threshold): Remove.
43717         (__exp2): Calculate result before checking finiteness and calling
43718         __kernel_standard.
43719         * math/w_exp2f.c: Likewise.
43720         * math/w_exp2l.c: Likewise.
43721         * math/libm-test.inc (exp2_test): Require overflow exception for
43722         1e6 input.
43723
43724         [BZ #3866]
43725         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43726         range of signed 64-bit integers before using fistpll.  Remove
43727         checks for whether integers fit in mantissa bits.
43728         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43729         the range of signed 32-bit integers before using fistpl.  Remove
43730         checks for whether integers fit in mantissa bits.
43731         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43732         (__ieee754_powl): Test for y outside the range of signed 64-bit
43733         integers before using fistpll.  Reduce 64-bit values to 63-bit
43734         ones as needed.
43735         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43736         divide-by-zero is raised for zero to large negative powers.
43737         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43738         (__ieee754_powl): Test for y outside the range of signed 64-bit
43739         integers before using fistpll.  Reduce 64-bit values to 63-bit
43740         ones as needed.
43741         * math/libm-test.inc (pow_test): Add more tests.
43742
43743 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43744
43745         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43746         <stdio-common/_itoa.h>.
43747         * debug/segfault.c: Likewise.
43748         * elf/dl-cache.c: Likewise.
43749         * elf/dl-minimal.c: Likewise.
43750         * elf/dl-misc.c: Likewise.
43751         * elf/dl-sysdep.c: Likewise.
43752         * elf/dl-version.c: Likewise.
43753         * elf/rtld.c: Likewise.
43754         * hurd/hurdsock.c: Likewise.
43755         * hurd/lookup-retry.c: Likewise.
43756         * malloc/malloc.c: Likewise.
43757         * malloc/mtrace.c: Likewise.
43758         * nscd/nscd_getgr_r.c: Likewise.
43759         * nscd/nscd_getpw_r.c: Likewise.
43760         * nscd/nscd_getserv_r.c: Likewise.
43761         * posix/getopt_init.c: Likewise.
43762         * posix/wordexp.c: Likewise.
43763         * stdio-common/_itoa.c: Likewise.
43764         * stdio-common/printf_fphex.c: Likewise.
43765         * stdio-common/vfprintf.c: Likewise.
43766         * string/_strerror.c: Likewise.
43767         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43768         * sysdeps/i386/i686/hp-timing.h: Likewise.
43769         * sysdeps/mach/_strerror.c: Likewise.
43770         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43771         * sysdeps/mach/hurd/sethostid.c: Likewise.
43772         * sysdeps/mach/hurd/xmknodat.c: Likewise.
43773         * sysdeps/mach/xpg-strerror.c: Likewise.
43774         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43775         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43776         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43777         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43778         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43779         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43780         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43781         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43782         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43783         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43784         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43785         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43786         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43787         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43788         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43789         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43790         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43791         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43792         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43793         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43794         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43795
43796         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43797
43798         * stdio-common/_itoa.h: Moved to ...
43799         * sysdeps/generic/_itoa.h: Here.
43800
43801         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43802
43803         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43804         instead of "_itoa.h" and "_itowa.h".
43805         * stdio-common/vfprintf.: Likewise.
43806
43807 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43808
43809         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43810         <bits/wordsize.h>.
43811         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43812         (__signbit): Likwise.
43813         (llrintf): Likwise.
43814         (llrint): Likwise.
43815
43816 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43817
43818         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43819         __WORDSIZE != 64.
43820
43821 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
43822
43823         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43824         OVERFLOW_EXCEPTION_OK.
43825         * math/libm-test.inc ("Philosophy"): Update comment about
43826         exception testing.
43827         (OVERFLOW_EXCEPTION): Define.
43828         (OVERFLOW_EXCEPTION_OK): Likewise.
43829         (INVALID_EXCEPTION_OK): Renumber.
43830         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43831         (IGNORE_ZERO_INF_SIGN): Likewise.
43832         (test_exceptions): Handle FE_OVERFLOW.
43833         (exp10_test): Expect overflow exceptions.
43834         (exp2_test): Likewise.
43835         (expm1_test): Likewise.
43836         (nextafter_test): Likewise.
43837         (pow_test): Likewise.
43838         (scalbn_test): Likewise.
43839         (scalbln_test): Likewise.
43840
43841 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43842
43843         * sysdeps/x86_64/bits/atomic.h
43844         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43845         64bit integer.
43846         (atomic_exchange_acq): Likewise.
43847         (__arch_exchange_and_add_body): Likewise.
43848         (__arch_add_body): Likewise.
43849         (atomic_add_negative): Likewise.
43850         (atomic_add_zero): Likewise.
43851
43852 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43853
43854         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43855         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43856
43857 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43858
43859         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43860         Check __x86_64__ instead of __WORDSIZE.
43861
43862 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43863
43864         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43865
43866 2012-03-19  David S. Miller  <davem@davemloft.net>
43867
43868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43869
43870         * sysdeps/sparc/fpu/fenv_private.h: New file.
43871         * sysdeps/sparc/fpu/math_private.h: Use it.
43872         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43873         Remove.
43874         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43875         (libc_feholdexcept_setroundl): Remove.
43876         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43877         Remove.
43878         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43879         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43880
43881 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43882
43883         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43884         int64_t instead of long int.
43885         (INSERT_WORDS64): Likwise.
43886
43887 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43888
43889         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43890         _Unwind_GetCFA return to _Unwind_Ptr first.
43891
43892 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
43893
43894         [BZ #13629]
43895         * math/s_clog.c: Include <float.h>.
43896         (__clog): Scale large or subnormal inputs.
43897         * math/s_clogf.c: Likewise.
43898         * math/s_clogl.c: Likewise.
43899         * math/s_clog10.c: Include <float.h>.
43900         (M_LOG10_2): Define.
43901         (__clog10): Scale large or subnormal inputs.
43902         * math/s_clog10f.c: Likewise.
43903         * math/s_clog10l.c: Likewise.
43904         * math/libm-test.inc (clog_test): Add more tests.
43905         (clog10_test): Likewise.
43906         * sysdeps/i386/fpu/libm-test-ulps: Update.
43907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43908
43909         [BZ #11451]
43910         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43911         x and y.
43912         * math/libm-test.inc (atan2_test): Add another test.
43913
43914         * Makerules (common-objdir-compile): Remove.
43915         * sysdeps/unix/Makefile (config-generated): Do not add
43916         $(unix-generated) to variable.
43917         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43918         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43919         Remove rule.
43920         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43921         Likewise.
43922         [generic bits/local_lim.h] (before-compile): Do not append to
43923         variable.
43924         [generic bits/local_lim.h] (common-generated): Likewise.
43925         [generic sys/param.h] (before-compile): Do not append to variable.
43926         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43927         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43928         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43929         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43930         include.
43931         [generic sys/param.h] (sys/param.h-includes): Remove variable.
43932         [generic sys/param.h] (sys/param.h-includes): Remove rule.
43933         [generic sys/param.h] ($(addprefix
43934         $(common-objpfx),$(sys/param.h-includes))): Likewise.
43935         [generic sys/param.h] (common-generated): Do not append to
43936         variable.
43937         [generic sys/param.h] (sysdep_headers): Likewise.
43938         [generic bits/errno.h] (before-compile): Do not append to
43939         variable.
43940         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43941         rule.
43942         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43943         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43944         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43945         [generic bits/errno.h] (common-generated): Do not append to
43946         variable.
43947         [generic bits/ioctls.h] (before-compile): Do not append to
43948         variable.
43949         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43950         rule.
43951         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43952         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43953         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43954         rule.
43955         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43956         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43957         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43958         [generic bits/ioctls.h] (common-generated): Do not append to
43959         variable.
43960         [generic sys/syscall.h] (syscall.h): Remove variable.
43961         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43962         rule.
43963         [generic sys/syscall.h] (before-compile): Do not append to
43964         variable.
43965         [generic sys/syscall.h] (common-generated): Likewise.
43966         * sysdeps/unix/errnos-tmpl.c: Remove file.
43967         * sysdeps/unix/errnos.awk: Likewise.
43968         * sysdeps/unix/ioctls-tmpl.c: Likewise.
43969         * sysdeps/unix/ioctls.awk: Likewise.
43970         * sysdeps/unix/mk-local_lim.c: Likewise.
43971         * sysdeps/unix/snarf-ioctls: Likewise.
43972
43973 2012-03-19  Richard Henderson  <rth@twiddle.net>
43974
43975         * sysdeps/i386/fpu/fenv_private.h: New file.
43976         * sysdeps/i386/fpu/math_private.h: Use it.
43977         (math_opt_barrier, math_force_eval): Remove.
43978         (libc_feholdexcept_setround_53bit): Remove.
43979         (libc_feupdateenv_53bit): Remove.
43980         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43981         (math_opt_barrier, math_force_eval): Remove.
43982         (libc_feholdexcept): Remove.
43983         (libc_feholdexcept_setround): Remove.
43984         (libc_fetestexcept, libc_fesetenv): Remove.
43985         (libc_feupdateenv_test): Remove.
43986         (libc_feupdateenv, libc_feholdsetround): Remove.
43987         (libc_feresetround): Remove.
43988
43989         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43990         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43991
43992         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43993         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43994         (libc_feupdateenv_testl): New.
43995         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43996         (libc_feupdateenv_testf): New.
43997         (libc_feupdateenv): Use libc_feupdateenv_test.
43998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43999         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44000
44001         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44002         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44003         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44004         (libc_feresetround_noex): New.
44005         (libc_feresetround_noexf): New.
44006         (libc_feresetround_noexl): New.
44007         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44008         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44009         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44010         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44011         SET_RESTORE_ROUND.
44012         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44013         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44014         (__cos): Likewise.
44015         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44016         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44017         SET_RESTORE_ROUND_NOEX.
44018         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44019         SET_RESTORE_ROUND_NOEXF.
44020         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44021         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44022         (libc_feholdsetroundf): New.
44023         (libc_feresetround, libc_feresetroundf): New.
44024
44025         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44026         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44027         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44028
44029         * sysdeps/generic/math_private.h: Include <fenv.h>.
44030         (default_libc_feholdexcept): New.
44031         (default_libc_feholdexcept_setround): New.
44032         (default_libc_fesetenv, default_libc_feupdateenv): New.
44033         (libc_feholdexcept): Only define if undefined.
44034         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44035         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44036         (libc_feholdexcept_setroundl): Likewise.
44037         (libc_feholdexcept_setround_53bit): Likewise.
44038         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44039         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44040         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44041         (libc_feupdateenv_53bit): Likewise.
44042         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44043         (libc_feholdexcept): Convert from macro to inline function.
44044         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44045         (libc_fesetenv, libc_feupdateenv): Likewise.
44046
44047         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44048         not previously defined.
44049         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44050         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44051         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44052         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44053         * sysdeps/ieee754/flt-32/math_private.h: New file.
44054         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44055         math_private.h below SET_FLOAT_WORD.
44056         (__isnan, __isinf_ns, __finite): Remove.
44057         (__isnanf, __isinf_nsf, __finitef): Remove.
44058
44059 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44060
44061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44062
44063 2012-03-17  David S. Miller  <davem@davemloft.net>
44064
44065         [BZ #6471]
44066         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44067         for 2.16.
44068
44069 2012-03-16  David S. Miller  <davem@davemloft.net>
44070
44071         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44072         warnings.
44073
44074         [BZ #6471]
44075         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44076         properly.
44077         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44078         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44079         sysdep_routines when subdir is sysvipc.
44080         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44081         __getshmlba helper.
44082
44083         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44084
44085 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44086
44087         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44088         [__LP64__].
44089
44090 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44091
44092         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44093         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44094         (__lround): Renamed to ...
44095         (__llround): This.  Replace long int with long long int.
44096         Define lround functions as aliases of llround functions.
44097         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44098
44099 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44100
44101         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44102         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44103         adresses to uintptr_t.  Replace "long int" and "unsigned long
44104         int" with "greg_t" on va_arg.
44105
44106 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44107
44108         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44109         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44110
44111         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44112         Move e_machine check before EI_CLASS check.  Handle x32
44113         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44114         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44115         SKIP_EM_IA_64 and include
44116         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44117
44118         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44119         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44120         (add_system_dir): New macro.
44121
44122         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44123         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44124
44125 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44126
44127         [BZ #2551]
44128         [BZ #2552]
44129         [BZ #2553]
44130         [BZ #2554]
44131         [BZ #2562]
44132         [BZ #2563]
44133         [BZ #2565]
44134         [BZ #2566]
44135         [BZ #2576]
44136         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44137         (y0): Likewise.
44138         * math/w_j0f.c (j0f): Likewise.
44139         (y0f): Likewise.
44140         * math/w_j0l.c (__j0l): Likewise.
44141         (__y0l): Likewise.
44142         * math/w_j1.c (j1): Likewise.
44143         (y1): Likewise.
44144         * math/w_j1f.c (j1f): Likewise.
44145         (y1f): Likewise.
44146         * math/w_j1l.c (__j1l): Likewise.
44147         (__y1l): Likewise.
44148         * math/w_jn.c (jn): Likewise.
44149         (yn): Likewise.
44150         * math/w_jnf.c (jnf): Likewise.
44151         (ynf): Likewise.
44152         * math/w_jnl.c (__jnl): Likewise.
44153         (__ynl): Likewise.
44154         * math/libm-test.inc (j0_test): Add more tests.
44155         (j1_test): Likewise.
44156         (jn_test): Likewise.  Add trailing semicolon to existing test.
44157         (y0_test): Likewise.
44158         (y1_test): Likewise.
44159         * sysdeps/i386/fpu/libm-test-ulps: Update.
44160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44161
44162         [BZ #13851]
44163         [BZ #13854]
44164         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44165         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44166         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44167         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44168         (__tanl): Set errno for infinite argument.
44169         * sysdeps/i386/fpu/mptan.c: Remove.
44170         * sysdeps/i386/fpu/s_tan.S: Likewise.
44171         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44172         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44173         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44174         * math/libm-test.inc (tan_test): Add more tests and enable more
44175         tests for double and long double.
44176         * sysdeps/i386/fpu/libm-test-ulps: Update.
44177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44178
44179 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44180
44181         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44182         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44183
44184 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44185
44186         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44187         * configure.in: Use it for both main tree and add-ons.
44188         * configure: Regenerated.
44189
44190 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44191
44192         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44193
44194 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44195
44196         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44197         in comment.
44198
44199         [BZ #13851]
44200         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44201         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44202         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44203         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44204         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44205         infinite argument.
44206         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44208         != 0 for prec == 2.
44209         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44210         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44211         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44212         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44213         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44214         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44215         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44216         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44217         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44218         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44219         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44220         * math/libm-test.inc (cos_test): Add more tests and enable more
44221         tests for long double.
44222         (sin_test): Likewise.
44223         (sincos_test): Likewise.
44224         * sysdeps/i386/fpu/libm-test-ulps: Update.
44225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44226
44227 2012-03-16  David S. Miller  <davem@davemloft.net>
44228
44229         * sysdeps/sparc/fpu/math_private.h: New file.
44230
44231 2012-03-15  David S. Miller  <davem@davemloft.net>
44232
44233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44234         file.
44235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44237         file.
44238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44239         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44243         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44244         sysdep routines.
44245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44246
44247         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44248         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44249
44250         * sysdeps/sparc/sparc-ifunc.h: New file.
44251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44252         sparc-ifunc.h
44253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44255         Likewise.
44256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44257         Likewise.
44258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44262         Likewise.
44263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44268         Likewise.
44269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44270         Likewise.
44271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44276         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44279         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44289         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44290         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44291         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44292         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44293         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44294         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44295
44296 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44297
44298         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44299         scaling.
44300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44301
44302 2012-03-15  Andreas Jaeger  <aj@suse.de>
44303
44304         [BZ #13852]
44305         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44306         ieee754/flt-32 implementation for sin, cos and sincos.
44307         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44308         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44309         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44310         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44311         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44312         ieee754/flt-32 implementation for tan.
44313
44314         * math/libm-test.inc (cos_test): Enable some large input tests for
44315         float as well
44316         (sin_test): Likewise.
44317         (sincos_test): Likewise.
44318         (tan_test): Add tests for large input.
44319
44320         * sysdeps/i386/fpu/libm-test-ulps: Update.
44321
44322 2012-03-15  Andreas Jaeger  <aj@suse.de>
44323
44324         [BZ #13658]
44325         * math/libm-test.inc (cos_test): Add more test cases.
44326         (sin_test): Likewise.
44327         (sincos_test): Likewise.
44328
44329 2012-03-15  Andreas Jaeger  <aj@suse.de>
44330
44331         [BZ #13837]
44332         * math/libm-test.inc (cos_test): Add a test case for large input
44333         value.
44334         (sin_test): Likewise.
44335         (sincos_test): Likewise.
44336
44337 2012-03-15  Andreas Jaeger  <aj@suse.de>
44338             Joseph Myers  <joseph@codesourcery.com>
44339
44340         [BZ #13658]
44341         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44342         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44343         * sysdeps/i386/fpu/branred.c: Likewise.
44344         * sysdeps/i386/fpu/dosincos.c: Likewise.
44345         * sysdeps/i386/fpu/mpa.c: Likewise.
44346         * sysdeps/i386/fpu/s_cos.S: Likewise.
44347         * sysdeps/i386/fpu/s_sin.S: Likewise.
44348         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44349         * sysdeps/i386/fpu/sincos32.c: Likewise.
44350
44351         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44352         Define.
44353         (libc_feupdateenv_53bit): Define.
44354         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44355         Define.
44356         (libc_feupdateenv_53bit): Define.
44357
44358         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44359         53 bit (without extend i386 double precision).
44360
44361         * math/libm-test.inc (sincos_test): Add tests for large input.
44362         (sin): Likewise.
44363         (cos): Likewise.
44364
44365         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44366
44367 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44368
44369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44370
44371 2012-03-15  David S. Miller  <davem@davemloft.net>
44372
44373         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44374         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44375         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44376         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44389         file.
44390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44392         file.
44393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44395         file.
44396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44398         file.
44399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44400         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44401         fmin/fmax sysdep routines.
44402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44403
44404 2012-03-14  David S. Miller  <davem@davemloft.net>
44405
44406         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44407         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44408         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44409         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44410         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44411         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44412         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44413         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44414         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44417         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44418         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44419         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44420         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44421         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44422         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44426         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44427         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44428         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44429         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44430         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44431         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44432         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44433         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44434         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44435         routines.
44436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44437         file.
44438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44440         file.
44441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44443         file.
44444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44446         file.
44447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44449         file.
44450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44452         file.
44453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44454         file.
44455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44456         file.
44457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44458         file.
44459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44460         New file.
44461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44462         file.
44463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44464         file.
44465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44467         file.
44468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44470         file.
44471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44473         file.
44474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44476         VIS3 routines.
44477
44478         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44479         New file.
44480
44481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44482
44483         * sysdeps/sparc/configure.in: New file.
44484         * sysdeps/sparc/configure: Generate.
44485         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44486         * configure: Regenerate.
44487         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44488         * config.make.in (have-as-vis3): New.
44489         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44490         available use -Av9d instead of -Av9a.
44491         * sysdeps/sparc/sparc64/Makefile: Likewise.
44492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44494         New file.
44495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44496         file.
44497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44498         New file.
44499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44500         file.
44501         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44502         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44503         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44504         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44505         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44506
44507         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44508         fzeros/fnegs to load 0x80000000 into a float register instead of
44509         using the stack.
44510         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44511
44512 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44513
44514         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44515         bits/syscall.h.
44516         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44517         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44518         ($(inst_includedir)/bits/syscall.h): Remove rule.
44519         ($(objpfx)bits/syscall.d): Include instead of
44520         $(objpfx)syscall-list.d.
44521         (generated): Change syscall-list.h and syscall-list.d to
44522         bits/syscall.h and bits/syscall.d.
44523
44524 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44525
44526         [BZ #13846]
44527         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44528
44529 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44530
44531         [BZ #13841]
44532         * math/s_csqrt.c: Include <float.h>.
44533         (__csqrt): Scale large or subnormal inputs.
44534         * math/s_csqrtf.c: Likewise.
44535         * math/s_csqrtl.c: Likewise.
44536         * math/libm-test.inc (csqrt_test): Add more tests.
44537         * sysdeps/i386/fpu/libm-test-ulps: Update.
44538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44539
44540         [BZ #13840]
44541         * math/libm-test.inc (hypot_test): Add more tests.
44542
44543 2012-03-13  David S. Miller  <davem@davemloft.net>
44544
44545         [BZ #13840]
44546         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44547         double-precision for the calculation instead of scaling.
44548
44549 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44550
44551         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44552         manipulate bits before adding and subtracting TWO52[sx].
44553         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44554         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44555         Likewise.
44556         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44557
44558 2012-03-13  David S. Miller  <davem@davemloft.net>
44559
44560         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44561         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44562         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44563         rtld-global-offsets.h
44564         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44565
44566         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44567         large parameters.
44568
44569         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44570
44571         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44572         'err' in the ifdef scope in which it is actually used.
44573
44574         * nss/nss_db/db-init.c: Include string.h
44575
44576 2012-03-12  David S. Miller  <davem@davemloft.net>
44577
44578         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44579         masking out of the most significant byte of random value used.
44580         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44581         Fix coding style in previous change.
44582
44583         * sysdeps/unix/sysv/linux/kernel-features.h
44584         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44585         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44586         expression.
44587         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44588         later.
44589
44590 2012-03-11  David S. Miller  <davem@davemloft.net>
44591
44592         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44593         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44594         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44595         for 'resultvar' otherwise things get truncated on 64-bit.
44596
44597         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44598         Fix masking out of the most significant byte of random value used.
44599
44600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44601
44602 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44603
44604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44605
44606 2012-03-09  David S. Miller  <davem@davemloft.net>
44607
44608         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44609         variables with appropriate CPP guards.
44610         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44611         from the frame pointer, not the stack pointer.  Correct layout
44612         comments.  Fix test on resulting framesize and the management of
44613         the outregs buffer for pltexit.  Preserve floating point return
44614         values across _dl_call_pltexit call.
44615         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44616         framesize and the management of the outregs buffer for pltexit.
44617         Preserve floating point return values across _dl_call_pltexit
44618         call.
44619         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44620         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44621         (la_sparc64_gnu_pltexit): New functions.
44622         (print_exit): Fix format string for return register value.
44623
44624 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44625
44626         * sunrpc/Makefile (others): Add rpcgen.
44627         ($(objpfx)rpcgen): Remove special build rule and dependency on
44628         libc.
44629         * sunrpc/rpcgen.c: New file.
44630
44631 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44632
44633         [BZ #13673]
44634         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44635         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44636         * sysdeps/i386/crti.S: Likewise.
44637         * sysdeps/i386/crtn.S: Likewise.
44638         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44639         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44640         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44641         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44642         * sysdeps/sh/crti.S: Likewise.
44643         * sysdeps/sh/crtn.S: Likewise.
44644         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44645
44646         [BZ #13673]
44647         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44648         with URL.
44649         * locale/programs/locfile-kw.gperf: Likewise.
44650         * locale/programs/charmap-kw.h: Regenerated.
44651         * locale/programs/locfile-kw.h: Likewise.
44652
44653         [BZ #13673]
44654         * intl/plural.y: Replace FSF snail mail address with URL.
44655         * intl/plural.c: Regenerated.
44656
44657 2012-03-09  Richard Henderson  <rth@twiddle.net>
44658
44659         * include/math_private.h: Remove file.
44660         * math/math_private.h: Move file ...
44661         * sysdeps/generic/math_private.h: ... here.
44662
44663         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44664         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44665         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44666
44667         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44668         and <math_private.h>.
44669         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44670         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44671         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44672         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44673         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44674         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44675         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44676         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44677         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44678         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44680         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44681         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44682         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44683         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44684         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44685         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44686         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44687         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44688         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44689         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44690         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44691         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44692         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44693         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44694         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44695         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44696         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44698         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44699         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44700         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44701         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44702         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44703         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44704         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44705         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44706         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44707         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44708         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44709         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44710         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44711         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44712         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44713         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44714         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44715         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44716         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44717         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44718         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44719         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44720         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44721         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44722         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44723         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44724         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44725         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44726         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44727         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44728         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44729         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44730         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44731         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44732         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44733         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44734         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44735         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44736         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44737         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44738         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44739         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44740         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44741         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44742         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44743         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44744         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44745         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44746         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44747         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44748         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44749         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44750         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44751         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44752         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44753         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44754         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44755         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44756         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44757         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44758         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44759         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44760         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44761         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44762         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44763         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44764         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44765         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44766         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44767         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44768         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44769         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44770         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44771         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44772         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44773         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44774         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44775         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44776         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44777         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44778         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44779         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44780         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44781         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44782         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44783         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44784         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44785         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44786         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44787         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44788         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44789         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44790         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44791         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44792         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44793         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44794         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44795         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44796         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44797         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44798         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44799         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44800         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44801         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44802         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44803         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44804         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44805         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44806         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44807         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44808         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44809         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44810         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44811         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44812         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44813         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44814         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44815         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44816         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44817         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44818         * sysdeps/ieee754/k_standard.c: Likewise.
44819         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44820         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44821         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44822         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44823         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44824         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44825         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44826         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44827         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44828         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44829         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44830         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44831         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44832         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44833         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44834         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44835         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44836         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44837         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44838         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44839         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44840         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44841         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44842         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44843         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44844         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44845         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44846         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44847         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44848         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44849         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44850         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44851         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44852         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44853         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44854         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44855         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44856         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44857         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44858         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44859         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44860         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44861         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44862         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44863         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44864         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44865         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44866         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44867         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44868         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44869         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44870         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44871         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44872         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44873         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44874         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44875         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44876         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44877         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44878         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44879         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44880         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44881         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44882         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44883         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44884         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44885         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44886         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44887         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44888         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44889         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44890         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44891         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44892         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44893         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44894         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44895         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44896         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44897         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44898         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44899         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44900         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44901         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44902         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44903         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44904         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44905         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44906         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44907         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44908         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44909         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44910         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44911         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44912         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44913         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44914         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44915         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44916         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44917         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44918         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44919         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44920         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44921         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44922         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44923         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44924         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44925         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44926         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44927         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44928         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44929         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44930         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44931         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44932         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44933         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44934         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44935         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44936         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44937         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44938         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44939         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44940         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44941         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44942         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44943         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44944         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44945         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44946         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44947         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44948         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44949         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44950         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44951         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44952         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44953         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44954         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44955         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44956         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44957         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44958         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44959         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44960         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44961         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44962         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44963         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44964         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44965         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44966         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44967         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44968         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44969         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44970         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44971         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44972         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44973         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44974         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44975         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44976         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44977         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44978         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44979         * sysdeps/ieee754/s_lib_version.c: Likewise.
44980         * sysdeps/ieee754/s_matherr.c: Likewise.
44981         * sysdeps/ieee754/s_signgam.c: Likewise.
44982         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44983         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44984         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44985         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44986         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44987         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44988         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44989         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44990         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44991         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44992         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44993         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44994         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44995         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44996         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44997         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44998         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44999         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45000         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45001         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45002         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45003
45004 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45005
45006         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45007         * sunrpc/rpc_main.c: Likewise.
45008         * sunrpc/rpc_svcout.c: Likewise.
45009
45010 2012-03-09  David S. Miller  <davem@davemloft.net>
45011
45012         * include/math_private.h: New file.
45013
45014 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45015
45016         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45017         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45018         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45019         from <bits/socket_type.h>.
45020         (enum __socket_type): Don't define here.
45021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45023         bits/socket_type.h.
45024
45025         [BZ #13566]
45026         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45027         checking __USE_GNU.
45028
45029         * Makerules ($(inst_includedir)/%.h): New rule.
45030         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45031         (install-others): Remove variable setting.
45032         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45033
45034 2012-03-08  Richard Henderson  <rth@twiddle.net>
45035
45036         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45037         from macro to inline function; merge with the
45038         !__LIBC_INTERNAL_MATH_INLINES version.
45039         (__ieee754_sqrtf): Likewise.
45040
45041         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45042         to inline function.
45043         (__rintf, __floor, __floorf): Likewise.
45044
45045         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45046         macro to inline function.
45047         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45048
45049         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45050         not <math/math_private.h>.
45051
45052 2012-03-08  David S. Miller  <davem@davemloft.net>
45053
45054         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45055         copyright year.
45056         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45057
45058 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45059
45060         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45061         normalization.
45062         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45063         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45064
45065 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45066
45067         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45068         be defined individually, they must be defined as a block.  Define
45069         S for printing a string instead of hidint the different by using a
45070         macro for adding the 'l'.
45071         * stdio-common/tst-fphex-wide.c: Adjust.
45072
45073 2012-03-07  Marek Polacek  <polacek@redhat.com>
45074
45075         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45076
45077 2012-03-08  Marek Polacek  <polacek@redhat.com>
45078
45079         [BZ #13806]
45080         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45081         * stdio-common/tst-fphex.c: Define a few macros to make the
45082         test reusable.  Use them.
45083         * stdio-common/tst-fphex-wide.c: New file.
45084
45085 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45086
45087         [BZ #6911]
45088         * manual/macros.texi (gnusystems): New macro.
45089         (nongnusystems): Likewise.
45090         (gnulinuxhurdsystems): Likewise.
45091         (gnuhurdsystems): Likewise..
45092         (gnulinuxsystems): Likewise.
45093         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45094         variants of the GNU system, not "GNU system".
45095         * manual/conf.texi: Likewise.
45096         * manual/errno.texi: Likewise.  Update example of errno macro
45097         expansion.
45098         * manual/filesys.texi: Likewise.
45099         (getumask): Document as specific to GNU/Hurd.
45100         * manual/install.texi: Likewise.  Reword some references to
45101         GNU/Linux.
45102         * manual/intro.texi: Likewise.
45103         * manual/io.texi: Likewise.
45104         (File Name Portability): Detail which constraints are inapplicable
45105         to all GNU systems and which are only inapplicable to GNU/Hurd.
45106         * manual/job.texi: Likewise.
45107         * manual/llio.texi: Likewise.
45108         (O_NOCTTY): Document as present on GNU/Linux.
45109         * manual/maint.texi: Likewise.
45110         * manual/memory.texi: Likewise.
45111         * manual/pattern.texi: Likewise.
45112         * manual/pipe.texi: Likewise.
45113         * manual/process.texi: Likewise.
45114         * manual/resource.texi: Likewise.
45115         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45116         child on GNU/Hurd.
45117         * manual/setjmp.texi: Likewise.
45118         * manual/signal.texi: Likewise.
45119         * manual/startup.texi: Likewise.
45120         * manual/stdio.texi: Likewise.
45121         * manual/terminal.texi: Likewise.
45122         (ONLCR): Document as POSIX.
45123         (OXTABS): Document availability on GNU/Linux as XTABS.
45124         (ONOEOT): Document availability separately from other bits.
45125         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45126         * manual/time.texi: Likewise.
45127         * manual/users.texi: Likewise.
45128         * INSTALL: Regenerated.
45129         * sysdeps/gnu/errlist.c: Regenerated.
45130
45131         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45132         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45133         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45134         puts.
45135         * configure: Regenerated.
45136
45137 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45138
45139         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45140         default includes instead of AC_HEADER_CHECK.
45141         * sysdeps/i386/configure: Regenerated.
45142
45143         [BZ #10716]
45144         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45145         * math/s_cacoshf.c (__cacoshf): Likewise.
45146         * math/s_cacoshl.c (__cacoshl): Likewise.
45147         * math/s_casinh.c (__casinh): Set signs of result from argument.
45148         * math/s_casinhf.c (__casinhf): Likewise.
45149         * math/s_casinhl.c (__casinhl): Likewise.
45150         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45151         (casinh_test): Add more tests.
45152         * sysdeps/i386/fpu/libm-test-ulps: Update.
45153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45154
45155 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45156
45157         * po/zh_TW.po: Update from translation team.
45158
45159         * login/Makefile (distribute): Remove variable.
45160         * catgets/Makefile: Likewise.
45161         * mach/Makefile: Likewise.
45162         * malloc/Makefile: Likewise.
45163         * misc/Makefile: Likewise.
45164         * iconv/Makefile: Likewise.
45165         * nscd/Makefile: Likewise.
45166         * hurd/Makefile: Likewise.
45167         * manual/Makefile: Likewise.
45168         * locale/Makefile: Likewise.
45169         * intl/Makefile: Likewise.
45170         * conform/Makefile: Likewise.
45171         * nss/Makefile: Likewise.
45172         * time/Makefile: Likewise.
45173         * soft-fp/Makefile: Likewise.
45174         * dirent/Makefile: Likewise.
45175         * gmon/Makefile: Likewise.
45176         * po/Makefile: Likewise.
45177         * rt/Makefile: Likewise.
45178         * socket/Makefile: Likewise.
45179         * math/Makefile: Likewise.
45180         * signal/Makefile: Likewise.
45181         * debug/Makefile: Likewise.
45182         * elf/Makefile: Likewise.
45183         * timezone/Makefile: Likewise.
45184         * stdlib/Makefile: Likewise.
45185         * iconvdata/Makefile: Likewise.
45186         * sunrpc/Makefile: Likewise.
45187         * io/Makefile: Likewise.
45188         * argp/Makefile: Likewise.
45189         * inet/Makefile: Likewise.
45190         * hesiod/Makefile: Likewise.
45191         * grp/Makefile: Likewise.
45192         * csu/Makefile: Likewise.
45193         * wctype/Makefile: Likewise.
45194         * crypt/Makefile: Likewise.
45195         * libio/Makefile: Likewise.
45196         * string/Makefile: Likewise.
45197         * nis/Makefile: Likewise.
45198         * resolv/Makefile: Likewise.
45199         * stdio-common/Makefile: Likewise.
45200         * wcsmbs/Makefile: Likewise.
45201         * dlfcn/Makefile: Likewise.
45202         * posix/Makefile: Likewise.
45203
45204         [BZ #6959]
45205         * timezone/Makefile: Don't install timezone files, just the programs
45206         and scripts.
45207
45208 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45209
45210         * nss/databases.def: Add missing gshadow entry.
45211
45212         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45213
45214 2012-03-06  Marek Polacek  <polacek@redhat.com>
45215
45216         [BZ #13726]
45217         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45218         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45219         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45220         * stdio-common/tst-long-dbl-fphex.c: New file.
45221
45222 2012-03-06  David S. Miller  <davem@davemloft.net>
45223
45224         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45225         (set_obp_int): New function.
45226         (get_obp_int): New function.
45227         (__get_clockfreq_via_dev_openprom): Likewise.
45228         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45229         Avoid unused variable warnings on 'val' and use builtin_expect.
45230         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45231         __builtin_expect.
45232         (INLINE_CLONE_SYSCALL): Likewise.
45233
45234 2012-03-05  David S. Miller  <davem@davemloft.net>
45235
45236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45237
45238 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45239
45240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45241
45242         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45243         only for |x| >= 40.
45244         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45245
45246 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45247
45248         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45249         Replace gettimeofday with __vdso_gettimeofday.
45250
45251         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45252         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45253         __vdso_clock_gettime and __vdso_getcpu.
45254
45255         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45256         time with __vdso_time.
45257
45258 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45259
45260         * manual/lang.texi (size_t): Note types to which size_t may be
45261         equivalent with the GNU C Library, but do not describe when
45262         differences between them are significant.
45263
45264 2012-03-05  Andreas Jaeger  <aj@suse.de>
45265
45266         * sysdeps/i386/fpu/libm-test-ulps: Update.
45267
45268 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45269
45270         [BZ #3976]
45271         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45272         (__ieee754_pow): Save and restore rounding mode and use
45273         round-to-nearest for main computations.
45274         * math/libm-test.inc (pow_test_tonearest): New function.
45275         (pow_test_towardzero): Likewise.
45276         (pow_test_downward): Likewise.
45277         (pow_test_upward): Likewise.
45278         (main): Call the new functions.
45279         * sysdeps/i386/fpu/libm-test-ulps: Update.
45280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45281
45282         [BZ #3976]
45283         * math/libm-test.inc (cosh_test_tonearest): New function.
45284         (cosh_test_towardzero): Likewise.
45285         (cosh_test_downward): Likewise.
45286         (cosh_test_upward): Likewise.
45287         (sinh_test_tonearest): Likewise.
45288         (sinh_test_towardzero): Likewise.
45289         (sinh_test_downward): Likewise.
45290         (sinh_test_upward): Likewise.
45291         (main): Call the new functions.
45292         * sysdeps/i386/fpu/libm-test-ulps: Update.
45293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45294
45295 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45296
45297         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45298         default stack guard is set in last bytes.
45299         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45300
45301 2012-03-05  Kees Cook  <keescook@chromium.org>
45302
45303         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45304
45305         [BZ #13656]
45306         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45307         possibly allocate from heap instead of stack.
45308         * stdio-common/bug-vfprintf-nargs.c: New file.
45309         * stdio-common/Makefile (tests): Add nargs overflow test.
45310
45311 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45312
45313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45314
45315 2012-03-03  Marek Polacek  <polacek@redhat.com>
45316
45317         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45318         * math/math_private.h: Likewise.
45319         * stdlib/tst-strtod.c: Likewise.
45320         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45321         * sysdeps/x86_64/bits/atomic.h: Likewise.
45322
45323 2012-03-02  David S. Miller  <davem@davemloft.net>
45324
45325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45329         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45330         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45331         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45332         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45333
45334 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45335
45336         [BZ #13792]
45337         * manual/examples/README: New file, says the example source files
45338         can be used under GPL>=2.
45339         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45340         line containing just "*/".
45341         * manual/examples/add.c: Add copyright header (GPL>=2).
45342         * manual/examples/argp-ex1.c: Likewise.
45343         * manual/examples/argp-ex2.c: Likewise.
45344         * manual/examples/argp-ex3.c: Likewise.
45345         * manual/examples/argp-ex4.c: Likewise.
45346         * manual/examples/atexit.c: Likewise.
45347         * manual/examples/db.c: Likewise.
45348         * manual/examples/dir.c: Likewise.
45349         * manual/examples/dir2.c: Likewise.
45350         * manual/examples/execinfo.c: Likewise.
45351         * manual/examples/filecli.c: Likewise.
45352         * manual/examples/filesrv.c: Likewise.
45353         * manual/examples/fmtmsgexpl.c: Likewise.
45354         * manual/examples/genpass.c: Likewise.
45355         * manual/examples/inetcli.c: Likewise.
45356         * manual/examples/inetsrv.c: Likewise.
45357         * manual/examples/isockad.c: Likewise.
45358         * manual/examples/longopt.c: Likewise.
45359         * manual/examples/memopen.c: Likewise.
45360         * manual/examples/memstrm.c: Likewise.
45361         * manual/examples/mkfsock.c: Likewise.
45362         * manual/examples/mkisock.c: Likewise.
45363         * manual/examples/mygetpass.c: Likewise.
45364         * manual/examples/pipe.c: Likewise.
45365         * manual/examples/popen.c: Likewise.
45366         * manual/examples/rprintf.c: Likewise.
45367         * manual/examples/search.c: Likewise.
45368         * manual/examples/select.c: Likewise.
45369         * manual/examples/setjmp.c: Likewise.
45370         * manual/examples/sigh1.c: Likewise.
45371         * manual/examples/sigusr.c: Likewise.
45372         * manual/examples/stpcpy.c: Likewise.
45373         * manual/examples/strdupa.c: Likewise.
45374         * manual/examples/strftim.c: Likewise.
45375         * manual/examples/strncat.c: Likewise.
45376         * manual/examples/subopt.c: Likewise.
45377         * manual/examples/swapcontext.c: Likewise.
45378         * manual/examples/termios.c: Likewise.
45379         * manual/examples/testopt.c: Likewise.
45380         * manual/examples/testpass.c: Likewise.
45381         * manual/examples/timeval_subtract.c: Likewise.
45382
45383         [BZ #13792]
45384         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45385         function to ...
45386         * manual/timeval_subtract.c.texi: ... here, new file.
45387
45388 2012-03-02  David S. Miller  <davem@davemloft.net>
45389
45390         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45391
45392 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45393
45394         [BZ #3976]
45395         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45396         (__sin): Save and restore rounding mode and use round-to-nearest
45397         for all computations.
45398         (__cos): Save and restore rounding mode and use round-to-nearest
45399         for all computations.
45400         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45401         <fenv.h>.
45402         (tan): Save and restore rounding mode and use round-to-nearest for
45403         all computations.
45404         * math/libm-test.inc (cos_test_tonearest): New function.
45405         (cos_test_towardzero): Likewise.
45406         (cos_test_downward): Likewise.
45407         (cos_test_upward): Likewise.
45408         (sin_test_tonearest): Likewise.
45409         (sin_test_towardzero): Likewise.
45410         (sin_test_downward): Likewise.
45411         (sin_test_upward): Likewise.
45412         (tan_test_tonearest): Likewise.
45413         (tan_test_towardzero): Likewise.
45414         (tan_test_downward): Likewise.
45415         (tan_test_upward): Likewise.
45416         (main): Call the new functions.
45417         * sysdeps/i386/fpu/libm-test-ulps: Update.
45418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45419
45420         [BZ #10135]
45421         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45422         small n, then large n, before computing and testing k+n.
45423         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45424         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45425         Likewise.
45426         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45427         Likewise.
45428         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45429         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45430         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45431         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45432         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45433         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45434         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45435         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45436         * math/libm-test.inc (scalbn_test): Add more tests.
45437         (scalbln_test): Likewise.
45438
45439         * manual/filesys.texi (mode_t): Describe constraints on size and
45440         signedness, not exact equivalence to a particular type.
45441         (ino_t): Likewise.
45442         (ino64_t): Likewise.
45443         (dev_t): Likewise.
45444         (nlink_t): Likewise.
45445         (blkcnt_t): Likewise.
45446         (blkcnt64_t): Likewise.
45447         * manual/llio.texi (off_t): Likewise.
45448
45449         [BZ #3976]
45450         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45451         (__ieee754_exp): Save and restore rounding mode and use
45452         round-to-nearest for all computations.
45453         * math/libm-test.inc (exp_test_tonearest): New function.
45454         (exp_test_towardzero): Likewise.
45455         (exp_test_downward): Likewise.
45456         (exp_test_upward): Likewise.
45457         (main): Call the new functions.
45458         * sysdeps/i386/fpu/libm-test-ulps: Update.
45459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45460
45461 2012-03-01  Chris Demetriou  <cgd@google.com>
45462
45463         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45464         have predictable order.
45465
45466 2012-03-01  David S. Miller  <davem@davemloft.net>
45467
45468         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45469
45470         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45471         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45472         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45473         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45474
45475         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45476         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45477         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45479         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45480         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45481         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45482         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45483         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45484
45485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45486
45487         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45488         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45489         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45490
45491         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45492         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45493         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45494         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45495         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45496         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45497         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45498         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45499         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45500         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45501         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45502         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45503         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45504         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45505         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45506         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45507         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45508         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45509         * sysdeps/sparc/elf/configure: Regenerated.
45510
45511 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45512
45513         * configure.in (AS, LD): Require binutils 2.20 or later.
45514         * configure: Regenerated.
45515         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45516         as required minimum version.
45517         * INSTALL: Regenerated.
45518
45519         [BZ #2541]
45520         [BZ #4108]
45521         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45522         before squaring exponent.
45523         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45524         bottom long double and 27 bits of top long double before squaring
45525         exponent.
45526         * math/libm-test.inc (erfc_test): Add more tests.
45527         * sysdeps/i386/fpu/libm-test-ulps: Update.
45528         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45530
45531 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45532
45533         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45534         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45535         containing bit-fields.
45536         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45537         * soft-fp/single.h (_FP_UNION_S): Likewise.
45538         * soft-fp/double.h (_FP_UNION_D): Likewise.
45539
45540 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45541
45542         [BZ #13786]
45543         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45544         not include ../strcmp.S.
45545         [USE_AS_STRNCASECMP_L]: Likewise.
45546         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45547         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45548         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45549         (__strncasecmp_l_ia32): Define as alias to
45550         __strncasecmp_l_nonascii.
45551
45552         [BZ #5794]
45553         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45554         * sysdeps/i386/fpu/libm-test-ulps: Update.
45555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45556
45557         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45559
45560 2012-02-29  Jeff Law  <law@redhat.com>
45561
45562         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45563         out of bounds read.
45564
45565 2012-02-29  Marek Polacek  <polacek@redhat.com>
45566
45567         [BZ #13706]
45568         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45569         * elf/Makefile: Add rules to run tst-unused-dep.out.
45570
45571 2012-02-28  David S. Miller  <davem@davemloft.net>
45572
45573         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45574         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45575         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45576         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45577         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45578         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45579
45580 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45581
45582         * math/libm-test.inc (llround_test): Move one test from
45583         lround_test.  Use TEST_f_L in moved test.
45584         (lround_test): Move misplaced test to llround_test.  Add testcase
45585         from bug 2561.
45586
45587 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45588
45589         * sysdeps/x86_64/fpu/e_expf.S: New file.
45590         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45591
45592 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45593
45594         [BZ #13637]
45595         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45596         of remain_len that may cause incomplete multi-byte character and
45597         false match.
45598         * posix/bug-regex33.c: New file.
45599         * posix/Makefile (tests): Add bug-regex33.
45600
45601 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45602
45603         * manual/macros.texi: New file.
45604         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45605         * manual/libc.texinfo: Include macros.texi.
45606         * manual/creatute.texi: Likewise.
45607         * manual/install.texi: Likewise.
45608         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45609         @glibcadj{} in references to the GNU C Library.
45610         * manual/charset.texi: Likewise.
45611         * manual/conf.texi: Likewise.
45612         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45613         when not using those macros.
45614         * manual/creature.texi: Likewise.
45615         * manual/crypt.texi: Likewise.
45616         * manual/errno.texi: Likewise.
45617         * manual/filesys.texi: Likewise.
45618         * manual/header.texi: Likewise.
45619         * manual/install.texi: Likewise.
45620         * manual/intro.texi: Likewise.
45621         * manual/io.texi: Likewise.
45622         * manual/job.texi: Likewise.
45623         * manual/lang.texi: Likewise.
45624         * manual/libc.texiinfo: Likewise.
45625         * manual/llio.texi: Likewise.
45626         * manual/locale.texi: Likewise.
45627         * manual/maint.texi: Likewise.
45628         * manual/math.texi: Likewise.
45629         * manual/memory.texi: Likewise.
45630         * manual/message.texi: Likewise.
45631         * manual/nss.texi: Likewise.
45632         * manual/pattern.texi: Likewise.
45633         * manual/process.texi: Likewise.
45634         * manual/resource.texi: Likewise.
45635         * manual/search.texi: Likewise.
45636         * manual/setjmp.texi: Likewise.
45637         * manual/signal.texi: Likewise.
45638         * manual/socket.texi: Likewise.
45639         * manual/startup.texi: Likewise.
45640         * manual/stdio.texi: Likewise.
45641         * manual/string.texi: Likewise.
45642         * manual/sysinfo.texi: Likewise.
45643         * manual/syslog.texi: Likewise.
45644         * manual/terminal.texi: Likewise.
45645         * manual/time.texi: Likewise.
45646         * manual/users.texi: Likewise.
45647         * INSTALL: Regenerated.
45648         * NOTES: Regenerated.
45649         * sysdeps/gnu/errlist.c: Regenerated.
45650
45651 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45652
45653         * include/dirent.h: Include <dirstream.h> before
45654         <dirent/dirent.h>.
45655
45656 2012-02-28  David S. Miller  <davem@davemloft.net>
45657
45658         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45659         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45660         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45661         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45662
45663 2012-02-27  David S. Miller  <davem@davemloft.net>
45664
45665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45667         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45668         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45669
45670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45671         frame pointer instead of stack pointer relative arg slot.
45672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45673         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45674         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45675
45676 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45677
45678         [BZ #3992]
45679         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45680
45681 2012-02-27  David S. Miller  <davem@davemloft.net>
45682
45683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45687         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45688         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45689         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45690         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45691
45692 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45693
45694         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45695         later.  Allow versions 5-9.
45696         * configure: Regenerated.
45697         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45698         required minimum version and 4.6 as recommended version.  Do not
45699         mention bugs in GCC 2.7 and 2.8.
45700         * INSTALL: Regenerated.
45701
45702 2012-02-27  David S. Miller  <davem@davemloft.net>
45703
45704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45708         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45709         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45710         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45711         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45712
45713         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45714         manipulate bits before adding and subtracting TWO112[sx].
45715         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45716
45717 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45718
45719         [BZ #13775]
45720         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45721         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45722         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45723         being in POSIX, because they are in 1003.1-2008.
45724
45725         * rt/tst-aio.c: Include <fcntl.h>.
45726         * rt/tst-aio7.c: Likewise.
45727         * rt/tst-aio64.c: Likewise.
45728
45729         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45730
45731 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45732
45733         * manual/install.texi (--with-headers): Describe headers as
45734         interface headers, not private headers.
45735         (Specific advice for GNU/Linux systems): Describe use of headers
45736         from "make headers_install", not private headers from older
45737         kernels.
45738         * INSTALL: Regenerated.
45739         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45740         Change to 2.6.19.
45741         * sysdeps/unix/sysv/linux/configure: Regenerated.
45742
45743         * manual/llio.texi (fclean): Remove documentation.
45744
45745         * manual/Makefile (libc-texi-generated): New variable.  Include
45746         version.texi.
45747         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45748         $(libc-texi-generated), not duplicated list of files.
45749         (version.texi, stamp-version): New rules.
45750         (realclean): Remove $(libc-texi-generated), not individual files
45751         from that list.  Do not remove dir-add.texinfo.
45752         * manual/libc.texinfo: Comment out uses of edition numbers and
45753         references to printed manual.  Remove last-updated dates.
45754         (EDITION): Comment out.
45755         (ISBN): Likewise.
45756         (VERSION, UPDATED): Remove.
45757         (version.texi): Include.
45758
45759 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
45760
45761         * sysdeps/posix/spawni.c: Include <signal.h>.
45762         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45763         * sysdeps/pthread/aio_fsync.c: Likewise.
45764
45765 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
45766
45767         * conform/Makefile (tests): Run only when not cross-compiling and
45768         when fast-check is not defined.
45769
45770         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45771         * conform/data/limits.h-data: Fixes for POSIX2008.
45772         * conform/run-conformtest.sh: Run all tests.
45773         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45774         headers.
45775         * include/bits/dlfcn.h: Likewise.
45776         * include/langinfo.h: Likewise.
45777         * include/monetary.h: Likewise.
45778         * include/sys/poll.h: Likewise.
45779
45780         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45781         for __USE_GNU.
45782         * posix/spawn.h: Define __need_sigset_t.
45783         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45784         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45785         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
45786         to get sigevent_t only.
45787         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45788         only for __USE_GNU.
45789         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45790         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45791         process_vm_writev only for __USE_GNU.
45792         * termios/termios.h: Declare tcgetsid also for POSIX2008.
45793
45794         * conform/Makefile: For now ignore errors from run-conformtest.
45795         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
45796         POSIX to avoid namespace pollution.  Don't prepend headers.
45797         * conform/data/aio.h-data: Fixes for POSIX testing.
45798         * conform/data/fcntl.h-data: Likewise.
45799         * conform/data/glob.h-data: Likewise.
45800         * conform/data/grp.h-data: Likewise.
45801         * conform/data/pthread.h-data: Likewise.
45802         * conform/data/pwd.h-data: Likewise.
45803         * conform/data/signal.h-data: Likewise.
45804         * conform/data/spawn.h-data: Likewise.
45805         * conform/data/stdio.h-data: Likewise.
45806         * conform/data/stdlib.h-data: Likewise.
45807         * conform/data/stropts.h-data: Likewise.
45808         * conform/data/sys/mman.h-data: Likewise.
45809         * conform/data/sys/stat.h-data: Likewise.
45810         * conform/data/sys/types.h-data: Likewise.
45811         * conform/data/sys/wait.h-data: Likewise.
45812         * conform/data/time.h-data: Likewise.
45813         * conform/data/unistd.h-data: Likewise.
45814         * conform/data/utime.h-data: Likewise.
45815
45816         * io/sys/stat.h: fchmod was always in POSIX.
45817         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45818         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45819         * rt/aio.h: Define __need_timespec before including <time.h>.
45820         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45821         struct.  Add forward declaration of pthread_attr_t and use it in
45822         sigevent.
45823         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45824         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45825         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45826         always remove CLK_TCK definition.
45827
45828 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
45829
45830         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45831
45832 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
45833
45834         * conform/run-conformtest.sh: New file.
45835         * conform/Makefile: Run run-conformtest for tests.
45836         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
45837         support.
45838
45839         * conform/data/uchar.h-data: New file.
45840         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45841         * conform/data/arpa/inet.h-data: Likewise.
45842         * conform/data/assert.h-data: Likewise.
45843         * conform/data/complex.h-data: Likewise.
45844         * conform/data/cpio.h-data: Likewise.
45845         * conform/data/ctype.h-data: Likewise.
45846         * conform/data/dirent.h-data: Likewise.
45847         * conform/data/dlfcn.h-data: Likewise.
45848         * conform/data/errno.h-data: Likewise.
45849         * conform/data/fcntl.h-data: Likewise.
45850         * conform/data/float.h-data: Likewise.
45851         * conform/data/fmtmsg.h-data: Likewise.
45852         * conform/data/fnmatch.h-data: Likewise.
45853         * conform/data/ftw.h-data: Likewise.
45854         * conform/data/glob.h-data: Likewise.
45855         * conform/data/grp.h-data: Likewise.
45856         * conform/data/iconv.h-data: Likewise.
45857         * conform/data/inttypes.h-data: Likewise.
45858         * conform/data/langinfo.h-data: Likewise.
45859         * conform/data/libgen.h-data: Likewise.
45860         * conform/data/limits.h-data: Likewise.
45861         * conform/data/locale.h-data: Likewise.
45862         * conform/data/math.h-data: Likewise.
45863         * conform/data/monetary.h-data: Likewise.
45864         * conform/data/mqueue.h-data: Likewise.
45865         * conform/data/ndbm.h-data: Likewise.
45866         * conform/data/net/if.h-data: Likewise.
45867         * conform/data/netdb.h-data: Likewise.
45868         * conform/data/netinet/in.h-data: Likewise.
45869         * conform/data/nl_types.h-data: Likewise.
45870         * conform/data/poll.h-data: Likewise.
45871         * conform/data/pthread.h-data: Likewise.
45872         * conform/data/pwd.h-data: Likewise.
45873         * conform/data/regex.h-data: Likewise.
45874         * conform/data/sched.h-data: Likewise.
45875         * conform/data/search.h-data: Likewise.
45876         * conform/data/semaphore.h-data: Likewise.
45877         * conform/data/setjmp.h-data: Likewise.
45878         * conform/data/signal.h-data: Likewise.
45879         * conform/data/spawn.h-data: Likewise.
45880         * conform/data/stdarg.h-data: Likewise.
45881         * conform/data/stdio.h-data: Likewise.
45882         * conform/data/stdlib.h-data: Likewise.
45883         * conform/data/string.h-data: Likewise.
45884         * conform/data/strings.h-data: Likewise.
45885         * conform/data/stropts.h-data: Likewise.
45886         * conform/data/sys/ipc.h-data: Likewise.
45887         * conform/data/sys/mman.h-data: Likewise.
45888         * conform/data/sys/msg.h-data: Likewise.
45889         * conform/data/sys/resource.h-data: Likewise.
45890         * conform/data/sys/select.h-data: Likewise.
45891         * conform/data/sys/sem.h-data: Likewise.
45892         * conform/data/sys/shm.h-data: Likewise.
45893         * conform/data/sys/socket.h-data: Likewise.
45894         * conform/data/sys/stat.h-data: Likewise.
45895         * conform/data/sys/statvfs.h-data: Likewise.
45896         * conform/data/sys/time.h-data: Likewise.
45897         * conform/data/sys/timeb.h-data: Likewise.
45898         * conform/data/sys/times.h-data: Likewise.
45899         * conform/data/sys/types.h-data: Likewise.
45900         * conform/data/sys/uio.h-data: Likewise.
45901         * conform/data/sys/un.h-data: Likewise.
45902         * conform/data/sys/utsname.h-data: Likewise.
45903         * conform/data/sys/wait.h-data: Likewise.
45904         * conform/data/syslog.h-data: Likewise.
45905         * conform/data/tar.h-data: Likewise.
45906         * conform/data/termios.h-data: Likewise.
45907         * conform/data/utime.h-data: Likewise.
45908         * conform/data/utmpx.h-data: Likewise.
45909         * conform/data/varargs.h-data: Likewise.
45910         * conform/data/wchar.h-data: Likewise.
45911         * conform/data/wctype.h-data: Likewise.
45912         * conform/data/wordexp.h-data: Likewise.
45913
45914         * include/stropts.h: New file.
45915         * include/uchar.h: New file.
45916         * include/aio.h: Changes to allow conformtest.pl to use the headers.
45917         * include/assert.h: Likewise.
45918         * include/ctype.h: Likewise.
45919         * include/dirent.h: Likewise.
45920         * include/dlfcn.h: Likewise.
45921         * include/fcntl.h: Likewise.
45922         * include/fnmatch.h: Likewise.
45923         * include/glob.h: Likewise.
45924         * include/grp.h: Likewise.
45925         * include/libio.h: Likewise.
45926         * include/locale.h: Likewise.
45927         * include/math.h: Likewise.
45928         * include/net/if.h: Likewise.
45929         * include/netdb.h: Likewise.
45930         * include/netinet/in.h: Likewise.
45931         * include/pthread.h: Likewise.
45932         * include/pwd.h: Likewise.
45933         * include/regex.h: Likewise.
45934         * include/sched.h: Likewise.
45935         * include/search.h: Likewise.
45936         * include/setjmp.h: Likewise.
45937         * include/signal.h: Likewise.
45938         * include/stdio.h: Likewise.
45939         * include/stdlib.h: Likewise.
45940         * include/string.h: Likewise.
45941         * include/sys/cdefs.h: Likewise.
45942         * include/sys/mman.h: Likewise.
45943         * include/sys/msg.h: Likewise.
45944         * include/sys/resource.h: Likewise.
45945         * include/sys/select.h: Likewise.
45946         * include/sys/socket.h: Likewise.
45947         * include/sys/stat.h: Likewise.
45948         * include/sys/statvfs.h: Likewise.
45949         * include/sys/time.h: Likewise.
45950         * include/sys/times.h: Likewise.
45951         * include/sys/uio.h: Likewise.
45952         * include/sys/utsname.h: Likewise.
45953         * include/sys/wait.h: Likewise.
45954         * include/termios.h: Likewise.
45955         * include/time.h: Likewise.
45956         * include/ulimit.h: Likewise.
45957         * include/unistd.h: Likewise.
45958         * include/utime.h: Likewise.
45959         * include/wchar.h: Likewise.
45960         * include/wctype.h: Likewise.
45961         * include/wordexp.h: Likewise.
45962
45963         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45964
45965         * time/time.h: TIME_UTC must be a macro.
45966         Make timespec_get available for ISO C11 only as well.
45967
45968 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
45969
45970         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45971         Reported by Peng Haitao <penght@cn.fujitsu.com>.
45972
45973 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45974
45975         * configure.in: Use -o not -a in test for unsupported multi-arch.
45976
45977 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45978
45979         * manual/texinfo.tex: Update to version 2012-01-19.16.
45980
45981 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45982
45983         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45984
45985 2012-02-24  Roland McGrath  <roland@hack.frob.com>
45986
45987         [BZ #13738]
45988         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45989         * manual/fdl-1.3.texi: New file.
45990         * manual/fdl-1.1.texi: File removed.
45991
45992         [BZ #13738]
45993         * manual/libc.texinfo (FDL_VERSION): New @set.
45994         Use it for mention of FDL in cover text.
45995         (Documentation License): Use it in @include file name.
45996
45997 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45998             Roland McGrath  <roland@hack.frob.com>
45999
46000         [BZ #5461]
46001         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46002         (not LONG_LONG_MAX and LONG_LONG_MIN.
46003         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46004         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46005         name.
46006         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46007
46008 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46009
46010         [BZ #2547]
46011         [BZ #11365]
46012         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46013         manipulate bits before adding and subtracting TWO23[sx].
46014         * math/libm-test.inc (nearbyint_test): Add more tests.
46015
46016 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46017
46018         [BZ #2548]
46019         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46020         bits before adding and subtracting TWO23[sx].
46021         * math/libm-test.inc (rint_test): Add more tests.
46022         (rint_test_tonearest): Likewise.
46023         (rint_test_towardzero): Likewise.
46024         (rint_test_downward): Likewise.
46025         (rint_test_upward: Likewise.
46026
46027 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46028
46029         [BZ #10110]
46030         * include/stdc-predef.h: New file.  Extracted from features.h.
46031         * include/features.h: Include stdc-predef.h.
46032         * Makefile (headers): Add stdc-predef.h.
46033         * CONFORMANCE (Compiler limitations): Update.
46034
46035 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46036
46037         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46038
46039 2012-02-21  David S. Miller  <davem@davemloft.net>
46040
46041         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46042         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46043
46044 2012-02-20  David S. Miller  <davem@davemloft.net>
46045
46046         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46047         using a normal save/restore sequence, rather than allocating a
46048         dummy stack frame just to store a frame pointer and restore.
46049         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46050
46051 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46052
46053         * manual/install.texi: Fix stray word in line-wrapped comment.
46054
46055 2012-02-20  David S. Miller  <davem@davemloft.net>
46056
46057         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46058         both binutils and gcc support GOTDATA.
46059
46060         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46061         "rd %pc" in the PIC register setup sequences.
46062
46063         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46064         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46065         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46066         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46067         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46068         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46069         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46070         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46071         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46072         (SYSCALL_ERROR_HANDLER): Likewise.
46073         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46074         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46075         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46076         (SYSCALL_ERROR_HANDLER): Likewise.
46077
46078         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46079         (HAVE_GCC_GOTDATA): New.
46080         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46081         relocation support in both binutils and gcc.
46082         * sysdeps/sparc/elf/configure: Regenerate.
46083
46084         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46085         * sysdeps/sparc/sparc32/elf/configure: Delete.
46086         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46087         * sysdeps/sparc/sparc64/elf/configure: Delete.
46088         * sysdeps/sparc/elf/configure.in: New file.
46089         * sysdeps/sparc/elf/configure: Generate.
46090
46091         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46092         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46093         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46094         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46095         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46096
46097 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46098
46099         * manual/install.texi: Do not mention specific glibc version
46100         numbers.
46101         * manual/libc.texinfo (VERSION, UPDATED): Update.
46102         (@copying): Use @copyright{} and range of years.
46103
46104 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46105
46106         [BZ #13695]
46107         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46108         [crti.S not in sysdirs] (generated): Do not append.
46109         [crti.S not in sysdirs] (omit-deps): Likewise.
46110         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46111         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46112         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46113         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46114         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46115         Likewise.
46116         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46117         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46118         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46119         * csu/defs.awk: Remove file.
46120         * sysdeps/generic/initfini.c: Likewise.
46121         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46122         variable.
46123         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46124         Likewise.
46125
46126 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46127
46128         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46129         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46130         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46131         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46132         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46133         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46134         <bits/epoll.h>.
46135         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46136         (__EPOLL_PACKED): Define to empty if not defined by
46137         <bits/epoll.h>.
46138         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46140         bits/epoll.h.
46141
46142 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46143
46144         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46145         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46146         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46147         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46148         <bits/timerfd.h>.
46149         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46150         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46151         bits/timerfd.h.
46152
46153 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46154
46155         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46156         in C locale.
46157         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46158         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46159         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46161
46162 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46163
46164         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46165         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46166
46167 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46168
46169         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46170         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46171         defined.
46172         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46173         Likewise.
46174         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46175         entry for 2.16.
46176
46177 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46178
46179         * math/w_acos.c: Use non-signaling floating-point comparisons.
46180         * math/w_acosf.c: Likewise.
46181         * math/w_acosh.c: Likewise.
46182         * math/w_acoshf.c: Likewise.
46183         * math/w_acoshl.c: Likewise.
46184         * math/w_acosl.c: Likewise.
46185         * math/w_asin.c: Likewise.
46186         * math/w_asinf.c: Likewise.
46187         * math/w_asinl.c: Likewise.
46188         * math/w_atanh.c: Likewise.
46189         * math/w_atanhf.c: Likewise.
46190         * math/w_atanhl.c: Likewise.
46191         * math/w_exp2.c: Likewise.
46192         * math/w_exp2f.c: Likewise.
46193         * math/w_exp2l.c: Likewise.
46194         * math/w_j0.c: Likewise.
46195         * math/w_j0f.c: Likewise.
46196         * math/w_j0l.c: Likewise.
46197         * math/w_j1.c: Likewise.
46198         * math/w_j1f.c: Likewise.
46199         * math/w_j1l.c: Likewise.
46200         * math/w_jn.c: Likewise.
46201         * math/w_jnf.c: Likewise.
46202         * math/w_log.c: Likewise.
46203         * math/w_log10.c: Likewise.
46204         * math/w_log10f.c: Likewise.
46205         * math/w_log10l.c: Likewise.
46206         * math/w_log2.c: Likewise.
46207         * math/w_log2f.c: Likewise.
46208         * math/w_log2l.c: Likewise.
46209         * math/w_logf.c: Likewise.
46210         * math/w_logl.c: Likewise.
46211         * math/w_sqrt.c: Likewise.
46212         * math/w_sqrtf.c: Likewise.
46213         * math/w_sqrtl.c: Likewise.
46214         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46215         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46216         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46217         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46218         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46219
46220 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46221
46222         [BZ #9739]
46223         * manual/string.texi (strnlen): Use correct parameter name in
46224         equivalent expression.
46225
46226 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46227
46228         [BZ #11174]
46229         * manual/users.texi (seteuid): Consistently use neweuid for
46230         argument name.
46231
46232 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46233
46234         [BZ #13704]
46235         * manual/nss.texi (Services in the NSS configuration): Correct
46236         list of services in example configuration file.
46237
46238 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46239
46240         [BZ #11322]
46241         * manual/arith.texi: Remove statements about negative zero
46242         behaving identically to zero.
46243
46244 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46245
46246         [BZ #5993]
46247         * manual/install.texi: Do not document upgrading from libc5.
46248
46249 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46250
46251         [BZ #4596]
46252         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46253
46254 2012-02-18  David S. Miller  <davem@davemloft.net>
46255
46256         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46257         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46258         %o7 across the call.
46259         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46260         instead.
46261         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46262         SETUP_PIC_REG_LEAF.
46263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46264         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46265         * sysdeps/sparc/crtn.S: Likewise.
46266
46267 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46268
46269         * aout/Makefile: Remove.
46270
46271 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46272
46273         [BZ #13058]
46274         * manual/examples/argp-ex1.c (main): Format definition in GNU
46275         style.
46276         * manual/examples/argp-ex2.c (main): Likewise.
46277         * manual/examples/argp-ex3.c (main): Likewise.
46278         * manual/examples/argp-ex4.c (main): Likewise.
46279         * manual/examples/longopt.c (main): Use new-style prototype
46280         definition.
46281         * manual/examples/strncat.c (main): Specify return type and use
46282         (void) for arguments.
46283         * manual/examples/subopt.c (main): Use char **argv argument.
46284
46285 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46286
46287         [BZ #5077]
46288         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46289         rounding modes.
46290
46291 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46292
46293         [BZ #6907]
46294         * manual/string.texi (strchr): Change when strchrnul is
46295         recommended.
46296
46297 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46298
46299         [BZ #174]
46300         * manual/locale.texi (setlocale): Document LOCPATH.
46301
46302 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46303
46304         [BZ #10210]
46305         * manual/process.texi (execle): Move @dots{} before last argument.
46306
46307 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46308
46309         [BZ #12047]
46310         * manual/charset.texi (Generic Charset Conversion): Fix typo
46311         (LC_TYPE -> LC_CTYPE).
46312
46313 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46314
46315         [BZ #5805]
46316         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46317         (scalbnf): Likewise.
46318         (scalbnl): Likewise.
46319         (scalbln): Likewise.
46320         (scalblnf): Likewise.
46321         (scalblnl): Likewise.
46322         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46323         (vwarnx): Likewise.
46324         (verr): Likewise.
46325         (verrx): Likewise.
46326         * manual/filesys.texi (telldir): Use braces around return type.
46327         * manual/llio.texi (mmap): Add space after comma.
46328         (mmap64): Likewise.
46329         * manual/math.texi (jn): Use @var{} on parameter names.
46330         (jnf): Likewise.
46331         (jnl): Likewise.
46332         (yn): Likewise.
46333         (ynf): Likewise.
46334         (ynl): Likewise.
46335         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46336         line.
46337         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46338         "...".
46339         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46340         (sched_get_priority_max): Likewise.
46341         * manual/signal.texi (sigvec): Add space after comma.
46342         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46343         names.
46344         (if_indextoname): Likewise.
46345         (if_freenameindex): Likewise.
46346         (sendto): Use ',' instead of '.' in prototype.
46347         * manual/startup.texi (syscall): Use @dots{} instead of literal
46348         "...".
46349         * manual/stdio.texi (__fpending): Separate initial words of
46350         paragraph from @deftypefun line.
46351         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46352         "...".
46353         (vsyslog): Use @var{} on parameter names.
46354         * manual/terminal.texi (stty): Use @var{} on parameter names.
46355         * manual/users.texi (getutmp): Use @var{} on parameter names.
46356         (getutmpx): Likewise.
46357
46358 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46359
46360         [BZ #6884]
46361         * manual/stdio.texi (fopen): Fix typos in description of
46362         ",ccs=STRING".
46363
46364 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46365
46366         [BZ #4026]
46367         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46368         get clock_id definition.
46369
46370 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46371
46372         [BZ #4822]
46373         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46374         (madvise): Cast every argument to void on its own.
46375
46376 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46377
46378         [BZ #9902]
46379         * manual/startup.texi (Exit Status): Fix typo.
46380
46381 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46382
46383         [BZ #10140]
46384         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46385         * manual/examples/argp-ex2.c: Likewise.
46386         * manual/examples/argp-ex3.c: Likewise.
46387
46388 2012-02-16  Richard Henderson  <rth@redhat.com>
46389
46390         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46391         * sysdeps/s390/s390-32/initfini.c: Remove.
46392         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46393         * sysdeps/s390/s390-64/initfini.c: Remove.
46394
46395 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46396
46397         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46398         compiler output for sysdeps/generic/initfini.c.
46399         * sysdeps/sh/elf/initfini.c: Remove file.
46400
46401 2012-02-16  David S. Miller  <davem@davemloft.net>
46402
46403         [BZ #11494]
46404         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46405
46406         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46407         * sysdeps/sparc/crti.S: New file.
46408         * sysdeps/sparc/crtn.S: New file.
46409         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46410         * sysdeps/sparc/sparc64/Makefile: Likewise.
46411
46412 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46413
46414         [BZ #3335]
46415         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46416
46417 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46418
46419         [BZ #4822]
46420         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46421
46422         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46423         (write, read, close): Likewise.
46424         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46425
46426 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46427
46428         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46429         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46430         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46431         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46432         <bits/signalfd.h>.
46433         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46434         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46435         bits/signalfd.h.
46436
46437 2012-02-14  Marek Polacek  <polacek@redhat.com>
46438
46439         * sysdeps/x86_64/crti.S: New file.
46440         * sysdeps/x86_64/crtn.S: New file.
46441         * sysdeps/x86_64/elf/initfini.c: Remove file.
46442
46443 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46444
46445         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46446         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46447         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46448         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46449         <bits/inotify.h>.
46450         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46451         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46452         bits/inotify.h.
46453
46454 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46455
46456         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46457         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46458         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46459         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46460         <bits/eventfd.h>.
46461         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46463         bits/eventfd.h.
46464
46465 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46466
46467         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46468         __feraiseexcept instead of feraiseexcept.
46469
46470         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46471         nanosleep invocations.
46472         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46473         strings, and add error checking for a nanosleep invocations.
46474
46475 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46476
46477         Replace FSF snail mail address with URLs, as per GNU coding standards.
46478         Most of the snail mail addresses were wrong anyway, and omitting
46479         them makes the source code easier to maintain.  Almost all of the
46480         changes are to license notices and to locale LC_IDENTIFICATION
46481         addresses, except for this one:
46482         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46483         not its snail mail address.
46484
46485 2012-02-09  Richard Henderson  <rth@twiddle.net>
46486
46487         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46488         of kernel-features.h.
46489
46490         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46491
46492 2012-02-08  Marek Polacek  <polacek@redhat.com>
46493
46494         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46495         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46496         * sysdeps/gnu/_G_config.h: Likewise.
46497         * sysdeps/generic/_G_config.h: Likewise.
46498
46499 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46500
46501         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46502         tests.
46503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46504
46505         * sysdeps/powerpc/powerpc32/crti.S: New file.
46506         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46507         * sysdeps/powerpc/powerpc64/crti.S: New file.
46508         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46509
46510         * Makeconfig (have-initfini): Don't set.
46511         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46512         * configure.in (nopic_initfini): Don't substitute.
46513         * config.h.in (HAVE_INITFINI): Don't #undef.
46514         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46515         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46516
46517 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46518
46519         Support crti.S and crtn.S provided directly by architectures.
46520         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46521         [crti.S in sysdirs] (omit-deps): Likewise.
46522         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46523         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46524         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46525         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46526         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46527         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46528         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46529         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46530         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46531         compiler output for sysdeps/generic/initfini.c.
46532         * sysdeps/i386/elf/Makefile: Remove file.
46533         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46534
46535 2012-02-07  Marek Polacek  <polacek@redhat.com>
46536
46537         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46538         * sysdeps/gnu/_G_config.h: Likewise.
46539         * sysdeps/mach/hurd/_G_config.h: Likewise.
46540
46541 2012-02-07  Marek Polacek  <polacek@redhat.com>
46542
46543         * math/Makefile (tests): Add tst-CMPLX2.
46544         * math/tst-CMPLX2.c: New file.
46545
46546 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46547
46548         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46549
46550         * math/libm-test.inc (jn_test): Add missing L suffix.
46551
46552 2012-02-06  Marek Polacek  <polacek@redhat.com>
46553
46554         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46555         * sysdeps/i386/fpu/e_powf.S: Likewise.
46556         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46557         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46558         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46559         * sysdeps/i386/fpu/e_pow.S: Likewise.
46560         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46561         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46562         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46563         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46564         * sysdeps/i386/fpu/e_log2.S: Likewise.
46565         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46566         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46567         * sysdeps/i386/fpu/e_powl.S: Likewise.
46568         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46569         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46570         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46571         * sysdeps/i386/fpu/e_logl.S: Likewise.
46572         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46573         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46574         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46575         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46576         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46577         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46578         * sysdeps/i386/fpu/e_log.S: Likewise.
46579         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46580         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46581         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46582         * sysdeps/i386/fpu/e_logf.S: Likewise.
46583         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46584         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46585         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46586         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46587         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46588         * sysdeps/i386/fpu/e_log10.S: Likewise.
46589         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46590         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46591         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46592         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46593         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46594         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46595         * sysdeps/i386/asm-syntax.h: Likewise.
46596         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46597         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46598         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46599         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46600         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46601         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46602         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46603         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46604         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46605         * sysdeps/powerpc/sysdep.h: Likewise.
46606         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46607         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46608
46609 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46610
46611         [BZ #411]
46612         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46613
46614 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46615
46616         * sysdeps/i386/sysdep.h: Include <features.h>.
46617         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46618         version.
46619
46620 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46621
46622         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46623         Define.
46624         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46625         LOAD_PIC_REG_STR.
46626
46627 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46628
46629         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46630         (SETUP_PIC_REG): Use GET_PC_THUNK.
46631         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46632         macro.
46633
46634 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46635
46636         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46637         for non-PIC compilation.
46638         (SETUP_PIC_REG): Add .p2align directive.
46639         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46640         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46641         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46642         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46643         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46644         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46645         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46646         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46647         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46648         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46649         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46650         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46651         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46652         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46653         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46654         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46655         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46656         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46657         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46658         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46659         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46660         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46661         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46662         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46663         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46664         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46665         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46666         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46667         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46668         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46669         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46670         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46671         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46672         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46673         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46674         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46675         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46676         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46677         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46678         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46679         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46680
46681 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46682
46683         * math/tst-CMPLX.c: Include <stdio.h>.
46684
46685 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46686
46687         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46688         float.
46689         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46690         * sysdeps/sparc/bits/mathdef.h: Likewise.
46691
46692 2012-01-31  Marek Polacek  <polacek@redhat.com>
46693
46694         * libio/libio.h: Don't define _PARAMS.
46695         * locale/programs/config.h: Don't define PARAMS.
46696         * stdlib/strtol_l.c: Likewise.
46697         (__strtol_l): Remove PARAMS from the prototype.
46698
46699 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46700
46701         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46702         names.  Just use the correct names.  Remove unnecessary wrapper
46703         functions.
46704         * malloc/arena.c: Likewise.
46705         * malloc/hooks.c: Likewise.
46706
46707         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46708         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46709         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46710
46711 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46712
46713         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46714         into tail calls.
46715         (update_get_addr): New function.
46716         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46717         GET_ADDR_MODULE parameter.
46718
46719 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46720
46721         * crypt/cert.c: Remove __STDC__ conditionals.
46722         * crypt/crypt-entry.c: Likewise.
46723         * crypt/crypt_util.c: Likewise.
46724         * libio/filedoalloc.c: Likewise.
46725         * libio/fileops.c: Likewise.
46726         * libio/genops.c: Likewise.
46727         * libio/iofclose.c: Likewise.
46728         * libio/iofdopen.c: Likewise.
46729         * libio/iofopen.c: Likewise.
46730         * libio/iofopen64.c: Likewise.
46731         * libio/iogetdelim.c: Likewise.
46732         * libio/iopopen.c: Likewise.
46733         * libio/obprintf.c: Likewise.
46734         * libio/oldfileops.c: Likewise.
46735         * libio/oldiofclose.c: Likewise.
46736         * libio/oldiofdopen.c: Likewise.
46737         * libio/oldiofopen.c: Likewise.
46738         * libio/oldiopopen.c: Likewise.
46739         * libio/wfiledoalloc.c: Likewise.
46740         * libio/wgenops.c: Likewise.
46741         * locale/programs/xmalloc.c: Likewise.
46742         * misc/syslog.c: Likewise.
46743         * stdio-common/xbug.c: Likewise.
46744         * string/memchr.c: Likewise.
46745         * string/memcmp.c: Likewise.
46746         * string/memrchr.c: Likewise.
46747         * string/rawmemchr.c: Likewise.
46748         * sysdeps/posix/getcwd.c: Likewise.
46749         * time/strftime_l.c: Likewise.
46750
46751 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46752
46753         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46754         * config.make.in (config-cflags-sse2avx): Define.
46755         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46756         Fix typo.
46757
46758 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
46759
46760         * scripts/config.guess: Update from upstream config git repository.
46761         * scripts/config.sub: Likewise.
46762
46763 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
46764
46765         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46766         (EM_NUM): Update.
46767         (R_TILEPRO_*, R_TILEGX_*): New macros.
46768
46769         * scripts/firstversions.awk: Fix bug in version range handling.
46770
46771         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46772
46773         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46774
46775         * include/sys/epoll.h: New file.
46776         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46777         libc_hidden_def.
46778
46779 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
46780
46781         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46782         Avoid unnecessary __WORDSIZE == 64 test.
46783         (fmaxf): Use VEX format if possible.
46784         (fmax): Likewise.
46785         (fminf): Likewise.
46786         (fmin): Likewise.
46787
46788         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46789         * math/math_private.h: Remove libc_fegetround* and
46790         libc_fesetround*.
46791         * sysdeps/i386/configure.in: Check for -msse2avx.
46792         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46793         also if SSE2AVX is defined.
46794         Remove libc_fegetround* and libc_fesetround*.
46795         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46796         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
46797         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46798         of HAS_YMM_USABLE.
46799         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46800         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46801         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46802         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46803         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46804
46805         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46806
46807 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46808
46809         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46810         size is not set.
46811         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46812
46813 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
46814
46815         [BZ #13618]
46816         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46817         relocation.
46818         * Makeconfig (libm): Define.
46819         * elf/Makefile: Add rules to build and run tst-relsort1.
46820         * elf/tst-relsort1.c: New file.
46821         * elf/tst-relsort1mod1.c: New file.
46822         * elf/tst-relsort1mod2.c: New file.
46823
46824 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
46825
46826         * math/s_ldexp.c: Remove __STDC__ conditionals.
46827         * math/s_ldexpf.c: Likewise.
46828         * math/s_ldexpl.c: Likewise.
46829         * math/s_nextafter.c: Likewise.
46830         * math/s_nexttowardf.c: Likewise.
46831         * math/s_significand.c: Likewise.
46832         * math/s_significandf.c: Likewise.
46833         * math/s_significandl.c: Likewise.
46834         * math/w_jnl.c: Likewise.
46835         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46836         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46837         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46838         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46839         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46840         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46841         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46842         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46843         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46844         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46845         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46846         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46847         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46848         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46849         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46850         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46851         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46852         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46853         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46854         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46855         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46856         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46857         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46858         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46859         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46860         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46861         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46862         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46863         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46864         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46865         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46866         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46867         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46868         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46869         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46870         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46871         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46872         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46873         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46874         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46875         * sysdeps/ieee754/k_standard.c: Likewise.
46876         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46877         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46878         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46879         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46880         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46881         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46882         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46883         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46884         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46885         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46886         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46887         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46888         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46889         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46890         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46891         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46892         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46893         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46894         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46895         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46896         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46897         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46898         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46899         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46900         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46901         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46902         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46903         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46904         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46905         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46906         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46907         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46908         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46909         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46910         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46911         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46912         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46913         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46914         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46915         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46916         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46917         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46918         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46919         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46920         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46921         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46922         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46923         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46924         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46925         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46926         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46927         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46928         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46929         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46930         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46931         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46932         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46933         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46934         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46935         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46936         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46937         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46938         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46939         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46940         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46941         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46942         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46943         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46944         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46945         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46946         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46947         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46948         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46949         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46950         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46951         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46952         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46953         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46954         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46955         * sysdeps/ieee754/s_matherr.c: Likewise.
46956         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46957         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46958         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46959         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46960
46961 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46962
46963         * crypt/md5.h: Remove __STDC__ conditionals.
46964         * libio/libioP.h: Likewise.
46965         * locale/programs/config.h: Likewise.
46966         * sysdeps/generic/sysdep.h: Likewise.
46967         * sysdeps/i386/asm-syntax.h: Likewise.
46968         * sysdeps/s390/asm-syntax.h: Likewise.
46969         * sysdeps/unix/sysdep.h: Likewise.
46970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46972
46973 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46974
46975         * libio/libio.h: Remove __STDC__ conditionals.
46976         * malloc/obstack.h: Likewise.
46977         * math/complex.h: Likewise.
46978         * math/math.h: Likewise.
46979         * sysdeps/generic/_G_config.h: Likewise.
46980         * sysdeps/gnu/_G_config.h: Likewise.
46981         * sysdeps/mach/hurd/_G_config.h: Likewise.
46982         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46983         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46984         * sysdeps/sparc/bits/mathdef.h: Likewise.
46985
46986 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
46987
46988         [BZ #13583]
46989         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46990         Clean up HAS_* macros.
46991         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46992         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46993         possible.
46994         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46995         HAS_AVX.
46996         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46997         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46998         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46999         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47000         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47001
47002 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47003
47004         * elf/tst-unique3.cc (gets): Remove declaration.
47005         * elf/tst-unique3lib.cc (gets): Likewise.
47006         * elf/tst-unique3lib2.cc (gets): Likewise.
47007         * elf/tst-unique4.cc (gets): Likewise.
47008
47009 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47010
47011         * include/stdio.h: Add C++ protection.  Add gets declarations and
47012         definitions.
47013         * debug/tst-chk1.c: Don't declare gets here.
47014         * stdio-common/tst-gets.c: Likewise.
47015
47016 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47017
47018         * posix/glob: Remove directory.
47019
47020 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47021
47022         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47023
47024 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47025
47026         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47027         of the non-standard EPFNOSUPPORT.
47028
47029 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47030
47031         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47032         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47033         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47034
47035 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47036
47037         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47038
47039 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47040
47041         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47042         transient errors.
47043         * nscd/grpcache.c (cache_addgr): Likewise.
47044         * nscd/hstcache.c (cache_addhst): Likewise.
47045         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47046         * nscd/pwdcache.c (cache_addpw): Likewise.
47047         * nscd/servicescache.c (cache_addserv): Likewise.
47048
47049 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47050
47051         * malloc/malloc.c: Various cleanups.
47052         * malloc/hooks.c: Likewise.
47053
47054         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47055         * stdlib/bug-fmtmsg1.c: New file.
47056
47057         * stdlib/fmtmsg.c (init): Add missing unlock.
47058         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47059
47060 2012-01-12  Marek Polacek  <polacek@redhat.com>
47061
47062         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47063         and _GNU_SOURCE.
47064
47065 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47066
47067         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47068         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47069         macro to ensure uniqueness of label name.
47070         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47071         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47072
47073 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47074
47075         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47076
47077         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47078         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47079         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47080         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47081
47082 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47083
47084         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47085
47086         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47087         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47088         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47089
47090         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47091
47092         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47093         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47094         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47095         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47096
47097         * math/bits/math-finite.h: Add ldexp support.
47098
47099 2012-01-10  Marek Polacek  <polacek@redhat.com>
47100
47101         * locale/programs/localedef.h (show_archive_content): Add noreturn
47102         attribute.
47103
47104 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47105
47106         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47107
47108 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47109
47110         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47111
47112         * io/Makefile (headers): Add bits/poll2.h.
47113
47114 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47115
47116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47117         typo #include statement.
47118
47119 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47120
47121         * include/sys/cdefs.h: Define __attribute_alloc_size.
47122         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47123         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47124         * elf/pldd.c: Likewise.
47125         * iconv/iconv_charmap.c: Likewise.
47126         * iconv/iconvconfig.c: Likewise.
47127         * iconv/strtab.c: Likewise.
47128         * locale/programs/locale.c: Likewise.
47129         * locale/programs/localedef.h: Likewise.
47130         * locale/programs/simple-hash.c: Likewise.
47131         * nscd/nscd.h: Likewise.
47132         * nss/makedb.c: Likewise.
47133         * sysdeps/generic/ldconfig.h: Likewise.
47134         * locale/programs/localedef.c: Remove xmalloc prototype.
47135         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47136
47137 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47138
47139         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47140         appropriate.
47141
47142 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47143
47144         * math/Makefile (tests): Add tst-CMPLX.
47145         * math/tst-CMPLX.c: New file.
47146
47147         * math/complex.h (CMPLXL): Fix typo.
47148
47149         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47150         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47151         GLIBC_2.16.
47152         * debug/tst-chk1.c: Add poll and ppoll tests.
47153         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47154         * include/sys/poll.h: Add hidden proto for ppoll.
47155         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47156         * sysdeps/mach/hurd/ppoll.c: Likewise.
47157         * io/ppoll.c: Likewise.
47158         * debug/poll_chk.c: New file.
47159         * debug/ppoll_chk.c: New file.
47160         * include/bits/poll2.h: New file.
47161         * io/bits/poll2.h: New file.
47162
47163         [BZ #1350]
47164         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47165
47166         * configure.in: static is always set to yes.  Remove.
47167         * config.make.in: Don't set build-static.
47168         * Makeconfig: Remove use of build-static.
47169         * dlfcn/Makefile: Likewise.
47170         * elf/Makefile: Likewise.
47171         * math/Makefile: Likewise.
47172         * misc/Makefile: Likewise.
47173         * nptl/Makefile: Likewise.
47174         * sysdeps/mach/hurd/Makefile: Likewise.
47175
47176         * configure.in: PWD_P is not used anymore.
47177         * config.make.in: Remove PWD_P entry.
47178
47179         * configure.in: Remove last remnants of RANLIB.
47180         No need to check for signed size_t anymore.
47181         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47182         and IA-64.
47183         Remove __builtin_expect test because we require at least gcc 3.4.
47184         * aclocal.m4: Likewise.
47185
47186         * wcsmbs/mbrtoc16.c: Implement using towc function.
47187         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47188         * wcsmbs/wcsmbsload.c: Likewise.
47189         * iconv/gconv_simple.c: Likewise.
47190         * iconv/gconv_int.h: Likewise.
47191         * iconv/gconv_builtin.h: Likewise.
47192         * iconv/iconv_prog.c: Remove CHAR16 handling.
47193
47194         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47195
47196         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47197
47198         * configure.in: Remove --with-elf and --enable-bounded options.
47199         Dont set base_machine for ia64.  More non-ELF conditions removed.
47200         Remove testing and setting of leading underscore information.
47201         * config.make.in (build-bounded): Set to no.
47202         * config.h.in: Remove NO_UNDERSCORES entry.
47203         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47204         them.
47205         * csu/start.c: Remove !NO_UNDERSCORE code.
47206         * locale/localeinfo.h: Likewise.
47207         * sysdeps/generic/machine-gmon.h: Likewise.
47208         * sysdeps/generic/sysdep.h: Likewise.
47209         * sysdeps/i386/sysdep.h: Likewise.
47210         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47211         * sysdeps/mach/sysdep.h: Likewise.
47212         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47213         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47214         * sysdeps/sh/sysdep.h: Likewise.
47215         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47216         * sysdeps/unix/i386/sysdep.S: Likewise.
47217         * sysdeps/unix/sparc/start.c: Likewise.
47218         * sysdeps/unix/sparc/sysdep.S: Likewise.
47219         * sysdeps/unix/sparc/sysdep.h: Likewise.
47220         * sysdeps/unix/start.c: Likewise.
47221         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47222         * sysdeps/x86_64/sysdep.h: Likewise.
47223
47224 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47225
47226         [BZ #13553]
47227         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47228         for non-gcc.
47229         * argp/argp-fmtstream.h: Use const instead __const.
47230         * argp/argp.h: Likewise.
47231         * assert/assert.h: Likewise.
47232         * bits/fenv.h: Likewise.
47233         * bits/sched.h: Likewise.
47234         * bits/sigset.h: Likewise.
47235         * bits/sigthread.h: Likewise.
47236         * catgets/nl_types.h: Likewise.
47237         * conform/data/pthread.h-data: Likewise.
47238         * crypt/crypt-private.h: Likewise.
47239         * crypt/crypt.h: Likewise.
47240         * crypt/crypt_util.c: Likewise.
47241         * ctype/ctype.h: Likewise.
47242         * debug/execinfo.h: Likewise.
47243         * debug/mbsnrtowcs_chk.c: Likewise.
47244         * debug/mbsrtowcs_chk.c: Likewise.
47245         * debug/wcsnrtombs_chk.c: Likewise.
47246         * debug/wcsrtombs_chk.c: Likewise.
47247         * debug/wcstombs_chk.c: Likewise.
47248         * dirent/dirent.h: Likewise.
47249         * dlfcn/dlfcn.h: Likewise.
47250         * elf/neededtest4.c: Likewise.
47251         * grp/grp.h: Likewise.
47252         * gshadow/gshadow.h: Likewise.
47253         * iconv/gconv.h: Likewise.
47254         * iconv/gconv_int.h: Likewise.
47255         * iconv/gconv_simple.c: Likewise.
47256         * iconv/iconv.h: Likewise.
47257         * iconv/loop.c: Likewise.
47258         * iconv/skeleton.c: Likewise.
47259         * include/aio.h: Likewise.
47260         * include/aliases.h: Likewise.
47261         * include/argz.h: Likewise.
47262         * include/arpa/inet.h: Likewise.
47263         * include/assert.h: Likewise.
47264         * include/dirent.h: Likewise.
47265         * include/dlfcn.h: Likewise.
47266         * include/execinfo.h: Likewise.
47267         * include/fcntl.h: Likewise.
47268         * include/fenv.h: Likewise.
47269         * include/glob.h: Likewise.
47270         * include/grp.h: Likewise.
47271         * include/libintl.h: Likewise.
47272         * include/mntent.h: Likewise.
47273         * include/netdb.h: Likewise.
47274         * include/pwd.h: Likewise.
47275         * include/rpc/netdb.h: Likewise.
47276         * include/sched.h: Likewise.
47277         * include/search.h: Likewise.
47278         * include/shadow.h: Likewise.
47279         * include/signal.h: Likewise.
47280         * include/stdio.h: Likewise.
47281         * include/stdlib.h: Likewise.
47282         * include/string.h: Likewise.
47283         * include/sys/socket.h: Likewise.
47284         * include/sys/stat.h: Likewise.
47285         * include/sys/statfs.h: Likewise.
47286         * include/sys/statvfs.h: Likewise.
47287         * include/sys/syslog.h: Likewise.
47288         * include/sys/time.h: Likewise.
47289         * include/sys/uio.h: Likewise.
47290         * include/time.h: Likewise.
47291         * include/unistd.h: Likewise.
47292         * include/utmp.h: Likewise.
47293         * include/wchar.h: Likewise.
47294         * include/wctype.h: Likewise.
47295         * inet/aliases.h: Likewise.
47296         * inet/arpa/inet.h: Likewise.
47297         * inet/netinet/ether.h: Likewise.
47298         * inet/netinet/in.h: Likewise.
47299         * intl/libintl.h: Likewise.
47300         * io/bits/fcntl2.h: Likewise.
47301         * io/fcntl.h: Likewise.
47302         * io/ftw.h: Likewise.
47303         * io/sys/poll.h: Likewise.
47304         * io/sys/stat.h: Likewise.
47305         * io/sys/statfs.h: Likewise.
47306         * io/sys/statvfs.h: Likewise.
47307         * io/utime.h: Likewise.
47308         * libio/bits/stdio.h: Likewise.
47309         * libio/bits/stdio2.h: Likewise.
47310         * libio/libio.h: Likewise.
47311         * libio/libioP.h: Likewise.
47312         * libio/stdio.h: Likewise.
47313         * locale/lc-ctype.c: Likewise.
47314         * locale/locale.h: Likewise.
47315         * login/utmp.h: Likewise.
47316         * malloc/arena.c: Likewise.
47317         * malloc/malloc.c: Likewise.
47318         * malloc/malloc.h: Likewise.
47319         * malloc/mcheck.c: Likewise.
47320         * malloc/mtrace.c: Likewise.
47321         * math/bits/mathcalls.h: Likewise.
47322         * math/fenv.h: Likewise.
47323         * math/math_private.h: Likewise.
47324         * misc/bits/error.h: Likewise.
47325         * misc/bits/syslog.h: Likewise.
47326         * misc/err.h: Likewise.
47327         * misc/error.h: Likewise.
47328         * misc/fstab.h: Likewise.
47329         * misc/mntent.h: Likewise.
47330         * misc/regexp.h: Likewise.
47331         * misc/search.h: Likewise.
47332         * misc/sgtty.h: Likewise.
47333         * misc/sys/mman.h: Likewise.
47334         * misc/sys/syslog.h: Likewise.
47335         * misc/sys/uio.h: Likewise.
47336         * misc/sys/xattr.h: Likewise.
47337         * misc/ttyent.h: Likewise.
47338         * nis/rpcsvc/ypclnt.h: Likewise.
47339         * nss/nss.h: Likewise.
47340         * posix/bits/unistd.h: Likewise.
47341         * posix/fnmatch.h: Likewise.
47342         * posix/glob.h: Likewise.
47343         * posix/sched.h: Likewise.
47344         * posix/spawn.h: Likewise.
47345         * posix/sys/wait.h: Likewise.
47346         * posix/unistd.h: Likewise.
47347         * posix/wordexp.h: Likewise.
47348         * pwd/pwd.h: Likewise.
47349         * resolv/netdb.h: Likewise.
47350         * resource/sys/resource.h: Likewise.
47351         * rt/aio.h: Likewise.
47352         * rt/bits/mqueue2.h: Likewise.
47353         * rt/mqueue.h: Likewise.
47354         * shadow/shadow.h: Likewise.
47355         * signal/signal.h: Likewise.
47356         * socket/send.c: Likewise.
47357         * socket/sendto.c: Likewise.
47358         * socket/sys/socket.h: Likewise.
47359         * stdio-common/printf.h: Likewise.
47360         * stdlib/bits/stdlib.h: Likewise.
47361         * stdlib/fmtmsg.h: Likewise.
47362         * stdlib/monetary.h: Likewise.
47363         * stdlib/stdlib.h: Likewise.
47364         * stdlib/ucontext.h: Likewise.
47365         * streams/stropts.h: Likewise.
47366         * string/argz.h: Likewise.
47367         * string/bits/string2.h: Likewise.
47368         * string/string.h: Likewise.
47369         * string/strings.h: Likewise.
47370         * sunrpc/rpc/auth.h: Likewise.
47371         * sunrpc/rpc/auth_des.h: Likewise.
47372         * sunrpc/rpc/clnt.h: Likewise.
47373         * sunrpc/rpc/netdb.h: Likewise.
47374         * sunrpc/rpc/pmap_clnt.h: Likewise.
47375         * sunrpc/rpc/xdr.h: Likewise.
47376         * sysdeps/generic/inttypes.h: Likewise.
47377         * sysdeps/generic/net/if.h: Likewise.
47378         * sysdeps/generic/sys/swap.h: Likewise.
47379         * sysdeps/gnu/net/if.h: Likewise.
47380         * sysdeps/gnu/utmpx.h: Likewise.
47381         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47382         * sysdeps/i386/i486/bits/string.h: Likewise.
47383         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47384         * sysdeps/s390/bits/string.h: Likewise.
47385         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47386         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47387         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47388         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47389         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47390         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47391         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47392         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47393         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47394         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47395         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47396         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47397         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47398         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47399         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47400         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47401         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47402         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47403         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47404         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47405         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47406         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47407         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47408         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47409         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47410         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47411         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47412         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47413         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47414         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47415         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47416         * sysvipc/sys/ipc.h: Likewise.
47417         * sysvipc/sys/msg.h: Likewise.
47418         * sysvipc/sys/sem.h: Likewise.
47419         * sysvipc/sys/shm.h: Likewise.
47420         * termios/termios.h: Likewise.
47421         * time/sys/time.h: Likewise.
47422         * time/time.h: Likewise.
47423         * wcsmbs/bits/wchar2.h: Likewise.
47424         * wcsmbs/uchar.h: Likewise.
47425         * wcsmbs/wchar.h: Likewise.
47426         * wctype/wctype.h: Likewise.
47427
47428         [BZ #13551]
47429         * Makeconfig: Remove all but ELF support including AIX support.
47430         * Makerules: Likewise.
47431         * config.h.in: Likewise.
47432         * config.make.in: Likewise.
47433         * configure: Likewise.
47434         * configure.in: Likewise.
47435         * csu/Makefile: Likewise.
47436         * csu/version.c: Likewise.
47437         * debug/Makefile: Likewise.
47438         * dlfcn/Makefile: Likewise.
47439         * elf/Makefile: Likewise.
47440         * extra-lib.mk: Likewise.
47441         * iconv/Makefile: Likewise.
47442         * include/libc-symbols.h: Likewise.
47443         * include/shlib-compat.h: Likewise.
47444         * resolv/Makefile: Likewise.
47445         * resolv/res_libc.c: Likewise.
47446         * rt/Makefile: Likewise.
47447         * sysdeps/i386/asm-syntax.h: Likewise.
47448         * sysdeps/i386/sysdep.h: Likewise.
47449         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47450         * sysdeps/mach/sysdep.h: Likewise.
47451         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47452         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47453         * sysdeps/s390/asm-syntax.h: Likewise.
47454         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47455         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47456         * sysdeps/sh/sysdep.h: Likewise.
47457         * sysdeps/unix/sparc/sysdep.h: Likewise.
47458         * sysdeps/wordsize-32/divdi3.c: Likewise.
47459         * sysdeps/x86_64/sysdep.h: Likewise.
47460
47461         * argp/Versions: Remove _argp_unlock_xxx.
47462
47463         [BZ #13559]
47464         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47465         * abilist/libBrokenLocale.abilist: Likewise.
47466         * abilist/libanl.abilist: Likewise.
47467         * abilist/libc.abilist: Likewise.
47468         * abilist/libcrypt.abilist: Likewise.
47469         * abilist/libdl.abilist: Likewise.
47470         * abilist/libm.abilist: Likewise.
47471         * abilist/libnsl.abilist: Likewise.
47472         * abilist/libpthread.abilist: Likewise.
47473         * abilist/libresolv.abilist: Likewise.
47474         * abilist/librt.abilist: Likewise.
47475         * abilist/libthread_db.abilist: Likewise.
47476         * abilist/libutil.abilist: Likewise.
47477         * abilist/libnss_db.abilist: New file.
47478
47479         * scripts/abilist.awk: Add support for indirect functions.
47480
47481         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47482
47483         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47484
47485         * shlib-versions: Remove entries for ports architectures.
47486
47487         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47488         files in ports.
47489         * elf/stackguard-macros.h: Remove support for IA-64.
47490         * elf/tst-auditmod1.c: Likewise.
47491         * sysdeps/generic/ldsodefs.h: Likewise.
47492
47493         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47494         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47495         configure files.
47496
47497         [BZ #13552]
47498         * configure.in: Remove --enable-omitfp support.
47499         * FAQ.in: Adjust.
47500         * config.make.in: Likewise.
47501         * Makeconfig: Likewise.
47502         * manual/install.texi: Likewise.
47503
47504         In case anyone cares, the IA-64 architecture could move to ports.
47505         * sysdeps/ia64/*: Removed.
47506         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47507         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47508
47509         [BZ #13555]
47510         * configure.in: Remove entries for unsupported architectures.
47511
47512         [BZ #13533]
47513         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47514         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47515         routines.
47516         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47517         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47518         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47519         fall back to using wcrtomb.
47520         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47521         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47522         renaming.
47523         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47524         * wcsmbs/tst-c16c32-1.c: New file.
47525
47526         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47527         local variable.
47528
47529         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47530
47531         * elf/tst-unique3.cc: Add explicit declaration of gets.
47532         * elf/tst-unique3lib.cc: Likewise.
47533         * elf/tst-unique3lib2.cc: Likewise.
47534         * elf/tst-unique4.cc: Likewise.
47535
47536         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47537
47538 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47539
47540         [BZ #13566]
47541         * assert/assert.h (static_assert): Don't define for C++.
47542         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47543         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47544
47545 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47546
47547         * iconv/loop.c (single loop): Fix assertion in storing of
47548         remaining bytes.
47549
47550         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47551
47552 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47553
47554         * posix/getconf.c: Update copyright year.
47555         * nss/getent.c: Likewise.
47556         * nss/makedb.c: Likewise.
47557         * iconv/iconvconfig.c: Likewise.
47558         * iconv/iconv_prog.c: Likewise.
47559         * elf/ldconfig.c: Likewise.
47560         * elf/pldd.c: Likewise.
47561         * elf/sotruss.ksh: Likewise.
47562         * catgets/gencat.c: Likewise.
47563         * csu/version.c: Likewise.
47564         * elf/ldd.bash.in: Likewise.
47565         * elf/sprof.c (print_version): Likewise.
47566         * locale/programs/locale.c: Likewise.
47567         * locale/programs/localedef.c: Likewise.
47568         * login/programs/pt_chown.c: Likewise.
47569         * nscd/nscd.c (print_version): Likewise.
47570         * debug/xtrace.sh: Likewise.
47571         * malloc/memusage.sh: Likewise.
47572         * malloc/mtrace.pl: Likewise.
47573         * debug/catchsegv.sh: Likewise.
47574
47575 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47576
47577         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47578         pure attribute.
47579
47580 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47581
47582         [BZ #13533]
47583         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47584         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47585         transformations.
47586         * iconv/gconv_int.h: Likewise.
47587         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47588         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47589         from libc for GLIBC_2.16.
47590         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47591         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47592         * wcsmbs/uchar.h: Really define mbstate_t.
47593         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47594         * wcsmbs/c16rtomb.c: New file.
47595         * wcsmbs/mbrtoc16.c: New file.
47596         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47597         for C/POSIX locale.
47598         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47599         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47600
47601         * wcsmbs/wchar.h: Add missing __restrict.
47602
47603 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47604
47605         [BZ #13532]
47606         * time/Makefile (routines): Add timespec_get.
47607         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47608         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47609         timespec for ISO C11.
47610         * time/timespec_get.c: New file.
47611         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47612         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47613
47614         [BZ #13531]
47615         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47616         * stdlib/stdlib.h: Declare aligned_alloc.
47617         * Versions.def: Add GLIBC_2.16 for libc.
47618         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47619
47620         [BZ 13527]
47621         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47622         ISO C11.
47623
47624         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47625         code.
47626
47627         [BZ #13528]
47628         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47629
47630         [BZ #13529]
47631         * assert/assert.h (static_assert): Define.
47632
47633         * version.h: Update for 2.16 development version.
47634
47635         [BZ #13526]
47636         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47637         _ISOC11_SOURCE.
47638
47639         * version.h (RELEASE): Bump for 2.15 release.
47640         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47641
47642         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47643         Patch by Marek Polacek <mpolacek@redhat.com>.
47644
47645         * bits/byteswap.h: Protect long long constants with __extension__.
47646         * sysdeps/i386/bits/byteswap.h: Likewise.
47647         * sysdeps/ia64/bits/byteswap.h: Likewise.
47648         * sysdeps/s390/bits/byteswap.h: Likewise.
47649         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47650
47651 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47652
47653         [BZ #13540]
47654         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47655         destination buffer.
47656         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47657
47658 2011-12-23  Marek Polacek  <polacek@redhat.com>
47659
47660         * elf/dl-addr.c (determine_info): Add inline keyword.
47661         * elf/tst-auditmod4b.c (check_avx): Likewise.
47662         * elf/tst-auditmod6b.c (check_avx): Likewise.
47663         * elf/tst-auditmod6c.c (check_avx): Likewise.
47664         * elf/tst-auditmod7b.c (check_avx): Likewise.
47665
47666 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47667
47668         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47669         !__SSE_MATH__.
47670
47671 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47672
47673         [BZ #13540]
47674         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47675         processing for last bytes.
47676
47677 2011-08-06  Bruno Haible  <bruno@clisp.org>
47678
47679         [BZ #13061]
47680         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47681         U+0385, not to U+1FEE.
47682
47683         [BZ #13062]
47684         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47685         entry for U+00A5 U+0301.
47686
47687 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47688
47689         [BZ #13166]
47690         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47691         buffer for the output is too small.
47692
47693         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47694         optimization.
47695
47696         [BZ #13185]
47697         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47698         SSE flags if possible.
47699
47700 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47701
47702         [BZ #13540]
47703         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47704         processing for last bytes.
47705
47706 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47707
47708         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47709         (syscall-list-default-options, syscall-list-default-condition)
47710         (syscall-list-includes): Define.
47711         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47712         list of ABIs and options and #if conditions for each ABI.  Do not
47713         handle common syscalls between ABIs specially.
47714         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47715         Remove.
47716         (syscall-list-variants, syscall-list-32bit-options)
47717         (syscall-list-32bit-condition, syscall-list-64bit-options)
47718         (syscall-list-64bit-condition): Define.
47719         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47720         (syscall-list-variants, syscall-list-32bit-options)
47721         (syscall-list-32bit-condition, syscall-list-64bit-options)
47722         (syscall-list-64bit-condition): Define.
47723         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47724         Remove.
47725         (syscall-list-variants, syscall-list-32bit-options)
47726         (syscall-list-32bit-condition, syscall-list-64bit-options)
47727         (syscall-list-64bit-condition): Define.
47728         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47729         Remove.
47730         (syscall-list-variants, syscall-list-32bit-options)
47731         (syscall-list-32bit-condition, syscall-list-64bit-options)
47732         (syscall-list-64bit-condition): Define.
47733
47734 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47735
47736         * locale/iso-639.def: Add brx entry.
47737
47738         [BZ #13328]
47739         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47740         Proposed by Mariusz_Cukr <marcukr@op.pl>.
47741
47742         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47743         __feraiseexcept_renamed.
47744
47745 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47746
47747         [BZ #13538]
47748         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47749         EPOLLET with unsigned values.
47750         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47751         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47752
47753         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47754         to large cancellation.
47755         * math/s_cacoshf.c: Likewise.
47756         * math/s_cacoshl.c: Likewise.
47757
47758 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
47759
47760         [BZ #13305]
47761         [BZ #12786]
47762         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47763         * math/s_cacoshf.c: Likewise.
47764         * math/s_cacoshl.c: Likewise.
47765
47766 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47767
47768         [BZ #13439]
47769         * iconv/gconv.h: Define __GCONV_SWAP.
47770         * iconvdata/unicode.c: The swap bit must be stored in __flags.
47771         * iconvdata/utf-16.c: Likewise.
47772         * iconvdata/utf-32.c: Likewise.
47773
47774 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
47775
47776         [BZ #13524]
47777         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47778         numerator after shifting it by one limb.
47779
47780 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
47781
47782         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47783         under [__USE_EXTERN_INLINES].
47784
47785 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47786
47787         [BZ #13446]
47788         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47789
47790 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47791
47792         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47793         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47794         optimized code.
47795         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47796         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47797         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47798         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47799         for strncasecmp/strncasecmp_l compilation.
47800         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47801         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47802
47803 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
47804
47805         [BZ #13484]
47806         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47807         of __asm__.
47808
47809 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47810
47811         [BZ #13506]
47812         * time/tzfile.c (__tzfile_read): Check values from file header.
47813
47814 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47815
47816         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47817         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47818         * powerpc/powerpc32/dl-start.S: Likewise.
47819         * powerpc/powerpc32/elf/start.S: Likewise.
47820         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47821         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47822         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47823         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47824         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47825         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47826         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47827         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47828         * powerpc/powerpc32/fpu/s_round.S: Likewise.
47829         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47830         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47831         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47832         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47833         * powerpc/powerpc32/memset.S: Likewise.
47834         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47835         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47836         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47837         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47838         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47839         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47840         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47841         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47842         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47843         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47844         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47845         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47846         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47847
47848 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47849
47850         * math/libm-test.inc: Added more nearbyint tests.
47851         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47852         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47853         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47854         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47855
47856 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
47857
47858         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47859         FD_CLOEXEC.
47860
47861 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47862
47863         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47864         Add wcscpy-ssse3 wcscpy-c.
47865         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47866         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47867         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47868         * sysdeps/x86_64/wcschr.S: New file.
47869         * sysdeps/x86_64/wcsrchr.S: New file.
47870         * string/test-strcmp.c: Remove checking of wcscmp function for
47871         wrong alignments.
47872         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47873         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47874         wcsrchr-sse2 wcsrchr-c.
47875         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47876         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47877         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47878         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47879         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47880         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47881         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47882         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47883         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47884         * wcsmbc/wcschr.c (WCSCHR): New macro.
47885
47886 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47887
47888         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47889         * wcsmbs/test-wcsrchr.c: New file.
47890         * string/test-strrchr.c: Add wcsrchr support.
47891         (WIDE): New macro.
47892         * wcsmbs/test-wcscpy.c: New file.
47893         * string/test-strcpy.c: Add wcscpy support.
47894         (WIDE): New macro.
47895
47896 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
47897
47898         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47899         the inner loop.
47900
47901 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
47902
47903         [BZ #13472]
47904         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47905
47906 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
47907
47908         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47909         Minor optimizations.
47910
47911         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47912         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47913         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47914
47915 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
47916
47917         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47918         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47919         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47920         for gcc to avoid warnings.
47921         * inet/Makefile (tests): Add tst-checks.
47922         * inet/tst-checks.c: New file.
47923
47924         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47925         warning.
47926
47927         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47928         __wmemcmp_sse2.
47929
47930         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47931         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47932
47933         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47934
47935 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
47936
47937         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47938         problem.
47939
47940         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47941
47942 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
47943
47944         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47945         conditional on GCC version.
47946         (__arch_compare_and_exchange_val_8_acq)
47947         (__arch_compare_and_exchange_val_16_acq)
47948         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47949         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47950         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47951
47952 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
47953
47954         * sysdeps/sh/backtrace.c: New file.
47955
47956 2011-12-02  Andreas Schwab  <schwab@redhat.com>
47957
47958         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
47959         parenthesis.
47960
47961 2011-12-01  Andreas Schwab  <schwab@redhat.com>
47962
47963         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47964         falling back to utime.
47965
47966 2011-11-30  Andreas Schwab  <schwab@redhat.com>
47967
47968         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47969         expectations for float.
47970
47971 2011-11-29  Andreas Schwab  <schwab@redhat.com>
47972
47973         * locale/weight.h (findidx): Add parameter len.
47974         * locale/weightwc.h (findidx): Likewise.
47975         * posix/fnmatch_loop.c (FCT): Adjust caller.
47976         * posix/regcomp.c (build_equiv_class): Likewise.
47977         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47978         * posix/regexec.c (check_node_accept_bytes): Likewise.
47979         * string/strcoll_l.c (STRCOLL): Likewise.
47980         * string/strxfrm_l.c (STRXFRM): Likewise.
47981
47982 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
47983
47984         * Makefile.in: Remove CVSOPT handling.
47985         * configure.in: Remove use of AC_REVISION.
47986         * iconvdata/Makefile (distribute): No need to filter out CVS.
47987         * scripts/list-sources.sh: Remove CVS, subversion and monotone
47988         handling.
47989
47990 2011-11-16  Andreas Schwab  <schwab@redhat.com>
47991
47992         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47993         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47994         [USE_AS_STRNCASECMP_L]: Likewise.
47995         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47996         NO_TLS_DIRECT_SEG_REFS.
47997         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47998         Fix argument offsets for non-PIC.
47999         [USE_AS_STRNCASECMP_L]: Likewise.
48000         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48001         NO_TLS_DIRECT_SEG_REFS.
48002
48003 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48004
48005         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48006         O_CLOEXEC.
48007         * locale/loadlocale.c (_nl_load_locale): Likewise.
48008
48009 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48010
48011         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48012         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48013         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48014         (SYSCALL_GETTIME): Set errno on error.
48015
48016         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48017         count references to noai6ai_cached.
48018
48019 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48020
48021         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48022
48023         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48024         FD_CLOEXEC for /proc/self/maps.
48025
48026         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48027         FD_CLOEXEC for /proc/meminfo.
48028
48029         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48030         gai.conf.
48031
48032         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48033         FD_CLOEXEC for given file.
48034
48035         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48036
48037         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48038         FD_CLOEXEC for /etc/hosts.
48039         (_gethtent): Likewise.
48040
48041         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48042
48043         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48044         cancellation and set FD_CLOEXEC for /etc/netgroup.
48045
48046         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48047         reading /etc/publickey.
48048
48049         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48050         allow cancellation when reading /etc/group.
48051
48052         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48053         cancellation.
48054         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48055
48056         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48057         when using data file.
48058
48059         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48060
48061         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48062         (write_nis_obj): Use "c" and "e" in fopen.
48063
48064         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48065
48066         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48067
48068         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48069
48070         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48071
48072         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48073         locale.alias.
48074
48075         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48076
48077         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48078
48079         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48080
48081         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48082         file parsing and set FD_CLOEXEC.
48083
48084 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48085
48086         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48087
48088 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48089
48090         * malloc/arena.c (arena_get2): Don't call reused_arena when
48091         _int_new_arena failed.
48092
48093 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48094
48095         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48096         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48097         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48098         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48099         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48100         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48101         to compile strcasecmp and strncasecmp.
48102         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48103         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48104
48105         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48106
48107 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48108
48109         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48110         locale-defines.sym to gen-as-const-headers.
48111         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48112         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48113         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48114         to compile strcasecmp and strncasecmp.
48115         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48116         strcasecmp_l and strncasecmp_l.
48117         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48118         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48119         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48120         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48121         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48122         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48123         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48124         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48125         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48126         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48127         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48128
48129 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48130
48131         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48132         result of SYSDEP_GETTIME_CPU to retval.
48133         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48134         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48135
48136         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48137         variable.
48138
48139         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48140         mantissa words.
48141         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48142
48143         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48144         from unused variable.
48145
48146         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48147         DWARF definitions.
48148         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48149         for assembling.
48150
48151         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48152         over namespaces.
48153
48154         * sunrpc/rpc_prot.c (rejected): Fix case value.
48155
48156         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48157         unsigned long long int to avoid warnings in shift.
48158
48159         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48160         of use of trans.
48161         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48162         variable tmp.
48163
48164         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48165         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48166         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48167
48168         * nis/nis_table.c (nis_list): Use variable of correct type for
48169         result of __follow_path call.
48170
48171 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48172
48173         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48174         of math functions ceil, trunc, floor, round, and sqrt, when
48175         avaliable on the platform.
48176         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48177         name clash.
48178         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48179         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48180         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48181
48182 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48183
48184         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48185         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48186
48187 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48188
48189         * include/unistd.h: Fix __readlink return type.
48190         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48191
48192 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48193
48194         * stdlib/ucontext.h: Undo last change for makecontext.
48195
48196 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48197
48198         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48199
48200         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48201         * setjmp/setjmp.h: Mark functions as non-leaf.
48202         * setjmp/bits/setjmp2.h: Likewise.
48203         * stdlib/ucontext.h: Likewise.
48204
48205 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48206
48207         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48208         (reused_arena): Don't check arena limit.
48209         (arena_get2): Atomically check arena limit.
48210
48211 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48212
48213         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48214         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48215
48216         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48217         instructions.
48218
48219 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48220
48221         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48222         handler when locking.
48223
48224         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48225         Fix size of allocated buffer.
48226
48227 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48228
48229         [BZ #10103]
48230         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48231         declarations for long double functions.
48232         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48233
48234         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48235
48236 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48237
48238         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48239         installed.
48240
48241         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48242         is disabled.
48243
48244 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48245
48246         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48247
48248 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48249
48250         * include/alloca.h (stackinfo_alloca_round): Define.
48251         (extend_alloca): Use it.
48252         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48253         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48254         here.
48255
48256         * scripts/check-local-headers.sh: Ignore libaudit.h.
48257
48258         * nscd/Makefile (extra-objs): Make recursively expanded.
48259
48260 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48261
48262         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48263         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48264
48265         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48266         * posix/tst-rfc3484-2.c: Likewise.
48267         * posix/tst-rfc3484-3.c: Likewise.
48268
48269         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48270         process_vm_writev.
48271         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48272         process_vm_writev.
48273         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48274         process_vm_writev from libc using GLIBC_2.15 version.
48275
48276         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48277
48278 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48279
48280         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48281         stack usage.
48282
48283 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48284
48285         [BZ #13367]
48286         * nss/getent.c (initgroups_keys): Show error message in case no group
48287         names are given.
48288
48289         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48290         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48291         __bump_nl_timestamp.
48292         * nscd/connections (nscd_init): When host database is served open
48293         netlink socket and request notification about configuration changes.
48294         (main_loop_poll): Track netlink file descriptor and bump timestamp
48295         in case data becomes available.
48296         (main_loop_epoll): Likewise.
48297         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48298         (database_pers_head): Add extra_data fileds.
48299         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48300         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48301         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48302         Adjust caller.
48303         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48304         in6ai data, call __free_in6ai.
48305         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48306         Add -DHAVE_NETLINK.
48307         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48308         interface information.  Reuse previous data if netlink timestamp
48309         is not changed.
48310         (__bump_nl_timestamp): New function.
48311         (__free_in6ai): New function.
48312
48313 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48314
48315         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48316         close_not_cancel_no_status here.
48317         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48318
48319 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48320
48321         [BZ #13276]
48322         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48323         return value.
48324
48325         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48326         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48327         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48328
48329 2011-07-03  Andreas Jaeger  <aj@suse.de>
48330
48331         [BZ #10709]
48332         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48333         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48334         * math/libm-test.inc (sin_test): Add test case.
48335
48336 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48337
48338         [BZ #13337]
48339         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48340         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48341
48342         * elf/chroot_canon.c (chroot_canon): Cleanups.
48343
48344         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48345
48346         [BZ #13335]
48347         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48348         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48349
48350         * string/test-strchr.c: Make usable for strchrnul testing.
48351         * string/test-strchrnul.c: New file.
48352         * string/Makefile (strop-tests): Add strchrnul.
48353
48354         * po/it.po: Update from translation team.
48355         * po/es.po: Likewise.
48356
48357 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48358
48359         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48360         the three constants needed as parameters.  Drop the others.
48361         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48362         __m128i_strloadu_tolower.
48363         Create and initialize variable zero and use it in all the places
48364         where _mm_setzero_si128 was used.
48365
48366         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48367         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48368         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48369         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48370         anymore.
48371         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48372         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48373         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48374         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48375         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48376         __mpranred, __mptan.
48377         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48378         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48379         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48380         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48381         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48382         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48383         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48384         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48385         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48386
48387 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48388
48389         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48390         redefine if SHARED.
48391         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48392
48393         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48394         wide char related routines to wcsmbs subdir.
48395
48396 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48397
48398         [BZ #13344]
48399         * misc/sys/cdefs.h (__THROWNL): Define.
48400         * posix/unistd.h: Use __THREADNL instead of __THREAD
48401         for memory synchronization functions.
48402
48403 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48404
48405         [BZ #13349]
48406         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48407         doesn't exist.
48408         * manual/stdio.texi (Obstack Streams): Node removed.
48409
48410 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48411
48412         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48413         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48414         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48415
48416         * math/math_private.h (math_force_eval): Allow non-addressable
48417         arguments.
48418         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48419
48420 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48421
48422         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48423         file is not needed.
48424
48425         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48426         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48427         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48428         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48429         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48430         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48431         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48432         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48433         Add AVX variants.
48434         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48435         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48436         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48437         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48438         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48439         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48440         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48441         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48442         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48443         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48444         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48445         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48446         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48447         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48448         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48449         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48450         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48451         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48452         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48453
48454         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48455         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48456
48457         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48458         place.  Use VEX encoding when compiling for AVX.
48459
48460 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48461
48462         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48463         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48464
48465         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48466
48467 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48468
48469         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48470         useless if() expression.
48471         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48472         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48473         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48474         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48475         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48476         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48477         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48478         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48479         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48480         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48481         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48482         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48483         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48484         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48485         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48486         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48487         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48488         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48489         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48490
48491         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48492
48493 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48494
48495         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48496         condition.
48497         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48498
48499 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48500
48501         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48502         .text section.  Avoid duplicate constants.
48503         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48504         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48505         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48506         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48507         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48508         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48509         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48510         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48511         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48512         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48513         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48514         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48515         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48516         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48517         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48518         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48519         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48520         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48521         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48522         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48523         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48524         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48525         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48526         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48527         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48528         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48529         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48530         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48531         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48532         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48533         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48534         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48535         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48536         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48537         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48538         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48539         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48540         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48541         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48542         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48543         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48544         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48545         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48546         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48547         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48548
48549 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48550
48551         * sysdeps/x86_64/dla.h: Move to ...
48552         * sysdeps/x86_64/fpu/dla.h: ...here.
48553         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48554         situations.  Use __builtin_fma only for gcc 4.6 and up.
48555
48556         * config.make.in: Add have-mfma4 entry.
48557         * configure.in: Substitute libc_cv_cc_fma4.
48558         * math/Makefile (dbl-only-routines): Add sincostab.
48559         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48560         Use __sincostab not sincos.
48561         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48562         name is a macro.
48563         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48564         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48565         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48566         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48567         using __copysign.
48568         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48569         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48570         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48571         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48572         and __inv.
48573         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48574         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48575         __copysign.
48576         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48577         define aliases when function name is a macro.
48578         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48579         sysdeps/ieee754/dbl-64/sincos.tbl.
48580         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48581         fma4-enabled routines.
48582         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48583         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48584         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48585         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48586         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48587         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48588         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48589         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48590         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48591         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48592         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48593         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48594         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48595         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48596         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48597         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48598         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48599         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48600         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48601         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48602         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48603         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48604         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48605         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48606         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48607         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48608         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48609         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48610         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48611         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48612
48613         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48614         rename.
48615         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48616         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48617         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48618         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48619         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48620         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48621         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48622         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48623
48624 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48625
48626         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48627
48628 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48629
48630         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48631
48632         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48633         prediction.
48634         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48635
48636         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48637         Remove unused variable magic_bits.
48638         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48639
48640         * string/strnlen.c: Define and use STRNLEN macro.
48641         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48642         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48643         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48644         * wcsmbs/wcslen.c: Define and use WCSLEN.
48645         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48646         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48647         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48648         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48649         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48650         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48651         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48652
48653 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48654
48655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48656         strnlen-sse2-no-bsf.
48657         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48658         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48659         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48660         Add strnlen support.
48661         (USE_AS_STRNLEN): New macro.
48662         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48663         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48664         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48665         * sysdeps/x86_64/wcslen.S: New file.
48666
48667 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48668
48669         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48670         XMM-moves are used for copying on small sizes.
48671
48672 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48673
48674         * wcsmbs/Makefile (strop-tests): Add wcschr.
48675         * wcsmbs/test-wcschr.c: New file.
48676         * string/test-strchr.c: Update.
48677         Add wcschr support.
48678         (WIDE): New macro.
48679
48680 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48681
48682         * wcsmbs/Makefile (strop-tests): Add wcslen.
48683         * wcsmbs/test-wcslen.c: New file.
48684         * string/test-strlen.c: Update.
48685         Add wcslen support.
48686         (WIDE): New macro.
48687
48688 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48689
48690         * po/it.po: Update from translation team.
48691
48692 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48693
48694         * sysdeps/x86_64/wcscmp.S: Update.
48695         Fix wrong comparison semantics.
48696         wcscmp shall use signed comparison not unsigned.
48697         Don't use substraction to avoid overflow bug.
48698         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48699         * wcsmbc/wcscmp.c: Likewise.
48700         * string/test-strcmp.c: Likewise.
48701         Add new tests to check cases with negative values.
48702
48703 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48704
48705         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48706         * sysdeps/x86_64/dla.h: ...here.  New file.
48707         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48708         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48709         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48710         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48711         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48712         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48713         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48714         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48715         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48716
48717 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48718
48719         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48720         __ynl_finite aliases.
48721
48722 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48723
48724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48725
48726         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48727         define DLA_FMA.
48728         [DLA_FMA] (EMULV): Use DLA_FMA.
48729         [DLA_FMA] (MUL12): Use EMULV.
48730         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48731         that are not needed.
48732         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48733         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48734         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48735         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48736         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48737         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48738         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48739
48740 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
48741
48742         * math/s_nan.c: Undef __nan.
48743         * math/s_nanf.c: Undef __nanf.
48744         * math/s_nanl.c: Undef __nanl.
48745         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48746         "math_private.h".
48747
48748 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48749
48750         * math/s_catan.c: Add branch predictions.
48751         * math/s_catanf.c: Likewise.
48752         * math/s_catanh.c: Likewise.
48753         * math/s_catanhf.c: Likewise.
48754         * math/s_catanhl.c: Likewise.
48755         * math/s_catanl.c: Likewise.
48756         * math/s_cexp.c: Likewise.
48757         * math/s_cexpf.c: Likewise.
48758         * math/s_cexpl.c: Likewise.
48759         * math/s_clog.c: Likewise.
48760         * math/s_clog10.c: Likewise.
48761         * math/s_clog10f.c: Likewise.
48762         * math/s_clog10l.c: Likewise.
48763         * math/s_clogf.c: Likewise.
48764         * math/s_clogl.c: Likewise.
48765         * math/s_csqrt.c: Likewise.
48766         * math/s_csqrtf.c: Likewise.
48767         * math/s_csqrtl.c: Likewise.
48768         * math/s_ctanf.c: Likewise.
48769         * math/s_ctanh.c: Likewise.
48770         * math/s_ctanhf.c: Likewise.
48771         * math/s_ctanhl.c: Likewise.
48772         * math/s_ctanl.c: Likewise.
48773
48774         * math/math_private.h: Define __nan, __nanf, __nanl.
48775         * math/s_cacosh.c: Include <math_private.h>.
48776         * math/s_cacoshl.c: Likewise.
48777         * math/s_casinh.c: Likewise.
48778         * math/s_casinhf.c: Likewise.
48779         * math/s_casinhl.c: Likewise.
48780         * math/s_ccos.c: Rely entire on ccosh.
48781         * math/s_ccosf.c: Rely entire on ccoshf.
48782         * math/s_ccosl.c: Rely entirely on ccoshl.
48783         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
48784         Remove tests for FE_INVALID.
48785         * math/s_ccoshf.c: Likewise.
48786         * math/s_ccoshl.c: Likewise.
48787         * math/s_csin.c: Likewise.
48788         * math/s_csinf.c: Likewise.
48789         * math/s_csinh.c Likewise.
48790         * math/s_csinhf.c: Likewise.
48791         * math/s_csinhl.c: Likewise.
48792         * math/s_csinl.c: Likewise.
48793         * math/s_ctan.c: Likewise.
48794         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48795         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48796         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48797
48798 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
48799
48800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48801         compilation problems.
48802
48803         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48804         __builtin_expect.
48805
48806 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
48807
48808         * sysdeps/i386/configure.in: Test for -mfma4 option.
48809         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48810         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48811         COMMON_CPUID_INDEX_80000001.
48812         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48813         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48814         use it if FMA3 is not supported.
48815         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48816
48817         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48818         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48819
48820 2011-10-20  Andreas Schwab  <schwab@redhat.com>
48821
48822         [BZ #12892]
48823         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48824         it would create a cycle with a link time dependency.
48825
48826 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
48827
48828         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48829         instruction.
48830         * string/Makefile (strop-tests): Add rawmemchr.
48831         * string/test-rawmemchr.c: New file.
48832
48833         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48834         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
48835         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
48836         when compiling str{,n}casecmp and when AVX is available.  Hook up
48837         new optimized code in initializers.
48838
48839 2011-10-19  Andreas Schwab  <schwab@redhat.com>
48840
48841         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48842         __feraiseexcept instead of feraiseexcept.
48843
48844 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
48845
48846         * math/math_private.h: Define defaults for libc_fetestexcept and
48847         libc_feupdateenv.
48848         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48849         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48850         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48851         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48852         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48853         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48854         libc_fetestexcept and libc_feupdateenv.
48855
48856         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48857         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48858         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48859         * sysdeps/x86_64/fpu/math_private.h: Define special version of
48860         libc_feholdexcept_setround.
48861
48862         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48863         Add s_nearbyint-c and s_nearbyintf-c.
48864         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48865         nearbyintf inlines.
48866         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48867         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48868         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48869         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48870
48871         * math/math_private.h: Define defaults for libc_fegetround,
48872         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48873         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48874         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48875         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48876         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48877         standard functions.
48878         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48879         Remove comments and hacks for old compiler versions.
48880         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48881         libc_fegetround, libc_fesetround, libc_feholdexcept, and
48882         libc_feholdexceptl.
48883
48884 2011-10-18  Andreas Schwab  <schwab@redhat.com>
48885
48886         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48887         (__feraiseexcept_renamed): Add __NTH.
48888         (feraiseexcept): Add __NTH.  Rename local variables to fix
48889         namespace violations.
48890
48891 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
48892
48893         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48894
48895         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48896
48897         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48898         recently added interfaces.
48899         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48900
48901         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48902         about macro parameter expansion.
48903
48904         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48905         __NO_MATH_INLINES is defined.  Cleanups.
48906
48907         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48908         and __floorf is target has SSE4.1.
48909         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48910         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48911         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48912         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48913
48914         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48915         name.
48916         (floorf): Likewise.
48917
48918         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48919
48920 2011-10-17  Andreas Schwab  <schwab@redhat.com>
48921
48922         * misc/sys/cdefs.h: Fix last change.
48923
48924         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48925         database lookup.
48926
48927 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
48928
48929         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48930
48931         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48932         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48933         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48934         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48935         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48936         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48937         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48938         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48939         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48940         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48941         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48942         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48943         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48944         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48945         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48946         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48947         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48948         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48949         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48950         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48951         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48952         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48953
48954         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48955         ceil, ceilf, floor, floorf.
48956
48957         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48958         Perform IRELATIVE relocations last.
48959
48960         * elf/do-rel.h: Add another parameter nrelative, replacing the
48961         local variable with the same name.  Change name of the function
48962         to end in Rel or Rela (uppercase).
48963         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48964         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
48965         elf_dynamic_do_##reloc function.
48966
48967 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48968
48969         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48970         is sufficient, at least on modern CPUs.
48971
48972         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48973
48974         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48975         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48976
48977         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48978         __expl_finite.
48979         * math/bits/math-finite.h: Add entries for exp.
48980         * math/e_expl.c: Add __*_finite alias.
48981         * sysdeps/i386/fpu/e_exp.S: Likewise.
48982         * sysdeps/i386/fpu/e_expf.S: Likewise.
48983         * sysdeps/i386/fpu/e_expl.c: Likewise.
48984         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48985         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48986         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48987         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48988         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48989         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48990         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48991
48992         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48993         is sufficient, at least on modern CPUs.
48994
48995         * ctype/ctype-info.c (__ctype_init): Define.
48996         * include/ctype.h (__ctype_init): Declare.
48997         (__ctype_b_loc): The variable is always initialized.
48998         (__ctype_toupper_loc): Likewise.
48999         (__ctype_tolower_loc): Likewise.
49000         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49001         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49002
49003 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49004
49005         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49006
49007         * configure.in: Also look in $cxxmachine/include for C++ system
49008         headers.
49009
49010 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49011
49012         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49013         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49014         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49015         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49016         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49017         (USE_AS_WMEMCMP): New macro.
49018         Fixing indents.
49019         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49020         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49021         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49022         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49023         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49024         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49025         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49026         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49027         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49028         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49029         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49030         (USE_AS_WMEMCMP): New macro.
49031         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49032         * sysdeps/string/test-memcmp.c: Update.
49033         Fix simple_wmemcmp.
49034         Add new tests.
49035         * wcsmbs/wmemcmp.c: Update.
49036         (WMEMCMP): New macro.
49037         Fix overflow bug.
49038
49039 2011-10-12  Andreas Jaeger  <aj@suse.de>
49040
49041         [BZ #13268]
49042         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49043
49044 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49045
49046         * libio/iofwide.c (do_length): Avoid warning.
49047
49048         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49049
49050 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49051
49052         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49053
49054         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49055         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49056         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49057         * sysdeps/i386/i686/fpu/e_log.S: New file.
49058         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49059         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49060
49061         * ctype/ctype.h: Add support for inlined isXXX functions when
49062         compiling C++ code.
49063
49064 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49065
49066         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49067
49068         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49069
49070 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49071
49072         [BZ #13291]
49073         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49074
49075 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49076
49077         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49078         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49079         feraiseexcept.
49080
49081         * sysdeps/x86_64/memrchr.S: Check for zero size.
49082
49083         * string/stratcliff.c: Add memrchr tests.
49084
49085 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49086
49087         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49088         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49089         rawmemchr-sse2 rawmemchr-sse2-bsf.
49090         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49091         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49092         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49093         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49094         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49095         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49096         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49097         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49098         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49099         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49100         * string/memrchr.c (MEMRCHR): New macro.
49101
49102 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49103
49104         Add integration with gcc's -ffinite-math-only and optimize wrapper
49105         functions in libm.
49106         * Versions.def: Define GLIBC_2.15 version for libm.
49107         * math/Makefile (headers): Add bits/math-finite.h.
49108         * math/bits/math-finite.h: New file.
49109         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49110         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49111         * math/e_acoshl.c: Add __*_finite alias.
49112         * math/e_acosl.c: Likewise.
49113         * math/e_asinl.c: Likewise.
49114         * math/e_atan2l.c: Likewise.
49115         * math/e_atanhl.c: Likewise.
49116         * math/e_coshl.c: Likewise.
49117         * math/e_exp10.c: Likewise.
49118         * math/e_exp10f.c: Likewise.
49119         * math/e_exp10l.c: Likewise.
49120         * math/e_exp2l.c: Likewise.
49121         * math/e_fmodl.c: Likewise.
49122         * math/e_gammal_r.c: Likewise.
49123         * math/e_hypotl.c: Likewise.
49124         * math/e_j0l.c: Likewise.
49125         * math/e_j1l.c: Likewise.
49126         * math/e_jnl.c: Likewise.
49127         * math/e_lgammal_r.c: Likewise.
49128         * math/e_log10l.c: Likewise.
49129         * math/e_log2l.c: Likewise.
49130         * math/e_logl.c: Likewise.
49131         * math/e_powl.c: Likewise.
49132         * math/e_sinhl.c: Likewise.
49133         * math/e_sqrtl.c: Likewise.
49134         * math/e_scalb.c: Completely rewritten and optimized.
49135         * math/e_scalbf.c: Likewise.
49136         * math/e_scalbl.c: Likewise.
49137         * math/w_acos.c: Likewise.
49138         * math/w_acosf.c: Likewise.
49139         * math/w_acosl.c: Likewise.
49140         * math/w_acosh.c: Likewise.
49141         * math/w_acoshf.c: Likewise.
49142         * math/w_acoshl.c: Likewise.
49143         * math/w_asin.c: Likewise.
49144         * math/w_asinf.c: Likewise.
49145         * math/w_asinl.c: Likewise.
49146         * math/w_atan2.c: Likewise.
49147         * math/w_atan2f.c: Likewise.
49148         * math/w_atan2l.c: Likewise.
49149         * math/w_atanh.c: Likewise.
49150         * math/w_atanhf.c: Likewise.
49151         * math/w_atanhl.c: Likewise.
49152         * math/w_exp10.c: Likewise.
49153         * math/w_exp10f.c: Likewise.
49154         * math/w_exp10l.c: Likewise.
49155         * math/w_fmod.c: Likewise.
49156         * math/w_fmodf.c: Likewise.
49157         * math/w_fmodl.c: Likewise.
49158         * math/w_j0.c: Likewise.
49159         * math/w_j0f.c: Likewise.
49160         * math/w_j0l.c: Likewise.
49161         * math/w_j1.c: Likewise.
49162         * math/w_j1f.c: Likewise.
49163         * math/w_j1l.c: Likewise.
49164         * math/w_jn.c: Likewise.
49165         * math/w_jnf.c: Likewise.
49166         * math/w_log.c: Likewise.
49167         * math/w_logf.c: Likewise.
49168         * math/w_logl.c: Likewise.
49169         * math/w_log10.c: Likewise.
49170         * math/w_log10f.c: Likewise.
49171         * math/w_log10l.c: Likewise.
49172         * math/w_log2.c: Likewise.
49173         * math/w_log2f.c: Likewise.
49174         * math/w_log2l.c: Likewise.
49175         * math/w_pow.c: Likewise.
49176         * math/w_powf.c: Likewise.
49177         * math/w_powl.c: Likewise.
49178         * math/w_remainder.c: Likewise.
49179         * math/w_remainderf.c: Likewise.
49180         * math/w_remainderl.c: Likewise.
49181         * math/w_scalb.c: Likewise.
49182         * math/w_scalbf.c: Likewise.
49183         * math/w_scalbl.c: Likewise.
49184         * math/w_sqrt.c: Likewise.
49185         * math/w_sqrtf.c: Likewise.
49186         * math/w_sqrtl.c: Likewise.
49187         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49188         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49189         used.
49190         * math/math_private.h: Declare __kernel_standard_f.
49191         * math/w_cosh.c: Remove cruft and optimize a bit.
49192         * math/w_coshf.c: Likewise.
49193         * math/w_coshl.c: Likewise.
49194         * math/w_exp2.c: Likewise.
49195         * math/w_exp2f.c: Likewise.
49196         * math/w_exp2l.c: Likewise.
49197         * math/w_hypot.c: Likewise.
49198         * math/w_hypotf.c: Likewise.
49199         * math/w_hypotl.c: Likewise.
49200         * math/w_lgamma.c: Likewise.
49201         * math/w_lgamma_r.c: Likewise.
49202         * math/w_lgammaf.c: Likewise.
49203         * math/w_lgammaf_r.c: Likewise.
49204         * math/w_lgammal.c: Likewise.
49205         * math/w_lgammal_r.c: Likewise.
49206         * math/w_sinh.c: Likewise.
49207         * math/w_sinhf.c: Likewise.
49208         * math/w_sinhl.c: Likewise.
49209         * math/w_tgamma.c: Likewise.
49210         * math/w_tgammaf.c: Likewise.
49211         * math/w_tgammal.c: Likewise.
49212         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49213         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49214         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49215         Minor optimizations.  Pretty printing.  Remove cruft.
49216         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49217         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49218         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49219         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49220         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49221         * sysdeps/i386/fpu/e_asin.S: Likewise.
49222         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49223         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49224         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49225         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49226         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49227         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49228         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49229         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49230         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49231         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49232         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49233         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49234         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49235         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49236         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49237         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49238         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49239         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49240         * sysdeps/i386/fpu/e_log.S: Likewise.
49241         * sysdeps/i386/fpu/e_log10.S: Likewise.
49242         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49243         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49244         * sysdeps/i386/fpu/e_log2.S: Likewise.
49245         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49246         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49247         * sysdeps/i386/fpu/e_logf.S: Likewise.
49248         * sysdeps/i386/fpu/e_logl.S: Likewise.
49249         * sysdeps/i386/fpu/e_pow.S: Likewise.
49250         * sysdeps/i386/fpu/e_powf.S: Likewise.
49251         * sysdeps/i386/fpu/e_powl.S: Likewise.
49252         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49253         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49254         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49255         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49256         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49257         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49258         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49259         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49260         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49261         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49262         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49263         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49264         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49265         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49266         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49267         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49268         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49269         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49270         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49271         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49272         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49273         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49274         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49275         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49277         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49278         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49279         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49280         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49281         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49282         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49283         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49284         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49285         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49286         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49287         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49288         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49289         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49290         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49291         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49292         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49293         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49294         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49295         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49296         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49297         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49298         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49299         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49300         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49301         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49302         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49303         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49304         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49305         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49306         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49307         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49308         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49309         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49310         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49311         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49312         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49313         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49314         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49316         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49317         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49318         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49319         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49320         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49321         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49322         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49323         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49324         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49325         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49326         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49327         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49328         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49329         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49330         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49331         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49332         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49333         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49334         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49335         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49336         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49337         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49338         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49339         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49340         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49341         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49342         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49343         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49344         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49345         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49346         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49347         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49348         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49349         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49350         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49351         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49352         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49353         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49354         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49355         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49356         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49357         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49358         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49359         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49360         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49361         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49362         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49363         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49364         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49365         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49366         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49367         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49368         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49369         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49370         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49371         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49372         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49373         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49374         (__isnanf): Likewise.
49375         (__isinf_ns): Likewise.
49376         (__isinf_nsf): Likewise.
49377         (__finite): Likewise.
49378         (__finitef): Likewise.
49379         (__ieee754_sqrt): Define as macro.
49380         (__ieee754_sqrtf): Define as macro.
49381         (__ieee754_sqrtl): Define as macro.
49382         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49383         inlined copy.
49384         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49385         __FINITE_MATH_ONLY__ consistent.
49386         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49387
49388 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49389
49390         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49391         of rawmemchr.
49392
49393         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49394
49395 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49396
49397         * po/ja.po: Update from translation team.
49398
49399 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49400
49401         * locale/programs/locarchive.c (prepare_address_space): New function.
49402         (create_archive, enlarge_archive, open_archive): Use it.
49403
49404         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49405         inside [SHARED], where it is used.
49406
49407         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49408
49409         * nss/getent.c (netgroup_keys): Remove unused variable.
49410         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49411
49412 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49413
49414         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49415         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49416         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49417         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49418         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49419         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49420         * math/Makefile (libm-calls): Add s_isinf_ns.
49421         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49422         * math/multc3.c: Likewise.
49423         * math/s_casin.c: Likewise.
49424         * math/s_casinf.c: Likewise.
49425         * math/s_casinl.c: Likewise.
49426         * math/s_ccos.c: Likewise.
49427         * math/s_ccosf.c: Likewise.
49428         * math/s_ccosl.c: Likewise.
49429         * math/s_ctan.c: Likewise.
49430         * math/s_ctanf.c: Likewise.
49431         * math/s_ctanh.c: Likewise.
49432         * math/s_ctanhf.c: Likewise.
49433         * math/s_ctanhl.c: Likewise.
49434         * math/s_ctanl.c: Likewise.
49435         * math/w_fmod.c: Likewise.
49436         * math/w_fmodf.c: Likewise.
49437         * math/w_fmodl.c: Likewise.
49438         * math/w_remainder.c: Likewise.
49439         * math/w_remainderf.c: Likewise.
49440         * math/w_remainderl.c: Likewise.
49441         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49442         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49443         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49444         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49445         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49446         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49447         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49448         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49449
49450         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49451         of the number.
49452         * stdio-common/printf_fphex.c: Likewise.
49453         * stdio-common/printf_size.c: Likewise.
49454
49455         * math/e_exp10.c: Include math_private.h using <...> not "...".
49456         * math/e_exp10f.c: Likewise.
49457         * math/e_exp10l.c: Likewise.
49458         * math/e_exp2l.c: Likewise.
49459         * math/e_j0l.c: Likewise.
49460         * math/e_j1l.c: Likewise.
49461         * math/e_jnl.c: Likewise.
49462         * math/e_lgammal_r.c: Likewise.
49463         * math/e_rem_pio2l.c: Likewise.
49464         * math/e_scalb.c: Likewise.
49465         * math/e_scalbf.c: Likewise.
49466         * math/e_scalbl.c: Likewise.
49467         * math/k_cosl.c: Likewise.
49468         * math/k_sinl.c: Likewise.
49469         * math/k_tanl.c: Likewise.
49470         * math/s_cacoshf.c: Likewise.
49471         * math/s_catan.c: Likewise.
49472         * math/s_catanf.c: Likewise.
49473         * math/s_catanh.c: Likewise.
49474         * math/s_catanhf.c: Likewise.
49475         * math/s_catanhl.c: Likewise.
49476         * math/s_catanl.c: Likewise.
49477         * math/s_ccosh.c: Likewise.
49478         * math/s_ccoshf.c: Likewise.
49479         * math/s_ccoshl.c: Likewise.
49480         * math/s_cexp.c: Likewise.
49481         * math/s_cexpf.c: Likewise.
49482         * math/s_cexpl.c: Likewise.
49483         * math/s_clog.c: Likewise.
49484         * math/s_clog10.c: Likewise.
49485         * math/s_clog10f.c: Likewise.
49486         * math/s_clog10l.c: Likewise.
49487         * math/s_clogf.c: Likewise.
49488         * math/s_clogl.c: Likewise.
49489         * math/s_csin.c: Likewise.
49490         * math/s_csinf.c: Likewise.
49491         * math/s_csinh.c: Likewise.
49492         * math/s_csinhf.c: Likewise.
49493         * math/s_csinhl.c: Likewise.
49494         * math/s_csinl.c: Likewise.
49495         * math/s_csqrt.c: Likewise.
49496         * math/s_csqrtf.c: Likewise.
49497         * math/s_csqrtl.c: Likewise.
49498         * math/s_ctan.c: Likewise.
49499         * math/s_ctanf.c: Likewise.
49500         * math/s_ctanh.c: Likewise.
49501         * math/s_ctanhf.c: Likewise.
49502         * math/s_ctanhl.c: Likewise.
49503         * math/s_ctanl.c: Likewise.
49504         * math/s_ldexp.c: Likewise.
49505         * math/s_ldexpf.c: Likewise.
49506         * math/s_ldexpl.c: Likewise.
49507         * math/s_significand.c: Likewise.
49508         * math/s_significandf.c: Likewise.
49509         * math/s_significandl.c: Likewise.
49510         * math/w_acos.c: Likewise.
49511         * math/w_acosf.c: Likewise.
49512         * math/w_acosh.c: Likewise.
49513         * math/w_acoshf.c: Likewise.
49514         * math/w_acoshl.c: Likewise.
49515         * math/w_acosl.c: Likewise.
49516         * math/w_asin.c: Likewise.
49517         * math/w_asinf.c: Likewise.
49518         * math/w_asinl.c: Likewise.
49519         * math/w_atan2.c: Likewise.
49520         * math/w_atan2f.c: Likewise.
49521         * math/w_atan2l.c: Likewise.
49522         * math/w_atanh.c: Likewise.
49523         * math/w_atanhf.c: Likewise.
49524         * math/w_atanhl.c: Likewise.
49525         * math/w_cosh.c: Likewise.
49526         * math/w_coshf.c: Likewise.
49527         * math/w_coshl.c: Likewise.
49528         * math/w_dremf.c: Likewise.
49529         * math/w_exp10.c: Likewise.
49530         * math/w_exp10f.c: Likewise.
49531         * math/w_exp10l.c: Likewise.
49532         * math/w_exp2.c: Likewise.
49533         * math/w_exp2f.c: Likewise.
49534         * math/w_fmod.c: Likewise.
49535         * math/w_fmodf.c: Likewise.
49536         * math/w_fmodl.c: Likewise.
49537         * math/w_hypot.c: Likewise.
49538         * math/w_hypotf.c: Likewise.
49539         * math/w_hypotl.c: Likewise.
49540         * math/w_j0.c: Likewise.
49541         * math/w_j0f.c: Likewise.
49542         * math/w_j0l.c: Likewise.
49543         * math/w_j1.c: Likewise.
49544         * math/w_j1f.c: Likewise.
49545         * math/w_j1l.c: Likewise.
49546         * math/w_jn.c: Likewise.
49547         * math/w_jnf.c: Likewise.
49548         * math/w_jnl.c: Likewise.
49549         * math/w_lgamma.c: Likewise.
49550         * math/w_lgamma_r.c: Likewise.
49551         * math/w_lgammaf.c: Likewise.
49552         * math/w_lgammaf_r.c: Likewise.
49553         * math/w_lgammal.c: Likewise.
49554         * math/w_lgammal_r.c: Likewise.
49555         * math/w_log.c: Likewise.
49556         * math/w_log10.c: Likewise.
49557         * math/w_log10f.c: Likewise.
49558         * math/w_log10l.c: Likewise.
49559         * math/w_log2.c: Likewise.
49560         * math/w_log2f.c: Likewise.
49561         * math/w_log2l.c: Likewise.
49562         * math/w_logf.c: Likewise.
49563         * math/w_logl.c: Likewise.
49564         * math/w_pow.c: Likewise.
49565         * math/w_powf.c: Likewise.
49566         * math/w_powl.c: Likewise.
49567         * math/w_remainder.c: Likewise.
49568         * math/w_remainderf.c: Likewise.
49569         * math/w_remainderl.c: Likewise.
49570         * math/w_scalb.c: Likewise.
49571         * math/w_scalbf.c: Likewise.
49572         * math/w_scalbl.c: Likewise.
49573         * math/w_sinh.c: Likewise.
49574         * math/w_sinhf.c: Likewise.
49575         * math/w_sinhl.c: Likewise.
49576         * math/w_sqrt.c: Likewise.
49577         * math/w_sqrtf.c: Likewise.
49578         * math/w_sqrtl.c: Likewise.
49579         * math/w_tgamma.c: Likewise.
49580         * math/w_tgammaf.c: Likewise.
49581         * math/w_tgammal.c: Likewise.
49582
49583         * po/ja.po: Update from translation team.
49584
49585 2011-09-29  Andreas Jaeger  <aj@suse.de>
49586
49587         [BZ #13179]
49588         * sunrpc/netname.c (netname2host): Fix logic.
49589
49590         [BZ #6779]
49591         [BZ #6783]
49592         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49593         correctly.
49594         * math/w_remainder.c (__remainder): Likewise.
49595         * math/w_remainderf.c (__remainderf): Likewise.
49596         * math/libm-test.inc (remainder_test): Add test cases.
49597
49598 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49599
49600         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49601         sdiv_qrnnd.
49602
49603 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49604
49605         * string/test-memcmp.c: Avoid unncessary #defines.
49606         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49607
49608 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49609
49610         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49611         Use new sse2 version for core i3 - i7 as it's faster
49612         than sse42 version.
49613         (bit_Prefer_PMINUB_for_stringop): New.
49614         * sysdeps/x86_64/rawmemchr.S: Update.
49615         Replace with faster SSE2 version.
49616         * sysdeps/x86_64/memrchr.S: New file.
49617         * sysdeps/x86_64/memchr.S: Update.
49618         Replace with faster SSE2 version.
49619
49620 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49621
49622         * elf/dl-load.c (lose): Add cast to avoid warning.
49623
49624 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49625
49626         * po/ca.po: Update from translation team.
49627
49628         * inet/getnetgrent_r.c: Hook up nscd.
49629         * nscd/Makefile (routines): Add nscd_netgroup.
49630         (nscd-modules): Add netgroupcache.
49631         (CFLAGS-netgroupcache.c): Define.
49632         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49633         (cache_search): Add const to second parameter.
49634         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49635         INNETGR.
49636         (dbs): Add netgrdb entry.
49637         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49638         (verify_persistent_db): Handle netgrdb.
49639         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49640         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49641         GETFDNETGR.
49642         (netgroup_response_header): Define.
49643         (innetgroup_response_header): Define.
49644         (datahead): Add netgroup_response_header and innetgroup_response_header
49645         elements.
49646         * nscd/nscd.conf: Add entries for netgroup cache.
49647         * nscd/nscd.h (dbtype): Add netgrdb.
49648         (_PATH_NSCD_NETGROUP_DB): Define.
49649         (netgroup_iov_disabled): Declare.
49650         (xmalloc, xcalloc, xrealloc): Move declarations here.
49651         (cache_search): Adjust prototype.
49652         Add netgroup-related prototypes.
49653         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49654         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49655         (__nscd_innetgr): Declare.
49656         * nscd/selinux.c (perms): Use access_vector_t as element type and
49657         add netgroup-related initializers.
49658         * nscd/netgroupcache.c: New file.
49659         * nscd/nscd_netgroup.c: New file.
49660         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49661         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49662         For four parameters use innetgr.
49663         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49664         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49665         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49666         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49667
49668         * nscd/connections.c (register_traced_file): Don't register file
49669         for disabled databases.
49670
49671 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49672
49673         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49674
49675         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49676         from tree and freeing node.
49677
49678 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49679
49680         * nss/nsswitch.c (__nss_database_lookup): Handle
49681         nss_parse_service_list out of memory case.
49682
49683 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49684
49685         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49686         out of memory case.
49687
49688 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49689
49690         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49691         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49692         pass it down.
49693         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49694         elf_machine_rela, elf_machine_lazy_rel.
49695         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49696         (ELF_DYNAMIC_DO_REL): Likewise.
49697         (ELF_DYNAMIC_DO_RELA): Likewise.
49698         (ELF_DYNAMIC_RELOCATE): Likewise.
49699         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49700         to ELF_DYNAMIC_DO_REL.
49701         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49702         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49703         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49704         elf_machine_rela.
49705         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49706         skip_ifunc, don't call ifunc function if non-zero.
49707         (elf_machine_rela): Likewise.
49708         (elf_machine_lazy_rel): Likewise.
49709         (elf_machine_lazy_rela): Likewise.
49710         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49711         (elf_machine_lazy_rel): Likewise.
49712         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49713         Likewise.
49714         (elf_machine_lazy_rel): Likewise.
49715         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49716         Likewise.
49717         (elf_machine_lazy_rel): Likewise.
49718         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49719         (elf_machine_lazy_rel): Likewise.
49720         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49721         (elf_machine_lazy_rel): Likewise.
49722         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49723         (elf_machine_lazy_rel): Likewise.
49724         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49725         (elf_machine_lazy_rel): Likewise.
49726         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49727         (elf_machine_lazy_rel): Likewise.
49728         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49729         (elf_machine_lazy_rel): Likewise.
49730
49731 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49732
49733         * nss/nss_files/files-init.c (_nss_files_init): Use static
49734         initialization for all the *_traced_file variables.
49735
49736 2011-09-28  Andreas Schwab  <schwab@redhat.com>
49737
49738         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49739
49740 2011-09-27  Roland McGrath  <roland@hack.frob.com>
49741
49742         [BZ #13226]
49743         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49744
49745 2011-09-27  Andreas Schwab  <schwab@redhat.com>
49746
49747         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49748         Reread the line before reparsing it.
49749
49750 2011-09-26  Andreas Schwab  <schwab@redhat.com>
49751
49752         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49753
49754 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
49755             Maxim Kuvyrkov  <maxim@codesourcery.com>
49756             Joseph Myers  <joseph@codesourcery.com>
49757
49758         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49759         if needed for __stack_chk_guard.
49760
49761 2011-09-19  Roland McGrath  <roland@hack.frob.com>
49762
49763         * sysdeps/posix/spawni.c (script_execute): Always define it.
49764         It will be optimized away if unused.
49765         (maybe_script_execute): New function.
49766         (__spawni): Call it.
49767
49768         * Makerules: Don't include tls.make.
49769         (config-tls): Always set to thread.
49770         * tls.make.c: File removed.
49771
49772 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
49773
49774         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49775         * config.make.in (CPPFLAGS-config): New substituted variable.
49776
49777 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49778
49779         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49780
49781         [BZ #13192]
49782         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49783         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49784
49785 2011-09-15  Roland McGrath  <roland@hack.frob.com>
49786
49787         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49788         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49789         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49790         (CALL_FAIL): Likewise.
49791         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49792         (CALL_FAIL): Macro removed.
49793         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49794
49795 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49796
49797         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49798         for __FINITE_MATH_ONLY__ == 1.
49799
49800 2011-09-15  Andreas Schwab  <schwab@redhat.com>
49801
49802         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49803         __ieee754_sqrt instead of sqrt.
49804         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49805         __ieee754_sqrtf instead of sqrtf.
49806         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49807         __floorf instead of floorf.
49808         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49809         __floorf, __truncf instead of floorf, truncf.
49810
49811 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
49812
49813         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49814
49815         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49816         __extern_always_inline.
49817         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49818         32-bit.
49819
49820 2011-09-14  Andreas Schwab  <schwab@redhat.com>
49821
49822         * elf/rtld.c (dl_main): Also relocate in dependency order when
49823         doing symbol dependency testing.
49824
49825 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
49826
49827         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49828         Always define `refsym'.
49829
49830 2011-09-13  Andreas Schwab  <schwab@redhat.com>
49831
49832         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49833         (__FD_ELT): Renamed from __FDELT.
49834         * misc/bits/select2.h (__FD_ELT): Likewise.
49835         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49836         __FD_MASK instead of __FDELT, __FDMASK.
49837         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49838         Likewise.
49839         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49840         Likewise.
49841
49842         * elf/Makefile (gen-ldd): Fix pattern.
49843
49844         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49845         (init_tls): Likewise.
49846
49847 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
49848
49849         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49850
49851 2011-09-12  Andreas Schwab  <schwab@redhat.com>
49852
49853         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49854         `struct cmsghdr *' instead of `void *'.
49855         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49856         Likewise.
49857
49858 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
49859
49860         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49861         if non-absolute.
49862         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49863         ldd_rewrite_script.
49864
49865 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
49866
49867         * configure.in: Remove --with-tls option.
49868         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49869         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49870         out in case it is missing.
49871         * sysdeps/ia64/elf/configure.in: Likewise.
49872         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49873         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49874         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49875         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49876         * sysdeps/sh/elf/configure.in: Likewise.
49877         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49878         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49879         * sysdeps/x86_64/elf/configure.in: Likewise.
49880         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49881         * sysdeps/mach/hurd/tls.h: Likewise.
49882
49883         [BZ #13067]
49884         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49885
49886         [BZ #13090]
49887         * configure.in: Fix use of AC_INIT.
49888
49889         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49890
49891 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
49892
49893         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49894         __set_errno.
49895         * malloc/hooks.c: Likewise.
49896
49897         [BZ #11929]
49898         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
49899         variables statically.
49900         (narenas): Initialize.
49901         (list_lock): Initialize.
49902         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
49903         initializtion of main_arena and list_lock.  Small cleanups.
49904         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49905         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
49906         Add initializers to main_arena and mp_.
49907         (malloc_state): Remove pagesize member.  Change all users to use
49908         GLRO(dl_pagesize).
49909
49910         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49911         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
49912         is always initialized.
49913
49914         * malloc/malloc.c: Removed unused configurations and dead code.
49915         * malloc/arena.c: Likewise.
49916         * malloc/hooks.c: Likewise.
49917         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49918
49919         * include/tls.h: Removed.  USE___THREAD must always be defined.
49920         * bits/libc-tsd.h: Don't handle !USE___THREAD.
49921         * elf/dl-libc.c: Likewise.
49922         * elf/dl-tsd.c: Likewise.
49923         * include/errno.h: Likewise.
49924         * include/netdb.h: Likewise.
49925         * include/resolv.h: Likewise.
49926         * inet/herrno-loc.c: Likewise.
49927         * inet/herrno.c: Likewise.
49928         * malloc/arena.c: Likewise.
49929         * malloc/hooks.c: Likewise.
49930         * malloc/malloc.c: Likewise.
49931         * resolv/res-state.c: Likewise.
49932         * resolv/res_libc.c: Likewise.
49933         * sysdeps/i386/dl-machine.h: Likewise.
49934         * sysdeps/ia64/dl-machine.h: Likewise.
49935         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49936         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49937         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49938         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49939         * sysdeps/sh/dl-machine.h: Likewise.
49940         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49941         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49942         * sysdeps/unix/i386/sysdep.S: Likewise.
49943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49944         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49945         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49946         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49947         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49948         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49949         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49950         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49951         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49953         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49954         * sysdeps/x86_64/dl-machine.h: Likewise.
49955         * tls.make.c: Likewise.
49956
49957         * configure.in: Remove --with-__thread option.  Make tests for
49958         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49959         tls_model attribute fail if no support is available.  Remove
49960         USE_IN_LIBIO.
49961         * Makeconfig: Adjust for dropped configure option.  All features are
49962         now mandatory.
49963         * Makerules: Likewise.
49964         * Versions.def: Likewise.
49965         * argp/argp-fmtstream.c: Likewise.
49966         * argp/argp-fmtstream.h: Likewise.
49967         * argp/argp-help.c: Likewise.
49968         * assert/assert.c: Likewise.
49969         * config.h.in: Likewise.
49970         * config.make.in: Likewise.
49971         * configure: Likewise.
49972         * configure.in: Likewise.
49973         * csu/Versions: Likewise.
49974         * csu/init.c: Likewise.
49975         * elf/tst-audit2.c: Likewise.
49976         * elf/tst-tls10.c: Likewise.
49977         * elf/tst-tls10.h: Likewise.
49978         * elf/tst-tls11.c: Likewise.
49979         * elf/tst-tls12.c: Likewise.
49980         * elf/tst-tls14.c: Likewise.
49981         * elf/tst-tlsmod11.c: Likewise.
49982         * elf/tst-tlsmod12.c: Likewise.
49983         * elf/tst-tlsmod13.c: Likewise.
49984         * elf/tst-tlsmod13a.c: Likewise.
49985         * elf/tst-tlsmod14a.c: Likewise.
49986         * elf/tst-tlsmod15b.c: Likewise.
49987         * elf/tst-tlsmod16a.c: Likewise.
49988         * elf/tst-tlsmod16b.c: Likewise.
49989         * elf/tst-tlsmod7.c: Likewise.
49990         * elf/tst-tlsmod8.c: Likewise.
49991         * elf/tst-tlsmod9.c: Likewise.
49992         * gmon/gmon.c: Likewise.
49993         * grp/fgetgrent_r.c: Likewise.
49994         * grp/putgrent.c: Likewise.
49995         * hurd/fopenport.c: Likewise.
49996         * include/libc-symbols.h: Likewise.
49997         * include/tls.h: Likewise.
49998         * intl/gettextP.h: Likewise.
49999         * intl/loadinfo.h: Likewise.
50000         * locale/global-locale.c: Likewise.
50001         * locale/localeinfo.h: Likewise.
50002         * mach/devstream.c: Likewise.
50003         * malloc/arena.c: Likewise.
50004         * malloc/set-freeres.c: Likewise.
50005         * misc/err.c: Likewise.
50006         * misc/getttyent.c: Likewise.
50007         * misc/mntent_r.c: Likewise.
50008         * posix/getopt.c: Likewise.
50009         * posix/wordexp.c: Likewise.
50010         * pwd/fgetpwent_r.c: Likewise.
50011         * resolv/Versions: Likewise.
50012         * resolv/res_hconf.c: Likewise.
50013         * shadow/fgetspent_r.c: Likewise.
50014         * shadow/putspent.c: Likewise.
50015         * stdio-common/printf_fphex.c: Likewise.
50016         * stdio-common/tmpfile.c: Likewise.
50017         * stdlib/abort.c: Likewise.
50018         * stdlib/fmtmsg.c: Likewise.
50019         * sunrpc/auth_unix.c: Likewise.
50020         * sunrpc/clnt_perr.c: Likewise.
50021         * sunrpc/clnt_tcp.c: Likewise.
50022         * sunrpc/clnt_udp.c: Likewise.
50023         * sunrpc/clnt_unix.c: Likewise.
50024         * sunrpc/openchild.c: Likewise.
50025         * sunrpc/svc_simple.c: Likewise.
50026         * sunrpc/svc_tcp.c: Likewise.
50027         * sunrpc/svc_udp.c: Likewise.
50028         * sunrpc/svc_unix.c: Likewise.
50029         * sunrpc/xdr.c: Likewise.
50030         * sunrpc/xdr_array.c: Likewise.
50031         * sunrpc/xdr_rec.c: Likewise.
50032         * sunrpc/xdr_ref.c: Likewise.
50033         * sunrpc/xdr_stdio.c: Likewise.
50034
50035 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50036
50037         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50038
50039 2011-07-03  Andreas Jaeger  <aj@suse.de>
50040
50041         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50042         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50043         regenerate with gen-libm-tests.pl.
50044
50045 2010-05-12  Petr Baudis  <pasky@suse.cz>
50046
50047         [BZ #11589]
50048         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50049         around j0() zero points by switching to j1().
50050         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50051         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50052         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50053         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50054
50055 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50056
50057         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50058         instead of 0.
50059         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50060         instead of 0.
50061         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50062         Patch in part by Pavel Roskin <proski@gnu.org>.
50063
50064         [BZ #13138]
50065         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50066         realloc.
50067         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50068         Free memory block if necessary.
50069
50070         [BZ #12847]
50071         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50072         be NULL.  Don't lock in this case.
50073
50074 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50075
50076         * elf/elf.h (ELFOSABI_GNU): New macro.
50077         (ELFOSABI_LINUX): Define to that.
50078
50079 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50080
50081         * string/strncat.c (strncat): Undef the symbol in case it has been
50082         defined in bits/string.h.
50083
50084 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50085
50086         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50087
50088         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50089         link map.
50090
50091 2011-08-17  Andreas Jaeger  <aj@suse.de>
50092
50093         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50094
50095 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50096             Ian Lance Taylor  <iant@google.com>
50097
50098         * math/libm-test.inc (lround_test): New testcase.
50099         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50100
50101 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50102
50103         * Makefile: Remove support for automatic cvs check-ins.
50104         * Makerules: Likewise.
50105         * config.make.in: Likewise.
50106         * configure.in: Likewise.
50107         * intl/Makefile: Likewise.
50108         * locale/Makefile: Likewise.
50109         * po/Makefile: Likewise.
50110         * posix/Makefile: Likewise.
50111         * sysdeps/gnu/Makefile: Likewise.
50112         * sysdeps/mach/hurd/Makefile: Likewise.
50113         * sysdeps/sparc/sparc32/Makefile: Likewise.
50114
50115         [BZ #13118]
50116         * posix/Makefile (bug-regex32-ENV): Define.
50117         Patch by John Stanley <jpsinthemix@verizon.net>.
50118
50119         * misc/Makefile (headers): Add bits/select2.h.
50120         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50121         * misc/bits/select2.h: New file.
50122         * include/bits/select2.h: New file.
50123         * debug/Makefile (routines): Add fdelt_chk.
50124         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50125         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50126         FD_ISSET.
50127         * debug/fdelt_chk.c: New file.
50128
50129         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50130         * wcsmbs/test-wmemcmp.c: Likewise.
50131         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50132         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50133
50134 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50135
50136         * string/Makefile (strop-tests): Add memcmp.
50137         * string/test-wmemcmp.c: New file.
50138         * string/test-memcmp.c: Add wmemcmp support.
50139
50140 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50141
50142         [BZ #13153]
50143         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50144         2011-07-19 change.
50145
50146         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50147         garbage value in a __mach_port_mod_refs call in the cases of the
50148         task-self and thread-self ports.
50149
50150 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50151
50152         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50153
50154 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50155
50156         * elf/dl-load.c (lose): Check for non-null L.
50157
50158 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50159
50160         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50161
50162         * elf/dl-libc.c (dlerror_run): Pass back error code from
50163         dl_catch_error.
50164
50165         [BZ #13123]
50166         * elf/dl-load.c (lose): Free l_origin if it is valid.
50167
50168         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50169         names.
50170         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50171         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50172         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50173         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50174         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50175         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50176
50177 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50178
50179         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50180         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50181         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50182         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50183         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50184         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50185         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50186         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50187         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50188         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50189
50190 2011-08-15  Alan Modra  <amodra@gmail.com>
50191
50192         [BZ #13092]
50193         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50194         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50195         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50196         ppc_mcount to static-only-routines.
50197         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50198         __mcount_internal.
50199         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50200         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50201
50202 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50203
50204         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50205         for finite and infinity parameters.
50206
50207 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50208
50209         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50210         and add nop instructions for throughput optimization.
50211         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50212
50213 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50214
50215         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50216         aligned copy for power7 with vector-scalar instructions.
50217         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50218
50219 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50220
50221         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50222         AVX check.
50223
50224 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50225
50226         [BZ #13144]
50227         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50228         last change.
50229
50230 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50231
50232         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50233         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50234         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50235         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50236         clock_gettime.
50237
50238 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50239
50240         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50241         Forgot to demangle the pointer.
50242
50243         * sysdeps/i386/sysdep.h: Define atom_text_section.
50244         * sysdeps/x86_64/sysdep.h: Likewise.
50245         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50246         section with atom_text_section.
50247         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50248         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50249         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50250         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50251         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50252
50253         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50254         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50255         already be defined.  Change to take two parameters and don't assign
50256         result to variable.  Adjust all users.
50257         Define INTERNAL_GETTIME if not already defined.
50258         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50259         call.
50260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50261         HAVE_CLOCK_GETTIME_VSYSCALL.
50262         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50263
50264         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50265         gettimeofday vsyscall, just use time.
50266
50267 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50268
50269         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50270         <errno.h>.
50271
50272 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50273
50274         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50275         syscall on x86-64.
50276         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50277         syscall.
50278         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50279         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50280         syscall if possible.
50281
50282 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50283
50284         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50285         e_ident.  Don't pass to find_mapsXX.
50286         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50287
50288 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50289
50290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50291         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50292         * sysdeps/x86_64/multiarch/strchr.S: Update.
50293         Check bit_slow_BSF bit.
50294         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50295         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50296         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50297
50298 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50299
50300         [BZ #13134]
50301         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50302         before glibc 2.15.
50303         (tryshell): Define.
50304         (__spawni): Change last parameter to be flag.  Test
50305         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50306         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50307         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50308         * posix/spawni.c: Likewise.
50309         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50310         * posix/spawnp.c: Likewise.  Change normal version to use
50311         SPAWN_XFLAGS_USE_PATH.
50312         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50313         SPAWN_XFLAGS_TRY_SHELL.
50314
50315         [BZ #13150]
50316         * posix/glob.h: Remove gcc 1.x support.
50317
50318         [BZ #13068]
50319         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50320
50321 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50322
50323         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50324         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50325         strrchr-sse2-bsf
50326         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50327         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50328         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50329         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50330         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50331         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50332
50333 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50334
50335         * sysdeps/x86_64/wcscmp.S: New file.
50336
50337         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50338         wcscmp-c wcscmp-sse2
50339         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50340         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50341         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50342         * wcsmbs/wcscmp.c: Allow renaming.
50343
50344 2011-09-05  David S. Miller  <davem@davemloft.net>
50345
50346         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50347         stack slot, rather than the struct return pointer slot.
50348         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50349         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50351         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50352
50353 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50354
50355         * po/ja.po: Update from translation team.
50356
50357         [BZ #13144]
50358         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50359         kernel in 64-bit binaries.
50360
50361 2011-09-01  David S. Miller  <davem@davemloft.net>
50362
50363         * elf/elf.h (HWCAP_SPARC_*): Move to..
50364         * sysdeps/sparc/sysdep.h: this new file and add new values.
50365         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50366         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50367         _DL_HWCAP_COUNT to 24.
50368         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50369         entries.
50370         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50371         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50372         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50373         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50374         instead of magic constants.
50375         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50376
50377 2011-08-31  David S. Miller  <davem@davemloft.net>
50378
50379         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50380         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50381         Reimplement to do errno handling inline.
50382         (SYSCALL_ERROR_HANDLER): New macro.
50383         (__SYSCALL_STRING): Do not do errno handling in asm.
50384         (__CLONE_SYSCALL_STRING): Delete.
50385         (__INTERNAL_SYSCALL_STRING): Delete.
50386         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50387         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50388         (PSEUDO): Reimplement to do errno handling inline.
50389         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50390         (SYSCALL_ERROR_HANDLER): New macro.
50391         (__SYSCALL_STRING): Do not do errno handling in asm.
50392         (__CLONE_SYSCALL_STRING): Delete.
50393         (__INTERNAL_SYSCALL_STRING): Delete.
50394         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50395         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50396         i386.
50397         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50398         (inline_syscall*): Add 'err' argument.
50399         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50400         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50401         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50402         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50403
50404         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50405         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50406
50407 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50408
50409         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50410
50411 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50412
50413         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50414         directive.
50415
50416 2011-08-24  David S. Miller  <davem@davemloft.net>
50417
50418         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50419
50420 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50421
50422         * elf/Makefile: Add rules to build and run unload8 test.
50423         * elf/unload8.c: New file.
50424         * elf/unload8mod1.c: New file.
50425         * elf/unload8mod1x.c: New file.
50426         * elf/unload8mod2.c: New file.
50427         * elf/unload8mod3.c: New file.
50428
50429         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50430         it wasn't used.
50431
50432 2011-08-23  David S. Miller  <davem@davemloft.net>
50433
50434         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50435         subtract stack bias.
50436         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50437         %sp not %fp in calculations.
50438         (_JMPBUF_UNWINDS_ADJ): Likewise.
50439
50440         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50441         (aio_suspend): Call it to force an exception region around the
50442         AIO_MISC_WAIT() invocation.
50443
50444 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50445
50446         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50447         backslash.
50448
50449 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50450
50451         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50452         protection macro.
50453         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50454         and <dl-machine.h>.
50455         (Elf64_FuncDesc): Remove.
50456
50457 2011-08-22  David S. Miller  <davem@davemloft.net>
50458
50459         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50460         sigaltstack check, add missing cfi directives.
50461         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50462         missing cfi directives, and sigaltstack handling.
50463
50464 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50465
50466         [BZ #11724]
50467         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50468         object is seen twice.
50469         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50470
50471         * elf/Makefile (distribute): Add tst-initorder2.c.
50472         (tests): Add tst-initorder2.
50473         (modules-names): Add tst-initorder2a tst-initorder2b
50474         tst-initorder2c tst-initorder2d.  Add rules to build them.
50475         ($(objpfx)tst-initorder2.out): New rule.
50476         * elf/tst-initorder2.c: New file.
50477         * elf/tst-initorder2.exp: New file.
50478
50479 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50480
50481         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50482
50483         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50484         dependencies back to end of function.
50485
50486         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50487         $(elfobjdir)/ld.so.
50488
50489 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50490
50491         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50492         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50493         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50494         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50495         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50496         of __vdso_gettimeofday.
50497         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50498         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50499         attribute_hidden.
50500         (_libc_vdso_platform_setup): Remove initialization of
50501         __vdso_gettimeofday and __vdso_time.
50502
50503 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50504
50505         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50506         and fgetc_unlocked.
50507         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50508         getc_unlocked.
50509
50510         * elf/dl-open.c (add_to_global): Report additions to the global scope
50511         for LD_DEBUG=scopes.
50512         (dl_open_worker): Also print scope of newly loaded dependencies.
50513         (_dl_show_scope): Indicate if there is no scope.
50514
50515         [BZ #13114]
50516         * stdio-common/Makefile (tests): Add bug24.
50517         * stdio-common/bug24.c: New file.
50518
50519 2011-08-19  Andreas Jaeger  <aj@suse.de>
50520
50521         [BZ #13114]
50522         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50523         non-existant file when using close-on-exec mode.
50524
50525 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50526
50527         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50528         the very first instruction.
50529
50530         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50531         the CFI state in the end.
50532         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50533         inclusion of dl-trampoline.h.
50534         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50535
50536 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50537
50538         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50539         expectations for long double.
50540
50541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50542         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50543
50544 2011-08-14  David S. Miller  <davem@davemloft.net>
50545
50546         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50547         artificual limit depends upon the system page size.
50548
50549 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50550
50551         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50552         * resolv/Makefile: Define CFLAGS-libresolv.
50553
50554 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50555
50556         * nss/makedb.c (compute_tables): Make variables used in nested
50557         function static.
50558
50559 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50560
50561         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50562         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50563         if buffer was too small.
50564
50565         * elf/pldd.c (main): Attach to all threads in the process.
50566         Rewrite /proc handling to use *at functions.
50567
50568 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50569
50570         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50571         specifies first scope to show.
50572         (dl_open_worker): Update callers.  Move printing scope of new
50573         object to before the relocation.
50574         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50575         * sysdeps/generic/ldsodefs.h: Update declaration.
50576
50577         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50578         string for the scope number.
50579
50580 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50581
50582         * nscd/servicescache.c (cache_addserv): Make sure written is always
50583         initialized.
50584
50585 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50586
50587         * sysdeps/i386/i486/bits/atomic.h
50588         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50589         statement expression, so as to suppress "set but not used" warning.
50590         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50591
50592         * string/strncat.c (STRNCAT): Use prototype definition.
50593
50594         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50595         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50596         -Iprograms here.
50597         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50598         (localedef-modules): Add localedef.
50599         (locale-modules): Add locale.
50600
50601         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50602         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50603         to avoid a warning.
50604
50605 2011-08-14  David S. Miller  <davem@davemloft.net>
50606
50607         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50608         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50609
50610 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50611
50612         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50613         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50614         * elf/rtld.c (dl_main): Set l_name of vDSO.
50615         Call _dl_show_scope when DL_DEBUG_SCOPES.
50616         (process_dl_debug): Recognize scopes flag and also set it for all.
50617         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50618         Declare _dl_show_scope.
50619
50620         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50621         (do_dlopen): Pass caller_dlopen to dl_open.
50622         (__libc_dlopen_mode): Initialize caller_dlopen.
50623
50624         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50625         of libc.  Make tolower call locale-independent.  Optimize a bit by
50626         using isdigit instead of isalnum.
50627         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50628
50629 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50630
50631         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50632         was a dependency or dynamically loaded.
50633
50634 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50635
50636         * intl/l10nflist.c: Allow architecture-specific pop function.
50637         * sysdeps/x86_64/l10nflist.c: New file.
50638
50639         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50640         classification.
50641
50642 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50643
50644         * include/dirent.h: Add libc_hidden_proto for scandirat and
50645         scandirat64.  Don't declare __scandirat64.
50646         * dirent/scandirat.c: Add libc_hidden_def.
50647         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50648         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50649
50650 2011-08-10  David S. Miller  <davem@davemloft.net>
50651
50652         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50653         enum.
50654         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50655         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50656         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50657
50658 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50659
50660         * Versions.def [libc]: Add GLIBC_2.15.
50661         * dirent/Makefile (routines): Add scandirat and scandirat64.
50662         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50663         GLIBC_2.15.
50664         * dirent/dirent.h: Declare scandirat and scandirat64.
50665         * dirent/scandirat.c: New file.
50666         * dirent/scandirat64.c: New file.
50667         * sysdeps/wordsize-64/scandirat.c: New file.
50668         * sysdeps/wordsize-64/scandirat64.c: New file.
50669         * dirent/opendir.c: Define opendirat.
50670         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50671         using scandirat.
50672         * dirent/scandir64.c: Adjust for scandir.c change.
50673         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50674         __scandirat64, and __scandir_cancel_handler.
50675         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50676         additional parameter and use openat instead of open (outside of ld.so).
50677         Add new __opendir as wrapper around __opendirat.
50678         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50679         here without requiring old scandirat implementation.
50680
50681 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50682
50683         * dirent/scandir.c (cancel_handler): Renamed to
50684         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50685         defined.  Adjust users.
50686         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50687         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50688
50689 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50690
50691         * string/test-string.h (IMPL): Use __STRING to expand name and then
50692         stringify it.
50693
50694         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50695         of cleanups.
50696
50697 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50698
50699         * string/Makefile: Update.
50700         (strop-tests): Append strncat.
50701         * string/test-wcscmp.c: New file.
50702         New comprehensive test for wcscmp.
50703         * string/test-strcmp.c: Update.
50704         (WIDE): New define.
50705
50706 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50707
50708         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50709         line.
50710
50711 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50712
50713         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50714         encoding to ACE if AI_IDN.
50715
50716 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50717
50718         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50719         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50720
50721 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50722
50723         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50724         Fix overflow bug in strncat.
50725         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50726
50727         * string/test-strncat.c: Update.
50728         Add new tests for checking overflow bugs.
50729
50730 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50731
50732         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50733         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50734         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50735         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50736         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50737         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50738         * sysdeps/i386/i686/multiarch/strncat.S: New file.
50739         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50740         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50741
50742         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50743         (USE_AS_STRCAT): Define.
50744         Add strcat and strncat support.
50745         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50746
50747 2011-07-25  Andreas Schwab  <schwab@redhat.com>
50748
50749         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50750         __n bigger than INT_MAX+1.
50751         (__strncmp_g): Likewise.
50752
50753 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
50754
50755         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50756         * libio/stido.h: Likewise.
50757
50758         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50759         (AF_NFC): Define.
50760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50761         (AF_NFC): Define.
50762
50763         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50764         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50765         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50766         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50767         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50768
50769         [BZ #13021]
50770         * scripts/test-installation.pl: Don't expect libnss_test1 to be
50771         installed.
50772
50773         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50774         typo.
50775         (_dl_x86_64_save_sse): Likewise.
50776
50777 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
50778
50779         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50780         OSXSAVE.
50781         (_dl_x86_64_save_sse): Likewise.
50782
50783         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50784
50785         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50786
50787 2011-07-21  Andreas Schwab  <schwab@redhat.com>
50788
50789         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50790         change.
50791         (_dl_x86_64_save_sse): Use correct AVX check.
50792
50793 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50794
50795         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50796         bug in strncpy/strncat.
50797         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50798
50799 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
50800
50801         * string/tester.c (test_strcat): Add tests for different alignments
50802         of source and destination.
50803         (test_strncat): Likewise.
50804
50805 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50806
50807         [BZ #12852]
50808         * posix/glob.c (glob): Check passed in values before using them in
50809         expressions to avoid some overflows.
50810         (glob_in_dir): Likewise.
50811
50812         [BZ #13007]
50813         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50814         check for AVX enablement so that we don't crash with old kernels and
50815         new hardware.
50816         * elf/tst-audit4.c: Add same checks here.
50817         * elf/tst-audit6.c: Likewise.
50818
50819         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50820
50821 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
50822
50823         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50824
50825 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50826
50827         * po/cs.po: Update from translation team.
50828         * po/bg.po: Likewise.
50829
50830 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
50831
50832         * misc/sys/cdefs.h: Add support for const attribute.
50833         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50834         to gnu_dev_{major,minor,makedev} functions.
50835
50836 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
50837
50838         * intl/dcigettext.c (get_output_charset): Add missing bracket.
50839
50840 2011-07-20  Andreas Schwab  <schwab@redhat.com>
50841
50842         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50843         strlen results.
50844
50845 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50846
50847         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50848         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50849         register in order to avoid conflicts with the soft frame pointer
50850         being held in r11 when necessary.
50851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50852         (INTERNAL_VSYSCALL_NCS): Likewise.
50853
50854 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
50855
50856         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50857         * elf/dl-fini.c (_dl_fini): Adjust caller.
50858         * elf/dl-close.c (_dl_close_worker): Likewise.
50859         * sysdeps/generic/ldsodefs.h: Adjust declaration.
50860
50861 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50862
50863         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50864         "aux_cache->nlibs < 0".
50865
50866         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50867         in the reload-count case.
50868
50869 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50870
50871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50872         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50873         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50874         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50875         * sysdeps/x86_64/multiarch/strcat.S: New file.
50876         * sysdeps/x86_64/multiarch/strncat.S: New file.
50877         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50878         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50879         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50880         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50881         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50882         (USE_AS_STRCAT): Define.
50883         Add strcat and strncat support.
50884         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50885         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50886         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50887         * string/strncat.c: Update.
50888         (USE_AS_STRNCAT): Define.
50889         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50890         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50891         and i7.
50892         * sysdeps/x86_64/multiarch/init-arch.h
50893         (bit_Prefer_PMINUB_for_stringop): New.
50894         (index_Prefer_PMINUB_for_stringop): Likewise.
50895         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50896         bit_Prefer_PMINUB_for_stringop.
50897
50898 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50899
50900         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50901         buffer64.
50902         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50903         of casting of buffer.
50904         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50905         buffer32 and buffer64.
50906         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50907         writes instead of casting of buffer.
50908         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50909         buffer32.
50910         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50911         casting of buffer.
50912
50913 2011-07-19  Andreas Schwab  <schwab@redhat.com>
50914
50915         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50916
50917 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50918
50919         * nscd/nscd.c (termination_handler): Don't do anything for a database
50920         if it has not yet been initialized.
50921
50922 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50923
50924         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50925
50926 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50927
50928         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50929
50930 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50931
50932         * po/nl.po: Update from translation team.
50933         * po/sv.po: Likewise.
50934
50935 2011-07-16  Roland McGrath  <roland@hack.frob.com>
50936
50937         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50938         now disallowed by GCC.
50939
50940         * configure.in (use-default-link): Default to yes if a test -shared
50941         link meets our qualifications.
50942         * configure: Regenerated.
50943
50944         * config.make.in (output-format): New variable.
50945         * configure.in: Check for ld --print-output-format support.
50946         * configure: Regenerated.
50947         * Makerules ($(common-objpfx)format.lds)
50948         [$(output-format) != unknown]: Just use $(output-format),
50949         instead of the linker-script munging.
50950
50951 2011-07-14  Roland McGrath  <roland@hack.frob.com>
50952
50953         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50954         of $(common-objpfx)shlib.lds.
50955         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50956
50957         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50958         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50959
50960         * configure.in (-z relro check): Adjust test code to add a large
50961         writable data section after it.
50962         * configure: Regenerated.
50963
50964 2011-07-11  Roland McGrath  <roland@hack.frob.com>
50965
50966         * configure.in (-z relro check): Fix test code to make the variable
50967         truly const.
50968         * configure: Regenerated.
50969
50970 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
50971
50972         * nscd/nscd.h (struct traced_file): Define.
50973         (struct database_dyn): Remove inotify_descr, reset_res, and filename
50974         elements.  Add traced_files.
50975         (inotify_fd): Declare.
50976         (register_traced_file): Declare.
50977         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50978         (inotify_fd): Export.
50979         (resolv_conf_descr): Remove.
50980         (nscd_init): Move inotify descriptor creation to main.
50981         Don't register files for notification here.
50982         (register_traced_file): New function.
50983         (invalidate_cache): Don't use reset_res to determine whether to call
50984         res_init, go through the list of registered files.
50985         (main_loop_poll): The inotify descriptors are now stored in the
50986         structures for the traced files.
50987         (main_loop_epoll): Likewise
50988         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
50989         to __nss_disable_nscd.
50990         * nscd/cache.c (prune_cache): There is no single inotify descriptor
50991         for a database anymore.  Check the records for all the registered
50992         files instead.
50993         * nss/Makefile (libnss_files-routines): Add files-init.
50994         (libnss_db-routines): Add db-init.
50995         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50996         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50997         * nss/nss_db/db-init.c: New file.
50998         * nss/nss_files/files-init.c: New file.
50999         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51000         __nss_lookup_function.
51001         (__nss_lookup_function): Call nss_load_library.
51002         (nss_load_all_libraries): New function.
51003         (__nss_disable_nscd): Take parameter with callback function for files
51004         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51005         used for the cached services.
51006         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51007         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51008         options for features to all the files in nscd.
51009
51010         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51011
51012 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51013
51014         * csu/elf-init.c (__libc_csu_init): Comment typo.
51015
51016 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51017
51018         * po/pl.po: Update from translation team.
51019         * po/ja.po: Likewise.
51020         * po/ru.po: Likewise.
51021         * po/ko.po: Likewise.
51022         * po/fr.po: Likewise.
51023
51024 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51025
51026         * configure.in (.ctors/.dtors header and trailer check):
51027         Use an empirical test on a built program.
51028         * configure: Regenerated.
51029
51030         * configure.in (-z relro check): Use an empirical test on a built DSO.
51031         Detect, but do not require, on ia64.
51032         * configure: Regenerated.
51033
51034         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51035         Update tests that use readelf to use $READELF instead.
51036         * configure: Regenerated.
51037
51038 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51039
51040         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51041         if the result is not used.
51042
51043 2011-07-05  Andreas Jaeger  <aj@suse.de>
51044
51045         [BZ#9696]
51046         * stdlib/tst-strtod.c: Add testcase.
51047
51048 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51049
51050         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51051         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51052         The latter has a higher limit.  Take additional parameter to pass to
51053         the new function.
51054         (__pathconf): Pass file to __statfs_link_max.
51055         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51056         __statfs_link_max.
51057         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51058         __statfs_link_max.
51059
51060         [BZ #12868]
51061         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51062         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51063         Handle Lustre.
51064         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51065         (__statfs_filesize_max): Likewise.
51066         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51067
51068 2011-07-05  Andreas Jaeger  <aj@suse.de>
51069
51070         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51071
51072 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51073
51074         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51075         `status' variable.
51076         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51077         Likewise.
51078
51079 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51080
51081         * Makefile (strop-tests): Add strncat.
51082         * string/test-strncat.c: New file.
51083
51084 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51085
51086         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51087
51088 2011-06-21  Andreas Jaeger  <aj@suse.de>
51089
51090         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51091         Copy rule from iconvdata/Makefile.
51092
51093 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51094
51095         [BZ #12922]
51096         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51097         but no long options are defined, just return 'W'.
51098
51099 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51100
51101         [BZ #9696]
51102         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51103
51104 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51105
51106         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51107         netgroups to read.
51108         (innetgr): Likewise.
51109
51110 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51111
51112         * config.make.in (install_root): Default to $(DESTDIR).
51113
51114 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51115
51116         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51117
51118 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51119
51120         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51121
51122         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51123         containing directory rather than embedding absolute directory names.
51124
51125         * scripts/check-local-headers.sh: Rewritten using awk.
51126         Match by word, not by line.  Print error messages for matches.
51127         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51128
51129         * Makerules [shlib-lds-flags empty]:
51130         ($(common-objpfx)libc_pic.opts): New target.
51131         ($(common-objpfx)libc_pic.os.clean): New target.
51132         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51133
51134         * config.make.in (OBJCOPY): New variable.
51135         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51136         * configure: Regenerated.
51137
51138         * config.make.in (use-default-link): New variable.
51139         * configure.in (use_default_link): Grok --with-default-link to set it.
51140         * configure: Regenerated.
51141         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51142         (shlib-lds, shlib-lds-flags): Define to empty.
51143
51144         * Makerules (shlib-lds): New variable.
51145         (shlib-lds-flags): New variable.
51146         (build-shlib, build-moduile, build-module-asneeded): Use it.
51147         ($(common-objpfx)libc.so): Use $(shlib-lds).
51148         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51149         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51150
51151         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51152         DT_FLAGS/DT_FLAGS_1 with zero flags.
51153
51154         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51155         linker script munging.
51156
51157 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51158
51159         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51160         as 128-bit value.
51161         * crypt/sha512.c (sha512_process_block): Perform total addition using
51162         128-bit if possible.
51163         (__sha512_finish_ctx): Likewise.
51164         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51165         as 64-bit value.
51166         * crypt/sha256.c (SWAP64): Define.
51167         (sha256_process_block): Perform total addition using 64-bit if
51168         possible.
51169         (__sha256_finish_ctx): Likewise.
51170
51171 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51172
51173         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51174         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51175         * nscd/hstcache.c (cache_addhst): Likewise.
51176         * nscd/grpcache.c (cache_addgr): Likewise.
51177         * nscd/aicache.c (addhstaiX): Likewise
51178         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51179
51180 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51181
51182         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51183         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51184         * nscd/hstcache.c (cache_addhst): Likewise.
51185         * nscd/grpcache.c (cache_addgr): Likewise.
51186         * nscd/aicache.c (addhstaiX): Likewise
51187
51188 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51189
51190         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51191         domain only when needed.
51192
51193 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51194
51195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51196         is always restored.
51197
51198 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51199
51200         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51201         are re-adding the entry.
51202         * nscd/servicescache.c (cache_addserv): Likewise.
51203
51204 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51205
51206         * sysdeps/generic/dl-irel.h: fix protection against multiple
51207         inclusions.
51208         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51209
51210 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51211
51212         [BZ #12935]
51213         * malloc/memusage.sh: Fix quoting in message.
51214         * debug/xtrace.sh: Likewise.
51215
51216         * configure.in: Remove support for --experimental-malloc option, make
51217         it the default.
51218         * config.make.in: Likewise.
51219         * malloc/Makefile: Likewise.
51220
51221 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51222
51223         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51224         two-byte characters.
51225
51226 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51227
51228         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51229         AC_CACHE_CHECK invocation.
51230         * configure: Regenerated.
51231
51232         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51233
51234 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51235
51236         [BZ #12350]
51237         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51238         bit from old_res_options.
51239
51240         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51241
51242         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51243         value type for setfct.
51244
51245 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51246
51247         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51248         __gettimeofday instead of gettimeofday.
51249
51250 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51251
51252         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51253
51254 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51255
51256         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51257
51258         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51259         info.
51260
51261 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51262
51263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51264         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51265         strcpy-sse2-unaligned strncpy-sse2-unaligned
51266         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51267         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51268         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51269         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51270         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51271         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51272         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51273         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51274         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51275         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51276         (STRCPY): Support SSE2 and SSSE3 versions.
51277
51278 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51279
51280         [BZ #12874]
51281         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51282         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51283         kernels which artificially limit size of requests.
51284
51285 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51286
51287         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51288         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51289         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51290         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51291         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51292         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51293         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51294         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51295         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51296         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51297         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51298         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51299         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51300         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51301         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51303         Enable unaligned load optimization for Intel Core i3, i5 and i7
51304         processors.
51305         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51306         Define.
51307         (index_Fast_Unaligned_Load): Define.
51308         (HAS_FAST_UNALIGNED_LOAD): Define.
51309
51310 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51311
51312         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51313
51314 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51315
51316         [BZ #12907]
51317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51318         until it is clear that the information is realy needed.
51319         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51320
51321 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51322
51323         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51324
51325 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51326
51327         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51328         /sys/devices/system/cpu/online if it is usable.
51329
51330         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51331         reading the information from the /proc filesystem to once a second.
51332
51333 2011-06-21  Andreas Jaeger  <aj@suse.de>
51334
51335         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51336         NULL after inclusion of kernel headers.
51337
51338 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51339
51340         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51341         calls to internal_setent.
51342
51343         [BZ #12885]
51344         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51345         addresses using gethostbyname4_r ignore IPv4 addresses.
51346
51347         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51348         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51349
51350         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51351
51352 2011-06-20  David S. Miller  <davem@davemloft.net>
51353
51354         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51355         inclusions.
51356         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51357
51358         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51359         (elf_irel): Use it.
51360         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51361         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51362         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51363         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51364         * sysdeps/x86_64/dl-irel.h: Likewise.
51365
51366         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51367         * elf/dl-sym.c: Likewise.
51368
51369 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51370
51371         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51372         need to dereference resplen2.
51373
51374 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51375
51376         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51377
51378 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51379
51380         * Makeconfig: Define vardbdir and inst_vardbdir.
51381         * nss/Makefile: Add rules to install db-Makefile.
51382
51383         * nss/nss_db/db-XXX.c: Cleanup.
51384
51385         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51386         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51387         GLIBC_PRIVATE.
51388         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51389         * nss/makedb.c: Implement -g option to specify that value strings
51390         are generated and should not be added to table iterated over for
51391         get*ent calls.
51392         * nss/nss_db/db-initgroups.c: New file.
51393
51394         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51395         interface.
51396
51397         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51398         (internal_getgrouplist): Adjust to name change.
51399         Update use_initgroups_entry if this is not the first call.
51400         * nss/databases.def: Add initgroups entry.
51401
51402         * nss/makedb.c (compute_tables): Check result of multiple hash table
51403         sizes to minimize maximum chain length.
51404
51405 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51406
51407         * Versions.def: Add entry for libnss_db.
51408         * shlib-versions: Likewise.
51409         * nss/Makefile: Add rules to build libnss_db.
51410         * nss/Versions: Add libnss_db information.  Organize libnss_files
51411         entries better.
51412         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51413         makedb progra.  Some minor improvements to generate smaller files.
51414         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51415         here from...
51416         * nss/makedb.c: ...here.
51417         Improve database format to be smaller and require less memory at
51418         runtime.
51419         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51420         db anymore.
51421         * nss/nss_db/db-netgrp.c: Likewise.
51422         * nss/nss_db/db-open.c: Likewise.
51423         * nss/nss_files/flies-XXX.x: Adjust comments.
51424         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51425         * nss/nss_files/files-grp.c: Likewise.
51426         * nss/nss_files/files-hosts.c: Likewise.
51427         * nss/nss_files/files-network.c: Likewise.
51428         * nss/nss_files/files-proto.c: Likewise.
51429         * nss/nss_files/files-pwd.c: Likewise.
51430         * nss/nss_files/files-rpc.c: Likewise.
51431         * nss/nss_files/files-service.c: Likewise.
51432         * nss/nss_files/files-sgrp.c: Likewise.
51433         * nss/nss_files/files-spwd.c: Likewise.
51434         * nss/nss_db/db-alias.c: Removed.
51435         * nss/nss_db/dummy-db.h: Removed.
51436
51437 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51438
51439         * nss/makedb.c: Rewritten to not use database library.
51440         * nss/Makefile: Update to build new makedb program.
51441
51442 2011-06-14  Andreas Jaeger  <aj@suse.de>
51443
51444         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51445         memset declaration.
51446
51447 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51448
51449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51450         tmpbuf.
51451
51452 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51453
51454         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51455         * elf/Makefile ($(objpfx)ld.so): Likewise.
51456
51457         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51458         Don't list ld.so twice in dependencies.
51459
51460         * posix/bug-regex31.c: Include <stdlib.h>.
51461
51462         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51463
51464         * nis/nss_compat/compat-spwd.c
51465         (getspent_next_nss_netgr): Remove unused variable.
51466         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51467
51468         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51469         nonmembers" output to use the right array.
51470
51471         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51472
51473         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51474
51475         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51476         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51477         * catgets/gencat.c (read_input_file): Likewise.
51478         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51479
51480         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51481         variable definition inside #if's controlling its use.
51482
51483         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51484
51485         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51486
51487         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51488
51489         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51490         unreachable code.
51491
51492         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51493
51494         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51495         * configure: Regenerated.
51496
51497         * Makerules: Revert last change.
51498         * elf/Makefile: Likewise.
51499
51500 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51501
51502         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51503         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51504         (reloc-link): Likewise.
51505
51506 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51507
51508         * elf/Makefile: Add rules to build pldd.
51509         * elf/pldd.c: New file.
51510         * elf/pldd-xx.c: New file.
51511
51512 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51513
51514         * version.h: Update for 2.15 development version.
51515
51516 2011-06-07  David S. Miller  <davem@davemloft.net>
51517
51518         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51519         ifuncs.
51520         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51521         elf_machine_lazy_rel): Likewise.
51522         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51523         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51524         elf_machine_lazy_rel): Likewise.
51525         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51526         dl_hwcap via passed in argument.
51527         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51528         Likewise.
51529
51530 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51531
51532         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51533
51534 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51535
51536         [BZ #12849]
51537         * manual/fdl-1.1.texi: New file, verbatim from:
51538         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51539         * manual/lgpl-2.1.texi: New file, verbatim from:
51540         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51541         * manual/Makefile (licenses): New variable, list those new file names.
51542         (texis): Use it.
51543         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51544
51545         * manual/fdl.texi: File removed.
51546         * manual/lesser.texi: File removed.
51547         * manual/libc.texinfo (Copying, Documentation License):
51548         Use new @include file names, put @appendix directive before @include.
51549
51550 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51551
51552         [BZ #12841]
51553         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51554         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51555         (mq_open): Add __NTH.
51556
51557 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51558
51559         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51560         Assume Intel Core i3/i5/i7 processor if AVX is available.
51561
51562 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51563
51564         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51565         typo.
51566
51567 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51568
51569         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51570         memory.  Use alloca_account.  Fix memory leak when retrying.
51571
51572 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51573
51574         * version.h (RELEASE): Bump for 2.14 release.
51575         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51576
51577         * config.make.in (RANLIB): Remove entry.
51578
51579 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51580
51581         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51582         (libc.pot): Work around missing support for .ksh extension in xgettext.
51583
51584         [BZ #12684]
51585         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51586         if both request failed.
51587         (send_dg): In case of server errors clear resplen or *resplen2.
51588
51589         [BZ #12454]
51590         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51591         when there are multiple maps.
51592         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51593         (_dl_fini): Remove test here.
51594
51595         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51596
51597 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51598
51599         [BZ #12350]
51600         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51601         bit from old_res_options.
51602         (gaih_inet): Likewise.
51603
51604         [BZ #11099]
51605         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51606         as signed.
51607
51608         * resolv/res_init.c (res_setoptions): Make the code more compact.
51609
51610         [BZ #11558]
51611         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51612         set RES_USEVC.
51613
51614         [BZ #11634]
51615         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51616
51617         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51618
51619         [BZ #11781]
51620         * malloc/malloc.h: Declare malloc hook variables as volatile.
51621
51622         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51623         in last patch.
51624
51625         [BZ #11799]
51626         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51627         raise in the comment.
51628         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51629         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51630         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51631
51632 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51633
51634         [BZ #12811]
51635         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51636         grow the buffers more if it already has to be sufficient.
51637         (build_wcs_upper_buffer): Likewise.
51638         * posix/regexec.c (check_matching): Likewise.
51639         (clean_state_log_if_needed): Likewise.
51640         (extend_buffers): Don't enlarge buffers beyond size of the input
51641         buffer.
51642         Patches mostly by Emil Wojak <emil@wojak.eu>.
51643         * posix/bug-regex32.c: New file.
51644         * posix/Makefile (tests): Add bug-regex32.
51645
51646         * locale/findlocale.c (_nl_find_locale): Return right away if
51647         _nl_explode_name failed.
51648         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51649
51650         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51651
51652         * debug/xtrace.sh: Unify messages.
51653         * malloc/memusage.sh: Likewise.
51654
51655         [BZ #12813]
51656         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51657         time symbol from vDSO.  Substitute with vsyscall if not available.
51658         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51659         __vdso_time.
51660
51661         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51662         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51663         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51664         Add sendmmsg and internal_sendmmsg.
51665         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51666         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51667         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51668
51669         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51670         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51671         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51672
51673 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51674
51675         [BZ #12813]
51676         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51677         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51678         available.
51679         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51680         __vdso_getcpu.
51681
51682         [BZ #12814]
51683         * iconvdata/Makefile (tests): Add bug-iconv9.
51684         * iconvdata/bug-iconv9.c: New file.
51685
51686 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51687
51688         [BZ #12814]
51689         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51690
51691 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51692
51693         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51694         (struct user_regs_struct): Change intcs field back to cs.
51695
51696 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51697
51698         * po/ja.po: Update from translation team.
51699
51700 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51701
51702         [BZ #12795]
51703         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51704         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51705
51706 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51707
51708         * stdlib/longlong.h: Update from GCC.
51709
51710 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51711
51712         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51713         parameter name.
51714         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51715         Add parameter name.
51716         (__sysconf): Pass it down.
51717
51718 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51719
51720         [BZ #12671]
51721         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51722         some situations.
51723         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51724         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51725         add in in __libc_use_alloca calls.  Adjust callers.
51726         (glob): Use malloc in some situations.
51727
51728         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51729         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51730         pltexit.
51731
51732 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51733
51734         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51735         and CLOCK_BOOTTIME_ALARM.
51736
51737         [BZ #12782]
51738         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51739         is returned.
51740
51741         * string/_strerror.c (__strerror_r): Print negative errors as signed
51742         numbers.
51743
51744         [BZ #12777]
51745         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51746         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51747         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51748
51749         * configure.in: Fix typo in redirection and correct removal of test
51750         files in two cases.
51751
51752         [BZ #12788]
51753         * locale/setlocale.c (new_composite_name): Fix test to check for
51754         identical name of all categories.
51755
51756         [BZ #12792]
51757         * libio/filedoalloc.c (local_isatty): New function.
51758         (_IO_file_doallocate): Use local_isatty.
51759         * stdio-common/perror.c (perror): In case a new stream is used
51760         forward the stream error.
51761         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51762         error flag.
51763
51764 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
51765
51766         [BZ #11869]
51767         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51768         alloca.
51769         * include/alloca.h (extend_alloca_account): Define.
51770
51771         [BZ #11857]
51772         * posix/regex.h: Fix comments with documentation of user-accessible
51773         fields after compilation and describe correct free'ing of pattern
51774         after re_compile_pattern.
51775         Patch by Reuben Thomas <rrt@sc3d.org>.
51776
51777 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
51778
51779         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51780         and -mno-altivec to prevent the compiler from using Altivec and/or
51781         VSX instructions when the corresponding registers are not available.
51782
51783 2011-05-19  Andreas Schwab  <schwab@redhat.com>
51784
51785         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51786
51787 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
51788
51789         * libio/freopen.c (freopen): Use __dup2, not dup2.
51790         * libio/freopen64.c (freopen64): Likewise.
51791
51792 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51793
51794         [BZ #12775]
51795         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51796         * math/Makefile (tests): Add test-powl.
51797         (CFLAGS-test-powl.c): Define.
51798         * math/test-powl.c: New file.
51799
51800 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51801
51802         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51803
51804 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
51805
51806         [BZ #11837]
51807         * iconvdata/gb18030.c: Update to GB18020-2005.
51808
51809 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
51810
51811         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51812         RE_SYNTAX_POSIX_AWK): Update to match recent development.
51813         Patch by Aharon Robbins <arnold@skeeve.com>.
51814
51815         [BZ #11892]
51816         * stdlib/putenv.c (putenv): Don't always create copy of the variable
51817         on the stack.
51818
51819         [BZ #11895]
51820         * misc/pselect.c (__pselect): Handle timeout value errors hidden
51821         through underflows.
51822
51823         [BZ #12766]
51824         * misc/error.c (error_at_line): Ensure file_name and old_file_name
51825         point to strings before performing equality test for error_one_per_line
51826         mode.
51827
51828         [BZ #11697]
51829         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51830
51831         [BZ #11820]
51832         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51833         (struct user_fpregs_struct): Avoid __uint*_t types.
51834
51835         [BZ #6420]
51836         * malloc/mtrace.c (tr_where): Add additional parameter to point to
51837         symbol info.  Use it instead of calling _dl_addr locally.
51838         (lock_and_info): New function.
51839         (tr_freehook): Call lock_and_info and pass symbol info as additional
51840         parameter to tr_where.
51841         (tr_mallochook): Likewise.
51842         (tr_reallochook): Likewise.
51843         (tr_memalignhook): Likewise.
51844
51845         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
51846         used and couldn't be at all thread-safe.
51847
51848 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
51849
51850         * libio/freopen.c (freopen): Don't close old file descriptor
51851         before the new one is opened.  Instead dup the new file descriptor
51852         to the old one after the new stream is created.
51853         * libio/freopen64.c (freopen64): Likewise.
51854         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51855         * libio/fileops.c (_IO_new_file_close_it): Handle new
51856         _IO_FLAGS2_NOCLOSE flag.
51857         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51858         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51859         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51860         _IO_FLAGS2_NOCLOSE flag.
51861         * include/unistd.h: Add hidden_proto for dup3.
51862         Define __have_dup3.
51863         * io/dup3.c: Define hidden symbol.
51864         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51865
51866         [BZ #7101]
51867         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51868         when an incomplete long option is used.
51869         * posix/tst-getopt_long1.c: New file.
51870         * posix/Makefile (tests): Add tst-getopt_long1.
51871
51872         [BZ #10138]
51873         * scripts/config.guess: Update from autoconf-2.68.
51874         * scripts/config.sub: Likewise.
51875
51876         [BZ #10157]
51877         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51878         tests into ...
51879         (has_cpuclock): ...this.  New function.
51880         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51881         macro here based on has_cpuclock code.
51882
51883         [BZ #10149]
51884         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51885         First byte (not low byte) is now always NUL.
51886         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51887
51888         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51889         Use non-cancelable interfaces.
51890
51891         [BZ #9809]
51892         * locale/iso-639.def: Add entry for Sorani.
51893
51894         [BZ #11901]
51895         * include/stdlib.h: Move include protection to the right place.
51896         Define abort_msg_s.  Declare __abort_msg with it.
51897         * stdlib/abort.c (__abort_msg): Adjust type.
51898         * assert/assert.c (__assert_fail_base): New function.  Majority
51899         of code from __assert_fail.  Allocate memory for __abort_msg with
51900         mmap.
51901         (__assert_fail): Now call __assert_fail_base.
51902         * assert/assert-perr.c: Remove bulk of implementation.  Use
51903         __assert_fail_base.
51904         * include/assert.hL Declare __assert_fail_base.
51905         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51906         mmap.
51907         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51908
51909 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
51910
51911         [BZ #11952]
51912         [BZ #12453]
51913         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51914         until all modules are registered in the DTV.
51915         * elf/Makefile: Add rules to build and run tst-tls19.
51916         * elf/tst-tls19.c: New file.
51917         * elf/tst-tls19mod1.c: New file.
51918         * elf/tst-tls19mod2.c: New file.
51919         * elf/tst-tls19mod3.c: New file.
51920         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51921
51922         [BZ #12083]
51923         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51924         correctly.
51925
51926         [BZ #12601]
51927         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51928         two-byte sequence errors.
51929         * iconvdata/Makefile (tests): Add bug-iconv8.
51930         * iconvdata/bug-iconv8.c: New file.
51931
51932         [BZ #12626]
51933         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51934         buf2 definition.
51935
51936         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51937
51938         [BZ #12432]
51939         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51940         (dummy_getcfa): New function.
51941         (init): Get _Unwind_GetCFA address, use dummy if not found.
51942         (backtrace_helper): In recursion check, also check whether CFA changes.
51943         (__backtrace): Completely initialize arg.
51944
51945         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51946         storing incomplete byte sequence in state object.  Avoid testing for
51947         guaranteed too small input if we know there is enough data available.
51948
51949 2011-05-11  Andreas Schwab  <schwab@redhat.com>
51950
51951         * Makeconfig (+link-pie): Indent.
51952         * Rules (binaries-pie): Define if $(have-fpie) and
51953         $(build-shared).
51954         (binaries-shared): Also filter out $(binaries-pie).
51955         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51956         * nscd/Makefile (others-pie): Add nscd.
51957         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51958         ($(objpfx)nscd): Remove command override.
51959         * login/Makefile (others-pie): Add pt_chown.
51960         ($(objpfx)pt_chown): Remove command override.
51961         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51962         remove command overrides.
51963
51964 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
51965
51966         * libio/tst_putwc.c: Fix error messages.
51967
51968         [BZ #12724]
51969         * libio/fileops.c (_IO_new_file_close_it): Always flush when
51970         currently writing and seek to current position when not.
51971         * libio/Makefile (tests): Add bug-fclose1.
51972         * libio/bug-fclose1.c: New file.
51973
51974 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
51975
51976         [BZ #12511]
51977         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51978         don't set DF_1_NODELETE here.
51979         (do_lookup_x): When entering new entry test for copy relocation
51980         and if necessary set DF_1_NODELETE flag.
51981         * elf/tst-unique4.cc: New file.
51982         * elf/tst-unique4.h: New file.
51983         * elf/tst-unique4lib.cc: New file.
51984         * elf/Makefile: Add rules to build and run tst-unique4.
51985         Patch by Piotr Bury <pbury@goahead.com>.
51986
51987 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
51988
51989         [BZ #12052]
51990         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51991
51992         [BZ #12625]
51993         * misc/mntent_r.c (addmntent): Flush the stream after the output
51994
51995         [BZ #12393]
51996         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51997         (is_trusted_path_normalize): Skip initial colon.  Append slash
51998         to empty buffer.  Duplicate is_trusted_path code but allow
51999         constructed patch to be prefix.
52000         (is_dst): Allow $ORIGIN followed by /.
52001         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52002         Correct testing of result of is_trusted_path_normalize
52003         (decompose_rpath): Fix warning.
52004
52005 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52006
52007         [BZ #11257]
52008         * grp/initgroups.c (internal_getgrouplist): When we found the service
52009         list through the initgroups entry in nsswitch.conf do not always
52010         continue on a successful lookup.  Don't always use the
52011         __nss_group_database value if it is set.
52012         * nss/nsswitch.conf (initgroups): Change action for successful db
52013         lookup to continue for compatibility.
52014
52015 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52016
52017         [BZ #11532]
52018         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52019         and CP774 modules.
52020         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52021         and CP774 modules.
52022         * iconvdata/tst-tables.sh: Likewise.
52023         * iconvdata/cp770.c: New file.
52024         * iconvdata/cp771.c: New file.
52025         * iconvdata/cp772.c: New file.
52026         * iconvdata/cp773.c: New file.
52027         * iconvdata/cp774.c: New file.
52028         * iconvdata/testdata/CP770: New file.
52029         * iconvdata/testdata/CP770..UTF8: New file.
52030         * iconvdata/testdata/CP771: New file.
52031         * iconvdata/testdata/CP771..UTF8: New file.
52032         * iconvdata/testdata/CP772: New file.
52033         * iconvdata/testdata/CP772..UTF8: New file.
52034         * iconvdata/testdata/CP773: New file.
52035         * iconvdata/testdata/CP773..UTF8: New file.
52036         * iconvdata/testdata/CP774: New file.
52037         * iconvdata/testdata/CP774..UTF8: New file.
52038
52039         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52040         END CHARMAP line.
52041         * iconvdata/gen-8bit-gap.sh: Likewise.
52042         * iconvdata/gen-8bit.sh: Likewise.
52043
52044         * locale/iso-639.def: Add ary entry.
52045
52046         [BZ #11258]
52047         * locale/C-translit.h.in: Add U20A1 transliteration.
52048
52049         [BZ #12178]
52050         * locale/iso-639.def: Add wae entry.
52051         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52052
52053         [BZ #12545]
52054         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52055         for n.
52056
52057         [BZ #12711]
52058         * locale/C-translit.h.in: Add entry for U20B9.
52059         Patch by pravin.d.s@gmail.com.
52060
52061 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52062
52063         [BZ #12713]
52064         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52065         ENAMETOOLONG use generic getcwd.
52066         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52067         in rtld.  Use *stat64.
52068         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52069         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52070         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52071         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52072         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52073         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52074         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52075         __fstatat64 macros.
52076         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52077         * dirent/rewinddir.c: Add libc_hidden_def.
52078         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52079         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52080
52081         * include/dirent.h (__alloc_dir): Add flags parameter.
52082         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52083         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52084         __alloc_dir.
52085         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52086         from fdopendir if O_CLOEXEC is already set.
52087
52088 2011-03-15  Alan Modra  <amodra@gmail.com>
52089
52090         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52091         l_tls_firstbyte_offset non-zero.  Save padding offset in
52092         l_tls_firstbyte_offset for later use.
52093         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52094         freeing static tls block.
52095
52096 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52097
52098         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52099         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52100         being defined by the kernel headers.
52101
52102 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52103
52104         [BZ #12734]
52105         * resolv/resolv.h: Define RES_NOTLDQUERY.
52106         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52107         no-tld-query and set RES_NOTLDQUERY.
52108         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52109         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52110         modern BIND to search name as TLD unless forbidden.
52111
52112 2011-05-07  Petr Baudis  <pasky@suse.cz>
52113             Ulrich Drepper  <drepper@gmail.com>
52114
52115         [BZ #12393]
52116         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52117         (is_trusted_path): ...to here.
52118         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52119         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52120         using is_trusted_path_normalize() in setuid scripts.
52121
52122 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52123
52124         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52125         __BEGIN/__END_DECLS.
52126
52127 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52128
52129         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52130         NSS_STATUS_NOTFOUND if no record was found.
52131
52132 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52133
52134         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52135         (headers-not-in-tirpc): Remove rpc/netdb.h
52136         * resolv/netdb.h: Revert last change.
52137
52138 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52139
52140         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52141         circular dependency between libgcc.a and libc.a.
52142
52143 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52144
52145         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52146         * nis/Makefile: Don't install rpcsvc/*.
52147         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52148         instead of <rpc/types.h>.
52149         (MAXHOSTNAMELEN): Define.
52150
52151 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52152
52153         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52154
52155 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52156
52157         [BZ #12714]
52158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52159         gethostbyname4_r when IPv6 results are possible.
52160
52161 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52162
52163         [BZ #12723]
52164         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52165         _PC_PIPE_BUF handling.
52166
52167 2011-04-30  Bruno Haible  <bruno@clisp.org>
52168
52169         [BZ #12717]
52170         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52171         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52172         to 'int'.
52173         * inet/getnameinfo.c (getnameinfo): Likewise.
52174
52175 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52176
52177         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52178         to groups setting in database lookup.
52179         * nss/nsswitch.conf: Add initgroups entry.
52180
52181 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52182
52183         [BZ #12685]
52184         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52185         mode string.
52186         Patch by Eric Blake <eblake@redhat.com>.
52187
52188 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52189
52190         * sunrpc/Makefile (need-export-routines): Add svc_run.
52191         (routines): Remove svc_run.
52192         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52193         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52194         * sunrpc/svc_run.c (svc_run): Likewise.
52195         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52196
52197 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52198
52199         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52200         problem in reallocation in last patch.
52201
52202 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52203
52204         * sunrpc/Makefile: Move inclusion of Rules.
52205
52206 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52207
52208         * nss/nss_files/files-initgroups.c: New file.
52209         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52210         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52211         _nss_files_initgroups_dyn.
52212
52213 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52214
52215         * elf/elf.h (R_ARM_IRELATIVE): Define.
52216
52217 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52218
52219         * po/ru.po: Update from translation team.
52220
52221 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52222
52223         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52224         dependencies.
52225
52226 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52227
52228         [BZ #12653]
52229         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52230         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52231         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52232         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52233         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52234
52235 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52236
52237         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52238         differing bytes.
52239         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52240         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52241         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52242
52243 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52244
52245         [BZ #12420]
52246         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52247         storing it.
52248         * stdlib/bug-getcontext.c: New file.
52249         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52250
52251 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52252
52253         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52254         instructions into .machine "z9-109".
52255         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52256         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52257
52258 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52259
52260         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52261         between environment variables and auxiliary vector.
52262
52263 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52264
52265         * Makefile: Add rules to build linkobj/libc.so.
52266         * include/libc-symbols.h: Define libc_hidden_nolink.
52267         * include/rpc/auth.h: Mark functions which are to be hidden.
52268         * include/rpc/auth_des.h: Likewise.
52269         * include/rpc/auth_unix.h: Likewise.
52270         * include/rpc/clnt.h: Likewise.
52271         * include/rpc/des_crypt.h: Likewise.
52272         * include/rpc/key_prot.h: Likewise.
52273         * include/rpc/pmap_clnt.h: Likewise.
52274         * include/rpc/pmap_prot.h: Likewise.
52275         * include/rpc/pmap_rmt.h: Likewise.
52276         * include/rpc/rpc_msg.h: Likewise.
52277         * include/rpc/svc.h: Likewise.
52278         * include/rpc/svc_auth.h: Likewise.
52279         * include/rpc/xdr.h: Likewise.
52280         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52281         * nss/Makefile: Likewise.
52282         * sunrpc/Makefile: Don't install headers.  Build library with normal
52283         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52284         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52285         for the compat linking library.  Remove use of INTDEF/INTUSE.
52286         * sunrpc/auth_none.c: Likewise.
52287         * sunrpc/auth_unix.c: Likewise.
52288         * sunrpc/authdes_prot.c: Likewise.
52289         * sunrpc/authuxprot.c: Likewise.
52290         * sunrpc/clnt_gen.c: Likewise.
52291         * sunrpc/clnt_perr.c: Likewise.
52292         * sunrpc/clnt_raw.c: Likewise.
52293         * sunrpc/clnt_simp.c: Likewise.
52294         * sunrpc/clnt_tcp.c: Likewise.
52295         * sunrpc/clnt_udp.c: Likewise.
52296         * sunrpc/clnt_unix.c: Likewise.
52297         * sunrpc/des_crypt.c: Likewise.
52298         * sunrpc/des_soft.c: Likewise.
52299         * sunrpc/get_myaddr.c: Likewise.
52300         * sunrpc/key_call.c: Likewise.
52301         * sunrpc/key_prot.c: Likewise.
52302         * sunrpc/netname.c: Likewise.
52303         * sunrpc/pm_getmaps.c: Likewise.
52304         * sunrpc/pm_getport.c: Likewise.
52305         * sunrpc/pmap_clnt.c: Likewise.
52306         * sunrpc/pmap_prot.c: Likewise.
52307         * sunrpc/pmap_prot2.c: Likewise.
52308         * sunrpc/pmap_rmt.c: Likewise.
52309         * sunrpc/publickey.c: Likewise.
52310         * sunrpc/rpc_cmsg.c: Likewise.
52311         * sunrpc/rpc_common.c: Likewise.
52312         * sunrpc/rpc_dtable.c: Likewise.
52313         * sunrpc/rpc_prot.c: Likewise.
52314         * sunrpc/rpc_thread.c: Likewise.
52315         * sunrpc/rtime.c: Likewise.
52316         * sunrpc/svc.c: Likewise.
52317         * sunrpc/svc_auth.c: Likewise.
52318         * sunrpc/svc_authux.c: Likewise.
52319         * sunrpc/svc_raw.c: Likewise.
52320         * sunrpc/svc_run.c: Likewise.
52321         * sunrpc/svc_simple.c: Likewise.
52322         * sunrpc/svc_tcp.c: Likewise.
52323         * sunrpc/svc_udp.c: Likewise.
52324         * sunrpc/svc_unix.c: Likewise.
52325         * sunrpc/svcauth_des.c: Likewise.
52326         * sunrpc/xcrypt.c: Likewise.
52327         * sunrpc/xdr.c: Likewise.
52328         * sunrpc/xdr_array.c: Likewise.
52329         * sunrpc/xdr_float.c: Likewise.
52330         * sunrpc/xdr_intXX_t.c: Likewise.
52331         * sunrpc/xdr_mem.c: Likewise.
52332         * sunrpc/xdr_rec.c: Likewise.
52333         * sunrpc/xdr_ref.c: Likewise.
52334         * sunrpc/xdr_sizeof.c: Likewise.
52335         * sunrpc/xdr_stdio.c: Likewise.
52336
52337 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52338
52339         [BZ #12650]
52340         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52341         * sysdeps/ia64/dl-tls.h: Likewise.
52342         * sysdeps/powerpc/dl-tls.h: Likewise.
52343         * sysdeps/s390/dl-tls.h: Likewise.
52344         * sysdeps/sh/dl-tls.h: Likewise.
52345         * sysdeps/sparc/dl-tls.h: Likewise.
52346         * sysdeps/x86_64/dl-tls.h: Likewise.
52347         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52348
52349 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52350
52351         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52352         rpath element also skip the following colon.
52353         (expand_dynamic_string_token): Add is_path parameter and pass
52354         down to DL_DST_REQUIRED and _dl_dst_substitute.
52355         (decompose_rpath): Call expand_dynamic_string_token with
52356         non-zero is_path.  Ignore empty rpaths.
52357         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52358         with zero is_path.
52359
52360 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52361
52362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52363         Make cancelable.
52364
52365 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52366
52367         [BZ #12655]
52368         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52369         Patch by Filipe David Manana <fdmanana@apache.org>.
52370
52371 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52372
52373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52374         Maintain aligned stack.
52375         (CHECK_RSP): Remove unused macro.
52376
52377 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52378
52379         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52380         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52381
52382 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52383
52384         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52385
52386         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52387
52388 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52389
52390         [BZ #12518]
52391         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52392         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52393         * sysdeps/x86_64/memmove.c: New file.
52394         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52395         (memcpy): Renamed to ...
52396         (__new_memcpy): This.
52397         (memcpy): Provide GLIBC_2_14 memcpy.
52398         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52399         (memcpy): Provide GLIBC_2_2_5 memcpy.
52400
52401 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52402
52403         [BZ #12631]
52404         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52405
52406 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52407
52408         * misc/syncfs.c: New file.
52409         * misc/Makefile (routines): Add syncfs.
52410         * posix/unistd.h: Declare syncfs.
52411         * sysdeps/unix/syscalls.list: Add syncfs.
52412
52413 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52414
52415         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52416         open_by_handle_at.
52417         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52418         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52420         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52421         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52422         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52423         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52424
52425 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52426
52427         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52428         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52429         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52430         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52431         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52432         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52433         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52434
52435         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52436         sync_file_range.c with -fexceptions.
52437         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52438         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52439         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52440         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52441         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52442         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52443         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52444         sync_file_range as cancellation point
52445         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52446         now a wrapper around __call_sync_file_range with cancellation handling.
52447         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52448         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52449         function name to __call_sync_file_range.
52450         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52451         Add call_sync_file_range.
52452
52453 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52454
52455         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52456         bits/timex.h.
52457
52458 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52459
52460         * iconv/iconv.h: Fix typo in comment.
52461         * io/fcntl.h: Likewise.
52462         * libio/stdio.h: Likewise.
52463         * posix/spawn.h: Likewise.
52464         * posix/unistd.h: Likewise.
52465         * stdlib/stdlib.h: Likewise.
52466         * time/time.h: Likewise.
52467         * wcsmbs/wchar.h: Likewise.
52468
52469         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52470         open_by_handle): Add.
52471         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52472         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52473         Augment a few comments.
52474         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52475         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52476         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52477         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52478         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52479         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52480         open_by_handle.
52481
52482         * io/fcntl.h (AT_EMPTY_PATH): Define.
52483
52484 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52485
52486         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52487         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52488         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52489         to...
52490         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52491         * Versions.def: Add GLIBC_2.14.
52492         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52493         Export.
52494
52495 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52496
52497         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52498         round counter.
52499         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52500
52501 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52502
52503         [BZ #12597]
52504         * string/test-strncmp.c (do_page_test): New function.
52505         (check2): Likewise.
52506         (test_main): Call check2.
52507         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52508
52509 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52510
52511         [BZ #12587]
52512         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52513         Handle cache information in CPU leaf 4.
52514         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52515
52516 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52517
52518         [BZ #12583]
52519         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52520         character representation.
52521         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52522
52523 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52524
52525         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52526         END(__isnan) to END(__isnanf) to match function entry point/label
52527         EALIGN(__isnanf,...).
52528
52529 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52530
52531         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52532
52533 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52534
52535         [BZ #12510]
52536         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52537         copy from the symbol referenced in the relocation to initialize the
52538         used variable.
52539         Patch by Piotr Bury <pbury@goahead.com>.
52540         * elf/Makefile: Add rules to build and tst-unique3.
52541         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52542         * elf/tst-unique3.cc: New file.
52543         * elf/tst-unique3.h: New file.
52544         * elf/tst-unique3lib.cc: New file.
52545         * elf/tst-unique3lib2.cc: New file.
52546
52547         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52548
52549 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52550
52551         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52552         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52553         to _start.
52554
52555 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52556
52557         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52558         to-be-loaded object along a path to loader is ld.so.
52559
52560 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52561             Ulrich Drepper  <drepper@gmail.com>
52562
52563         * sysdeps/x86_64/memset.S: After aligning destination, code
52564         branches to different locations depending on the value of
52565         misalignment, when multiarch is enabled. Fix this.
52566
52567 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52568
52569         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52570         Set _x86_64_preferred_memory_instruction for AMD processsors.
52571         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52572         Set bit_Prefer_SSE_for_memop for AMD processors.
52573
52574 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52575
52576         * libio/fmemopen.c (fmemopen): Optimize a bit.
52577
52578 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52579
52580         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52581
52582 2011-03-03  Roland McGrath  <roland@redhat.com>
52583
52584         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52585
52586 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52587
52588         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52589         __bzero_ultra1 instead of __memset_ultra1.
52590
52591 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52592             Ulrich Drepper  <drepper@gmail.com>
52593
52594         [BZ #12509]
52595         * include/link.h (struct link_map): Add l_orig_initfini.
52596         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52597         returning unsuccessfully.
52598         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52599         close of a file loaded at startup, restore the original l_initfini
52600         list.
52601         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52602         list, store the pointer.
52603         * elf/Makefile ($(objpfx)noload-mem): New rule.
52604         (noload-ENV): Define.
52605         (tests): Add $(objpfx)noload-mem.
52606         * elf/noload.c: Include <memcheck.h>.
52607         (main): Call mtrace.  Close all opened handles.
52608
52609 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52610
52611         [BZ #12454]
52612         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52613         dependencies are missing.
52614
52615 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52616
52617         Fix __if_freereq crash: Unlike the generic version which uses free,
52618         Hurd needs munmap.
52619         * sysdeps/mach/hurd/ifreq.h: New file.
52620
52621 2011-01-27  Petr Baudis  <pasky@suse.cz>
52622             Ulrich Drepper  <drepper@gmail.com>
52623
52624         [BZ 12445]#
52625         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52626         to extend_alloca().
52627         * stdio-common/bug23.c: New file.
52628         * stdio-common/Makefile (tests): Add bug23.
52629
52630 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52631             Ulrich Drepper  <drepper@gmail.com>
52632
52633         [BZ #12489]
52634         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52635         before performing relro protection.  At old place add assertion
52636         to make sure nothing changed.
52637
52638 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52639             Glauber de Oliveira Costa  <glommer@gmail.com>
52640
52641         * elf/elf.h: Add new ARM TLS relocs.
52642
52643 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52644
52645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52646         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52647         cast from r3.
52648         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52649         'tests' variable.
52650         * sysdeps/wordsize-64/tst-writev.c: New file.
52651
52652 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52653
52654         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52655         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52656         insns in _dl_start to prevent a TOC reference before relocs are
52657         resolved.
52658
52659 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52660
52661         [BZ #12469]
52662         * Makeconfig: Remove RANLIB definition.
52663         * Makerules: Don't use RANLIB.
52664         * aclocal.m4: Remove ranlib test.
52665         * configure.in: No need to check for ranlib.
52666         * elf/rtld-Rules: Don't use RANLIB.
52667
52668 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52669
52670         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52671         protection macro.
52672         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52673         inclusion protection macro.
52674
52675         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52676         SIGRTMIN and SIGRTMAX and print information in that case only when
52677         SIGRTMIN is defined.
52678
52679 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52680
52681         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52682         arginfo fn returning -1.
52683
52684         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52685         and thousands string is zero terminated.
52686
52687 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52688
52689         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52690         sysdeps/unix/sysv/linux/bits/socket.h.
52691
52692 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52693
52694         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52695         (__CPU_COUNT): Remove old macros.
52696         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52697         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52698         (__CPU_ALLOC, __CPU_FREE): Add macros.
52699         (__sched_cpualloc, __sched_cpufree): Add declarations.
52700
52701 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52702
52703         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52704         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52705         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52706         (readdhstai): Return value of addhstaiX call.
52707         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52708         (addgrbyX): Return value returned by cache_addgr.
52709         (readdgrbyname): Return value returned by addgrbyX.
52710         (readdgrbygid): Likewise.
52711         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52712         (addpwbyX): Return value returned by cache_addpw.
52713         (readdpwbyname): Return value returned by addhstbyX.
52714         (readdpwbyuid): Likewise.
52715         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52716         (addservbyX): Return value returned by cache_addserv.
52717         (readdservbyname): Return value returned by addservbyX:
52718         (readdservbyport): Likewise.
52719         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52720         (addhstbyX): Return value returned by cache_addhst.
52721         (readdhstbyname): Return value returned by addhstbyX.
52722         (readdhstbyaddr): Likewise.
52723         (readdhstbynamev6): Likewise.
52724         (readdhstbyaddrv6): Likewise.
52725         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52726         (readdinitgroups): Return value returned by addinitgroupsX.
52727         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52728         (prune_cache): Keep track of timeout value of re-added entries.
52729         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52730         * nscd/nscd.h: Adjust prototypes of readd* functions.
52731
52732 2011-02-04  Roland McGrath  <roland@redhat.com>
52733
52734         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52735         (nis_stats): Likewise.
52736         * nis/nis_modify.c (nis_modify): Likewise.
52737         * nis/nis_remove.c (nis_remove): Likewise.
52738         * nis/nis_add.c (nis_add): Likewise.
52739
52740         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52741
52742         * posix/fnmatch_loop.c: Add some consts.
52743
52744         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52745
52746 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
52747
52748         [BZ #12460]
52749         * config.make.in (config-cflags-novzeroupper): Define.
52750         * configure.in: Substitute libc_cv_cc_novzeroupper.
52751         * elf/Makefile (AVX-CFLAGS): Define.
52752         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52753         (CFLAGS-tst-auditmod4a.c): Likewise.
52754         (CFLAGS-tst-auditmod4b.c): Likewise.
52755         (CFLAGS-tst-auditmod6b.c): Likewise.
52756         (CFLAGS-tst-auditmod6c.c): Likewise.
52757         (CFLAGS-tst-auditmod7b.c): Likewise.
52758         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52759
52760 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
52761
52762         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52763         function to the callback.
52764         Patch partly by Jiri Olsa <jolsa@redhat.com>.
52765
52766 2011-02-02  Andreas Schwab  <schwab@redhat.com>
52767
52768         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52769         of errno.
52770
52771 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
52772
52773         [BZ #11724]
52774         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52775         of constructors.
52776         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52777         of destructors.
52778         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52779
52780         [BZ #11724]
52781         * elf/Makefile: Add rules to build and run new test.
52782         * elf/tst-initorder.c: New file.
52783         * elf/tst-initorder.exp: New file.
52784         * elf/tst-initordera1.c: New file.
52785         * elf/tst-initordera2.c: New file.
52786         * elf/tst-initordera3.c: New file.
52787         * elf/tst-initordera4.c: New file.
52788         * elf/tst-initorderb1.c: New file.
52789         * elf/tst-initorderb2.c: New file.
52790         * elf/tst-order-a1.c: New file.
52791         * elf/tst-order-a2.c: New file.
52792         * elf/tst-order-a3.c: New file.
52793         * elf/tst-order-a4.c: New file.
52794         * elf/tst-order-b1.c: New file.
52795         * elf/tst-order-b2.c: New file.
52796         * elf/tst-order-main.c: New file.
52797         New test case by George Gensure <werkt0@gmail.com>.
52798
52799 2010-10-01  Andreas Schwab  <schwab@redhat.com>
52800
52801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52802         decoding ACE if AI_CANONIDN.
52803
52804 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
52805
52806         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52807
52808 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
52809
52810         * version.h (RELEASE): Bump for 2.13 release.
52811         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52812
52813         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52814
52815         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52816         MADV_NOHUGEPAGE.
52817         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52818         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52819         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52820         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52821         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52822         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52823
52824         * posix/getconf.c: Update copyright year.
52825         * catgets/gencat.c: Likewise.
52826         * csu/version.c: Likewise.
52827         * debug/catchsegv.sh: Likewise.
52828         * debug/xtrace.sh: Likewise.
52829         * elf/ldconfig.c: Likewise.
52830         * elf/ldd.bash.in: Likewise.
52831         * elf/sprof.c (print_version): Likewise.
52832         * iconv/iconv_prog.c: Likewise.
52833         * iconv/iconvconfig.c: Likewise.
52834         * locale/programs/locale.c: Likewise.
52835         * locale/programs/localedef.c: Likewise.
52836         * malloc/memusage.sh: Likewise.
52837         * malloc/mtrace.pl: Likewise.
52838         * nscd/nscd.c (print_version): Likewise.
52839         * nss/getent.c: Likewise.
52840
52841         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52842         PF_CAIF, and PF_ALG.
52843         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52844
52845 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
52846
52847         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52848         (modules-names): Use them.
52849         (ifunc-test-modules, ifunc-pie-tests): Define.
52850         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52851         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52852         (test-extras): Likewise.
52853         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52854         $(compile-command.c).
52855         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52856         (all-built-dso): Define.
52857         (check-textrel.out, check-execstack.out): Depend on it.
52858
52859         * configure.in: Don't override --enable-multi-arch.
52860
52861 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
52862
52863         [BZ #6812]
52864         * nscd/hstcache.c (tryagain): Define.
52865         (cache_addhst): Return tryagain not notfound for temporary errors.
52866         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52867         failed.
52868
52869 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
52870
52871         [BZ #10563]
52872         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52873         to make the syscall.
52874         * sysdeps/unix/sysv/linux/setgroups.c: New file.
52875
52876         [BZ #12378]
52877         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52878         and fall back to matching as normal character if the string ends before
52879         the matching ']' is found.  This is what POSIX requires.
52880         * posix/testfnm.c: Adjust test result.
52881         * posix/globtest.sh: Adjust test result.  Add new test.
52882         * posix/tst-fnmatch.input: Likewise.
52883         * posix/tst-fnmatch2.c: Add new test.
52884
52885 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
52886
52887         * elf/Makefile (check-execstack): Revert last change.  Depend on
52888         check-execstack.h.
52889         (check-execstack.h): New target.
52890         (generated): Add check-execstack.h.
52891         * elf/check-execstack.c: Include "check-execstack.h".
52892         (main): Revert last change.
52893         (handle_file): Return zero if GNU_STACK is absent and
52894         DEFAULT_STACK_PERMS doesn't include PF_X.
52895
52896 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
52897
52898         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52899         in child fails because the descriptor is already closed.
52900         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52901         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52902         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52903
52904         [BZ #12397]
52905         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52906         syscall.
52907
52908         [BZ #10484]
52909         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52910         temporary buffer used to handle multi lookups locally.
52911         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52912
52913 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52914
52915         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52916         loader is ld.so.
52917
52918 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
52919
52920         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52921         alignment for SSE2.
52922
52923 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52924
52925         [BZ #12394]
52926         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52927         characters.  When rounding increased number of integer digits recompute
52928         number of groups.
52929         * stdio-common/tst-grouping.c: New file.
52930         * stdio-common/Makefile: Add rules to build and run tst-grouping.
52931
52932 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
52933
52934         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52935         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
52936
52937         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52938         void.
52939         * bits/select.h: Likewise.
52940
52941 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
52942
52943         * po/ja.po: Update from translation team.
52944
52945 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
52946
52947         [BZ #11155]
52948         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52949         implementation just like for lxstat, fxstatat, et al.
52950
52951 2010-12-27  Jim Meyering  <meyering@redhat.com>
52952
52953         [BZ #12348]
52954         * posix/regexec.c (build_trtable): Return failure indication upon
52955         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
52956
52957 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
52958
52959         [BZ #12201]
52960         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52961         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52962         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52963         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52964
52965         [BZ #12207]
52966         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52967
52968         [BZ #12204]
52969         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52970         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52971
52972 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
52973
52974         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52975         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52976         script has SORT_BY_INIT_PRIORITY.
52977         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52978         NO_CTORS_DTORS_SECTIONS is defined.
52979         * elf/soinit.c: Likewise.
52980         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52981         NO_CTORS_DTORS_SECTIONS is defined.
52982         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52983         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52984         * sysdeps/sh/init-first.c: Likewise.
52985         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52986
52987 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
52988
52989         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52990         always use the slow path.
52991
52992 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
52993
52994         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52995         similar rule which adds the sysdep directories to the header search in
52996         order to pick up the correct platform stackinfo.h.
52997         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52998         perform test if it is, otherwise return successfully without testing.
52999         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53000         DEFAULT_STACK_PERMS define in stackinfo.h.
53001         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53002         defined in stackinfo.h.
53003         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53004         DEFAULT_STACK_PERMS defined in stackinfo.h.
53005         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53006         * sysdeps/ia64/stackinfo.h: Likewise.
53007         * sysdeps/s390/stackinfo.h: Likewise.
53008         * sysdeps/sh/stackinfo.h: Likewise.
53009         * sysdeps/sparc/stackinfo.h: Likewise.
53010         * sysdeps/x86_64/stackinfo.h: Likewise.
53011         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53012         PF_X for powerpc64.  Retain PF_X for powerpc32.
53013
53014 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53015
53016         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53017         accurately.
53018         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53019         GETDENTS_64BIT_ALIGNED.
53020
53021 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53022
53023         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53024
53025 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53026
53027         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53028         _GNU_SOURCE.
53029
53030         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53031         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53032         Remove __restrict.
53033         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53034         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53035
53036 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53037
53038         [BZ #11655]
53039         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53040         are initialized.
53041
53042 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53043
53044         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53045
53046 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53047
53048         * po/it.po: Update from translation team.
53049
53050 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53051
53052         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53053         unused codes.
53054
53055 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53056
53057         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53058
53059 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53060
53061         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53062         specially.
53063         (gaih_getanswer_slice): Likewise.
53064
53065 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53066
53067         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53068
53069 2010-05-31  Petr Baudis  <pasky@suse.cz>
53070
53071         [BZ #11149]
53072         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53073         silently even in the chroot mode.
53074
53075 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53076
53077         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53078         last patch a bit.  Pretty printing
53079
53080 2010-05-31  Petr Baudis <pasky@suse.cz>
53081
53082         [BZ #10085]
53083         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53084         initialization of skip_initgroups_dyn.
53085
53086 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53087
53088         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53089         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53090
53091 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53092
53093         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53094
53095 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53096
53097         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53098         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53099         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53100         ($(objpfx)tst-fnmatch-mem): New rule.
53101         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53102         * posix/tst-fnmatch.c (main): Call mtrace.
53103
53104 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53105
53106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53107         Support Intel processor model 6 and model 0x2c.
53108
53109 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53110
53111         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53112           signed comparison.
53113
53114 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53115
53116         [BZ #12205]
53117         * string/test-strncasecmp.c (check_result): New function.
53118         (do_one_test): Use it.
53119         (check1): New function.
53120         (test_main): Use it.
53121         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53122         Support strcasecmp and strncasecmp.
53123
53124 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53125
53126         [BZ #12194]
53127         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53128         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53129
53130 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53131
53132         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53133         IFUNC support.
53134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53135         memset-x86-64.
53136         * sysdeps/x86_64/multiarch/bzero.S: New file.
53137         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53138         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53139         * sysdeps/x86_64/multiarch/memset.S: New file.
53140         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53141         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53142         Set bit_Prefer_SSE_for_memop for Intel processors.
53143         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53144         Define.
53145         (index_Prefer_SSE_for_memop): Define.
53146         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53147
53148 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53149
53150         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53151         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53152
53153 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53154
53155         [BZ #12191]
53156         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53157         (__x86_64_raw_data_cache_size_half): Likewise.
53158         (__x86_64_raw_shared_cache_size): Likewise.
53159         (__x86_64_raw_shared_cache_size_half): Likewise.
53160
53161         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53162         (__x86_64_raw_data_cache_size_half): Likewise.
53163         (__x86_64_raw_shared_cache_size): Likewise.
53164         (__x86_64_raw_shared_cache_size_half): Likewise.
53165         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53166         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53167         and __x86_64_raw_shared_cache_size_half.  Round
53168         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53169         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53170         to multiple of 256 bytes.
53171
53172 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53173
53174         [BZ #12167]
53175         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53176         of inacessible symlinks.  Verify result of symlink before returning it.
53177         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53178         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53179
53180 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53181
53182         * math/math.h (isinf): Fix typo in comment.
53183
53184 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53185
53186         * po/da.po: Update from translation team.
53187
53188 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53189
53190         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53191         is added to the list.
53192
53193 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53194             Ulrich Drepper  <drepper@gmail.com>
53195
53196         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53197         the global list here.  Move code to...
53198         (_dl_add_to_namespace_list): ...here.  New function.
53199         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53200         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53201         * elf/dl-load.c (lose): Don't remove the element from the list.
53202         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53203         (_dl_map_object): Likewise.
53204
53205 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53206
53207         [BZ #12159]
53208         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53209         into all bytes of SSE register.
53210         Patch by Richard Li <richardpku@gmail.com>.
53211
53212 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53213
53214         [BZ #12140]
53215         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53216         perturbing.
53217
53218 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53219
53220         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53221         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53222         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53223         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53225         submachine.
53226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53227
53228 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53229
53230         * include/dlfcn.h (__RTLD_SECURE): Define.
53231         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53232         mode & __RTLD_SECURE instead.
53233         (open_path): Rename preloaded parameter to secure.
53234         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53235         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53236         * elf/dl-deps.c (openaux): Likewise.
53237         * elf/rtld.c (struct map_args): Remove is_preloaded.
53238         (map_doit): Don't use it.
53239         (dl_main): Likewise.
53240         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53241         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53242
53243 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53244
53245         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53246         (sysd-rules-targets): Remove duplicates.
53247         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53248         rtld-%.$o dependency.
53249
53250 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53251
53252         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53253         _dl_map_object do it.
53254
53255 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53256
53257         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53258         fast fma builtins, define the macros in the C99 standard.
53259         (FP_FAST_FMAF): Likewise.
53260         (FP_FAST_FMAL): Likewise.
53261         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53262
53263         * bits/mathdef.h: Update copyright year.
53264         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53265
53266 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53267
53268         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53269         builtins, define the macros in the C99 standard.
53270         (FP_FAST_FMAF): Likewise.
53271         (FP_FAST_FMAL): Likewise.
53272         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53273         multiply/add.
53274         (FP_FAST_FMAF): Likewise.
53275
53276 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53277
53278         [BZ #3268]
53279         * math/libm-test.inc (fma_test): Some new testcases.
53280         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53281         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53282         y and infinite z.  Do multiplication by C already in long double.
53283         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53284         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53285         y and infinite z.  Do bitwise or of inexact bit into u.d.
53286         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53287         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53288         * sysdeps/i386/fpu/s_fma.S: Removed.
53289         * sysdeps/i386/fpu/s_fmal.S: Removed.
53290
53291 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53292
53293         [BZ #3268]
53294         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53295         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53296         computation is not scheduled after fetestexcept.  Fix value
53297         of minimum denormal long double.
53298
53299 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53300
53301         [BZ #3268]
53302         * math/libm-test.inc (fma_test): Add some more tests.
53303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53304         correctly.
53305
53306 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53307
53308         * scripts/data/localplt-s390-linux-gnu.data: New file.
53309         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53310
53311 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53312
53313         [BZ #3268]
53314         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53315         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53316         instead of dbl-64.
53317         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53318         inlines.
53319         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53320         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53321         if one of x and y is very large and the other is subnormal.
53322         * sysdeps/s390/fpu/s_fmaf.c: New file.
53323         * sysdeps/s390/fpu/s_fma.c: New file.
53324         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53325         * sysdeps/powerpc/fpu/s_fma.S: New file.
53326         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53327         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53328         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53329
53330 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53331
53332         [BZ #3268]
53333         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53334         fma tests.
53335         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53336         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53337         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53338         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53339         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53340         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53341         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53342
53343 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53344
53345         [BZ #12078]
53346         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53347         * posix/bug-regex31.input: Add test case.
53348
53349 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53350
53351         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53352         * posix/bug-regex31.input: New file.
53353
53354         [BZ #12078]
53355         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53356         (parse_sub_exp): Fix last change, use postorder.
53357
53358         * posix/bug-regex31.c: New file.
53359         * posix/Makefile: Add rules to build and run bug-regex31.
53360
53361         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53362
53363         [BZ #12078]
53364         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53365
53366         [BZ #12108]
53367         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53368         to have entries in sys_siglist.
53369
53370         [BZ #12093]
53371         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53372         be NULL.
53373
53374 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53375
53376         [BZ #3268]
53377         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53378         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53379         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53380         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53381         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53382         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53383         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53384         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53385         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53386         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53387         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53388         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53389         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53390         * math/ftestexcept.c (fetestexcept): Likewise.
53391         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53392         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53393         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53394         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53395         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53396         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53397         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53398
53399 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53400
53401         [BZ #12107]
53402         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53403         newline.
53404
53405 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53406
53407         * string/bug-strstr1.c: New file.
53408         * string/Makefile: Add rules to build and run bug-strstr1.
53409
53410 2010-10-05  Eric Blake  <eblake@redhat.com>
53411
53412         [BZ #12092]
53413         * string/str-two-way.h (two_way_long_needle): Always clear memory
53414         when skipping input due to the shift table.
53415
53416 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53417
53418         [BZ #12005]
53419         * malloc/mcheck.c: Handle large requests.
53420
53421         [BZ #12077]
53422         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53423         for strncmp and strncasecmp.
53424         * string/stratcliff.c: Add tests for strcmp and strncmp.
53425         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53426
53427 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53428
53429         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53430         __set_fpscr.
53431
53432 2010-09-30  Andreas Jaeger  <aj@suse.de>
53433
53434         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53435         (CGROUP_SUPER_MAGIC): Define.
53436         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53437         Handle btrfs and cgroup file systems.
53438         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53439         Likewise.
53440
53441 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53442
53443         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53444         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53445
53446 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53447
53448         [BZ #12067]
53449         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53450         trying to locate the ELF header.
53451
53452 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53453
53454         [BZ #11611]
53455         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53456         Mask out sign-bit copies when constructing f_fsid.
53457
53458 2010-09-24  Petr Baudis <pasky@suse.cz>
53459
53460         * debug/stack_chk_fail_local.c: Add missing licence exception.
53461         * debug/warning-nop.c: Likewise.
53462
53463 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53464
53465         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53466         implementing getdents64 using getdents syscall, set d_type if
53467         __ASSUME_GETDENTS32_D_TYPE.
53468
53469 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53470
53471         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53472         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53473
53474 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53475
53476         [BZ #12037]
53477         * posix/unistd.h: Undo change of feature selection for ftruncate from
53478         2010-01-11.
53479
53480 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53481
53482         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53483         detection.
53484
53485 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53486
53487         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53488         fanotify_mark.
53489         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53490
53491 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53492
53493         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53494         variables after CHECK_SP call.
53495         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53496
53497 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53498             Ulrich Drepper  <drepper@redhat.com>
53499
53500         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53501         re-relocationg ld.so.
53502         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53503         _dl_init_paths call.
53504         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53505         here anymore.
53506
53507 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53508
53509         * resolv/res_init.c (__res_vinit): Count the default server we added.
53510
53511 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53512             Ulrich Drepper  <drepper@redhat.com>
53513
53514         [BZ #11968]
53515         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53516         (____longjmp_chk): Use %ebx for saving value across system call.
53517         Add unwind info.
53518
53519 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53520
53521         * manual/Makefile: Don't mix pattern rules with normal rules.
53522
53523 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53524
53525         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53526         operation.
53527         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53528         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53529         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53530         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53531         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53532         Likewise.
53533
53534 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53535
53536         [BZ #11979]
53537         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53538         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53539
53540 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53541
53542         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53543         * sysdeps/x86_64/addmul_1.S: Likewise.
53544         * sysdeps/x86_64/lshift.S: Likewise.
53545         * sysdeps/x86_64/mul_1.S: Likewise.
53546         * sysdeps/x86_64/rshift.S: Likewise.
53547         * sysdeps/x86_64/sub_n.S: Likewise.
53548         * sysdeps/x86_64/submul_1.S: Likewise.
53549
53550 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53551
53552         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53553         Define __sched_param instead of SCHED_* and sched_param when
53554         <bits/sched.h> is included with __need_schedparam defined.
53555         * bits/sched.h [__need_schedparam]
53556         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53557         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53558         (__defined_schedparam): Define to 1.
53559         (__sched_param): New structure, identical to sched_param.
53560         (__need_schedparam): Undefine.
53561
53562 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53563
53564         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53565         (epoll_create1): Declare.
53566
53567         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53568
53569 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53570
53571         [BZ #7066]
53572         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53573         shifting retval into place.
53574
53575 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53576
53577         * nis/rpcsvc/nis.h: Update copyright notice.
53578         * nis/rpcsvc/nis.x: Likewise.
53579         * nis/rpcsvc/nis_callback.h: Likewise.
53580         * nis/rpcsvc/nis_callback.x: Likewise.
53581         * nis/rpcsvc/nis_object.x: Likewise.
53582         * nis/rpcsvc/nis_tags.h: Likewise.
53583         * nis/rpcsvc/yp.h: Likewise.
53584         * nis/rpcsvc/yp.x: Likewise.
53585         * nis/rpcsvc/ypupd.h: Likewise.
53586         * nis/yp_xdr.c: Likewise.
53587         * nis/ypupdate_xdr.c: Likewise.
53588
53589         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53590         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53591         (pmap_getport): Use __libc_rpc_getport.
53592         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53593         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53594         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53595
53596 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53597
53598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53599         fanotify_mark.
53600
53601 2010-08-27  Roland McGrath  <roland@redhat.com>
53602
53603         * sysdeps/i386/i686/multiarch/Makefile
53604         (CFLAGS-varshift.c): New variable.
53605
53606 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53607
53608         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53609         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53610
53611         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53612
53613         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53614
53615 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53616
53617         * sysdeps/x86_64/strlen.S: Unroll the loop.
53618         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53619         strlen-sse2 strlen-sse2-bsf.
53620         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53621         __strlen_no_bsf if bit_Slow_BSF is set.
53622         (__strlen_sse42): Removed.
53623         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53624         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53625
53626 2010-08-25  Roland McGrath  <roland@redhat.com>
53627
53628         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53629         * sysdeps/x86_64/multiarch/varshift.c: New file.
53630         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53631         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53632         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53633         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53634
53635 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53636
53637         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53638         strlen-sse2 strlen-sse2-bsf.
53639         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53640         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53641         (__strlen_sse2): Removed.
53642         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53643         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53645         bit_Slow_BSF for Atom.
53646         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53647         (index_Slow_BSF): Define.
53648         (HAS_SLOW_BSF): Define.
53649
53650 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53651
53652         [BZ #10851]
53653         * resolv/res_init.c (__res_vinit): When no server address at all
53654         is given default to loopback.
53655
53656 2010-08-24  Roland McGrath  <roland@redhat.com>
53657
53658         * configure.in: Remove config-name.h generation.
53659         * configure: Regenerated.
53660         * config-name.in: File removed.
53661         * scripts/config-uname.sh: New file.
53662         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53663         ($(objdir)config-name.h): New target.
53664
53665         * sunrpc/rpc_parse.h: Avoid nested comment.
53666
53667 2010-08-24  Richard Henderson  <rth@redhat.com>
53668             Ulrich Drepper  <drepper@redhat.com>
53669             H.J. Lu  <hongjiu.lu@intel.com>
53670
53671         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53673         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53674         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53675         _mm_alignr_epi8 with _mm_loadu_si128.
53676         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53677         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53678         (__m128i_shift_right): Removed.
53679         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53680         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53681         * sysdeps/x86_64/multiarch/varshift.h: New file.
53682         * sysdeps/x86_64/multiarch/varshift.S: New file.
53683
53684 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53685
53686         * configure.in: Move assembler checks to before sysdep dir checking.
53687
53688 2010-08-20  Petr Baudis  <pasky@suse.cz>
53689
53690         * LICENSES: Sync the sunrpc license.
53691
53692 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53693
53694         * sunrpc/auth_des.c: Update copyright notice once again.
53695         * sunrpc/auth_none.c: Likewise.
53696         * sunrpc/auth_unix.c: Likewise.
53697         * sunrpc/authdes_prot.c: Likewise.
53698         * sunrpc/authuxprot.c: Likewise.
53699         * sunrpc/bindrsvprt.c: Likewise.
53700         * sunrpc/clnt_gen.c: Likewise.
53701         * sunrpc/clnt_perr.c: Likewise.
53702         * sunrpc/clnt_raw.c: Likewise.
53703         * sunrpc/clnt_simp.c: Likewise.
53704         * sunrpc/clnt_tcp.c: Likewise.
53705         * sunrpc/clnt_udp.c: Likewise.
53706         * sunrpc/clnt_unix.c: Likewise.
53707         * sunrpc/des_crypt.c: Likewise.
53708         * sunrpc/des_soft.c: Likewise.
53709         * sunrpc/get_myaddr.c: Likewise.
53710         * sunrpc/getrpcport.c: Likewise.
53711         * sunrpc/key_call.c: Likewise.
53712         * sunrpc/key_prot.c: Likewise.
53713         * sunrpc/openchild.c: Likewise.
53714         * sunrpc/pm_getmaps.c: Likewise.
53715         * sunrpc/pm_getport.c: Likewise.
53716         * sunrpc/pmap_clnt.c: Likewise.
53717         * sunrpc/pmap_prot.c: Likewise.
53718         * sunrpc/pmap_prot2.c: Likewise.
53719         * sunrpc/pmap_rmt.c: Likewise.
53720         * sunrpc/rpc/auth.h: Likewise.
53721         * sunrpc/rpc/auth_unix.h: Likewise.
53722         * sunrpc/rpc/clnt.h: Likewise.
53723         * sunrpc/rpc/des_crypt.h: Likewise.
53724         * sunrpc/rpc/key_prot.h: Likewise.
53725         * sunrpc/rpc/netdb.h: Likewise.
53726         * sunrpc/rpc/pmap_clnt.h: Likewise.
53727         * sunrpc/rpc/pmap_prot.h: Likewise.
53728         * sunrpc/rpc/pmap_rmt.h: Likewise.
53729         * sunrpc/rpc/rpc.h: Likewise.
53730         * sunrpc/rpc/rpc_des.h: Likewise.
53731         * sunrpc/rpc/rpc_msg.h: Likewise.
53732         * sunrpc/rpc/svc.h: Likewise.
53733         * sunrpc/rpc/svc_auth.h: Likewise.
53734         * sunrpc/rpc/types.h: Likewise.
53735         * sunrpc/rpc/xdr.h: Likewise.
53736         * sunrpc/rpc_clntout.c: Likewise.
53737         * sunrpc/rpc_cmsg.c: Likewise.
53738         * sunrpc/rpc_common.c: Likewise.
53739         * sunrpc/rpc_cout.c: Likewise.
53740         * sunrpc/rpc_dtable.c: Likewise.
53741         * sunrpc/rpc_hout.c: Likewise.
53742         * sunrpc/rpc_main.c: Likewise.
53743         * sunrpc/rpc_parse.c: Likewise.
53744         * sunrpc/rpc_parse.h: Likewise.
53745         * sunrpc/rpc_prot.c: Likewise.
53746         * sunrpc/rpc_sample.c: Likewise.
53747         * sunrpc/rpc_scan.c: Likewise.
53748         * sunrpc/rpc_scan.h: Likewise.
53749         * sunrpc/rpc_svcout.c: Likewise.
53750         * sunrpc/rpc_tblout.c: Likewise.
53751         * sunrpc/rpc_util.c: Likewise.
53752         * sunrpc/rpc_util.h: Likewise.
53753         * sunrpc/rpcinfo.c: Likewise.
53754         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53755         * sunrpc/rpcsvc/key_prot.x: Likewise.
53756         * sunrpc/rpcsvc/klm_prot.x: Likewise.
53757         * sunrpc/rpcsvc/mount.x: Likewise.
53758         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53759         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53760         * sunrpc/rpcsvc/rex.x: Likewise.
53761         * sunrpc/rpcsvc/rstat.x: Likewise.
53762         * sunrpc/rpcsvc/rusers.x: Likewise.
53763         * sunrpc/rpcsvc/sm_inter.x: Likewise.
53764         * sunrpc/rpcsvc/spray.x: Likewise.
53765         * sunrpc/rpcsvc/yppasswd.x: Likewise.
53766         * sunrpc/rtime.c: Likewise.
53767         * sunrpc/svc.c: Likewise.
53768         * sunrpc/svc_auth.c: Likewise.
53769         * sunrpc/svc_authux.c: Likewise.
53770         * sunrpc/svc_raw.c: Likewise.
53771         * sunrpc/svc_run.c: Likewise.
53772         * sunrpc/svc_simple.c: Likewise.
53773         * sunrpc/svc_tcp.c: Likewise.
53774         * sunrpc/svc_udp.c: Likewise.
53775         * sunrpc/svc_unix.c: Likewise.
53776         * sunrpc/svcauth_des.c: Likewise.
53777         * sunrpc/xcrypt.c: Likewise.
53778         * sunrpc/xdr.c: Likewise.
53779         * sunrpc/xdr_array.c: Likewise.
53780         * sunrpc/xdr_float.c: Likewise.
53781         * sunrpc/xdr_mem.c: Likewise.
53782         * sunrpc/xdr_rec.c: Likewise.
53783         * sunrpc/xdr_ref.c: Likewise.
53784         * sunrpc/xdr_sizeof.c: Likewise.
53785         * sunrpc/xdr_stdio.c: Likewise.
53786
53787         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53788         handling.
53789
53790 2010-08-19  Andreas Schwab  <schwab@redhat.com>
53791
53792         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53793
53794 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
53795
53796         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53797         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53798         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53799         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53800         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53801         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53802         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53803         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53804         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53805         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53806         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53807         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53808         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53809         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53810
53811 2010-07-26  Anton Blanchard  <anton@samba.org>
53812
53813         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53814         * malloc/arena.c (heap_trim): Likewise.
53815
53816 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
53817
53818         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53819         here.  Not...
53820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53821         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53822
53823 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
53824
53825         * sysdeps/i386/elf/Makefile: New file.
53826
53827 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53828
53829         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53830         from fanotify_init.
53831         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53832         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53833
53834 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
53835
53836         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53837         of strncasecmp_l.
53838         * sysdeps/multiarch/strcmp.S: Likewise.
53839
53840 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
53841
53842         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53843         strncase_l-nonascii.
53844         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53845         Add strncase_l-ssse3.
53846         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53847         * sysdeps/x86_64/strcmp.S: Likewise.
53848         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53849         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53850         * sysdeps/x86_64/strncase.S: New file.
53851         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53852         * sysdeps/x86_64/strncase_l.S: New file.
53853         * string/Makefile (strop-tests): Add strncasecmp.
53854         * string/test-strncasecmp.c: New file.
53855
53856         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53857         warning.
53858
53859         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53860         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53861
53862 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53863
53864         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53865
53866 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
53867
53868         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53869         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53870         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53871
53872 2010-05-01  Alan Modra  <amodra@gmail.com>
53873
53874         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53875         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53876         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53877         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53878         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53879         tidying.  Don't tail-call __sigjmp_save for static lib.
53880         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53881         save location.
53882         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53883         (CALL_MCOUNT): Add eh info, and nop after bl.
53884         (TAIL_CALL_SYSCALL_ERROR): New macro.
53885         (PSEUDO_RET): Use it.
53886         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53887         Correct save location of integer regs and cr.
53888         (_dl_profile_resolve): Correct cr save location.  Delete nops
53889         after bl when SHARED.  Reduce cfi size a little by better
53890         placement of cfi directives.
53891         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53892         make a stack frame.  Instead use parm save area as a temp.
53893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53894         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
53895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53896         Don't make a stack frame for parent, use parm save area.
53897         Increase child stack frame to 112 bytes.  Don't save unused reg,
53898         and adjust reg usage.  Set up cfi on error recovery and
53899         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53901         (__makecontext): Add dummy nop after jump to exit.
53902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53903         Use correct parm save area and cr save, reduce stack frame.
53904         Correct cfi for possible PSEUDO_RET frame setup.
53905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53906         Branch to local label emitted by PSEUDO_RET rather than
53907         __syscall_error.
53908
53909 2010-08-12  Andreas Schwab  <schwab@redhat.com>
53910
53911         [BZ #11904]
53912         * locale/programs/locale.c (print_assignment): New function.
53913         (show_locale_vars): Use it.
53914
53915 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
53916
53917         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53918         field.
53919         (struct statfs64): Likewise.
53920         (_STATFS_F_FLAGS): Define.
53921         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53922         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53923         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53924         (ST_VALID): Define locally.
53925         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53926         __statvfs_getflags, use the provided value.
53927         * sysdeps/unix/sysv/linux/kernel-features.h: Define
53928         __ASSUME_STATFS_F_FLAGS.
53929
53930         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53931
53932         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53933         Add sys/fanotify.h.
53934         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53935         fanotify_mask for GLIBC_2.13.
53936         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53937         fanotify_init and fanotify_mark.
53938         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53939         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53940
53941         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53942         Add prlimit.
53943         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53944         prlimit64 for GLIBC_2.13.
53945         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53946         prlimit64.
53947         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53948         syscall.
53949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53950         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53951         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53952         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53953         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
53954         add prlimit alias.
53955         * sysdeps/unix/sysv/linux/prlimit.c: New file.
53956
53957         [BZ #11903]
53958         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53959         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53960
53961         * nss/Makefile: Add rules to build and run tst-nss-test1.
53962         * shlib-versions: Add entry for libnss_test1.
53963         * nss/nss_test1.c: New file.
53964         * nss/tst-nss-test1.c: New file.
53965
53966         * nss/nsswitch.c (__nss_database_custom): Define new variable.
53967         (__nss_configure_lookup): Set appropriate entry in
53968         __nss_configure_lookup to true.
53969         * nss/nsswitch.h: Define enum with indeces of databases in
53970         databases and __nss_database_custom arrays.  Declare
53971         __nss_database_custom.
53972         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53973         to avoid using nscd when custom rules are installed.
53974         * nss/getXXbyYY_r.c: Likewise.
53975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53976
53977         * nss/nss_files/files-parse.c: Whitespace fixes.
53978
53979 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
53980
53981         [BZ #11883]
53982         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53983         * posix/fnmatch_loop.c: Likewise.
53984
53985 2010-07-17  Andi Kleen  <ak@linux.intel.com>
53986
53987         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53988         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53989         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53990         * Versions.def [GLIBC_2.13]: Add.
53991
53992 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
53993
53994         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53995         Also fail if tpwd after pwuid call is NULL.
53996
53997 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53998
53999         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54000         when converting to ms.
54001
54002 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54003
54004         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54005         EOPNOTSUPP errors with ENOTTY.
54006         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54007         EOPNOTSUPP errors with ENOTTY.
54008
54009 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54010
54011         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54012         Add strcasecmp_l-ssse3.
54013         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54014         strcasecmp.
54015         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54016         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54017         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54018
54019 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54020
54021         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54022
54023         * string/Makefile (strop-tests): Add strcasecmp.
54024         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54025         strcasecmp_l-nonascii.
54026         (gen-as-const-headers): Add locale-defines.sym.
54027         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54028         * sysdeps/x86_64/strcasecmp.S: New file.
54029         * sysdeps/x86_64/strcasecmp_l.S: New file.
54030         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54031         * sysdeps/x86_64/locale-defines.sym: New file.
54032         * string/test-strcasecmp.c: New file.
54033
54034         * string/test-strcasestr.c: Test both ends of the range of characters.
54035         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54036
54037 2010-07-29  Roland McGrath  <roland@redhat.com>
54038
54039         [BZ #11856]
54040         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54041
54042 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54043
54044         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54045         for ld.so.
54046
54047 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54048
54049         * manual/memory.texi (Malloc Tunable Parameters): Document
54050         M_PERTURB.
54051
54052 2010-07-26  Roland McGrath  <roland@redhat.com>
54053
54054         [BZ #11840]
54055         * configure.in (-fgnu89-inline check): Set and substitute
54056         gnu89_inline, not libc_cv_gnu89_inline.
54057         * configure: Regenerated.
54058         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54059
54060 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54061
54062         * string/test-strnlen.c: New file.
54063         * string/Makefile (strop-tests): Add strnlen.
54064         * string/tester.c (test_strnlen): Add a few more test cases.
54065         * string/tst-strlen.c: Better error reporting.
54066
54067         * sysdeps/x86_64/strnlen.S: New file.
54068
54069 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54070
54071         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54072         lower-latency instructions.
54073
54074 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54075
54076         * string/test-strcasestr.c: New file.
54077         * string/test-strstr.c: New file.
54078         * string/Makefile (strop-tests): Add strstr and strcasestr.
54079         * string/str-two-way.h: Don't undefine MAX.
54080         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54081
54082 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54083
54084         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54085         strcasestr-nonascii.
54086         (CFLAGS-strcasestr-nonascii.c): Define.
54087         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54088         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54089         Remove unused attribute.
54090
54091 2010-07-20  Roland McGrath  <roland@redhat.com>
54092
54093         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54094         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54095         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54096         like LD_HWCAP_MASK can disable hwcaps.
54097
54098 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54099
54100         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54101
54102 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54103
54104         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54105         call in strcasestr.
54106         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54107         __strcasestr_sse42_nonascii.
54108         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54109         strcasestr-nonascii.c.
54110         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54111
54112 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54113
54114         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54115         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54116         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54117         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54118
54119 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54120
54121         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54122         fcntl.
54123
54124 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54125
54126         [BZ #11577]
54127         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54128         dl_signal_cerror.
54129
54130 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54131
54132         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54133         _PC_PIPE_BUF using F_GETPIPE_SZ.
54134
54135 2010-07-05  Roland McGrath  <roland@redhat.com>
54136
54137         * manual/arith.texi (Rounding Functions): Fix rint description
54138         implicit in round description.
54139
54140 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54141
54142         * elf/Makefile: Fix linking for a few tests to make recent linker
54143         happy.
54144
54145 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54146
54147         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54148         $(common-objpfx)libc_nonshared.a.
54149
54150 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54151
54152         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54153         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54154         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54155         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54156         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54157         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54158         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54159         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54174         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54175         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54176         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54177         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54178         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54179         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54180         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54181         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54182         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54183         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54184         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54185         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54200
54201 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54202
54203         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54204         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54205         * string/memmove.c (memmove): Renamed to ...
54206         (MEMMOVE): ...this.  Default to memmove.
54207         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54208         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54209         (END_CHK): Define.
54210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54211         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54212         mempcpy-ssse3-back memmove-ssse3-back.
54213         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54214         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54215         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54216         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54217         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54218         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54219         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54220         * sysdeps/x86_64/multiarch/memmove.c: New file.
54221         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54222         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54223         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54224         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54225         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54226         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54227         Define.
54228         (index_Fast_Copy_Backward): Define.
54229         (HAS_ARCH_FEATURE): Define.
54230         (HAS_FAST_REP_STRING): Define.
54231         (HAS_FAST_COPY_BACKWARD): Define.
54232
54233 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54234
54235         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54236         Restore proper fallback handling.
54237
54238 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54239
54240         [BZ #11701]
54241         * posix/group_member.c (__group_member): Correct checking loop.
54242
54243         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54244         OOM in getpwuid_r correctly.  Return error number when the caller
54245         should return, otherwise -1.
54246         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54247         call returning > 0 value.
54248         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54249
54250 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54251
54252         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54253         libc_nonshared.a from targets in modules-names.
54254
54255 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54256
54257         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54258         requires it.
54259
54260 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54261
54262         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54263         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54264         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54265         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54266
54267 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54268
54269         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54270
54271 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54272
54273         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54274         and F_GETPIPE_SZ.
54275         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54276         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54277         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54278         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54279         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54280         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54281
54282 2010-06-14  Roland McGrath  <roland@redhat.com>
54283
54284         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54285
54286 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54287
54288         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54289         __REDIRECT followed by __THROW.
54290         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54291         * posix/getopt.h (getopt): Likewise.
54292
54293 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54294
54295         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54296         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54297         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54298         in AT_FLAGS.
54299         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54300         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54301
54302 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54303
54304         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54305
54306 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54307
54308         [BZ #11640]
54309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54310         Properly check family and model.
54311
54312 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54313
54314         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54315
54316 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54317
54318         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54319
54320 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54321
54322         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54323         symbol reference.
54324
54325 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54326
54327         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54328         symbol reference.
54329
54330 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54331
54332         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54333         and internal_recvmmsg.
54334         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54335         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54336         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54337         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54338
54339         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54340         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54341         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54342
54343 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54344
54345         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54346
54347 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54348
54349         POWER7 optimizations.
54350         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54351         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54352
54353 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54354
54355         * version.h: Update for 2.13 development version.
54356
54357 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54358
54359         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54360         exceptions.  Return 0.
54361
54362 2010-05-07  Roland McGrath  <roland@redhat.com>
54363
54364         * elf/ldconfig.c (main): Add a const.
54365
54366 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54367
54368         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54369         (args_options): Add no-idn option.
54370         (ahosts_keys_int): Add idn_flags to ai_flags.
54371         (parse_option): Handle 'i' option to clear idn_flags.
54372
54373         * malloc/malloc.c (_int_free): Possible race in the most recently
54374         added check.  Only act on the data if no current modification
54375         happened.
54376
54377 See ChangeLog.17 for earlier changes.